[0001] This application claims priority of U.S. Provisional Application Serial No. 60/391,119 filed Jun. 24, 2002.
[0002] This invention relates to an identification system for recognizing any one of a number of different types of devices at the terminal of an information handling system, and even further to the ability to reconfigure the terminal to service the identified device.
[0003] Audio processing has become an important function in the field of personal computers. Computers contain dedicated audio processing devices, typically referred to as audio codecs, which connect to external audio transducers and devices. One of the primary functions of the audio codec is to convert both input and output audio signals to and from the internal digital formats of the computer and the, typically, analog format of the external devices.
[0004] One method of connecting external audio devices to the computer is to use a 3.5 mm or similar stereo audio jack. Each computer contains several jacks, which have typically been dedicated to a single function each, such as stereo line out for speakers, microphone input, and line input. With the increase in multimedia formats available today there is a need for increasing the number of input and output audio devices that the computer can support without increasing the current number of jacks on the computer which would increase the cost of the system. Also the probability of the computer user incorrectly connecting external devices to the wrong jacks increases dramatically leading to costly support calls.
[0005] Identification of external devices and moreover internal reconfiguration to accommodate input from or output to external devices is even more critical with respect to smaller, portable devices such as cell phones and PDAs where often only one connection or jack can be provided to receive a plug. The problem is further compounded because video as well as audio inputs/outputs are proliferating. Classical jack sensing has been available which detects plug in and out events at the jack. And, the detection of those events have been used to automatically perform other actions, e.g. the entry of an earphone plug into a jack automatically mutes the speakers, the recognition of a digital or analog speaker converts the output to the speakers to the proper choice of analog or digital signal. U.S. Pat. No. 6,185,627 is incorporated herein by this reference.
[0006] It is therefore an object of this invention to provide an improved identification system for recognizing any one of a number of different types of devices.
[0007] It is a further object of this invention to provide such an improved identification system which can be reconfigured to adapt its function to match the recognized device.
[0008] It is a further object of this invention to provide such an improved identification system which can recognize or recognize and adapt to different devices whether input or output devices.
[0009] It is a further object of this invention to provide such an improved identification system which can recognize a device in a number of ways including impedance characteristics and spectral signature.
[0010] It is a further object of this invention to provide such an improved identification system which can distinguish mono and stereo input and output devices and detect balanced and unbalanced loads.
[0011] It is a further object of this invention to provide such an improved identification system which can learn to recognize new devices.
[0012] It is a further object of this invention to provide such an improved identification system which can service a number of connectors or terminals and can even do so using the same excitation and analysis circuits to save on cost.
[0013] It is a further object of this invention to provide such an improved identification system which uses a programmable current source that permits the use of a less sensitive and thus less expensive response analyzer.
[0014] It is a further object of this invention to provide event detector circuitry which correctly identifies a plug-in or plug-out event even when multiple jacks are employed and even if non-isolated switches are used.
[0015] The invention results from the realization that a device connected to the connectors, terminals or jacks of an information handling system such as a computer system or sound system can be automatically identified by matching it with the electrical characteristics such as impedance or frequency response of a group of known devices using hardware and/or software, decision trees or stored look up tables and further once recognized, the identity can be used to configure the terminal for a plurality of different input and output devices such as speakers, microphones, phonographs, and tape and CD players, and other audio and video devices.
[0016] This invention features an identification system for recognizing a device as one of a plurality of different types of devices connected to at least one terminal of an information handling system. There is an excitation circuit for supplying a test signal to a device in a test mode and a response analyzer circuit responsive to the test signal being applied to the device in the test mode for measuring an electrical characteristic of the device. An identification circuit responds to the measured electrical characteristic of the device for matching a representation of the electrical characteristic of the device with representations of the electrical characteristics of the plurality of devices for recognizing the device connected to the terminal as one of the plurality of different devices.
[0017] In a preferred embodiment, the excitation circuit may include a current source. The current source may provide current to the device or it may sink current from the device. The excitation circuit may include an excitation switching circuit for selectively connecting the current source to the terminal. The current source may include a plurality of current source units. The response analyzer circuit may include a sample and hold circuit for sensing the voltage of the device after the current source is connected to the device. The response analyzer circuit may include an analog to digital converter responsive to the sample and hold circuit. The identification circuit may employ a decision tree for matching the representation of the electrical characteristic of the device with those of the plurality of different devices. The identification circuit may include a storage device for storing representations of the characteristics of the plurality of devices for matching with the representation of the characteristic of the device. There may be a reconfiguration circuit connected to the terminal and responsive to the identification of the device for reconfiguring to adapt to the identified device. The reconfiguration circuit may include input and output amplifiers and a reconfiguring switching circuit for selectively connecting the amplifiers to the terminal. The reconfiguration circuit may include input and output amplifiers having enable inputs which can selectively transition the amplifiers between low-on impedance and high-off impedance.
[0018] There may be an event detector for detecting the presence and absence of a device connected to a terminal. In one example, there are, multiple terminals and the event detector includes a resistor ladder network connected between a node and the terminals for conditioning the voltage at the node to vary depending on whether devices are connected to one or more of the terminals and a comparison circuit for detecting whether the voltage at the node has changed. Typically, the comparison circuit is an analog to digital converter and the resistive ladder network includes a differently valued resistors connected,between each terminal and the node. In another example, the multiple terminals are not isolated and the event detector further includes means for discriminating between a voltage change at the node due to the presence of an audio signal and a terminal plug-in or plug-out event. In one embodiment the means for discriminating includes a logic circuit responsive to a timer for detecting whether the voltage change at the node is stable.
[0019] The electrical characteristic may be impedance or it may be frequency response and the response analyzer circuit may include a frequency response analyzer. There may be a number of terminals and a number of excitation switching circuits for selectively connecting the excitation circuit with each of the terminals. The terminal may include a tip and a ring jack. The excitation circuit may supply a test signal to the tip contact and the response analyzer may respond to the ring contact. The terminal may include a tip and ring jack and the excitation circuit may supply a test signal to the ring contact and the response analyzer circuit may be responsive to the tip contact. The response analyzer circuit may include an analyzer switching circuit for selectively connecting the sample and hold circuit to the terminal. There may be a number of terminals and analyzer switching circuits for selectively connecting the response analyzer circuit with each of the terminals. The excitation circuit may include a programmable current source responsive to the response analyzer circuit for selectively applying a number of different current levels to the device.
[0020] The invention also features an identification system for recognizing a device as one of a plurality of different types of devices connected to at least one terminal of an information handling system. There is an excitation circuit for supplying a test signal to a device in a test mode and a response analyzer circuit responsive to the test signal being applied to the device in the test mode for measuring an electrical characteristic of the device. An identification circuit responsive to the measured electrical characteristic of the device matches a representation of the electrical characteristic of the device with representations of the electrical characteristics of the plurality of devices for recognizing the device connected to the terminal as one of the plurality of different devices. A reconfiguration circuit connected to the terminal may be responsive to the identification of that device for reconfiguring to adapt to the identified device.
[0021] The excitation circuit may include a current source. The current source may provide current to the device. The current source may sink current from the device. The excitation circuit may include an excitation switching circuit for selectively connecting the current source to the terminal. The current source may include a plurality of current source units. The response analyzer circuit may include a sample and hold circuit for sensing the voltage of the device after the current source is connected to the device. The response analyzer circuit may include an analog to digital converter responsive to the sample and hold circuit. The identification circuit may include a decision tree for matching the representation of the electrical characteristic of the device with those of the plurality of different devices. The identification circuit may include a storage device for storing representations of the characteristics of the plurality of devices for matching with the representation of the characteristic of the device. The reconfiguration circuit may include input and output amplifiers and a reconfiguring switching circuit for selectively connecting the amplifiers to the terminal. The reconfiguration circuit may include input and output amplifiers having enable inputs which can selectively transition the amplifiers between low-on impedance and high-off impedance. There may be an event detector for detecting the presence and absence of a device connected to the terminal. The electrical characteristic being monitored may be impedance or it may be frequency response and the response analyzer may include a frequency response analyzer. There may be a number of terminals and a number of excitation switching circuits for selectively connecting the excitation circuit with each of the terminals. The terminal may include a tip and ring jack and the excitation circuit may supply a test signal to the tip contact and the response analyzer circuit may respond to the ring contact. Conversely, the terminal may include a tip and ring jack and the excitation circuit may supply a test signal to the ring contact and the response analyzer may respond to the tip contact. The response analyzer circuit may include an analyzer switching circuit for selectively connecting the sample and hold circuit to the terminal. There may be a number of terminals and analyzer switching circuits for selectively connecting the response analyzer circuit with each of the terminals. The excitation circuit may include a programmable current source responsive to the response analyzer circuit for selectively applying a number of different current levels to the device.
[0022] The invention also features an identification method for recognizing a device as one of a plurality of different types of devices connected to at least one terminal of an information handling system including supplying a test signal to a device in a test mode and measuring the electrical characteristic of the device in response to the test signal being applied to the device in the test mode. A representation of the electrical characteristic of the device is matched with the representations of the electrical characteristics of the plurality of devices for recognizing the device connected to the terminal as one of the plurality of different devices for recognizing the device connected to the terminal as one of the plurality of different devices.
[0023] In a preferred embodiment, matching representation of the electrical characteristic of the device with those of the plurality of different devices may employ a decision tree. The storage device may store representations of the characteristics of the plurality of devices for matching with a representation of the characteristic of the device. The system may respond to the identification of a device by reconfiguring a terminal to adapt to the identified device. There may be an event detector for detecting the presence and absence of a device connected to the terminal. The electrical characteristic may be impedance or it may be frequency response. The terminal may include a tip and ring jack and the test signal may be applied to the tip contact and the response received from the ring contact. Or the terminal may include a tip and ring jack and the test signal may be applied to the ring contact and the response may be received from the tip contact. The excitation circuit may include a programmable current source responsive to the response analyzer circuit for selectively applying a number of different current levels to the device.
[0024] A system for detecting a device plug-in or plug-out event for a plurality of terminals, in accordance with this invention, includes a resistive ladder network connected between a node and the terminals for conditioning the voltage at the node to vary depending on whether devices are connected to one or more of the terminals. A comparison circuit then detects whether the voltage at the node has changed.
[0025] In one example the comparison circuit is an analog-to-digital converter and the resistive ladder network includes a differently valued resistor connected between each terminal and the node. When the multiple terminals are not isolated, the event detector may further include a logic circuit configured to discriminate between a voltage change at the node due to the presence of an audio signal and a terminal plug-in or plug-out event One system for detecting a device plug-in or plug-out event for a plurality of terminals includes a resistive ladder network connected between a node and the terminals for conditioning the voltage at the node to vary depending on whether devices are connected to one or more of the terminals, a comparison circuit for detecting whether the voltage at the node has changed and a logic circuit, configured to discriminate between a voltage change at the node not due to a terminal plug-in or plug-out event (due to noise or an audio signal, for example) and a voltage change at the node that is due to a terminal plug-in or plug-out event.
[0026] Other objects, features and advantages will occur to those skilled in the art from the following description of a preferred embodiment and the accompanying drawings, in which:
[0027]
[0028]
[0029]
[0030]
[0031]
[0032]
[0033]
[0034]
[0035]
[0036]
[0037]
[0038]
[0039]
[0040]
[0041]
[0042]
[0043]
[0044] Aside from the preferred embodiment or embodiments disclosed below, this invention is capable of other embodiments and of being practiced or being carried out in various ways. Thus, it is to be understood that the invention is not limited in its application to the details of construction and the arrangements of components set forth in the following description or illustrated in the drawings.
[0045] There is shown in
[0046] Load sensing circuit
[0047] Audio jack
[0048] In one embodiment, as shown in
[0049] Excitation circuit
[0050] In operation, capacitors
[0051] In phase
[0052] The reconfiguration circuit can adapt to microphone (stereo or mono) by closing switch
[0053] If a typical communication headset is detected connected to audio jack
[0054] If a line level input device is detected then there is no need for bias so switch
[0055] Data analysis logic circuit
[0056] The output on line
[0057] Although in
[0058] The impedance characteristic is not the only electrical characteristic of an unknown load that can be matched with the electrical characteristics of known loads or devices. For example, the frequency response of the unknown device could be matched with the frequency responses of known devices. In that case the output from ADC
[0059] Instead of employing a decision tree, a simple storage look-up table could be used. For example, a signal at input
[0060] The identification process can be understood more readily with reference to the jack sensing table in
[0061] When analog speakers, mono headset, or headphones are detected, switches
[0062] For a standard mono computer microphone input
[0063] In accordance with the method and system of this invention a complete system employs three main pieces of software, a user interface application
[0064] The middleware application
[0065] User interface messaging begins with a task of getting the audio jack device change notification in step
[0066] The middleware application performs a number of functions as indicated at
[0067] A codec driver detects any I/O connection plug in or plug out event
[0068] At startup,
[0069] Jack event detection is the ability of a codec
[0070] For a single jack one DC voltage path from the jack switch pins to the codec and one codec pin (JS) is sufficient to detect events at that jack. Connecting the switch pin on the jack to the JS pin will result in a logic high or low (high via pull-up resistor in the codec, low via pull-down resistor in the applications circuit) depending on if something plugged into the jack or not. The transition from logic ‘O’ to logic ‘1’ and vice versa is the event signal to the system.
[0071] Typical systems have multiple jacks as shown in
[0072]
[0073]
[0074] Although specific features of the invention are shown in some drawings and not in others, this is for convenience only as each feature may be combined with any or all of the other features in accordance with the invention. The words “including”, “comprising”, “having”, and “with” as used herein are to be interpreted broadly and comprehensively and are not limited to any physical interconnection. Moreover, any embodiments disclosed in the subject application are not to be taken as the only possible embodiments.
[0075] Other embodiments will occur to those skilled in the art and are within the following claims: