Apparatus and method for monitoring an earmicrophone state in a communication terminal
An apparatus and method for correctly sensing the state of a 4-pole earmicrophone having two receiver terminals and two common terminals for a microphone and a switch in a mobile terminal. The mobile terminal senses a switch-on of the earmicrophone by mechanical connection between an earmicrophone jack and a jack connector during an earmicrophone connection. The mobile terminal stores information about an earmicrophone state detected by the jack connector. Upon detection of the switch-on of the earmicrophone, the mobile terminal reads the earmicrophone state information from the memory. If the read earmicrophone state indicates earmicrophone disconnection, the mobile terminal mutes transmission and reception, determining that the switch-on is a transient phenomenon.
Latest Samsung Electronics Patents:
This application claims priority to an application entitled “Apparatus and Method for Monitoring Earmicrophone State in a Communication Terminal” filed in the Korean Industrial Property Office on Oct. 24, 2001 and assigned Serial No. 2001-65814, the contents of which are hereby incorporated by reference.
BACKGROUND OF THE INVENTION1. Field of the Invention
The present invention relates generally to a communication terminal, and in particular, to an apparatus and method for correctly sensing a state of a 4-pole earmicrophone in a communication terminal.
2. Description of the Related Art
Commonly, a portable terminal uses a 3-pole earmicrophone or a 4-pole earmicrophone. The 4-pole earmicrophone is connected to a communication terminal with a 4-pole jack including two receiver terminals and two common terminals for both a microphone (MIC) and a switch.
Circuit operations according to earmicrophone states will be described below with reference to
Basically, the jack connector is configured to sense an earmicrophone jack connection by its mechanical connection to an earmicrophone jack, and a switch-on of the earmicrophone as illustrated in FIG. 2. Upon detection of the jack connection, the jack connection outputs a high signal through a jack detection terminal, and upon detection of the switch-on, the jack connection outputs a high signal through a switch detection terminal.
A description will first be made of an equivalent circuit of the jack connector illustrated in
Referring to an equivalent circuit of the jack connector illustrated in
Referring to
The jack connector illustrated in
Table 1 and Table 2 below define earmicrophone states depending on jack detection signals and switch detection signals in combination. Table 1 illustrates state transition when the communication terminal is turned on and then the earmicrophone is inserted into the communication terminal, and Table 2 illustrates state transition when the terminal is turned on with the earmicrophone inserted. In Table 1 and Table 2, [*, #] indicates a combination of two detection signals, with * representing a jack detection signal and # representing a switch detection signal.
Referring to
As described above, an unintended operation such as displaying a phone number or automatically dialing occurs during an earmicrophone jack connection in the conventional communication terminal using a 4-pole earmicrophone.
SUMMARY OF THE INVENTIONIt is, therefore, an object of the present invention to provide an apparatus and method for preventing a communication terminal from malfunctioning during an earmicrophone jack connection in the communication terminal.
It is another object of the present invention to provide an apparatus and method for sensing a switch-on of an earmicrophone in a real earmicrophone connected state in a communication terminal.
It is a further object of the present invention to provide an apparatus and method for sensing a switch-on of an earmicrophone according to a jack connection detection signal and a switch-on detection signal in a real earmicrophone connected state in a communication terminal.
The foregoing and other objects are achieved by providing an apparatus and method for correctly sensing the state of a 4-pole earmicrophone having two receiver terminals and two common terminals for a microphone and a switch in a mobile terminal. The mobile terminal senses a switch-on of the earmicrophone by mechanical connection between an earmicrophone jack and a jack connector during an earmicrophone connection.
In the earmicrophone state sensing method, information about an earmicrophone state detected by the jack connector is stored in a memory. Upon detection of the switch-on of the earmicrophone, the earmicrophone state information is read from the memory. If the read earmicrophone state indicates earmicrophone disconnection, transmission and reception is muted, determining that the switch-on is a transient phenomenon.
In the earmicrophone state sensing apparatus, the jack connector detects an earmicrophone state and a switch state, a memory memorizes the earmicrophone state, and a controller reads the earmicrophone state information from the memory upon detection of the switch-on of the earmicrophone through the jack connector, and the controller then mutes transmission and reception determining that the switch-on is a transient phenomenon, if the read earmicrophone state indicates earmicrophone disconnection.
The above and other objects, features and advantages of the present invention will become more apparent from the following detailed description when taken in conjunction with the accompanying drawings in which:
A preferred embodiment of the present invention will be described hereinbelow with reference to the accompanying drawings. In the following description, well-known functions or constructions are not described in detail since they would obscure the invention in unnecessary detail.
Before describing the present invention, it should be made clear that polling or interrupt techniques are used to sense a jack detection signal indicating whether an earmicrophone jack is connected and a switch detection signal indicating whether a SEND button is pressed. The detection signals are set to be low during an earmicrophone disconnection and switch-off, and to be high during an earmicrophone connection and switch-on. A combination of the detection signals will be expressed as [earmicrophone state, switch state]. Hence earmicrophone disconnection is represented as [0, 0], earmicrophone connection is represented as [1, 0], and switch-on with the earmicrophone connected is represented as [1, 1].
If an earmicrophone is connected to a communication terminal with an earmicrophone jack, the terminals 1, 4 and 5 are connected to one another as illustrated in FIG. 2 and the earmicrophone state is transitioned from [0, 0] to [1, 1]. In this case, despite a switch-off, a switch-on is incorrectly sensed. In the present invention, therefore, transition of the [earmicrophone state, switch state] to [1, 0] is monitored and it is determined that the subsequent states are valid. For example, when the earmicrophone is connected and the switch is turned on, the earmicrophone state changes to [0, 0], [1, 1], [1, 0] and [1, 1] in this order. At the third state, the earmicrophone is actually connected and so it is determined that at the fourth state [1, 1], the switch is pressed with the earmicrophone connected. The second state [1, 1] is a transient phenomenon that appears in the course of connecting the earmicrophone to the communication terminal.
Earmicrophone states defined in the present invention are illustrated in Table 3 and Table 4. Table 3 illustrates state transition when the earmicrophone is connected after power-on of the terminal, and Table 4 illustrates state transition in the case of power-on with the earmicrophone connected.
A memory 812 includes a program memory, a data memory and a non-volatile memory. The program memory stores programs necessary to control the overall operation of the communication terminal. The program memory can be a flash memory. The data memory functions to temporarily store data generated during the operation of the mobile terminal. A RAM (Random Access memory) can be used as the data memory. The non-volatile memory stores phone numbers registered for short dialing and system parameters. An EEPROM (Electrically Erasable Programmable Read Only Memory) can be used as the non-volatile memory. A keypad 816 generates command key signals to control the operation of the controller 811 and key signals for data input. A display 819 displays the operational state of the mobile terminal on an LCD under the control of the controller 811.
An RF (Radio Frequency) module 814 converts an RF signal received via an antenna to a baseband signal and feeds it to a MODEM 815. The RF module 814 also converts a baseband signal received from the MODEM 815 to an RF signal and transmits it via the antenna. The MODEM 815 subjects the baseband signal received from the RF module 814 to despreading and channel decoding, transmits the resulting source data to the controller 811, subjects source data received from the controller 811 to channel coding and spreading, and transmits the spread signal to the RF module 814.
A voice processor 817 processes voice data received from the controller 811 to a voice signal and outputs the voice signal through a speaker SPK, and converts a voice signal received from a microphone MIC to digital data and transmits it to the controller 811. The voice processor 817 is, for example, a DSP. When talking over an earmicrophone 820, transmission and reception signals are fed to and output from the receiver and microphone of the earmicrophone 820 connected through a jack connector 818, instead of the speaker SPK and the microphone MIC of the terminal. The jack connector 818 outputs a jack detection signal to the controller 811 upon sensing connection of the earmicrophone 820 and outputs a switch detection signal to the controller 811 upon sensing switch-on of the earmicrophone 820.
The jack connector 818 is configured as illustrated in
The moment the earmicrophone jack is connected to the terminal, the head of the earmicrophone connects the terminals 1, 4, and 5 and induces a high voltage to the terminals 4 and 5, thereby outputting high signals through the jack detection terminal and the switch detection terminal. Upon sensing the two detection signals, the controller 811 checks the stored previous detection signal levels. If both are low, the controller 811 controls not to perform phone number displaying or automatic dialing, determining that the current earmicrophone state is transient in the course of earmicrophone jack connection. For example, if the earmicrophone is connected to the terminal with a call in progress, noise is delivered to a caller and a called. To prevent the noise delivery, audio transmission and reception are muted temporarily until the jack connection is completed.
In step 905, the controller 811 determines whether both the detection signals are high. If they are, the controller 811 goes to step 907 and if at least one of them is low, the controller 811 performs an operation related with the changed state in step 929.
In step 907, the controller 811 reads the previous two detection signal levels from the memory 812. The controller 811 determines whether both of the previous detection signal levels are low in step 909. If both are low, the controller 811 goes to step 911 and otherwise, it goes to step 921.
If both the previous detection signals are low, the controller 811 mutes audio transmission and reception in step 911. This is done by controlling a power supply 813 to block a power voltage from being fed to the RF module 814 or setting the gains of gain controllers for both transmission and reception to 0. Alternatively, the transmission and reception signals are muted by use of a switch in the RF module 814.
The reason for the muting is to prevent noise generated during earmicrophone connection from being delivered to a caller and a called party, and to prevent automatic dialing or display of the latest called phone number due to malfunction of the terminal generated during the earmicrophone connection. In other words, even if the two detection signals are sensed to be high in step 905 and thus a call origination message is generated in a high layer by automatic dialing, the call origination message is blocked from being sent to a base station by muted transmission and reception in a physical layer. Thus, automatic dialing is prevented.
In step 913, the controller 811 checks the switch detection signal. If the earmicrophone jack is completely connected, the switch detection signal is low. That is, the controller 811 determines whether the switch detection signal is low in step 915. If the switch detection signal is low, the controller 811 goes to step 917 and otherwise, it returns to step 913. In step 917, the controller 811 releases the audio transmission and reception from the muted state, determining that the earmicrophone is completely connected. The controller 811 enters an idle state in step 919.
Meanwhile, if both the previous detection signals are not low in step 909, the controller 811 checks the duration for which the switch detection signal is high, determining that the switch is turned on in step 921. The controller 811 determines whether the duration is a threshold or longer in step 923. If it is, the controller 811 automatically dials the latest called phone number in step 925 and otherwise, the controller 811 displays the latest phone number on the LCD in step 927.
While the previous earmicrophone state is refereed to at the current [1, 1] state and it is determined whether the [1, 1] state is valid in the above-described embodiment of the present invention, it can also be contemplated that a predetermined flag is set at an initial [1, 0] state and it is determined whether the [1, 1] state is valid by checking the flag at the [1, 1] state.
Similarly to the case of earmicrophone connection, if the earmicrophone state is [1, 1] in removing the earmicrophone and pressing the switch, audio transmission and reception are muted not to deliver noise to a caller and a called party. That is, by monitoring earmicrophone state transition, the current earmicrophone state is correctly determined.
As described above, the present invention advantageously prevents malfunction of a communication terminal like automatic dialing to the last called phone number due to high jack detection and switch detection signals during earmicrophone connection in the communication terminal using a 4-pole earmicrophone. Therefore, malfunction-caused battery consumption is prevented and user reliability of the communication terminal is increased.
While the invention has been shown and described with reference to a certain preferred embodiment thereof, it will be understood by those skilled in the art that various changes in form and details may be made therein without departing from the spirit and scope of the invention as defined by the appended claims.
Claims
1. A method of correctly sensing a state of a 4-pole earmicrophone having two receiver terminals and two common terminals for a microphone and a switch in a mobile terminal that senses a switch-on of the earmicrophone by mechanical connection between an earmicrophone jack and a connection terminal of a jack connector during an earmicrophone connection, the method comprising the steps of:
- storing information about an earmicrophone state detected by the jack connector in a memory;
- reading the earmicrophone state information from the memory upon detection of the switch-on of the earmicrophone through the jack connector; and
- muting transmission and reception, determining that the switch-on is a transient phenomenon, if the read earmicrophone state indicates an earmicrophone disconnection.
2. The method of claim 1, further comprising the step of releasing the muting if a switch-off is sensed after the muting step.
3. A method of correctly sensing a state of a 4-pole earmicrophone having two receiver terminals and two common terminals for a microphone and a switch in a mobile terminal that senses a switch-on of the earmicrophone by mechanical connection between an earmicrophone jack and a connection terminal of a jack connector during an earmicrophone connection, the method comprising the steps of:
- storing information about an earmicrophone state detected by the jack connector in a memory;
- reading the earmicrophone state information from the memory upon detection of the switch-on of the earmicrophone through the jack connector; and
- preventing switch-on-activated automatic dialing, determining that the switch-on is a transient phenomenon, if the read earmicrophone state indicates an earmicrophone disconnection.
4. A method of correctly sensing a state of an earmicrophone in a mobile terminal that has a jack connection terminal for detecting earmicrophone connection and a switch detection terminal for detecting a switch-on of the earmicrophone and senses the switch-on of the earmicrophone by high outputs of the jack connection terminal and the switch detection terminal during an earmicrophone connection, the method comprising the steps of:
- determining whether an earmicrophone state is changed by monitoring a jack connection signal and a switch detection signal output from the jack connection terminal and the switch detection terminal;
- determining whether both the jack connection signal and the switch detection signal are high if the earmicrophone state is changed;
- determining whether both the jack connection signal and the switch detection signal were low previously if both the jack connection signal and the switch detection signal are high; and
- muting audio transmission and reception if both the jack connection signal and the switch detection signal were low previously.
5. The method of claim 4, further comprising the steps of:
- determining a duration for which the switch detection signal is high if both the jack connection signal and the switch detection signal were low previously;
- automatically dialing a last called phone number if the duration is a predetermined threshold or longer; and
- displaying the last called phone number on a display if the duration is below the predetermined threshold.
6. The method of claim 4, further comprising the steps of:
- determining whether the switch detection signal becomes low; and
- releasing the muting if the switch detection signal is low, after the muting step.
7. An apparatus for correctly sensing a state of a 4-pole earmicrophone having two receiver terminals and two common terminals for a microphone and a switch in a mobile terminal that senses a switch-on of the earmicrophone by mechanical connection between an earmicrophone jack and a connection terminal of a jack connector during an earmicrophone connection, the apparatus comprising:
- the jack connector for detecting an earmicrophone state and a switch state;
- a memory for memorizing the earmicrophone state; and
- a controller for reading the earmicrophone state information from the memory upon detection of the switch-on of the earmicrophone through the jack connector, and
- muting transmission and reception, determining that the switch-on is a transient phenomenon, if the read earmicrophone state indicates an earmicrophone disconnection.
5448477 | September 5, 1995 | Delatorre et al. |
5619684 | April 8, 1997 | Goodwin et al. |
5638343 | June 10, 1997 | Ticknor |
5978689 | November 2, 1999 | Tuoriniemi et al. |
6002558 | December 14, 1999 | Rines et al. |
6263218 | July 17, 2001 | Kita |
6397087 | May 28, 2002 | Kim et al. |
6473629 | October 29, 2002 | Chang |
6500006 | December 31, 2002 | Wakamoto |
6594363 | July 15, 2003 | Kim |
6690793 | February 10, 2004 | King |
6812954 | November 2, 2004 | Priestman et al. |
20020010005 | January 24, 2002 | Hwang et al. |
20020016188 | February 7, 2002 | Kashiwamura |
20020021800 | February 21, 2002 | Bodley et al. |
20030052964 | March 20, 2003 | Priestman et al. |
20030100331 | May 29, 2003 | Dress et al. |
20030165237 | September 4, 2003 | Farr et al. |
20040077382 | April 22, 2004 | Verity |
20040209649 | October 21, 2004 | Lord |
Type: Grant
Filed: Oct 24, 2002
Date of Patent: Jul 26, 2005
Patent Publication Number: 20030139204
Assignee: Samsung Electronics Co., Ltd.
Inventor: Heui-Do Lim (Suwon-shi)
Primary Examiner: W. R. Young
Assistant Examiner: Dai Phuong
Attorney: Dilworth & Barrese, LLP
Application Number: 10/279,945