AUDIO OUTPUT DEVICE SELECTION FOR A PORTABLE ELECTRONIC DEVICE

Information

  • Patent Application
  • 20070281744
  • Publication Number
    20070281744
  • Date Filed
    November 03, 2006
    17 years ago
  • Date Published
    December 06, 2007
    16 years ago
Abstract
A portable electronic device can detect whether an output unit of an accessory is connected to the body of a user and determines audio output units to which its application will transmit audio signal. The portable electronic device comprises an interface connected to the accessory, an application handling unit and a control unit. The control unit determines if the accessory is attached to the body of a user, selects audio output units to be used for the electronic device and transmits audio signals to the selected audio output unit for the application.
Description

BRIEF DESCRIPTION OF THE DRAWINGS

The present invention will now be described in more detail in relation to the enclosed drawings, in which:



FIG. 1 schematically shows a front view of a cellular phone;



FIG. 2 schematically shows an accessory according to the present invention in the form of a hands-free device for connection to the phone of FIG. 1;



FIG. 3 schematically shows different elements of the hands-free device of FIG. 2 connected to a system connector of the phone of FIG. 1;



FIG. 4 shows a block schematic of units in the phone of FIG. 1 used for determining an audio output unit;



FIG. 5 shows a flow chart of method for selecting audio output units for an application within the phone of FIG. 1 and for driving audio output units, the method being performed in the phone of FIG. 1; and



FIG. 6 schematically shows a computer program product in the form of a CD ROM disc comprising computer program product for implementing methods of described herein.





DETAILED DESCRIPTION OF EMBODIMENTS

Implementations of the system described herein relate to an accessory for a portable electronic device, such as a portable communication device like a cellular phone, as well as to such portable electronic device. Such a phone 10 is schematically shown in a front view in FIG. 1. The phone 10 includes a display 14, which may be a liquid crystal display, a key pad 12 including a number of keys and an electrical interface in the form of a system connector 16 for connecting to an accessory. There is furthermore a phone audio output unit in the form of a speaker 17. The phone normally includes an antenna, provided in the interior of the phone 10. A cellular phone is just one example of a portable electronic device. A portable electronic device can also be things such as a lap top computer, a palm top computer, an electronic organizer, a smartphone, or a communicator.



FIG. 2 schematically shows an accessory for a portable electronic device. The accessory in FIG. 2 is a portable hands-free device 18 which includes an electrical interface in the form of a plug 30, for inserting into the system connector of the phone and a cord 28 connected to a main body 20 including a microphone 22. The main body 20 is furthermore connected to a first and a second accessory audio output unit in the form of a first and a second earphone 24 and 26 via another cord. The microphone 22 may be connected to the system connector of the phone, similarly as the earphones 24 and 26. The first earphone 24 also includes a pressure receiving unit 32 that is part of a detector arranged to detect whether the earphone is attached to the body of the user. For example, earphone 24 may be attached to an ear.



FIG. 3 schematically shows the different elements of the hands free device 18 connected to the system connector 16. The hands-free device 18 is here outlined in the form of a dashed box. For simplicity, only the first earphone 24 is shown in FIG. 3 as being connected to the system connector 16 for receiving an electrical audio signal Vsp. The second earphone may receive the same or another audio signal, where another audio signal may be provided if stereo sound is desired. In the hands-free device 18, the pressure receiving unit 32 is mechanically connected to an interior surface of the hands-free device 18 via a spring 34. The pressure receiving unit 32 can be moved by a force F, which may be provided when the earphone 26 is attached to an ear of a user. Force F displaces the pressure receiving unit 32, which may be in the form of a plastic or metallic pin. The displacement of the pressure receiving unit 32 in the direction of the spring 34 mechanically influences a switch SW provided in the accessory 18 to change its position. When force F is no longer applied, the pressure receiving unit 32 returns to its original position and causes the Switch SW to return to its original position. The switch SW has one input connected to a reference voltage Vr provided by the system connector 16 via a first resistor R1 and two outputs, the first directly connected to a ground potential GND that is provided by the system connector 16 and the second connected to a second resistor R2. A measured voltage Vm is provided to the system connector 16 from the connection point between input of the switch SW and the first resistor R1. When no force is applied, the switch SW interconnects its input with the first output and thus provides a ground potential GND as a measured voltage Vm. When force F is applied, the pressure receiving unit 32 actuates the switch so that it interconnects its input with the second output and provides a measured voltage Vm that is a between the voltage of the reference voltage Vr and ground GND. By a suitable selection of resistors, voltage Vm can be directly used in digital applications. In FIG. 2, the spring 34, the pressure receiving unit 32, the switch SW and the resistors R1 and R2 together form an electro-mechanical detector that is arranged to detect that the earphone 26 is plugged into or attached to the ear of the user.



FIG. 4 shows a block schematic of different units in the phone that are relevant for the present invention. The phone 10, which is shown as a dashed box, includes an application handling unit 38, which, in the present example, handles an application that manages incoming and outgoing telephone calls. The application handling unit 38 also handles events occurring in the application. For this reason the application handling unit 38 is connected to an antenna 44. A control unit 36 is connected to the system connector 16 for receiving the measured voltage Vm, to a driving unit 40 for driving audio output units using the audio output signal Vsp, and to a vibrator 42. The driving unit 40 is connected to the phone speaker 17 as well as to the system interface 16 for providing the audio output signal Vsp. The driving unit 40 may have access to a number of alerting signals. These alerting signals may be set by the user of the phone to alert of the incoming calls. The user may for instance select one type of ring signal associated with a certain calling party according to a phone book setting. In the figure the ground GND and reference voltage Vr have been omitted for clarity. The voltages may furthermore be provided by other units of the phone, for instance in relation to the ordinary power supply circuits of the phone.


The operations of devices and components shown in FIGS. 1-4 will now be described with references to FIGS. 1-4, as well as with reference to FIG. 5, which shows a flow chart of a method for selecting audio output units for an application within a portable electronic device and for driving audio output units.


When an event occurs in the phone, for instance when a phone call is received by the application handling unit 38, in step 46, the control unit 36 is notified of this fact. The control unit 36 then determines that the hands-free device 18 is connected to system connector 16 of the phone 10, in step 48. This may be done through detecting that the plug 30 is inserted into the connector 16. A number of ways may be employed to detect this. For instance, it may be done through detecting a microphone being connected (not shown), through detecting that the earphone is electrically connected to the interface 16, or through using the measured voltage Vm. There are thus many ways in which the detection may be performed. If the hands-free device 18 is not connected, the control unit 36 uses the ordinary audio output units of the phone for alerting a user of the call.


When the control unit 36 has determined that the hands-free device 18 is connected to the system connector 16 of the phone 10, it investigates if the first earphone 24 is attached to the ear, in step 50. The investigation is performed through examining the measured voltage Vm. If the voltage is zero the first earphone 24 is not attached. If it has another value, the first earphone 24 is attached. If the first earphone is attached, in step 50, the control unit 36 selects at least one audio output unit in the accessory 18 to alert the unit of the call, in step 52. The only audio output units selected are those provided in the accessory, i.e. no audio output unit of the phone. The control unit 36 may also select another alerting unit of the phone, namely the vibrator 42, in step 54. Once the units have been selected, alerting is performed, in step 58, which is accomplished through the control unit 36 ordering the driving unit 40 to provide the audio signal Vsp to the earphones 24 and 26 via the system connector 16 and through activating the vibrator 42. The user can then accept the call.


If the control unit 36 has determined that the first earphone 24 is not attached to the ear, in step 50, it selects at least one audio output unit in the phone for alerting the unit of the call, in step 56. The only audio output units selected are those provided in the phone, (i.e. no audio output unit of the accessory). The control unit 36 thereafter orders the driving unit 40 to alert a user of the call, step 58, using the phone speaker 17, whereupon the user is free to accept the call.


Accordingly, whether audio output unit of the accessory is connected to the body of the user or not is accounted for when the portable device selects ways to alert the user of an event. In this way, an audio signal is outputted to the hands-free device if the user has the earphone attached to his/her body. If the earphone is not attached to the body, the audio output units of the phone are used. This process provides an efficient selection of audio output units and of limiting the disturbance to the environment whenever it is possible. This also saves battery power, since signal is output to units are in use. Should the accessory be used for other applications, their use will not be influenced by the selection of the audio output units in accordance with the present invention, unless their use involves sound or audio.


The control unit is preferably provided in the form of a microprocessor with corresponding program code for performing method steps. The application handling unit and driving unit also may be provided similarly. The program code for the control unit, the application handling unit or the driving unit can be provided on a data carrier such as a CD ROM 60 as shown in FIG. 6 or a memory stick. Alternatively, the program code may be provided on a server, from where it is downloaded to the portable electronic device. It is also possible to connect the interface in the portable electronic device directly to a computer (e.g., a personal computer), and download the program code into the phone from the computer.


The present invention can be varied in a number of ways in addition to those that have already been mentioned. It is possible, when the portable electronic device transmits an alerting signal for an incoming call after determining that an audio output unit of the accessory is attached to the body of the user, to have the call automatically accepted by the phone after a predetermined number of alerting intervals. This makes the process of receiving the call easier for the user. It is also possible to enable the user to decline the call, for instance, by providing a busy tone.


Naturally it is possible to provide a detector for the second earphone shown in FIG. 2. The detectors can then be used for selecting only the audio output units that are attached to the body. A user may for instance have only one audio output unit attached to his ear. Accordingly, of the two output units, only the audio unit attached to his ear may be supplied with the audio signal. Such configuration further saves power. The feature can also be used to determine if mono or stereo sound is to be used in alerting. In different embodiments, it is not necessary to detect if the accessory is connected to the electrical interface of the phone; it is possible to select the audio output units based on determining if the earphone is connected to the body of the user.


In other embodiments, it is not necessary to use the vibrator for alerting after determining that the audio output unit of the accessory is attached to the body of the user. It is also possible to use the vibrator alerting when an earphone is not attached to the ear, while no audio output unit of the accessory is selected.


Alerting signal may be provided not just for incoming calls but also for received messages, such as short message service (SMS), multimedia message service (MMS), or e-mail messages, as well as for events in a calendar. In such cases, application handling unit can be a message handling unit or a calendar handling unit. It is also possible, instead of using the application handling unit that handles events, to use any application that has an audio output, such as a music player application, digital television application or video player application.


The detector can be implemented in many ways. In the case of electromechanical detectors, all types of voltage levels can be detected. The resistors may be connected in another way in relation to the switch so that a divided down voltage level together with the feeding voltage may be used for detecting if the first earphone is attached to the ear or not. There could also be a switching between the feeding voltage and ground. The invention is in fact not at all limited to electromechanical detectors. It may for instance incorporate a light detector that detects the lighting conditions when the accessory is attached to the body of the user. Further, the detector may detect darkness when it is pressed against an ear when it is attached. The detector may be an IR detector that senses body heat, a pulse detector that senses user pulses, a detector for detecting the capacitance of the user or even a biometrics detector. The interfaces for the phone and the accessory need not be restricted to Support only cable or wire communication. The interfaces may be provided in the form of short range wireless communication units, for instance, Bluetooth™ communication units. Whether the accessory is connected to the portable electronic device is then detected through other communication units. The signal from the detector may also be transmitted.


Although the present invention has been described in connection with specific embodiments, it is not intended to be limited to the specific form set forth herein. Rather, the scope of the present invention is limited only by the accompanying claims.

Claims
  • 1. A method for driving an accessory for a portable electronic device comprising: determining if an audio output unit of the accessory is attached to the body of a user;selecting the audio output unit when it is determined that the audio output unit is attached to the body; andtransmitting an audio output signal to the selected audio output unit.
  • 2. A method as in claim 1, wherein, when it is determined that the audio output unit is attached to the body, no audio output unit in the portable electronic device is selected.
  • 3. A method as in claim 1, further comprising: receiving an occurrence of an event in the portable electronic device; andtransmitting a signal to the audio output unit to provide an alert of the occurrence of the event.
  • 4. A method as in claim 3, further comprising: choosing a vibrator included in the portable electronic device for signalling the occurrence of the event when it is determined that the audio output unit is attached to the body.
  • 5. A method as in claim 3, wherein receiving the occurrence of the event includes receiving an incoming call.
  • 6. A method as in claim 5, further comprising: automatically accepting the call after a predetermined number of alerting intervals when it is determined that the audio output unit is attached to the body.
  • 7. A method as in claim 1, further comprising: determining if the accessory is connected to the portable electronic device,wherein selecting the audio output unit is further based on determining if the accessory is connected to the portable electronic device.
  • 8. A method as in claim 1, wherein the portable electronic device includes a device audio output unit and the device audio output unit is selected when the audio output unit is determined not to be attached to the body.
  • 9. A method as in claim 8, wherein the device audio output unit is in the portable electronic device.
  • 10. A portable electronic device comprising: an interface for connecting the portable electronic device to an accessory that includes a first output unit; anda control unit configured to: determine if the first output unit of the accessory is attached to the body of a user;select either the first audio output unit of the accessory or a second audio output unit of the portable electronic device based on the determining if the first audio output unit is attached to the body; andtransmit an audio output signal to the first audio output unit or the second audio output unit based on the selection.
  • 11. A portable electronic device as in claim 10, wherein, when it is determined that the first audio output unit is attached to the body, no audio output unit in the portable electronic device is selected.
  • 12. A portable electronic device as in claim 10, wherein the control unit is further configured to: receive an occurrence of an event in the portable electronic device; andtransmit a signal to the first audio output unit to provide an alert of the occurrence of the event.
  • 13. A portable electronic device as in claim 12, further comprising a vibrator and wherein the control unit additionally chooses the vibrator for signalling the occurrence of the event when it is determined that the first audio output unit is attached to the body.
  • 14. A portable electronic device as in claim 12, wherein receiving the occurrence of the event includes receiving an incoming call.
  • 15. A portable electronic device as in claim 14, wherein the control unit is further configured to: automatically accept the call after a predetermined number of alerting intervals when it is determined that the first audio output is attached to the body.
  • 16. A portable electronic device as in claim 10, wherein the control unit is further configured to: determine if the accessory is connected to the portable electronic device,wherein selecting the first audio output unit is further based on determining if the accessory is connected to the portable electronic device.
  • 17. A portable electronic device as in claim 10, wherein the control unit selects the second audio output unit when the first audio output unit is not attached to the body.
  • 18. A portable electronic device as in claim 10, wherein the portable electronic device includes a portable communication device.
  • 19. A portable electronic device as in claim 10, wherein the portable electronic device includes a cellular phone.
  • 20. A portable electronic device, comprising: means for determining if a first audio output unit in an accessory for the portable electronic device is attached to the body of a user;means for selecting the first audio output unit based on a result of the means for determining; andmeans for transmitting an audio output signal to the first audio output unit when the first audio output unit is selected.
  • 21. A computer program product including a machine executable method, the method comprising: determining if an audio output unit in an accessory for a portable electronic device is attached to the body of a user;selecting a first audio output unit, based on determining if the audio output unit is attached to the body; andtransmitting an audio output signal to the audio output unit.
  • 22. A method comprising: determining if an audio output unit in an accessory for a portable electronic device is attached to the body of a user;transmitting a signal to the portable electronic device, based on determining if the audio output unit is attached to the body;selecting, by the portable electronic device, the first audio output unit based on the signal: andtransmitting, by the portable electronic device, an audio output signal to the first audio output unit.
  • 23. A method as in claim 22, further comprising: receiving the audio output signal and generating sound through the first audio output unit based on the audio output signal.
  • 24. An accessory for a portable electronic device, comprising: an interface for connecting the accessory to the portable electronic device;an audio output unit; anda sensor for detecting if the audio output unit is attached to the body of a user and for transmitting a signal that indicates whether the audio output unit is attached to the body.
  • 25. An accessory as in claim 24, wherein the accessory includes a portable hands-free device.
RELATED APPLICATION

This application claims priority under 35 U.S.C. § 119 based on U.S. Provisional Application No. 60/803,779, filed on Jun. 2, 2006 and titled “SOUND OUTPUT SELECTION IN RELATION TO AN ACCESSORY,” the contents of which are hereby incorporated by reference.

Provisional Applications (1)
Number Date Country
60803779 Jun 2006 US