1. Field of the Invention
This invention relates in general to portable electronic devices and their accessories and more particularly to methods of operating the accessories.
2. Description of the Related Art
Portable electronic devices are ubiquitous in today's society. Many of these devices, such as cellular telephones, two-way radios or personal digital assistants, include connectors for receiving a wide variety of accessories. For example, many of these devices can receive a headset accessory that includes one or more speakers and a microphone. Many headsets now include two speakers, while a significant number of headsets only have one speaker. To accommodate both types of headsets, the portable electronic device to which a headset will be coupled may include two separate audio amplifiers because two-speaker headsets may require them to deliver stereo audio.
Such an arrangement works efficiently for two-speaker headsets, as both amplifiers are used to provide audio gain. If the headset only includes one speaker, however, only one of the amplifiers will be used to amplify audio; the remaining amplifier will simply cause a needless current drain, a disadvantage that simply cannot be afforded because of the limited amount of battery life in today's portable electronic devices. Additionally, the unused amplifier may be susceptible to damage because it may be grounded when the one-speaker headset is coupled to the portable electronic device.
The present invention concerns a method for operating accessory controls. The method includes the steps of receiving an accessory, measuring at least one parameter generated at least in part by an identifier in the accessory and in response to the measuring step, activating an audio amplifier. The audio amplifier is only activated if the accessory contains more than one speaker. The method can also include the step of maintaining the audio amplifier in a deactivated state if the accessory contains only one speaker. In addition, the method can include the step of comparing the measured parameter against a table of predetermined measurements that correspond to predetermined operational settings.
As an example, the accessory can be a headset for coupling to a portable electronic device, and the headset can be either a stereo headset accessory or a mono headset accessory. As another example, the headset can be either a four-pole headset with push-to-talk capability or a five-pole headset with push-to-talk capability. The identifier can be a resistive element, an open circuit or a short circuit, and the measured parameter can be a voltage.
In yet another arrangement, the method can include the steps of generating an interrupt signal when at least part of an accessory control is activated and in response to the generating step, measuring another parameter created at least in part by the activation of the accessory control. As an example, the accessory control can be a number of control switches that correspond to functions to be performed by a portable electronic device, and the control switches can be in parallel with the identifier. As a more specific example, the control switches can be buttons on the accessory that control the operation of a digital music file player.
The present invention also concerns an accessory for coupling to a portable electronic device. The accessory includes an interface for coupling to the portable electronic device, an identifier in which the identifier generates at least in part a parameter and at least one speaker. Only if the accessory contains more than one speaker, the parameter generated at least in part by the identifier causes an audio amplifier that drives one of the speakers to be activated. The accessory may also include suitable software and/or circuitry to carry out the processes described above.
The present invention also concerns a system for operating accessory controls. The system includes an accessory having an identifier and an interface in which the identifier generates at least in part a parameter and a portable electronic device having at least two audio amplifiers for driving corresponding speakers of the accessory, an interface and a processor. The accessory interface couples to the portable electronic device interface. The processor is programmed to measure the generated parameter and in response, activate the two amplifiers only if the accessory has more than one speaker. The system can also include suitable software and/or circuitry to carry out the processes described above.
The present invention also concerns a portable electronic device. The portable electronic device includes an interface for receiving an accessory having an identifier, at least two audio amplifiers for driving speakers of the accessory and a processor. The processor is programmed to measure a parameter generated at least in part by the identifier of the accessory and in response, activate both amplifiers only if the accessory includes more than one speaker. The portable electronic device also includes suitable software and/or circuitry to carry out the processes described above.
The features of the present invention, which are believed to be novel, are set forth with particularity in the appended claims. The invention, together with further objects and advantages thereof, may best be understood by reference to the following description, taken in conjunction with the accompanying drawings, in the several figures of which like reference numerals identify like elements, and in which:
While the specification concludes with claims defining the features of the invention that are regarded as novel, it is believed that the invention will be better understood from a consideration of the following description in conjunction with the drawing figures, in which like reference numerals are carried forward.
As required, detailed embodiments of the present invention are disclosed herein; however, it is to be understood that the disclosed embodiments are merely exemplary of the invention, which can be embodied in various forms. Therefore, specific structural and functional details disclosed herein are not to be interpreted as limiting, but merely as a basis for the claims and as a representative basis for teaching one skilled in the art to variously employ the present invention in virtually any appropriately detailed structure. Further, the terms and phrases used herein are not intended to be limiting but rather to provide an understandable description of the invention.
The terms a or an, as used herein, are defined as one or more than one. The term plurality, as used herein, is defined as two or more than two. The term another, as used herein, is defined as at least a second or more. The terms including and/or having, as used herein, are defined as comprising (i.e., open language). The term coupled, as used herein, is defined as connected, although not necessarily directly, and not necessarily mechanically. The terms program, software application, and the like as used herein, are defined as a sequence of instructions designed for execution on a computer system. A program, computer program, or software application may include a subroutine, a function, a procedure, an object method, an object implementation, an executable application, an applet, a servlet, a source code, an object code, a shared library/dynamic load library and/or other sequence of instructions designed for execution on a computer system.
Referring to
The interface 118 of the portable electronic device 110 can be designed to receive the interface 120 of the accessory 112. When engaged, signals can pass from the portable electronic device 110 to the accessory 112 and vice-versa. As an example, the interface 120 for the accessory 112 can be a plug or a jack and the interface 118 of the portable electronic device 110 can be a receptacle for receiving such a structure. As another example, the interface 118 of the portable electronic device 110 and the interface 120 of the accessory 112 can be designed to transmit and receive wireless transmissions between one another, instead of relying on a hard-wired connection.
In accordance with one embodiment of the inventive arrangements, when the interface 120 of the accessory 112 is coupled to the interface 118 of the portable electronic device 110, the identifier 124 in the accessory 112 can help generate a parameter. As noted above, the interface 120 can be coupled to the interface 118 through a conventional, hard-wired connection or though a wireless link. The processor 114 can be programmed to measure this generated parameter and can compare it to predetermined measurements in the table 115 in which the predetermined measurements correspond to predetermined operational settings. Based on this comparison, the processor 114 can determine the configuration of the user interface 122 of the accessory 112. For example, the processor 114 can determine whether the accessory 112 has one speaker or more than one speaker.
If the processor 114 determines that the accessory 112 includes more than one speaker, the processor 114 can activate one or more audio amplifiers (not shown) in the accessory circuit 116 that can be used to drive the speakers. Conversely, if the processor 114 determines that the accessory 112 merely includes one speaker, the processor 114 can maintain one or more of the audio amplifiers in a deactivated state. This process can prevent needless current drain and can further protect the audio amplifiers from damage. Examples of this concept will be demonstrated below.
The accessory control 125 can be used to permit a user of the accessory 112 to control the operation of the portable electronic device 110. For example, the accessory control 125 can include one or more buttons (not shown), which when activated, can cause the processor 114 to initiate various actions or steps that correspond to the particular button that was activated. Examples of this particular concept will also be presented below.
Referring to
In one arrangement, the user interface 122 of the accessory 112 can include one or more microphones 126 and one or more speakers 128. As an option, the user interface 122 of the accessory 112 may also include a push-to-talk (PTT) switch or button 130, which can enable a user to engage in dispatch communications. The PTT switch 130 can be located on a contact 132A. In another arrangement, the identifier 124 can be coupled to the contact 132A on which the PTT switch 130 is located. As an example, the identifier 124 can be a resistive element 134, although the identifier 124 can be any other suitable component.
The accessory control 125 can include one or more control switches 136, which can be in series with one or more corresponding resistors 138. In one arrangement, the control switches 136 and the corresponding resistors 138 that make up the accessory control 125 can be in parallel with the identifier 124. These control switches 136 can correspond to functions to be performed by the portable electronic device 110. For example, when activated, the control switches 136 can cause the processor 114 of the portable electronic device 110 to perform an action, i.e., execute a set of instructions. As a more specific example, the portable electronic device 110 can include a digital music file player 140, such as an MP3 player, and the control switches 136 can be buttons on the accessory 112 that can control the operation of the digital music file player 140.
The accessory circuit 116 of the portable electronic device 110 can also include a contact 132B, which can correspond to the contact 132A of the accessory 112 to permit the transfer of signals between the two devices. A voltage source VS and a pull-up resistor 142 can be coupled to the contact 132B. In addition, an input 144 can be fed into the processor 114 to enable the processor 114 to measure parameters associated with the contacts 132A and 132B. A comparator 146, which can receive a reference voltage VREF, can also be coupled to the contact 132B, and the comparator 146 can provide an input 147 to the processor 114. The comparator 146, along with the reference voltage VREF, can be used to enable the processor 114 to determine when the PTT switch 130 has been opened or closed or when any of the control switches 136 of the accessory control 125 have been activated. It is understood that, while not shown here, the processor 114 can include any suitable number of analog-to-digital converters or input/outputs to enable the processor 114 to receive and process signals.
The accessory circuit 116 of the portable electronic device 110 can include one or more audio amplifiers 148. In this example, the portable electronic device 110 can include two audio amplifiers 148, where one audio amplifier 148 can drive a right speaker 128, and the other audio amplifier 148 can drive a left speaker 128. The right speaker 128 can be coupled to a contact 150A, and the audio amplifier 148 used to drive the right speaker 128 can be coupled to a corresponding contact 150B. Similarly, the left speaker 128 can be coupled to a contact 152A, and the audio amplifier 148 used to drive the left speaker 128 can be coupled to a corresponding contact 152B. A capacitor 154 can be positioned on the output of the audio amplifiers 148.
As noted above, the user interface 122 of the accessory 112 may also include one or more microphones 126, which can be coupled to a contact 156A. Additionally, the accessory circuit 116 of the portable electronic device 110 can include a microphone input 158, which can be coupled to a corresponding contact 156B through a capacitor 160. The accessory circuit 116 can also have a microphone voltage source VM and a resistor 162, both of which can be coupled to the contact 156B. Further, the user interface 122 can include a ground contact 164A, and the accessory circuit 116 can have a corresponding ground contact 164B.
Referring to
Referring back to
In addition to a resistor, the identifier 124 can be in the form of other arrangements. For example, referring to
In one arrangement, if the accessory 112 includes a PTT switch 130, the PTT switch 130 can serve as the open circuit 166 when the PTT switch 130 is in an open position. Of course, other suitable arrangements can be used to create the open circuit 166. For example, a blocking capacitor can be used to create the open circuit 166. For the short circuit 168, the accessory 112 may not include the PTT switch 130 or the accessory control 125; it may just be a ground connection. In both the open circuit 166 and short circuit 168 embodiments, the accessory 112 more than likely will include only one speaker 128. Although illustrated as creating a short circuit when pressed or activated, the PTT button 130 can be arranged to create an open circuit when pressed.
Referring back to the method 300 of
Alternatively, the processor 114 can maintain one of the audio amplifiers 148 in a deactivated state if the accessory 112 only contains one speaker 128 (the accessory 112 is a mono headset). The audio amplifier 148 that can be deactivated can be the audio amplifier 148 that has no speaker 128 to drive. The decision to maintain the audio amplifier 148 in a deactivated state can be made in accordance with the operational settings that were accessed from the table 115, which were based on the generated parameter. By keeping one or more audio amplifiers 148 in a deactivated state based on the number of speakers 128 in the accessory 112, the needless drain of current can be stopped. For purposes of the invention, the phrase “maintain in a deactivated state” can mean placing a component from an operational state to a non-operational state or keeping a non-operating component in such a state.
In another arrangement of the invention, if the PTT switch 130 is closed prior to the measuring and comparing steps 314, 316 of
It is understood that the invention is in no way limited to the system 100 shown in
Referring to
In operation, the voltage supply Vs can be powered up, and the microphone voltage source VM can be turned off. At this point, barring the closing of the PTT switch 130, the processor 114 can determine the number of speakers 128 that the accessory 112 includes and can set the proper configuration of the portable electronic device 110 in accordance with the process described earlier. Once this determination is made, the microphone voltage source VM can be turned on, which can permit the microphone 126 and the speaker(s) 128 to function properly. Again, it must be noted that the systems shown in
As noted earlier, the accessory 112 can optionally include an accessory control 125, which can include control switches 136 for operating, for example, the digital music file player 140. Referring back to
Referring back to
It must be noted, however, that the invention is not limited to this particular example, as other methods or structure can be incorporated into the system 100 of
In addition, while the preferred embodiments of the invention have been illustrated and described, it will be clear that the invention is not so limited. Numerous modifications, changes, variations, substitutions and equivalents will occur to those skilled in the art without departing from the spirit and scope of the present invention as defined by the appended claims.