WO2005060224A1 - Accessory identification algorithm for system connector - Google Patents

Accessory identification algorithm for system connector Download PDF

Info

Publication number
WO2005060224A1
WO2005060224A1 PCT/EP2004/053149 EP2004053149W WO2005060224A1 WO 2005060224 A1 WO2005060224 A1 WO 2005060224A1 EP 2004053149 W EP2004053149 W EP 2004053149W WO 2005060224 A1 WO2005060224 A1 WO 2005060224A1
Authority
WO
WIPO (PCT)
Prior art keywords
recited
electronic
identification
voltage
connector
Prior art date
Application number
PCT/EP2004/053149
Other languages
French (fr)
Inventor
Jeroen Thijssen
Håkan Ohlgren
Original Assignee
Sony Ericsson Mobile Communications Ab
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Sony Ericsson Mobile Communications Ab filed Critical Sony Ericsson Mobile Communications Ab
Priority to CN2004800371010A priority Critical patent/CN1894944B/en
Priority to JP2006543530A priority patent/JP4741512B2/en
Priority to KR1020067013609A priority patent/KR101222335B1/en
Priority to US10/582,253 priority patent/US7565458B2/en
Priority to BRPI0417384-8A priority patent/BRPI0417384A/en
Priority to MXPA06006060A priority patent/MXPA06006060A/en
Publication of WO2005060224A1 publication Critical patent/WO2005060224A1/en

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/3816Mechanical arrangements for accommodating identification devices, e.g. cards or chips; with connectors for programming identification devices
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/40Circuits
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04BTRANSMISSION
    • H04B1/00Details of transmission systems, not covered by a single one of groups H04B3/00 - H04B13/00; Details of transmission systems not characterised by the medium used for transmission
    • H04B1/38Transceivers, i.e. devices in which transmitter and receiver form a structural unit and in which at least one part is used for functions of transmitting and receiving
    • H04B1/3827Portable transceivers
    • H04B1/3833Hand-held transceivers
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/60Substation equipment, e.g. for use by subscribers including speech amplifiers
    • H04M1/6033Substation equipment, e.g. for use by subscribers including speech amplifiers for providing handsfree use or a loudspeaker mode in telephone sets
    • H04M1/6041Portable telephones adapted for handsfree use
    • H04M1/6058Portable telephones adapted for handsfree use involving the use of a headset accessory device connected to the portable telephone
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/724User interfaces specially adapted for cordless or mobile telephones
    • H04M1/72403User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality
    • H04M1/72409User interfaces specially adapted for cordless or mobile telephones with means for local support of applications that increase the functionality by interfacing with external accessories
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04MTELEPHONIC COMMUNICATION
    • H04M1/00Substation equipment, e.g. for use by subscribers
    • H04M1/72Mobile telephones; Cordless telephones, i.e. devices for establishing wireless links to base stations without route selection
    • H04M1/725Cordless telephones

Definitions

  • the present invention relates generally to radio communication terminals having an interface comprising a system connector, at which accessories to the terminal are connectable.
  • a general object of the present invention is to provide a solution for meeting the market demands for self-controlled identification of communication interfaces when electronic apparatuses are interconnected.
  • such a solution is desirable for implementation in compact communication terminals which are capable of operating with several types of accessories.
  • An aspect of this object is to provide a solution for handling more functions on fewer pins of the system connector.
  • Another aspect is to provide a solution for a system connector which is able to use the same pins for different types of communication interfaces.
  • Yet another aspect of the general object is to provide a solution for identifying passive, non-microprocessor controlled accessories. According to a first aspect, these objects are fulfilled by a method for identifying a communication interface of an electronic unit attached to a connector of an electronic device, comprising the steps of:
  • step of performing identification is preceded by the step of:
  • step of performing identification may also be preceded by the step of: - selecting identification process dependent on predetermined timing criteria.
  • said step of performing identification comprises the steps of:
  • said step of measuring dynamic behaviour comprises the steps of:
  • said identification address is advantageously determined by the length of said time period and the magnitude of said voltage level value.
  • said identification address comprises two nibbles, one address nibble being selected dependent the length of said time period and one other nibble being selected dependent on the magnitude of said voltage level value.
  • Said identification address is advantageously a two nibble hexadecimal number which is set dependent on predetermined time and voltage ranges.
  • a predetermined number is selected for said one address nibble if the length of said time period exceeds a predetermined maximum time period.
  • the method comprises the step of: - monitoring an attachment control bus of said electronic device for a predetermined time period, dependent on if said measured voltage level meets predetermined criteria for digital attachable units.
  • said predetermined criteria for digital attachable units is a maximum threshold voltage level.
  • the method preferably comprises the step of:
  • the method comprises the step of: - repeatedly generating said voltage pulse with a predetermined frequency.
  • the method comprises the steps of:
  • the method further comprises the step of:
  • Said data memory may be located in said electronic device.
  • said data memory may be located in said electronic unit.
  • the method comprises the steps of:
  • such an embodiment comprises the step of: - making adjustments dependent on the attached electronic unit to said electronic device, based on said operational data.
  • said electronic device is a radio communication terminal
  • said electronic unit is an accessory which is attachable to said radio communication terminal.
  • said identity is representative of a class of electronic units.
  • said identity is unique for said electronic unit.
  • an electronic unit having a communication interface comprising a first connector attachable to a system connector of an elecfronic device, wherein said communication interface comprises an electronic circuit connected to said first connector, which electronic circuit constitutes an electric load which is selected to represent an identity for said communication interface.
  • said circuit comprises a resistive component, wherein said identity is dependent on the ohmic resistance of said resistive component.
  • said circuit comprises a capacitive component, wherein said identity is dependent on the dynamics of said circuit.
  • said circuit is devised to generate a dynamic load, when subjected to a voltage from an attached electronic device, which load holds a substantially stable voltage level over said connector for a predetermined time period, and then triggers said voltage to rise.
  • said identity is determined by the duration of said predetermined time period and said voltage level.
  • said electronic unit comprises a second connector to which said circuit is connected, to which second connector an additional electronic unit electronic unit may be cascadably attached.
  • said electronic unit is an accessory which is attachable to an electronic device in the form of a radio communication terminal.
  • said identity is representative of a class of electronic units. In an alternative embodiment, said identity is unique for said electronic unit.
  • an electronic circuit for use in an electronic unit having a first connector attachable to a system connector of an electronic device, wherein said circuit is devised to generate a dynamic load when subjected to a voltage from an attached electronic device, which load is representative of the identity of a communication interface of said electronic unit.
  • said circuit comprises a transistor, a resistive component, and an RC component, wherein said transistor controls current from the electronic device to the resistive component which initially generates a substantially stable voltage level for a predetermined time period, where after said RC circuit triggers said voltage to rise.
  • said time period is dependent on the characteristics of said transistor, and in that said transistor is contained on an ASIC.
  • Fig. 1 schematically illustrates an electronic device in the form of a communication terminal, with which an accessory identification algorithm according to the present invention may be used, and also a portable hands free accessory as an exemplary accessory
  • Fig. 2 schematically illustrates the periodicity of the identification sequence according to an embodiment of the present invention
  • Fig. 3 shows a flow chart of the identification process according to an embodiment of the invention, and in particular the process of selecting identification method dependent on the voltage response from the accessory
  • Fig. 4 illustrates a table illustrating the identification process according to one embodiment of the invention
  • Fig. 1 schematically illustrates an electronic device in the form of a communication terminal, with which an accessory identification algorithm according to the present invention may be used, and also a portable hands free accessory as an exemplary accessory
  • Fig. 2 schematically illustrates the periodicity of the identification sequence according to an embodiment of the present invention
  • Fig. 3 shows a flow chart of the identification process according to an embodiment of the invention, and in particular the process of selecting identification method dependent on the voltage response from the accessory
  • FIG. 5 schematically illustrates an interface between a terminal and an accessory, usable for dynamic identification according to an embodiment of the invention
  • Fig. 6 schematically illustrates an interface between a terminal and an accessory, usable for digital identification according to an embodiment of the invention
  • Figs 7 schematically illustrates an interface between a terminal and an accessory, usable for resistive identification according to an embodiment of the invention
  • Fig. 8 schematically illustrates a circuit for a terminal system connector, usable for identifying accessories by use of digital, dynamic and resistive identification, dependent on the accessory attached
  • Fig. 9 schematically illustrates an ASIC including an electronic circuit for use in an accessory for an electronic device, according to an embodiment of the invention.
  • radio terminal or communication terminal also denoted terminal in short in this disclosure, includes all mobile equipment devised for radio communication with a radio station, which radio station also may be mobile terminal or e.g. a stationary base station. Consequently, the term radio terminal includes mobile telephones, pagers, communicators, electronic organisers, smartphones, PDA:s (Personal Digital Assistants) and DECT terminals (Digital Enhanced Cordless Telephony). Furthermore, the invention is as such applicable to numerous types of electronic devices which are attachable to each other, by means of a cord or directly attaching connector means, not only communication terminals.
  • Embodiments of the invention therefore also include e.g. home electronics, video cameras connectable to hi-fi equipment or television sets for transmission of audio or video signals, computer accessories such as a mouse, keyboard, smart card reader etc, connectable to personal computers, and so on.
  • the structure and characteristics of the terminal according to the invention is mainly described herein, by way of example, in the implementation in a mobile phone, this is not to be interpreted as excluding implementation in other types of radio terminals, such as those listed above.
  • the illustrated embodiments relate to an accessory attached to a terminal, whereas the inventive idea for identification is applicable between different types of electronic apparatuses having equal or different status, in the sense that it may not be appropriate to refer to one as an accessory to the other.
  • a first electronic apparatus is referred to as an electronic device
  • a second electronic apparatus releaseably attached to the electronic device
  • the terminology of device and unit is selected merely for the sake of convenience in order to separate the two, and no hierarchical relation or difference in complexity is necessarily involved.
  • the term comprising or comprises, when used in this description and in the appended claims to indicate included features, elements or steps, is in no way to be interpreted as excluding the presence of other features elements or steps than those expressly stated. Exemplary embodiments will now be described with references made to the accompanying drawings. For the sake of reference to means for implementation of the present invention, Fig.
  • Terminal 1 illustrates the front face of an electronic device, in this exemplary case a typical radio communication terminal 1 in the form of a cellular phone.
  • Terminal 1 is carried in by a support structure 16, including a chassis and a cover, directly or indirectly supporting the other components of the terminal.
  • Terminal 1 is devised with a user-input interface, in the displayed embodiment comprising a microphone 14 and a keypad 19.
  • the user input interface may also or comprise a touch-sensitive display in addition to or instead of the keypad 19.
  • a user output interface of the terminal 1 comprises a loudspeaker 15 and a display 18. All of these features are well known in the prior art.
  • the terminal 1 further includes an antenna, radio transmission and reception electronics, and a power supply preferably in the form of a battery.
  • Terminal 1 is also devised with a computer system, including a microprocessor with associated memory and software.
  • the terminal 1 is further devised with a system connector 17.
  • Fig. 1 further illustrates an exemplary releaseably attachable electronic unit in the form of a PHF accessory 20, which is connectable to system connector 17 by means of a PHF connector 21.
  • Electronic unit 20 further includes an electronic circuit 22, various embodiments of which will be described in detail below.
  • the identification of a communication interface of an attached electronic unit serves as an ignition key to start the system bus of the terminal in the right mode. Such identification of a communication interface will mainly be referred to herein as accessory identification.
  • the terminal needs to detect and identify which type of accessory that is connected before starting communication with the same, or initiating audio paths.
  • accessory identification is performed on one pre-selected pin or pad of the system connector, herein denoted the AID pin.
  • the system connector is devised to assume the following states or modes: - Idle/Detection - Identification - Active - Detach - Return to Idle
  • the system bus is devised to perform two things: - Check for voltage on DCIO; and - Check for accessory device on AID pin.
  • a check for an accessory device on the AID pin is performed to ensure that the accessory connected is not a USB host accessory.
  • the check for accessory device on the ALU pin is performed with an Accessory Identification Algorithm in accordance with the invention, which offers a possibility to identify a number of accessories before starting communication or initiating audio paths and audio parameters.
  • These accessory identities can be used to identify which data Interface the accessory is using, and a limited number of accessory types which will not have data interfaces to identify themselves, such as PHF, SPHF, simple desk-stands and simple VHF cradles. 1.
  • checking for an accessory device is performed at intervals of T, given as the periodicity of pulse repetition frequency f u i se, by generating a voltage pulse on the AID pin, and measuring the voltage. Any detected voltage below a level Uidie uis e detect shall trigger the identification.
  • the pulse width of the identification sequence is determined by fo p ⁇ e , as will be described in further detail below.
  • the periodicity of the identification sequence is illustrated for one embodiment in Fig. 2, and typical values for T are given in a table below.
  • the pulse repetition frequency may be constant.
  • said voltage pulse is repeatedly generating with a predetermined repetition frequency characteristic, with an adaptable frequency which is dependent on which mode the connector of the electronic device is in.
  • the repetition frequency is adapted to the mode of operation for the connector, by applying a first repetition frequency in an idle mode for said connector, and by applying a second repetition frequency, higher than said first repetition frequency, in an active mode for said connector, with an attached unit.
  • a period T i.e. 1/ fro Pu i se5 ay be 2 seconds.
  • the repetition frequency is raised, such that the period T is decreased to 1 second or even lower.
  • t ⁇ »p u i se i not terminated until after a certain short time period after 95 % of V DIG has been reached and, during which time period U ⁇ D must not fall below 95 % of V DIG again, in order to account for disturbances.
  • the pulse shall be turned of after the maximum tmp u i se - fiDp u i s e can be adapted accordingly so the capacitors in the ATD-unit in the accessory are discharged.
  • identification is performed continuously at the interval determined in the idle detection state.
  • the following Interfaces can be identified: - Charger (power interface); - USB OTG Host accessory; - USB slave Accessory; - Accessory using UART Rx and Tx; - PHF / Audio Accessory (Using only Analog identification); - Analog ACCS Accessory (Using only Analog identification); - Debug plug.
  • the diagram of Fig. 3 describes the flow of the idle loop and the identification of accessories attached to a terminal, in accordance with an embodiment of the invention, and reference to the indicated six different stages thereof is made below. 1) With a predetermined frequency, e.g. once per second, a voltage pulse will be generated over the AID pin in the terminal system connector.
  • terminal software By measuring the voltage, terminal software will be able to detect if an accessory has been attached or detached. 2) If the voltage U ro measured is above 95% of the source voltage applied it is assumed that no accessory is attached and the terminal will return to idle state and wait until it is time to send the next Id pulse. If U ro is less than 95% of the source voltage, it is assumed that an accessory is attached, and identification thereof is initiated. In a first step for determining identification procedure, U ⁇ ) is compared with a predetermined voltage threshold level, 0.6 V in the illustrated embodiment. If U ED is higher than the threshold level, the terminal shall continue and establish if there is any dynamic behaviour in the accessory, see step 3 below. If U JD is lower than the threshold level, the terminal will proceed according to step 4 below.
  • a predetermined voltage threshold level 0.6 V in the illustrated embodiment.
  • the present invention provides an algorithm which is capable of identifying accessories by first determining type of accessory, and then establishing the accessory ID. Identification of accessories of the three different identity types will now be described. Reference will be made to specific drawings for embodiments usable for the different types, but also to an identity table illustrated in Fig. 4. The identity table is particularly relevant to the dynamic identification, but also includes information relating to the other types of identities. According to the identification algorithm, attached accessories are analysed and allotted a hexadecimal address.
  • This hex address preferably uniquely identifies the accessory, and by means of this address relevant data for the attached accessory can be retrieved from data memories in the terminal, e.g. for setting of audio or communication parameters.
  • the terminal may be devised to automatically connect with a predetermined communication address over a communication network for downloading relevant accessory data to the terminal, for further processing such as setting terminal parameters.
  • Dynamic identification is performed using an accessory interface which generates a dynamic voltage on the AID pin. An exemplary embodiment of such an interface is illustrated in Fig. 5, where the terminal side is indicated phone as a possible implementation.
  • circuitry of the accessory interface are devised to generate a voltage response UQ O to the voltage pulse generated on the AID pin, which response exceeds a predetermined threshold level. As illustrated in Fig. 4 and briefly described above under point 2) above, this predetermined threshold level is, in one embodiment, 0.6 V. Furthermore, the circuitry of the accessory interface is devised to generate a dynamic voltage response, whereby the magnitude of the voltage response U ID will begin to rise after a certain time period. According to this aspect of the invention, the identity of the accessory is determined by the amplitude and the duration of a stable phase of U I E>.
  • the voltage response Um will at first remain substantially stable for a certain time period, determined by the accessory circuitry, and will then begin to rise and finally reach V ⁇ ji g .
  • the dashed line in Fig. 4 illustrates one example of a response from a dynamic accessory circuit such as the one illustrated in Fig. 5.
  • a voltage U ⁇ of about 1.5 V is initially obtained in response.
  • U ⁇ D remains stable for about 5 ms, which corresponds to hex number 2 as the first digit, the most significant nibble, of the accessory ID.
  • the level 1.5 V of the stable voltage response, before the voltage rises, corresponds in the exemplary case to hex 7, according to the identity table of Fig. 4.
  • This number is set to be the second digit, the least significant nibble, of the accessory ID.
  • the address of the accessory is thus 27 hex m this embodiment.
  • the stable amplitude of U ro setting the second digit of the accessory ID, is determined by the resistors RI 1 + RI 2 in the terminal (phone) part of the interface, and m in the accessory part of the interface.
  • the time period, setting the first digit of the accessory ED is determined by RI and C ID in the accessory part of the interface, and in particular the transistor Tl .
  • Dynamic identification can be used in both cascadable and terminating accessories. It is also suitable for devices that need to change ID to identify a state that cannot be communicated by other means. An example of this is a USB accessory.
  • AID' will be the connection point for the next cascaded accessory.
  • the connection to AID' from ALD using a resistor-capacitor coupling and a transistor will provide the effect that a voltage response from the second accessory will not be obtained until after the first accessory is identified, i.e. after U I D has begun to rise.
  • U I D i.e. after U I D has begun to rise.
  • the identification algorithm will assume that no dynamic accessory has been attached.
  • This predetermined first time period may be between 10 and 100 ms, preferably 30 and 80 ms. In the illustrated preferred embodiment of Fig.
  • this time period is 50 ms.
  • digital signalling must then start within a second time period from the end of the first time period, e.g. within the 50 ms time period lasting from 50 ms to 100 ms after start of the voltage pulse.
  • the identification accessory algorithm may in one embodiment be devised to automatically determine that the attached accessory is a microprocessor-controlled accessory, and thereby devised to initiate a digital accessory control bus for digital identification of the accessory.
  • the protocol used for digital data communication is preferably EMP or RS232.
  • an AT command is preferably used for identification.
  • FIG. 6 illustrates an exemplary embodiment of an interface for digital identification according to the invention.
  • Resistive only ID is preferably only applied for non cascadable accessories where small sizeconnector and cost effective solutions are important.
  • Such accessories include e.g. PHF.
  • Fig. 7 illustrates an embodiment of a connector interface for an accessory with a resistive only LO.
  • the accessory is uniquely identified by the magnitude of the resistance of JD , which determines the voltage over the AID pin, in this exemplary case pin 4. The voltage level on the AID pin will therefore disclose which type of accessory is attached.
  • resistive identification of an attached accessory will be performed if a voltage response which is lower than a certain predetermined value is obtained, in the described example 0.95% of Ui s0Ur ce 5 and if no dynamic response and no digital communication has been detected.
  • the first digit of the accessory ID is determined by whether the voltage level is over or under the predetermined threshold level, in the illustrated embodiment 0.6 V. If U 1D ⁇ 0.6 V, the first digit will be F, and if U JD > 0.6 N, the first digit will be E. The level of U ro determines the second digit from a predetermined scale.
  • addresses F1-F5 and El-EE may be allotted to an attached accessory.
  • Voltage level F is reserved for the System Bus Idle state.
  • the terminal is capable of identifying both accessories with and without data interfaces, and for the latter types, both using dynamic and resistive identification.
  • Fig. 8 illustrates an exemplary circuitry for such a terminal connector circuitry. Furthermore, typical usable values and selectable ranges of parameter values are given in the table below:
  • Fig. 9 illustrates a preferred embodiment of a circuit for an electronic unit, implemented on an ASIC, indicated as AID A, Accessory Identification ASIC, by the dashed line. Of particular importance for the ASIC is that it includes transistor Tl.
  • R ⁇ d (R ID in Fi - 5).
  • R ID in Fi - 5 the magnitude of Rj f i d determines the voltage response on point AID in Fig. 9, by voltage division with RI1 in the electronic device.
  • a typical range for the resistance of Rj fid is 0 - 1500 ohm, this magnitude determining one nibble of the identity or address of the electronic device as previously noted.
  • the resistance difference between different R ifid may be just a couple of ohms for low values, and e.g. a larger difference for larger resistance values.
  • R ⁇ d An example of a set of distinguishable resistance values for R ⁇ d is 0, 2, 3.6, 8.2, 130, 300, 510, 820 and 1300 ohm.
  • the interface between electronic device to the left, and electronic unit to the right, is electrically located at point AED.
  • the capacitor Ci f i Cm in Fig. 5
  • the impedance of the electronic unit will begin to rise, and the voltage division will eventually be essentially determined by the magnitude of R2.
  • the time period during which the voltage is substantially stable, is determined by C ⁇ and in particular U g-S of Tl .
  • a typical range for the capacity of Q f i d is l -220 nF.
  • the application of the electronic circuit of the electronic unit at least including the transistor Tl as exemplified in Fig. 9, solves problems that would otherwise occur if the electronics were to be built entirely by discrete components.
  • the ASIC embodiment saves space when implemented in accessories. Furthermore, it also limits variations due to different U g-S in transistors Tl which could be chosen in different applications, whereby voltage and in particular time resolution would be increased. Thereby the identification grid as illustrated in the table of Fig. 4 is increased, with smaller voltage and time steps. This will in turn make it possible to identify more accessories and improve repeatability. Furthermore, less board space will have to be used.
  • the principles of the present invention have been described in the foregoing by examples of embodiments or modes of operations.

Abstract

Method for identifying an accessory attached to a connector of an electronic device, comprising the steps of generating a voltage pulse in said device on a pin of said connector; measuring the voltage on said pin, as affected by a load in said accessory; comparing the measured voltage with predetermined voltage criteria; and performing identification of said accessory dependent on said comparison. The method is suitable for detecting and identifying different types of accessories, for which different types of identification processes are used.

Description

ACCESSORY IDENTIFICATION ALGORITHM FOR SYSTEM CONNECTOR
Field of the invention The present invention relates generally to radio communication terminals having an interface comprising a system connector, at which accessories to the terminal are connectable.
Background The first commercially attractive cellular telephones or terminals were introduced in the market at the end of the 1980's. Since then, a lot of effort has been made in making smaller terminals, with much help from the miniaturisation of electronic components and the development of more efficient batteries. Today, numerous manufacturers offer pocket-sized terminals with a wide variety of capabilities and services, such as packet-oriented transmission and multiple radio band coverage. In order to attract customers the terminal manufacturers have therefore taken further measures to strengthen their position in the competition, one such being to offer different types of accessories for the terminals. Such accessories include auxiliary keyboards, media players, headsets and battery chargers. Each of these accessories may be connectable to separate sockets of the terminal, provided for each particular purpose. However, in many cases the terminal includes a system connector to which several different types of accessories may be connected. For this reason, the terminal needs to be capable of identifying which type of accessory is connected. In a prior art solution, applied in the Ericsson® T28 terminal series, the 3 volt system connector made use of break signals for data communication, and portable hands free sense, as the only passive accessory detection possibility. Summary of the invention A general object of the present invention is to provide a solution for meeting the market demands for self-controlled identification of communication interfaces when electronic apparatuses are interconnected. In particular, such a solution is desirable for implementation in compact communication terminals which are capable of operating with several types of accessories. An aspect of this object is to provide a solution for handling more functions on fewer pins of the system connector. Another aspect is to provide a solution for a system connector which is able to use the same pins for different types of communication interfaces. Yet another aspect of the general object is to provide a solution for identifying passive, non-microprocessor controlled accessories. According to a first aspect, these objects are fulfilled by a method for identifying a communication interface of an electronic unit attached to a connector of an electronic device, comprising the steps of:
- generating a voltage pulse in said device on a pin of said connector;
- measuring the voltage on said pin, as affected by a load in said unit;
- comparing the measured voltage with predetermined voltage criteria; and
- performing communication interface identification of said unit dependent on said comparison. Preferably, said step of performing identification is preceded by the step of:
- selecting identification process dependent on the value of said measured voltage. Additionally, said step of performing identification may also be preceded by the step of: - selecting identification process dependent on predetermined timing criteria. In one embodiment, said step of performing identification comprises the steps of:
- measuring dynamic behaviour of said voltage level; and
- allotting an identification address to said unit dependent on said dynamic behaviour. Preferably, said step of measuring dynamic behaviour comprises the steps of:
- measuring a time period during which said voltage holds a stable level; and
- measuring the value of said stable voltage level. In such an embodiment, said identification address is advantageously determined by the length of said time period and the magnitude of said voltage level value. Preferably, said identification address comprises two nibbles, one address nibble being selected dependent the length of said time period and one other nibble being selected dependent on the magnitude of said voltage level value. Said identification address is advantageously a two nibble hexadecimal number which is set dependent on predetermined time and voltage ranges. Preferably, a predetermined number is selected for said one address nibble if the length of said time period exceeds a predetermined maximum time period. In one embodiment, the method comprises the step of: - monitoring an attachment control bus of said electronic device for a predetermined time period, dependent on if said measured voltage level meets predetermined criteria for digital attachable units. Preferably, said predetermined criteria for digital attachable units is a maximum threshold voltage level. In the event of data communication being detected over said attachment control bus during said time period, the method preferably comprises the step of:
- perforating digital identification of said unit. Furthermore, in the event of no data communication being detected over said attachment control bus during said time period, the method preferably comprises the step of:
- allotting an identification address comprising two nibbles to said unit, one address nibble for which a predetermined number is selected, and one other nibble for which a number is selected dependent on the magnitude of said voltage level value. In a preferred embodiment, the method comprises the step of: - repeatedly generating said voltage pulse with a predetermined frequency. In an alternative embodiment, the method comprises the steps of:
- repeatedly generating said voltage pulse with a predetermined repetition frequency characteristic; and
- adapting said repetition frequency to a mode of operation for said connector, by applying a first repetition frequency in an idle mode for said connector; and by applying a second repetition frequency, higher than said first repetition frequency, in an active mode for said connector, with an attached unit. In one embodiment, wherein said step of performing identification includes the step of allotting the unit an identification address, the method further comprises the step of:
- accessing a data memory using said identification address for retrieving operational data associated with said unit. Said data memory may be located in said electronic device. Alternatively, said data memory may be located in said electronic unit. In yet another alternative embodiment, the method comprises the steps of:
- establishing a connection over a communication network for accessing said memory; and
- downloading operational data relating to said unit to said electronic device. Preferably, such an embodiment comprises the step of: - making adjustments dependent on the attached electronic unit to said electronic device, based on said operational data. In a preferred embodiment, said electronic device is a radio communication terminal, and said electronic unit is an accessory which is attachable to said radio communication terminal. In one embodiment, said identity is representative of a class of electronic units. In an alternative embodiment, said identity is unique for said electronic unit. According to a second aspect, the stated objects are fulfilled by a computer program product, comprising computer program code stored in memory means, which is executable by means of a micro processor in an electronic device for performing the steps according to any of the previous method steps. According to a third aspect, the stated objects are fulfilled by an electronic unit having a communication interface comprising a first connector attachable to a system connector of an elecfronic device, wherein said communication interface comprises an electronic circuit connected to said first connector, which electronic circuit constitutes an electric load which is selected to represent an identity for said communication interface. In one embodiment, said circuit comprises a resistive component, wherein said identity is dependent on the ohmic resistance of said resistive component. In an alternative or optional embodiment, said circuit comprises a capacitive component, wherein said identity is dependent on the dynamics of said circuit. Preferably, said circuit is devised to generate a dynamic load, when subjected to a voltage from an attached electronic device, which load holds a substantially stable voltage level over said connector for a predetermined time period, and then triggers said voltage to rise. Advantageously, said identity is determined by the duration of said predetermined time period and said voltage level. In one embodiment, said electronic unit comprises a second connector to which said circuit is connected, to which second connector an additional electronic unit electronic unit may be cascadably attached. In an exemplary embodiment, said electronic unit is an accessory which is attachable to an electronic device in the form of a radio communication terminal. In one embodiment, said identity is representative of a class of electronic units. In an alternative embodiment, said identity is unique for said electronic unit. According to a fourth aspect, the stated objects are fulfilled by an electronic circuit, for use in an electronic unit having a first connector attachable to a system connector of an electronic device, wherein said circuit is devised to generate a dynamic load when subjected to a voltage from an attached electronic device, which load is representative of the identity of a communication interface of said electronic unit. In one embodiment, said circuit comprises a transistor, a resistive component, and an RC component, wherein said transistor controls current from the electronic device to the resistive component which initially generates a substantially stable voltage level for a predetermined time period, where after said RC circuit triggers said voltage to rise. In a preferred embodiment, said time period is dependent on the characteristics of said transistor, and in that said transistor is contained on an ASIC.
Brief description of the drawings The features and advantages of the present invention will be more apparent from the following description of the preferred embodiments with reference to the accompanying drawings, on which Fig. 1 schematically illustrates an electronic device in the form of a communication terminal, with which an accessory identification algorithm according to the present invention may be used, and also a portable hands free accessory as an exemplary accessory; Fig. 2 schematically illustrates the periodicity of the identification sequence according to an embodiment of the present invention; Fig. 3 shows a flow chart of the identification process according to an embodiment of the invention, and in particular the process of selecting identification method dependent on the voltage response from the accessory; Fig. 4 illustrates a table illustrating the identification process according to one embodiment of the invention; Fig. 5 schematically illustrates an interface between a terminal and an accessory, usable for dynamic identification according to an embodiment of the invention; Fig. 6 schematically illustrates an interface between a terminal and an accessory, usable for digital identification according to an embodiment of the invention; Figs 7 schematically illustrates an interface between a terminal and an accessory, usable for resistive identification according to an embodiment of the invention; Fig. 8 schematically illustrates a circuit for a terminal system connector, usable for identifying accessories by use of digital, dynamic and resistive identification, dependent on the accessory attached; and Fig. 9 schematically illustrates an ASIC including an electronic circuit for use in an accessory for an electronic device, according to an embodiment of the invention.
Acronyms and Abbreviations
ACB Accessory Control Bus
AID Accessory Identification
EMP Ericsson Multiplex Protocol DCIO Digital Current In Out
LSN Least Significant Nibble
MSN Most Significant Nibble
Nibble 4 bits of 1 byte
PHF Portable Hands Free SPHF Stereo Portable Hands Free
EMS From Mobile Station
TMS To Mobile Station
TA To Accessory
FA From Accessory UART Universal Asynchronous Receiver Transmitter
USB Universal Serial Bus Detailed description of preferred embodiments The present description relates to the field of identification of mutually connectable electronic devices, and in particular to accessory identification for radio communication terminals. The term radio terminal or communication terminal, also denoted terminal in short in this disclosure, includes all mobile equipment devised for radio communication with a radio station, which radio station also may be mobile terminal or e.g. a stationary base station. Consequently, the term radio terminal includes mobile telephones, pagers, communicators, electronic organisers, smartphones, PDA:s (Personal Digital Assistants) and DECT terminals (Digital Enhanced Cordless Telephony). Furthermore, the invention is as such applicable to numerous types of electronic devices which are attachable to each other, by means of a cord or directly attaching connector means, not only communication terminals. Embodiments of the invention therefore also include e.g. home electronics, video cameras connectable to hi-fi equipment or television sets for transmission of audio or video signals, computer accessories such as a mouse, keyboard, smart card reader etc, connectable to personal computers, and so on. Hence, although the structure and characteristics of the terminal according to the invention is mainly described herein, by way of example, in the implementation in a mobile phone, this is not to be interpreted as excluding implementation in other types of radio terminals, such as those listed above. Also, the illustrated embodiments relate to an accessory attached to a terminal, whereas the inventive idea for identification is applicable between different types of electronic apparatuses having equal or different status, in the sense that it may not be appropriate to refer to one as an accessory to the other. Therefore, in particular in the appended claims, a first electronic apparatus is referred to as an electronic device, whereas a second electronic apparatus, releaseably attached to the electronic device, is referred to as an electronic unit. The terminology of device and unit is selected merely for the sake of convenience in order to separate the two, and no hierarchical relation or difference in complexity is necessarily involved. Furthermore, it should be emphasised that the term comprising or comprises, when used in this description and in the appended claims to indicate included features, elements or steps, is in no way to be interpreted as excluding the presence of other features elements or steps than those expressly stated. Exemplary embodiments will now be described with references made to the accompanying drawings. For the sake of reference to means for implementation of the present invention, Fig. 1 illustrates the front face of an electronic device, in this exemplary case a typical radio communication terminal 1 in the form of a cellular phone. Terminal 1 is carried in by a support structure 16, including a chassis and a cover, directly or indirectly supporting the other components of the terminal. Terminal 1 is devised with a user-input interface, in the displayed embodiment comprising a microphone 14 and a keypad 19. The user input interface may also or comprise a touch-sensitive display in addition to or instead of the keypad 19. Furthermore, a user output interface of the terminal 1 comprises a loudspeaker 15 and a display 18. All of these features are well known in the prior art. Though not shown in Fig. 1, the terminal 1 further includes an antenna, radio transmission and reception electronics, and a power supply preferably in the form of a battery. Terminal 1 is also devised with a computer system, including a microprocessor with associated memory and software. In order to make use of and communicate with other electronic units, such as other terminals or various types of accessories, e.g. a charger or a PHF, the terminal 1 is further devised with a system connector 17. Fig. 1 further illustrates an exemplary releaseably attachable electronic unit in the form of a PHF accessory 20, which is connectable to system connector 17 by means of a PHF connector 21. Electronic unit 20 further includes an electronic circuit 22, various embodiments of which will be described in detail below. The identification of a communication interface of an attached electronic unit serves as an ignition key to start the system bus of the terminal in the right mode. Such identification of a communication interface will mainly be referred to herein as accessory identification. The terminal needs to detect and identify which type of accessory that is connected before starting communication with the same, or initiating audio paths. In accordance with the invention, accessory identification is performed on one pre-selected pin or pad of the system connector, herein denoted the AID pin. In a preferred embodiment, the system connector is devised to assume the following states or modes: - Idle/Detection - Identification - Active - Detach - Return to Idle In idle mode the system bus is devised to perform two things: - Check for voltage on DCIO; and - Check for accessory device on AID pin. When voltage is detected on DCIO, a check for an accessory device on the AID pin is performed to ensure that the accessory connected is not a USB host accessory. The check for accessory device on the ALU pin is performed with an Accessory Identification Algorithm in accordance with the invention, which offers a possibility to identify a number of accessories before starting communication or initiating audio paths and audio parameters. These accessory identities can be used to identify which data Interface the accessory is using, and a limited number of accessory types which will not have data interfaces to identify themselves, such as PHF, SPHF, simple desk-stands and simple VHF cradles. 1. In a preferred embodiment, checking for an accessory device is performed at intervals of T, given as the periodicity of pulse repetition frequency f uise,by generating a voltage pulse on the AID pin, and measuring the voltage. Any detected voltage below a level Uidie uise detect shall trigger the identification. The pulse width of the identification sequence is determined by fop^e, as will be described in further detail below. The periodicity of the identification sequence is illustrated for one embodiment in Fig. 2, and typical values for T are given in a table below. The pulse repetition frequency may be constant. However, in an alternative embodiment said voltage pulse is repeatedly generating with a predetermined repetition frequency characteristic, with an adaptable frequency which is dependent on which mode the connector of the electronic device is in. In a preferred embodiment, the repetition frequency is adapted to the mode of operation for the connector, by applying a first repetition frequency in an idle mode for said connector, and by applying a second repetition frequency, higher than said first repetition frequency, in an active mode for said connector, with an attached unit. As a pure example, in the idle mode a period T, i.e. 1/ froPuise5 ay be 2 seconds. When the active mode is entered, when an electronic unit is attached, the repetition frequency is raised, such that the period T is decreased to 1 second or even lower. By keeping a small value for tm pUise migration risks are minimised. When the voltage response Uro has increased to a level above 95 % of VDIG, tmpuke shall be turned of. This counts both when accessory or accessories are connected and when the system connector is Idle. Prefereably, tκ»puise i not terminated until after a certain short time period after 95 % of VDIG has been reached and, during which time period UΠD must not fall below 95 % of VDIG again, in order to account for disturbances. If resistive non cascadable accessories are connected the pulse shall be turned of after the maximum tmpuise- fiDpuise can be adapted accordingly so the capacitors in the ATD-unit in the accessory are discharged. According to the invention, identification is performed continuously at the interval determined in the idle detection state. In a preferred embodiment there are three different identity types which can be identified through the AID pin: - Resistive only ID; - Dynamic Identification; - Digital Identification. The following Interfaces can be identified: - Charger (power interface); - USB OTG Host accessory; - USB slave Accessory; - Accessory using UART Rx and Tx; - PHF / Audio Accessory (Using only Analog identification); - Analog ACCS Accessory (Using only Analog identification); - Debug plug. The diagram of Fig. 3 describes the flow of the idle loop and the identification of accessories attached to a terminal, in accordance with an embodiment of the invention, and reference to the indicated six different stages thereof is made below. 1) With a predetermined frequency, e.g. once per second, a voltage pulse will be generated over the AID pin in the terminal system connector. By measuring the voltage, terminal software will be able to detect if an accessory has been attached or detached. 2) If the voltage Uro measured is above 95% of the source voltage applied it is assumed that no accessory is attached and the terminal will return to idle state and wait until it is time to send the next Id pulse. If Uro is less than 95% of the source voltage, it is assumed that an accessory is attached, and identification thereof is initiated. In a first step for determining identification procedure, Uπ) is compared with a predetermined voltage threshold level, 0.6 V in the illustrated embodiment. If UED is higher than the threshold level, the terminal shall continue and establish if there is any dynamic behaviour in the accessory, see step 3 below. If UJD is lower than the threshold level, the terminal will proceed according to step 4 below. 3) It is established that an accessory with dynamic behaviour is attached if UJD has changed during first time period measured from the beginning of the identification sequence, preferably a period of 50 ms from the start of the voltage pulse. The terminal is thereby set to continue with dynamic accessory identification, as described in further detail below. If, on the other hand, Uro remains constant during said first time period, resistive identification will be executed, which is also described in further detail below. 4) When UHJ is less than the threshold level the terminal will activate DCIO. The terminal then holds for a second time period to allow the accessory to start communicating over the ACB, using an appropriate protocol such as EMP. Also the second time period is preferably 50 ms, i.e. running between 50 to 100 ms from the start of ID process. 5) If data communication over ACB is detected the accessory will identify itself with AT (attention)commands. 6) If no data communication over ACB is detected the accessory will identify itself with the resistive accessory identification. Accordingly, the present invention provides an algorithm which is capable of identifying accessories by first determining type of accessory, and then establishing the accessory ID. Identification of accessories of the three different identity types will now be described. Reference will be made to specific drawings for embodiments usable for the different types, but also to an identity table illustrated in Fig. 4. The identity table is particularly relevant to the dynamic identification, but also includes information relating to the other types of identities. According to the identification algorithm, attached accessories are analysed and allotted a hexadecimal address. This hex address preferably uniquely identifies the accessory, and by means of this address relevant data for the attached accessory can be retrieved from data memories in the terminal, e.g. for setting of audio or communication parameters. Alternatively, if the address is not known, i.e. no data is stored in the terminal relating to the allotted address, the terminal may be devised to automatically connect with a predetermined communication address over a communication network for downloading relevant accessory data to the terminal, for further processing such as setting terminal parameters. Dynamic identification is performed using an accessory interface which generates a dynamic voltage on the AID pin. An exemplary embodiment of such an interface is illustrated in Fig. 5, where the terminal side is indicated phone as a possible implementation. According to a preferred embodiment, circuitry of the accessory interface are devised to generate a voltage response UQO to the voltage pulse generated on the AID pin, which response exceeds a predetermined threshold level. As illustrated in Fig. 4 and briefly described above under point 2) above, this predetermined threshold level is, in one embodiment, 0.6 V. Furthermore, the circuitry of the accessory interface is devised to generate a dynamic voltage response, whereby the magnitude of the voltage response UID will begin to rise after a certain time period. According to this aspect of the invention, the identity of the accessory is determined by the amplitude and the duration of a stable phase of UIE>. The voltage response Um will at first remain substantially stable for a certain time period, determined by the accessory circuitry, and will then begin to rise and finally reach V<jig. The dashed line in Fig. 4 illustrates one example of a response from a dynamic accessory circuit such as the one illustrated in Fig. 5. When the voltage pulse is applied to the interface according to Fig. 5, a voltage U^, of about 1.5 V is initially obtained in response. In this example, UΠD remains stable for about 5 ms, which corresponds to hex number 2 as the first digit, the most significant nibble, of the accessory ID. The level 1.5 V of the stable voltage response, before the voltage rises, corresponds in the exemplary case to hex 7, according to the identity table of Fig. 4. This number is set to be the second digit, the least significant nibble, of the accessory ID. The address of the accessory is thus 27hex m this embodiment. The stable amplitude of Uro, setting the second digit of the accessory ID, is determined by the resistors RI 1 + RI 2 in the terminal (phone) part of the interface, and m in the accessory part of the interface. The time period, setting the first digit of the accessory ED, is determined by RI and C ID in the accessory part of the interface, and in particular the transistor Tl . Dynamic identification can be used in both cascadable and terminating accessories. It is also suitable for devices that need to change ID to identify a state that cannot be communicated by other means. An example of this is a USB accessory. In one embodiment, it is possible to add cascaded accessories and also identify those cascaded accessories by means of this dynamic identification process. As is evident from Fig. 5, AID' will be the connection point for the next cascaded accessory. The connection to AID' from ALD using a resistor-capacitor coupling and a transistor will provide the effect that a voltage response from the second accessory will not be obtained until after the first accessory is identified, i.e. after UID has begun to rise. If no dynamic behaviour is revealed within a predetermined first time period from start of the voltage pulse generated to initiate the identification, the identification algorithm will assume that no dynamic accessory has been attached. This predetermined first time period may be between 10 and 100 ms, preferably 30 and 80 ms. In the illustrated preferred embodiment of Fig. 4, this time period is 50 ms. Preferably, digital signalling must then start within a second time period from the end of the first time period, e.g. within the 50 ms time period lasting from 50 ms to 100 ms after start of the voltage pulse. Furthermore, if the voltage level detected in response to the generated voltage pulse is less than the predetermined threshold level, 0.6 V in the example of Fig. 4, the identification accessory algorithm may in one embodiment be devised to automatically determine that the attached accessory is a microprocessor-controlled accessory, and thereby devised to initiate a digital accessory control bus for digital identification of the accessory. The protocol used for digital data communication is preferably EMP or RS232. Furthermore, an AT command is preferably used for identification. Fig. 6 illustrates an exemplary embodiment of an interface for digital identification according to the invention. Resistive only ID is preferably only applied for non cascadable accessories where small sizeconnector and cost effective solutions are important. Such accessories include e.g. PHF. Fig. 7 illustrates an embodiment of a connector interface for an accessory with a resistive only LO. As is evident from the right hand side of the drawing, the accessory is uniquely identified by the magnitude of the resistance of JD, which determines the voltage over the AID pin, in this exemplary case pin 4. The voltage level on the AID pin will therefore disclose which type of accessory is attached. According to an embodiment of the present invention, resistive identification of an attached accessory will be performed if a voltage response which is lower than a certain predetermined value is obtained, in the described example 0.95% of Ui s0Urce5 and if no dynamic response and no digital communication has been detected. In the table of Fig. 4, representing an embodiment of the accessory identification algorithm according to the invention, the first digit of the accessory ID is determined by whether the voltage level is over or under the predetermined threshold level, in the illustrated embodiment 0.6 V. If U1D < 0.6 V, the first digit will be F, and if UJD > 0.6 N, the first digit will be E. The level of Uro determines the second digit from a predetermined scale. In the illustrated embodiment, addresses F1-F5 and El-EE may be allotted to an attached accessory. Voltage level F is reserved for the System Bus Idle state. In a preferred embodiment of the invention, the terminal is capable of identifying both accessories with and without data interfaces, and for the latter types, both using dynamic and resistive identification. Fig. 8 illustrates an exemplary circuitry for such a terminal connector circuitry. Furthermore, typical usable values and selectable ranges of parameter values are given in the table below:
Figure imgf000018_0001
The description above refers mainly to the detection and identification modes of the accessory identification algorithm according to the invention. The active state, entered once identification is fulfilled, is maintained as long as the accessory is detected. Detection is performed by the identification procedure. The accessory is considered attached and or active as long as the accessory can be identified repeatedly. The accessory is considered detached when the accessory no longer can be identified. The accessory identification algorithm then returns to idle/detection mode. Fig. 9 illustrates a preferred embodiment of a circuit for an electronic unit, implemented on an ASIC, indicated as AID A, Accessory Identification ASIC, by the dashed line. Of particular importance for the ASIC is that it includes transistor Tl. When current is supplied from ED source over the electronic circuit of the electronic unit, transistor Tl relays current to R^d (RID in Fi - 5). During the substantially stable period from the beginning of the voltage pulse from the electronic device, the magnitude of Rjfid determines the voltage response on point AID in Fig. 9, by voltage division with RI1 in the electronic device. A typical range for the resistance of Rjfid is 0 - 1500 ohm, this magnitude determining one nibble of the identity or address of the electronic device as previously noted. The resistance difference between different Rifid may be just a couple of ohms for low values, and e.g. a larger difference for larger resistance values. An example of a set of distinguishable resistance values for R^d is 0, 2, 3.6, 8.2, 130, 300, 510, 820 and 1300 ohm. As is evident from Fig. 5, the interface between electronic device to the left, and electronic unit to the right, is electrically located at point AED. As the capacitor Cifi (Cm in Fig. 5) is charged, the impedance of the electronic unit will begin to rise, and the voltage division will eventually be essentially determined by the magnitude of R2. The time period during which the voltage is substantially stable, is determined by C^ and in particular Ug-S of Tl . A typical range for the capacity of Qfid is l -220 nF. The application of the electronic circuit of the electronic unit, at least including the transistor Tl as exemplified in Fig. 9, solves problems that would otherwise occur if the electronics were to be built entirely by discrete components. The ASIC embodiment saves space when implemented in accessories. Furthermore, it also limits variations due to different Ug-S in transistors Tl which could be chosen in different applications, whereby voltage and in particular time resolution would be increased. Thereby the identification grid as illustrated in the table of Fig. 4 is increased, with smaller voltage and time steps. This will in turn make it possible to identify more accessories and improve repeatability. Furthermore, less board space will have to be used. The principles of the present invention have been described in the foregoing by examples of embodiments or modes of operations. However, the invention is not limited to the particular embodiments discussed above, which should be regarded as illustrative rather than restrictive, and it should be appreciated that variations may be made in those embodiments by persons skilled in the art, without departing from the scope of the present invention as defined by the appended claims.

Claims

1. Method for identifying a communication interface of an electronic unit attached to a connector of an electronic device, comprising the steps of: - generating a voltage pulse in said device on a pin of said connector;
- measuring the voltage on said pin, as affected by a load in said unit;
- comparing the measured voltage with predetermined voltage criteria; and
- performing communication interface identification of said unit dependent on said comparison.
2. The method as recited in claim 1, wherein said step of performing identification is preceded by the step of:
- selecting identification process dependent on the value of said measured voltage.
3. The method as recited in claim 1 or 2, wherein said step of performing identification is preceded by the step of:
- selecting identification process dependent on predetermined timing criteria.
4. The method as recited in claim 1, wherein said step of performing identification comprises the steps of:
- measuring dynamic behaviour of said voltage level; and
- allotting an identification address to said unit dependent on said dynamic behaviour.
5. The method as recited in claim 4, wherein said step of measuring dynamic behaviour comprises the steps of:
- measuring a time period during which said voltage holds a stable level; and
- measuring the value of said stable voltage level.
6. The method as recited in claim 5, wherein said identification address is determined by the length of said time period and the magnitude of said voltage level value.
7. The method as recited in claim 5, wherein said identification address comprises two nibbles, one address nibble being selected dependent the length of said time period and one other nibble being selected dependent on the magnitude of said voltage level value.
8. The method as recited in claim 5, wherein said identification address is a two nibble hexadecimal number which is set dependent on predetermined time and voltage ranges.
9. The method as recited in claim 7, wherein a predetermined number is selected for said one address nibble if the length of said time period exceeds a predetermined maximum time period.
10. The method as recited in claim 2, comprising the step of:
- monitoring a control bus of said connector for a predetermined time period, dependent on if said measured voltage level meets predetermined criteria for digital attachable units.
11. The method as recited in claim 10, wherein said predetermined criteria for digital attachable units is a maximum threshold voltage level.
12. The method as recited in claim 10, in the event of data communication being detected over said control bus during said time period, comprising the step of:
- performing digital identification of said unit.
13. The method as recited in claim 10, in the event of no data communication being detected over said control bus during said time period, comprising the step of: - allotting an identification address comprising two nibbles to said unit, one address nibble for which a predetermined number is selected, and one other nibble for which a number is selected dependent on the magnitude of said voltage level value.
14. The method as recited in claim 1, comprising the step of:
- repeatedly generating said voltage pulse with a predetermined repetition frequency.
15. The method as recited in claim 1, comprising the steps of:
- repeatedly generating said voltage pulse with a predetermined repetition frequency characteristic; and - adapting said repetition frequency to a mode of operation for said connector, by applying a first repetition frequency in an idle mode for said connector; and by applying a second repetition frequency, higher than said first repetition frequency, in an active mode for said connector, with an attached unit
16. The method as recited in claim 1, wherein said step of performing identification includes the step of allotting the unit an identification address, the method further comprising the step of:
- accessing a data memory using said identification address for retrieving operational data associated with said unit.
17. The method as recited in claim 16, wherein said data memory is located in said electronic device.
18. The method as recited in claim 16, wherein said data memory is located in said electronic unit.
19. The method as recited in claim 16, comprising the steps of:
- establishing a connection over a communication network for accessing said memory; and - downloading operational data relating to said unit to said electronic device.
20. The method as recited in claim 16, comprising the step of: - making adjustments dependent on the attached electronic unit to said electronic device, based on said operational data.
21. The method as recited in any of the preceding claims, wherein said electronic device is a radio communication terminal, and said electronic unit is an accessory which is attachable to said radio communication terminal.
22. The method as recited in any of the preceding claims, wherein said identity is representative of a class of electronic units.
23. The method as recited in any of the preceding claims, wherein said identity is unique for said electronic unit.
24. Computer program product, comprising computer program code stored in memory means, which is executable by means of a micro processor in an electronic device for performing the steps according to any of the previous claims 1 - 22.
25. Electronic unit having a communication interface comprising a first connector attachable to a system connector of an electronic device, characterised in that said communication interface comprises an electronic circuit connected to said first connector, which electronic circuit constitutes an electric load which is selected to represent an identity for said communication interface.
26. The electronic unit as recited in claim 25, characterised in that said circuit comprises a resistive component, wherein said identity is dependent on the ohmic resistance of said resistive component.
27. The electronic unit as recited in claim 25 or 26, characterised in that said circuit comprises a capacitive component, wherein said identity is dependent on the dynamics of said circuit.
28. The electronic unit as recited in claim 26 and 27, characterised in that said circuit is devised to generate a dynamic load, when subjected to a voltage from an attached electronic device, which load holds a substantially stable voltage level over said connector for a predetermined time period, and then triggers said voltage to rise.
29. The electronic unit as recited in claim 28, characterised in that said identity is determined by the duration of said predetermined time period and said voltage level.
30. The electronic unit as recited in any of the previous claims 25 to 29, characterised in that said electronic unit comprises a second connector to which said circuit is connected, to which second connector an additional electronic unit electronic unit may be cascadably attached.
31. The electronic unit as recited in any of the previous claims 25 to 30, characterised in that said electronic unit is an accessory which is attachable to an electronic device in the form of a radio communication terminal.
32. The electronic unit as recited in any of the previous claims 25 to 31 , characterised in that said identity is representative of a class of electronic units.
33. The electronic unit as recited in any of the previous claims 25 to 31, characterised in that said identity is unique for said electronic unit.
34. An electronic circuit, for use in an electronic unit having a first connector attachable to a system connector of an electronic device, characterised in that said circuit is devised to generate a dynamic load when subjected to a voltage from an attached electronic device, which load is representative of the identity of a communication interface of said electronic unit.
35. The electronic circuit as recited in claim 34, characterised in that said circuit comprises a transistor, a resistive component, and an RC component, wherein said transistor controls current from the electronic device to the resistive component which initially generates a substantially stable voltage level for a predetermined time period, where after said RC circuit triggers said voltage to rise.
36. The electronic circuit as recited in claim 35, characterised in that said time period is dependent on the characteristics of said transistor, and in that said transistor is contained on an ASIC.
PCT/EP2004/053149 2003-12-12 2004-11-29 Accessory identification algorithm for system connector WO2005060224A1 (en)

Priority Applications (6)

Application Number Priority Date Filing Date Title
CN2004800371010A CN1894944B (en) 2003-12-12 2004-11-29 Accessory identification algorithm for system connector
JP2006543530A JP4741512B2 (en) 2003-12-12 2004-11-29 Accessory identification algorithm for system connectors
KR1020067013609A KR101222335B1 (en) 2003-12-12 2004-11-29 Accessory identification algorithm for system connector
US10/582,253 US7565458B2 (en) 2003-12-12 2004-11-29 Cell phone accessory identification algorithm by generating and measuring a voltage pulse through a pin interface
BRPI0417384-8A BRPI0417384A (en) 2003-12-12 2004-11-29 method for identifying a communication interface of an electronic unit, computer program product, electronic unit that has a communication interface, and, electronic circuit for use in an electronic unit
MXPA06006060A MXPA06006060A (en) 2003-12-12 2004-11-29 Accessory identification algorithm for system connector.

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
EP03445142.7 2003-12-12
EP03445142A EP1542438B1 (en) 2003-12-12 2003-12-12 Accessory identification algorithm for system connector
US53031103P 2003-12-17 2003-12-17
US60/530,311 2003-12-17

Publications (1)

Publication Number Publication Date
WO2005060224A1 true WO2005060224A1 (en) 2005-06-30

Family

ID=34486576

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/EP2004/053149 WO2005060224A1 (en) 2003-12-12 2004-11-29 Accessory identification algorithm for system connector

Country Status (12)

Country Link
US (1) US7565458B2 (en)
EP (2) EP1542438B1 (en)
JP (1) JP4741512B2 (en)
KR (1) KR101222335B1 (en)
CN (1) CN1894944B (en)
AT (1) ATE392771T1 (en)
BR (1) BRPI0417384A (en)
DE (1) DE60320427T2 (en)
MX (1) MXPA06006060A (en)
RU (1) RU2369980C2 (en)
TW (1) TWI367017B (en)
WO (1) WO2005060224A1 (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1986406A2 (en) * 2007-04-23 2008-10-29 Samsung Electronics Co., Ltd. System and method for recognizing external device by portable terminal
EP1981172A3 (en) * 2007-04-13 2010-03-17 Sony Corporation Wireless receiving apparatus and electronic appliance
WO2011128489A1 (en) * 2010-04-12 2011-10-20 Savox Communications Oy Ab (Ltd) A communication device

Families Citing this family (48)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
DE102004059917A1 (en) * 2004-12-13 2006-06-14 Robert Bosch Gmbh Diagnostic system for monitoring a plug connection
US7589536B2 (en) 2007-01-05 2009-09-15 Apple Inc. Systems and methods for determining the configuration of electronic connections
WO2008041064A2 (en) * 2006-10-06 2008-04-10 Freescale Semiconductor, Inc. Detection circuit for detecting the connection of an accessory to a mobile device and method thereof
US8032090B2 (en) * 2007-06-29 2011-10-04 Silicon Laboratories Inc. Antenna for use in portable applications
US20090091422A1 (en) * 2007-10-03 2009-04-09 Apple Inc. Device identification via serial communication link
US8452428B2 (en) * 2008-11-10 2013-05-28 Broadcom Corporation Method and system for detecting and identifying electronic accessories or peripherals
US8467890B2 (en) * 2008-11-10 2013-06-18 Broadcom Corporation Method and system for detecting interrupts from detachable electronic accessories or peripherals
US8244927B2 (en) * 2009-10-27 2012-08-14 Fairchild Semiconductor Corporation Method of detecting accessories on an audio jack
US8180397B2 (en) 2009-10-28 2012-05-15 Research In Motion Limited Mobile communications device accessory identification system, an improved accessory for use with a mobile communications device, and a method of identifying same
TWI449356B (en) * 2010-02-05 2014-08-11 Htc Corp Detachable wireless communication module and method for using the same
US8193834B2 (en) * 2010-02-12 2012-06-05 Fairchild Semiconductor Corporation Multiple detection circuit for accessory jacks
SG185731A1 (en) 2010-05-28 2013-01-30 Apple Inc Dual orientation connector with external contacts
US8817994B2 (en) 2010-07-23 2014-08-26 Fairchild Semiconductor Corporation Audio jack reset
US9385552B2 (en) * 2010-10-25 2016-07-05 Nokia Technologies Oy Method of detecting charger type and estimating remaining recharging time for mobile devices with USB recharging
US9229833B2 (en) * 2011-01-28 2016-01-05 Fairchild Semiconductor Corporation Successive approximation resistor detection
JP5293756B2 (en) * 2011-02-14 2013-09-18 株式会社ニコン Interface system and dual-role device
IN2012DE00409A (en) 2011-02-14 2015-06-05 Nikon Corp
KR101846925B1 (en) * 2011-03-21 2018-04-09 삼성전자주식회사 Mobile terminal and interface method
US9170744B1 (en) 2011-04-06 2015-10-27 P4tents1, LLC Computer program product for controlling a flash/DRAM/embedded DRAM-equipped system
US9158546B1 (en) 2011-04-06 2015-10-13 P4tents1, LLC Computer program product for fetching from a first physical memory between an execution of a plurality of threads associated with a second physical memory
US9176671B1 (en) 2011-04-06 2015-11-03 P4tents1, LLC Fetching data between thread execution in a flash/DRAM/embedded DRAM-equipped system
US8930647B1 (en) 2011-04-06 2015-01-06 P4tents1, LLC Multiple class memory systems
US9164679B2 (en) 2011-04-06 2015-10-20 Patents1, Llc System, method and computer program product for multi-thread operation involving first memory of a first memory class and second memory of a second memory class
JP5741176B2 (en) * 2011-04-20 2015-07-01 富士通株式会社 Electronics
US8909955B2 (en) 2011-07-07 2014-12-09 Blackberry Limited Method and apparatus for providing characteristics information of a peripheral device to an electronic device by encoding the characteristic information into a power signal
US9497559B2 (en) 2011-07-22 2016-11-15 Fairchild Semiconductor Corporation MIC/GND detection and automatic switch
US9417754B2 (en) 2011-08-05 2016-08-16 P4tents1, LLC User interface system, method, and computer program product
US9293876B2 (en) 2011-11-07 2016-03-22 Apple Inc. Techniques for configuring contacts of a connector
US8799527B2 (en) * 2012-09-07 2014-08-05 Apple Inc. Data structures for facilitating communication between a host device and an accessory
US8793810B2 (en) 2012-01-09 2014-07-29 Blackberry Limited Semiconductor-based device authentication
CN102780949B (en) * 2012-06-13 2013-08-21 天地融科技股份有限公司 Method and device for automatically identifying MAC (Media Access Control) pin and ground pin of audio interface
CN102761804B (en) * 2012-06-14 2013-10-09 天地融科技股份有限公司 Self-adaptive method and self-adaptive device of voice frequency interface, and electronic signature tool
US9060228B2 (en) 2012-08-03 2015-06-16 Fairchild Semiconductor Corporation Accessory detection circuit with improved functionality
US8898348B2 (en) * 2013-02-07 2014-11-25 Apple Inc. Method and system for detecting connection of a host device to an accessory device
US9348382B2 (en) * 2013-02-22 2016-05-24 Maxim Integrated Products, Inc. Method and apparatus for providing power to an electronic device
US9307312B2 (en) 2013-03-15 2016-04-05 Apple Inc. Audio accessory with internal clock
KR102072144B1 (en) * 2013-03-26 2020-01-31 삼성전자주식회사 Method for identifying for accessory an electronic device thereof
TWI594191B (en) * 2013-08-26 2017-08-01 緯創資通股份有限公司 Identification system, pysical apparatus, identification apparatus, and identification method of pysical apparatus
US9892087B2 (en) * 2013-09-12 2018-02-13 The Boeing Company Mobile computing device and method of transmitting data therefrom
FI20145231L (en) * 2014-03-13 2015-09-14 Nokia Technologies Oy Apparatus, system, computer software product, and method for signaling between accessories and a device
CN106155956B (en) * 2015-04-02 2020-08-28 中兴通讯股份有限公司 Interface identification method and terminal
CN105163234B (en) * 2015-08-04 2018-02-02 广东欧珀移动通信有限公司 A kind of adaptation method of self-shooting bar, device and corresponding mobile device
CN105120388B (en) * 2015-08-12 2018-09-07 青岛海信移动通信技术股份有限公司 The recognition methods of self-shooting bar and device
CN105704373B (en) * 2016-01-29 2019-04-23 Oppo广东移动通信有限公司 A kind of self-shooting bar recognition methods, device and self-shooting bar, mobile terminal and system
KR101857469B1 (en) 2016-03-22 2018-05-14 현대자동차주식회사 Apparatus and method for charging electric vehcile via plural charger
CN111475448B (en) * 2020-03-05 2023-04-07 成都娄外科技有限公司 USB device insertion state detection method and device and USB device
CN114691570A (en) * 2020-12-25 2022-07-01 神讯电脑(昆山)有限公司 Electronic equipment and signal switching method
FR3124683B1 (en) * 2021-06-30 2024-03-08 Orange System for detecting change of face of equipment with assembled functional modules

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5301360A (en) * 1991-05-06 1994-04-05 Motorola, Inc. Digital option select system
US5859522A (en) * 1997-07-16 1999-01-12 Motorola, Inc. Accessory identification apparatus and method
WO2000042797A1 (en) * 1999-01-12 2000-07-20 Qualcomm Incorporated System and method for the automatic identification of accessories coupled to a wireless communication device

Family Cites Families (13)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5249218A (en) 1992-04-06 1993-09-28 Spectrum Information Technologies, Inc. Programmable universal interface system
JPH09247308A (en) * 1996-03-09 1997-09-19 Ricoh Co Ltd Image forming device
FI106759B (en) * 1996-11-13 2001-03-30 Nokia Mobile Phones Ltd Mobile transmit power limiting system
FR2760163A1 (en) * 1997-02-25 1998-08-28 Philips Electronics Nv TELECOMMUNICATION APPARATUS PROVIDED WITH DEVICE FOR RECOGNIZING PERIPHERALS
US5939875A (en) * 1997-03-17 1999-08-17 Hewlett-Packard Company Universal probe interface
JPH11136388A (en) * 1997-10-31 1999-05-21 Nec Mobile Commun Ltd Portable terminal equipment
JP3930633B2 (en) * 1998-04-01 2007-06-13 シャープ株式会社 Automatic signal switching device
SE515626C2 (en) * 1998-12-22 2001-09-10 Ericsson Telefon Ab L M Device for exchanging digital information between electrical circuits through current and voltage sequence and battery with such device
JP4230589B2 (en) * 1999-02-16 2009-02-25 日置電機株式会社 Measuring system
JP2001092770A (en) * 1999-09-20 2001-04-06 Nec Corp Connected equipment detection system
WO2003060732A1 (en) * 2002-01-16 2003-07-24 Fujitsu Limited Portable terminal, external device for portable terminal, external device identifying method, and external device identifying program
US20030148787A1 (en) * 2002-02-06 2003-08-07 Audex Telecom Industrial Co., Ltd. Method and apparatus for using an external audio system with a communication device
EP1473843A1 (en) * 2003-04-30 2004-11-03 Motorola, Inc. Apparatus for detecting a module

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5301360A (en) * 1991-05-06 1994-04-05 Motorola, Inc. Digital option select system
US5859522A (en) * 1997-07-16 1999-01-12 Motorola, Inc. Accessory identification apparatus and method
WO2000042797A1 (en) * 1999-01-12 2000-07-20 Qualcomm Incorporated System and method for the automatic identification of accessories coupled to a wireless communication device

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP1981172A3 (en) * 2007-04-13 2010-03-17 Sony Corporation Wireless receiving apparatus and electronic appliance
US8139776B2 (en) 2007-04-13 2012-03-20 Sony Corporation Wireless receiving apparatus and electronic appliance
EP1986406A2 (en) * 2007-04-23 2008-10-29 Samsung Electronics Co., Ltd. System and method for recognizing external device by portable terminal
EP1986406A3 (en) * 2007-04-23 2012-05-23 Samsung Electronics Co., Ltd. System and method for recognizing external device by portable terminal
WO2011128489A1 (en) * 2010-04-12 2011-10-20 Savox Communications Oy Ab (Ltd) A communication device

Also Published As

Publication number Publication date
DE60320427D1 (en) 2008-05-29
EP1542438A1 (en) 2005-06-15
US20070082634A1 (en) 2007-04-12
JP4741512B2 (en) 2011-08-03
RU2006124862A (en) 2008-01-20
TW200534675A (en) 2005-10-16
MXPA06006060A (en) 2006-08-11
KR101222335B1 (en) 2013-01-16
TWI367017B (en) 2012-06-21
DE60320427T2 (en) 2009-05-07
RU2369980C2 (en) 2009-10-10
KR20060123435A (en) 2006-12-01
CN1894944B (en) 2011-12-07
BRPI0417384A (en) 2007-04-10
ATE392771T1 (en) 2008-05-15
EP1921837A1 (en) 2008-05-14
US7565458B2 (en) 2009-07-21
JP2007535211A (en) 2007-11-29
EP1542438B1 (en) 2008-04-16
CN1894944A (en) 2007-01-10

Similar Documents

Publication Publication Date Title
US7565458B2 (en) Cell phone accessory identification algorithm by generating and measuring a voltage pulse through a pin interface
JP3811704B2 (en) Universal serial bus charger for mobile devices
US8880752B2 (en) Customizing and/or multiplexing universal serial bus pins
US6934561B2 (en) Cable or module identification apparatus and method
EP2336895A2 (en) Electronic device and method thereof for identifying electronic accessory
US20070232233A1 (en) Wireless handset with bluetooth remote control and dialing functionality on voip software application, and corresponding web phone
CA2779909C (en) Accessory id recognition by power cycling
JP2007507038A (en) User cognitive electronic device
CN108900385B (en) Network connection method and related product
EP1715420A1 (en) A method and computer program for switching on a portable telephone
JP2002076982A (en) Portable communication device
CN111371520B (en) Radio search processing method and device, storage medium and terminal
JP2750024B2 (en) Cordless telephone
EP2544330B1 (en) Accessory ID recognition by power cycling
CN107589820B (en) Mobile terminal, current setting method thereof, and computer-readable storage medium
CN108768582A (en) Method of controlling antenna and Related product
JPH07143553A (en) Mobile telephone set and communication system using the same
JPH1079782A (en) Digital portable telephone set and portable telephone system
KR20060072897A (en) Method for providing multiple modes in mobile phone
JPH04167721A (en) Random data extraction method in communication system using multi-channel access system
JPH09200360A (en) Connection cable

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200480037101.0

Country of ref document: CN

AK Designated states

Kind code of ref document: A1

Designated state(s): AE AG AL AM AT AU AZ BA BB BG BR BW BY BZ CA CH CN CO CR CU CZ DE DK DM DZ EC EE EG ES FI GB GD GE GH GM HR HU ID IL IN IS JP KE KG KP KR KZ LC LK LR LS LT LU LV MA MD MG MK MN MW MX MZ NA NI NO NZ OM PG PH PL PT RO RU SC SD SE SG SK SL SY TJ TM TN TR TT TZ UA UG US UZ VC VN YU ZA ZM ZW

AL Designated countries for regional patents

Kind code of ref document: A1

Designated state(s): GM KE LS MW MZ NA SD SL SZ TZ UG ZM ZW AM AZ BY KG KZ MD RU TJ TM AT BE BG CH CY CZ DE DK EE ES FI FR GB GR HU IE IS IT LU MC NL PL PT RO SE SI SK TR BF BJ CF CG CI CM GA GN GQ GW ML MR NE SN TD TG

121 Ep: the epo has been informed by wipo that ep was designated in this application
DPEN Request for preliminary examination filed prior to expiration of 19th month from priority date (pct application filed from 20040101)
WWE Wipo information: entry into national phase

Ref document number: 2953/DELNP/2006

Country of ref document: IN

WWE Wipo information: entry into national phase

Ref document number: PA/a/2006/006060

Country of ref document: MX

WWE Wipo information: entry into national phase

Ref document number: 2006543530

Country of ref document: JP

WWE Wipo information: entry into national phase

Ref document number: 2007082634

Country of ref document: US

Ref document number: 10582253

Country of ref document: US

WWE Wipo information: entry into national phase

Ref document number: 1020067013609

Country of ref document: KR

WWE Wipo information: entry into national phase

Ref document number: 2006124862

Country of ref document: RU

WWP Wipo information: published in national office

Ref document number: 1020067013609

Country of ref document: KR

122 Ep: pct application non-entry in european phase
ENP Entry into the national phase

Ref document number: PI0417384

Country of ref document: BR

WWP Wipo information: published in national office

Ref document number: 10582253

Country of ref document: US