JP5358957B2 - Electronics - Google Patents

Electronics Download PDF

Info

Publication number
JP5358957B2
JP5358957B2 JP2008010341A JP2008010341A JP5358957B2 JP 5358957 B2 JP5358957 B2 JP 5358957B2 JP 2008010341 A JP2008010341 A JP 2008010341A JP 2008010341 A JP2008010341 A JP 2008010341A JP 5358957 B2 JP5358957 B2 JP 5358957B2
Authority
JP
Japan
Prior art keywords
key
state
pressed
housing
voltage level
Prior art date
Legal status (The legal status 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 status listed.)
Expired - Fee Related
Application number
JP2008010341A
Other languages
Japanese (ja)
Other versions
JP2009171507A (en
Inventor
芳浩 丹野
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Fujitsu Mobile Communications Ltd
Original Assignee
Fujitsu Mobile Communications Ltd
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 Fujitsu Mobile Communications Ltd filed Critical Fujitsu Mobile Communications Ltd
Priority to JP2008010341A priority Critical patent/JP5358957B2/en
Publication of JP2009171507A publication Critical patent/JP2009171507A/en
Application granted granted Critical
Publication of JP5358957B2 publication Critical patent/JP5358957B2/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Description

本発明は電子機器に関する。   The present invention relates to an electronic device.

携帯電話機やPHS等の携帯機器は、人間が身につけている時や鞄に入れて持ち運んでいる時に、ユーザの意図に反してキーが押下される場合がある。例えば、折り畳み型の携帯電話機の場合、折り畳まれた状態で上筐体が押されたときに上筐体が撓んで、下筐体に配置されたキーが押下されることや、上筐体と下筐体の間に物を挟んだ状態で閉じると、キーが押下され続けることがある。   When a portable device such as a cellular phone or PHS is worn by a human or carried in a bag, a key may be pressed against the user's intention. For example, in the case of a foldable mobile phone, when the upper case is pressed in a folded state, the upper case is bent, and a key disposed on the lower case is pressed, The key may continue to be pressed if it is closed with an object sandwiched between the lower housings.

このようにユーザの意に反してキーが押下されているときに、そのキーに割当てられた機能が実行されないようにするために、携帯機器が閉じられたときにキーが押下されていると、そのキー操作を無効化する携帯電話機が提案されている(例えば、特許文献1参照。)。
特公平5−44217号公報
In this way, when a key is pressed against the user's will, the function assigned to the key is not executed, so that the key is pressed when the portable device is closed, A mobile phone that invalidates the key operation has been proposed (see, for example, Patent Document 1).
Japanese Patent Publication No. 5-44217

特許文献1に記載される発明では、携帯型無線電話機が閉じられた状態のときに、キーが押下されたとしても、そのキー入力操作を無視するようにソフトウェアによる処理を行っている。しかしながら、キーが押下されたことによって、キースイッチがONの状態となり、キー検出のための消費電流が発生するという問題点がある。特に携帯電話機やPHSなどのように電池によって駆動する携帯型の電子機器では、このような無駄な消費電流によって電池持ちが悪くなる。そのうえ、キー入力操作を無視するように設定されているため、キーが押下され続けている状態にユーザは気付きにくく、キー検出のための消費電流が発生する状態が長時間継続してしまう可能性がある。また、キーが押下されたことを検出したことによって、キーを無効化するための処理を行う必要があるという問題点がある。   In the invention described in Patent Document 1, even when a key is pressed when the portable wireless telephone is closed, processing by software is performed so that the key input operation is ignored. However, there is a problem that when the key is pressed, the key switch is turned on, and current consumption for key detection occurs. In particular, in a portable electronic device driven by a battery such as a mobile phone or a PHS, the battery life is deteriorated due to such wasteful current consumption. In addition, since the key input operation is set to be ignored, it is difficult for the user to notice that the key is continuously pressed, and a state where current consumption for detecting the key is generated may continue for a long time. There is. Further, there is a problem that it is necessary to perform processing for invalidating the key by detecting that the key is pressed.

そこで本発明は、ユーザが意図しないところで押下されているキーを検出する消費電流を削減した電子機器を提供することを目的とする。   SUMMARY An advantage of some aspects of the invention is that it provides an electronic device with reduced current consumption for detecting a key that is pressed down where the user does not intend.

上記目的を達成するために、本発明による電子機器は、自装置の状態に応じて所定のキーを無効とする電子機器であって、キーと、前記キーに対応して設けられたキースイッチと、前記キースイッチの一端に接続された第1の配線および他端に接続された第2の配線と、前記キーが押下された状態と前記キーが押下されていない状態とを前記キースイッチに接続された前記第2の配線の電圧レベルがHighかLowかによって検出するキー押下検出手段と、自装置の状態が所定のキーを無効とする条件に合致するときに、そのキーが押下された状態でも押下されていない状態でもそのキーに対応するキースイッチに接続された第2の配線の電圧レベルが同じHighまたはLowとなるよう制御する制御手段とを有することを特徴とする。   In order to achieve the above object, an electronic device according to the present invention is an electronic device that disables a predetermined key in accordance with the state of its own device, and includes a key and a key switch provided corresponding to the key. A first wiring connected to one end of the key switch, a second wiring connected to the other end, and a state where the key is pressed and a state where the key is not pressed are connected to the key switch. A key press detecting means for detecting whether the voltage level of the second wiring is high or low, and a state in which the key is pressed when the state of the own device matches a condition for invalidating a predetermined key However, it is characterized by having control means for controlling the voltage level of the second wiring connected to the key switch corresponding to the key to be the same High or Low even when not pressed.

本発明によれば、ユーザが意図しないところで押下されているキーを検出する消費電流を削減した電子機器を提供することができる。   ADVANTAGE OF THE INVENTION According to this invention, the electronic device which reduced the consumption current which detects the key pressed in the place which a user does not intend can be provided.

以下、本発明の実施形態の一例である携帯電話機について、図面を参照しながら説明する。   Hereinafter, a mobile phone as an example of an embodiment of the present invention will be described with reference to the drawings.

図1は、本発明の実施形態の一例である携帯電話機の外観図である。携帯電話機1は、ディスプレイ11が設けられた上筐体とキーが設けられた下筐体とがヒンジによって接続されており、開閉することができる。下筐体に設けられたキーには、テンキーや方向キーなどのメインキー12aと、下筐体の側面に設けられたサイドキー12bと、電源キー12cとがある。   FIG. 1 is an external view of a mobile phone as an example of an embodiment of the present invention. The cellular phone 1 can be opened and closed because the upper casing provided with the display 11 and the lower casing provided with the keys are connected by a hinge. The keys provided on the lower housing include a main key 12a such as a numeric keypad and direction keys, a side key 12b provided on the side surface of the lower housing, and a power key 12c.

図2は、上筐体と下筐体が重なるように上筐体を回動させた状態での携帯電話機1の外観図である。携帯電話機1は、図2(a)に示すように、上筐体のディスプレイ11が設けられた面と下筐体のメインキー12aが設けられた面が対向するように折り畳んで、携帯電話機1を閉じることができる。また、図2(b)に示すように、上筐体の裏面と下筐体の裏面が対向するように折り畳むこともできる。以降、図2(a)のように折り畳まれた状態を閉状態、図2(b)のように折り畳まれた状態を折返し状態、上筐体と下筐体が重ねられていない状態(例えば、図1の状態)を開状態と称する。   FIG. 2 is an external view of the mobile phone 1 in a state where the upper casing is rotated so that the upper casing and the lower casing overlap each other. As shown in FIG. 2A, the cellular phone 1 is folded so that the surface of the upper housing provided with the display 11 and the surface of the lower housing provided with the main key 12a are opposed to each other. Can be closed. Moreover, as shown in FIG.2 (b), it can also fold so that the back surface of an upper housing | casing and the back surface of a lower housing may oppose. Thereafter, the folded state as shown in FIG. 2 (a) is closed, the folded state as shown in FIG. 2 (b) is folded, and the upper housing and the lower housing are not overlapped (for example, The state in FIG. 1 is referred to as an open state.

図3は、携帯電話機1の構成を示すブロック図である。携帯電話機1は、制御部51、記憶部52、操作部53、通信部54、信号処理部55、音声入出力部56、表示部57、電源制御部58、放送受信部59を有し、電池2によって駆動する。   FIG. 3 is a block diagram showing the configuration of the mobile phone 1. The cellular phone 1 includes a control unit 51, a storage unit 52, an operation unit 53, a communication unit 54, a signal processing unit 55, a voice input / output unit 56, a display unit 57, a power supply control unit 58, and a broadcast reception unit 59, and a battery. Drive by 2.

制御部51はCPUなどから構成され、携帯電話機1全体の制御を行う。制御部51には、キーの押下を検出するキー検出部81と、携帯電話機1の開閉を検出する開閉検出部82がある。   The control unit 51 includes a CPU and the like, and controls the entire mobile phone 1. The control unit 51 includes a key detection unit 81 that detects key presses and an open / close detection unit 82 that detects opening / closing of the mobile phone 1.

開閉検出部82は、例えばホールセンサと磁石から成り、上筐体と下筐体のいずれか一方にホールセンサを設け、他方に磁石を設けることによって、磁界の変化によって、閉状態や開状態を検出する。   The open / close detection unit 82 includes, for example, a hall sensor and a magnet. A hall sensor is provided in one of the upper housing and the lower housing, and a magnet is provided in the other, so that a closed state or an open state can be detected by a change in magnetic field. To detect.

キー検出部81は、メインキー12a、サイドキー12b、電源キー12cから成る操作部53のキー操作を検出する。キー検出部81は、メインキー12aのキー検出回路、サイドキー12bのキー検出回路、電源キー12cのキー検出回路から成り、それぞれのキー押下状態を検出する。キーの押下状態の検出方法については、後述する。   The key detection unit 81 detects a key operation of the operation unit 53 including the main key 12a, the side key 12b, and the power key 12c. The key detection unit 81 includes a key detection circuit for the main key 12a, a key detection circuit for the side key 12b, and a key detection circuit for the power key 12c, and detects each key pressing state. A method for detecting the key press state will be described later.

キー検出部81によるキー検出に応じて、例えば、記憶部52に記憶されたイメージデータを読み出し、表示部57を制御してディスプレイへの表示を行うことができる。または、放送受信部59を制御してテレビ放送波を受信させて復号処理などを行わせ、表示部57を制御してディスプレイへ映像を表示させ、音声入出力部56を制御してスピーカからの音の出力をさせることができる。   In response to key detection by the key detection unit 81, for example, image data stored in the storage unit 52 can be read, and the display unit 57 can be controlled to display on the display. Alternatively, the broadcast receiving unit 59 is controlled to receive a television broadcast wave to perform decoding processing, the display unit 57 is controlled to display an image on the display, and the audio input / output unit 56 is controlled to output from the speaker. Sound can be output.

また、操作部53でのキー操作によって音声通話が開始された場合には、送信処理として、制御部51は音声入出力部56を制御してマイクから音を収音して音声信号の原信号を取得させ、信号処理部55を制御して原信号に対して符号化や誤り対策の処理を行わせ、通信部54を制御して信号処理部55によって処理された信号を送信させるとともに、受信処理として、通信部54によって受信した信号に対して信号処理部55を制御して復号や誤り訂正の処理を行わせ、音声入出力部56を制御してレシーバから音を出力させる。   Further, when a voice call is started by a key operation on the operation unit 53, as a transmission process, the control unit 51 controls the voice input / output unit 56 to collect sound from the microphone and to obtain an original signal of the voice signal And control the signal processing unit 55 to perform encoding and error countermeasure processing on the original signal, control the communication unit 54 to transmit the signal processed by the signal processing unit 55 and receive As processing, the signal received by the communication unit 54 is controlled by the signal processing unit 55 to perform decoding and error correction processing, and the audio input / output unit 56 is controlled to output sound from the receiver.

このような構成の携帯電話機1のキーとキー検出方法について詳細に説明する。
図4はメインキー12aに対応するキースイッチと、それらのキースイッチに接続されてキー検出を行うキー検出回路の構成を示す図である。
The key and the key detection method of the mobile phone 1 having such a configuration will be described in detail.
FIG. 4 is a diagram showing a configuration of a key switch corresponding to the main key 12a and a key detection circuit connected to these key switches and performing key detection.

メインキー12aにはそれぞれのキーに対応してキースイッチ211〜222が設けられており、それらはマトリクス状に配置されてキーマトリクス200を形成している。また、各キースイッチの一端は、列方向の配線(ラインa〜ラインd)に接続され、他端は行方向の配線(ラインe〜ラインg)に接続されている。   The main key 12a is provided with key switches 211 to 222 corresponding to the respective keys, which are arranged in a matrix to form a key matrix 200. Further, one end of each key switch is connected to the wiring in the column direction (line a to line d), and the other end is connected to the wiring in the row direction (line e to line g).

キー検出回路の入力ポート(ポートE〜ポートG)は、キーマトリクスの行方向の配線(ラインe〜ラインg)に接続されており、それぞれの配線によって入力される検出用制御信号の電圧レベルがHighかLowかを読み出して、キーの押下を検出する。入力ポートは、プルアップ抵抗111を有し、このプルアップ抵抗111にキーマトリクス200の各キースイッチに接続された行方向の配線が接続されているため、接続されたキースイッチのキーがいずれも押されていない状態で、検出用制御信号の電圧レベルはHighとなっている。   The input ports (port E to port G) of the key detection circuit are connected to wirings (line e to line g) in the row direction of the key matrix, and the voltage levels of the detection control signals input by the respective wirings are Reads High or Low and detects key press. The input port has a pull-up resistor 111, and the wiring in the row direction connected to each key switch of the key matrix 200 is connected to the pull-up resistor 111. When not pressed, the voltage level of the detection control signal is High.

キー検出回路の出力ポート(ポートA〜ポートD)は、キーマトリクスの列方向の配線(ラインa〜ラインd)に接続されており、探索用制御信号を出力する。出力ポートは、出力バッファ101、入力バッファ102、プルアップ抵抗103、トランジスタ104から構成されている。   The output ports (port A to port D) of the key detection circuit are connected to the wiring (lines a to d) in the column direction of the key matrix, and output search control signals. The output port includes an output buffer 101, an input buffer 102, a pull-up resistor 103, and a transistor 104.

出力ポートは、出力バッファ101が有効な状態と入力バッファ102が有効な状態とを切り換えることができる。また、プルアップ抵抗103は、トランジスタ104のON/OFFが切り換えられることによって、有効または無効にすることができる。   The output port can switch between a state where the output buffer 101 is valid and a state where the input buffer 102 is valid. In addition, the pull-up resistor 103 can be enabled or disabled by switching the transistor 104 ON / OFF.

このキー検出回路において、キーの押下を検出する方法について説明する。出力ポートはいずれのポートも、通常、トランジスタ104をOFFにすることによってプルアップ抵抗103を無効な状態とする。また、出力バッファ101が有効な出力モードとし、出力バッファにLowの信号を入力する。これによって、出力ポートから電圧レベルがLowの探索用制御信号が出力される。   A method for detecting key presses in this key detection circuit will be described. In any of the output ports, the pull-up resistor 103 is normally disabled by turning off the transistor 104. Further, the output buffer 101 is set to an effective output mode, and a Low signal is input to the output buffer. As a result, a search control signal having a low voltage level is output from the output port.

ここで、キースイッチ211〜222のいずれかがONの状態となったことを検出すると、ポートA〜ポートDのそれぞれから順にLowの探索用制御信号が出力されるよう制御し、どのキースイッチがONであるのかを特定する。例えば、キースイッチ211がONの状態となった場合、ポートDからLowの探索用制御信号が出力されたときに、ラインdの電圧レベルがLowとなり、キースイッチ211がONになることによって接続された信号ラインに電流が流れ、ラインeの電圧レベルはHighからLowに変化する。   Here, when it is detected that any one of the key switches 211 to 222 is turned on, a low search control signal is sequentially output from each of the ports A to D, and which key switch is controlled. Specify whether it is ON. For example, when the key switch 211 is in an ON state, when a low search control signal is output from the port D, the voltage level of the line d becomes Low, and the key switch 211 is turned on to be connected. A current flows through the signal line, and the voltage level of the line e changes from High to Low.

そして、ポートEがLowの検出用制御信号を検出して、キースイッチ211がONであると特定する。 Then, the port E detects the Low detection control signal and specifies that the key switch 211 is ON.

携帯電話機1の筐体が開状態であるときには、メインキー12aを用いてユーザによる操作が入力される可能性がある。そこで、前述のとおり、出力ポートは常にLowの探索用制御信号を出力してキースイッチ211〜222のいずれかがONである状態を検出し、キースイッチ211〜222のいずれかがONの状態となると、ポートA〜ポートDに順にLowの探索用制御信号を出力することによって、ONのキースイッチを特定する。   When the casing of the mobile phone 1 is in an open state, there is a possibility that an operation by the user is input using the main key 12a. Therefore, as described above, the output port always outputs a low search control signal to detect the state where any of the key switches 211 to 222 is ON, and the state where any of the key switches 211 to 222 is ON. Then, a low search control signal is sequentially output to the port A to the port D to identify the ON key switch.

それに対して、携帯電話機1の筐体が閉状態であるときには、メインキー12aが携帯電話機1の上筐体によって覆われる。そのため、携帯電話機1を閉じた状態でメインキー12aが押下されたとき、それはユーザが何らかの操作を指示するために意図して押下したのではなく、携帯電話機1の上筐体が撓むことによって押下される場合や、携帯電話機1を閉じた状態のときに間に物がはさまって押下される場合など、ユーザが意図せずに押下されている可能性が高い。   On the other hand, when the casing of the mobile phone 1 is in the closed state, the main key 12a is covered with the upper casing of the mobile phone 1. Therefore, when the main key 12a is pressed with the cellular phone 1 closed, it is not intentionally pressed by the user to instruct some operation, but the upper casing of the cellular phone 1 is bent. There is a high possibility that the user has unintentionally pressed down, for example, when the user presses it or when the cellular phone 1 is closed and the object is pressed between them.

そこで、開閉検出部82が携帯電話機1の閉じられた状態を検出したときには、出力ポートの全てのポートのトランジスタ104をONにすることによってプルアップ抵抗103を有効にするとともに、出力バッファ101を無効化する。これによって、メインキー12aのキー押下を探索するための制御信号は入力の状態であって、電圧レベルがHighの状態となる。   Therefore, when the open / close detection unit 82 detects that the cellular phone 1 is closed, the pull-up resistor 103 is enabled by turning on the transistors 104 of all the output ports, and the output buffer 101 is disabled. Turn into. As a result, the control signal for searching for key depression of the main key 12a is in an input state, and the voltage level is in a high state.

ここで、入力ポートは、常に入力モードであって、プルアップ抵抗111が接続された状態であるため、キースイッチ211〜222のキー押下を検出するための制御信号も入力の状態であって、電圧レベルがHighの状態である。   Here, since the input port is always in the input mode and the pull-up resistor 111 is connected, the control signal for detecting key presses of the key switches 211 to 222 is also in the input state. The voltage level is high.

このように、探索用制御信号と検出量制御信号の電圧レベルが同じHighの電圧レベルであるため、キースイッチが押下されたとしても、キーマトリクス200の行方向のライン(ラインe〜ラインg)の検出用制御信号の電圧レベルは変わらず、無駄な消費電流の発生を抑えることができる。   As described above, since the search control signal and the detection amount control signal have the same high voltage level, even if the key switch is pressed, lines in the row direction of the key matrix 200 (line e to line g). The voltage level of the detection control signal does not change, and generation of useless current consumption can be suppressed.

また、携帯電話機1を閉じた状態では、キースイッチ211〜222がONの状態であることを検出しないため、ユーザの意図しないうちに携帯電話機1の機能が実行されることを防ぐことができる。この方法によると、ソフトウェアによってメインキー12aが押下されたことを無効化する場合と比較しても、そもそもキー検出を行わないため、無駄な処理を削減することができる。   In addition, when the cellular phone 1 is closed, it is not detected that the key switches 211 to 222 are in the ON state, so that the functions of the cellular phone 1 can be prevented from being executed without the user's intention. According to this method, even when the fact that the main key 12a is pressed by software is invalidated, key detection is not performed in the first place, so that useless processing can be reduced.

携帯電話機1を図2(b)のように折返し状態にしたときには、例えば、テレビ機能を動作させるとする。このとき、ディスプレイ11に表示された映像を見ながらメインキー12aを操作することは困難である。また、このように折返し状態では、ユーザが携帯電話機1を保持しているときに、何らかのメインキー12aが押下されてしまう可能性が高い。   When the cellular phone 1 is in the folded state as shown in FIG. 2B, for example, it is assumed that the television function is operated. At this time, it is difficult to operate the main key 12a while viewing the video displayed on the display 11. In this folded state, when the user holds the mobile phone 1, there is a high possibility that some main key 12a is pressed.

そこで、折返し状態を開閉検出部82が検出したときにも、閉状態のときと同様、入力バッファ102が動作する入力モードにし、プルアップ抵抗103を接続するよう制御する。これによって、折返し状態ではメインキー12aのキー検出を行わず、メインキー12aが押下されたとしても入力ポートに入力されるラインe〜ラインgの検出用制御信号の電圧レベルは変化しないため、無駄な消費電流が発生することがない。   Therefore, when the open / close detection unit 82 detects the folded state, similarly to the closed state, control is performed so that the input buffer 102 operates and the pull-up resistor 103 is connected. As a result, the key detection of the main key 12a is not performed in the folded state, and even if the main key 12a is pressed, the voltage level of the detection control signal for the lines e to g that is input to the input port does not change. Current consumption does not occur.

なお、メインキー12aが押下されたとしてもラインe〜ラインgの検出用制御信号の電圧レベルを変化させないようにする方法としては、上述のとおり、出力ポートを入力モードに設定するとともにプルアップ状態にすることによって、メインキー12aが押下されている場合でも押下されていない場合でも、検出量制御信号の電圧レベルをHighに保つ方法の他にも考えられる。   As a method for preventing the voltage level of the detection control signal for line e to line g from changing even when the main key 12a is pressed, as described above, the output port is set to the input mode and pulled up. Thus, it is conceivable other than the method of keeping the voltage level of the detection amount control signal High regardless of whether the main key 12a is pressed or not.

例えば、出力ポートのプルアップ抵抗103を設定せずに、出力バッファ101を動作させてHighの電圧レベルの出力モードとしても良い。これによって、ラインa〜ラインdの探索用制御信号はHighの状態となり、キースイッチがONであろうとOFFであろうと、ラインe〜ラインgの検出用制御信号の電圧レベルは変化しない。   For example, without setting the pull-up resistor 103 of the output port, the output buffer 101 may be operated to set the output mode at the high voltage level. As a result, the search control signals for the lines a to d are in a high state, and the voltage levels of the detection control signals for the lines e to g are not changed regardless of whether the key switch is ON or OFF.

また、入力ポートを制御することによってキースキャンを停止しても良い。このようなキースキャンの停止方法を、サイドキー12bのキー検出回路を例にして説明する。   Further, the key scan may be stopped by controlling the input port. A method for stopping such a key scan will be described by taking the key detection circuit of the side key 12b as an example.

図5は、サイドキー12bの1つが押下されたことを検出するサイドキー検出回路の例である。サイドキー検出回路の入力ポートは、サイドキースイッチ351の一方の端子にラインhによって接続されており、出力バッファ301、入力バッファ302、プルアップ抵抗303、トランジスタ304から構成される。プルアップ抵抗303の有効/無効はトランジスタ304のON/OFFによって設定される。また、入力バッファ302が動作する状態と出力バッファ301が動作する状態とに切り換えることができる。   FIG. 5 is an example of a side key detection circuit that detects that one of the side keys 12b is pressed. An input port of the side key detection circuit is connected to one terminal of the side key switch 351 by a line h, and includes an output buffer 301, an input buffer 302, a pull-up resistor 303, and a transistor 304. The validity / invalidity of the pull-up resistor 303 is set by turning on / off the transistor 304. Further, the state can be switched between the state in which the input buffer 302 operates and the state in which the output buffer 301 operates.

このサイドキー検出回路では、通常、プルアップ抵抗303を有効にすることによって検出用制御信号をHighに設定し、入力バッファを動作させた入力モードに設定する。   In this side key detection circuit, the detection control signal is normally set to High by enabling the pull-up resistor 303 and the input buffer is set to the input mode in which the input buffer is operated.

キースイッチ351が押下されると、検出量制御信号の電圧レベルがLowに変化するため、サイドキー12bが押下されたことを検出することができる。 When the key switch 351 is pressed, the voltage level of the detection amount control signal changes to Low, so that it can be detected that the side key 12b is pressed.

それに対して、携帯電話機1がキーロックされている場合、メインキー12aのテンキーを用いて暗証番号を入力してキーロックを解除しなければ、メインキー12aやサイドキー12bが押下されたとしても、そのキー入力によって、そのキーに割当てられた機能などは動作しない。メインキー12aを用いてキーロックを解除するには、必ずテンキーを操作する必要があるため、メインキー12aが上筐体などによって覆われているときやメインキー12aのキーが無効化されているときには、キーロックが解除できない。   On the other hand, if the cellular phone 1 is key-locked, the user cannot enter the password using the numeric keypad of the main key 12a to release the key lock, even if the main key 12a or the side key 12b is pressed. The function assigned to the key does not operate by the key input. To release the key lock using the main key 12a, it is necessary to operate the numeric keypad. Therefore, when the main key 12a is covered by the upper casing or the like, the key of the main key 12a is invalidated. Sometimes the key lock cannot be released.

そこで、キーロックが設定された状態で、なおかつ閉状態または折返し状態であることを検出すると、入力ポートのプルアップ抵抗303を無効化することによってラインhの電圧レベルをLowに設定するとともに、出力バッファ301を動作させた出力モードに設定する。   Therefore, when it is detected that the key lock is set and the closed state or the folded state is detected, the pull-up resistor 303 of the input port is invalidated to set the voltage level of the line h to Low and output. The output mode in which the buffer 301 is operated is set.

このように、入力ポートをLow信号の出力モードに切り換えることよって、キースイッチ351がOFFの状態でもONの状態でも、ラインhの電圧レベルはLowとなって変化しない。このため、サイドキー12bが押下されてキースイッチ351がONになったとしても、ラインhに無駄な電流が流れることを防止することができる。   As described above, by switching the input port to the low signal output mode, the voltage level of the line h is low and does not change regardless of whether the key switch 351 is OFF or ON. For this reason, even if the side key 12b is pressed and the key switch 351 is turned on, it is possible to prevent a wasteful current from flowing through the line h.

次に、入力ポートを制御してキー検出を停止する更に別の方法についてサイドキーの検出回路を例にして説明する。図6は、サイドキー12bの1つが押下されたことを検出するサイドキー検出回路の例である。サイドキー検出回路の入力ポートは、サイドキースイッチ351の一方の端子にラインiによって接続されており、出力バッファ301、入力バッファ302、プルアップ抵抗303、トランジスタ304、トランジスタ305、プルダウン抵抗306から構成される。プルアップ抵抗303およびプルダウン抵抗306の有効/無効は、それぞれトランジスタ304とトランジスタ305のON/OFFによって設定される。また、入力バッファ302が動作する状態と出力バッファ301が動作する状態とに切り換えることができる。   Next, still another method for controlling the input port to stop key detection will be described by taking a side key detection circuit as an example. FIG. 6 is an example of a side key detection circuit that detects that one of the side keys 12b is pressed. The input port of the side key detection circuit is connected to one terminal of the side key switch 351 by a line i, and includes an output buffer 301, an input buffer 302, a pull-up resistor 303, a transistor 304, a transistor 305, and a pull-down resistor 306. Is done. The validity / invalidity of the pull-up resistor 303 and the pull-down resistor 306 is set by ON / OFF of the transistor 304 and the transistor 305, respectively. Further, the state can be switched between the state in which the input buffer 302 operates and the state in which the output buffer 301 operates.

このサイドキー検出回路では、通常、プルアップ抵抗303を有効にすることによってラインiの検出用制御信号をHighに設定するとともに、入力バッファ302を動作させて入力モードに設定する。この状態でサイドキースイッチ351がONになると、検出量制御信号の電圧レベルがLowに変化するため、これを検知することによって、サイドキー12bが押下されたことを検出することができる。   In this side key detection circuit, normally, the pull-up resistor 303 is enabled to set the control signal for detection of line i to High, and the input buffer 302 is operated to set the input mode. When the side key switch 351 is turned on in this state, the voltage level of the detection amount control signal changes to Low, and by detecting this, it can be detected that the side key 12b is pressed.

それに対して、キーロックが設定された状態で、なおかつ、筐体が閉状態または折返し状態であることを検出すると、入力バッファ302を動作させたまま、プルアップ抵抗303を無効に設定するとともに、プルダウン抵抗306を有効にするよう制御する。これによって、サイドキースイッチ351がOFFの状態では、ラインiの電圧レベルがLowとなる。   On the other hand, when it is detected that the key lock is set and the case is closed or folded, the pull-up resistor 303 is set to invalid while the input buffer 302 is operated, The pull-down resistor 306 is controlled to be effective. As a result, when the side key switch 351 is OFF, the voltage level of the line i becomes low.

すなわち、サイドキースイッチ351がOFFの状態でもONの状態でもラインiの電圧レベルはLowであって変化しない。このため、サイドキースイッチ351がONになってもラインiに無駄な電流が流れることを防止することができる。   That is, the voltage level of the line i is low and does not change regardless of whether the side key switch 351 is OFF or ON. For this reason, it is possible to prevent a wasteful current from flowing through the line i even when the side key switch 351 is turned on.

以上、メインキー12aのキー検出回路とサイドキー12bのキー検出回路を用いて説明したように、携帯電話機の開閉状態やキーロック状態を検出し、これらの状態に応じてキー検出を停止することによって、ユーザが意図せずにキーが押下されるような場合に、そのキー押下によって無駄な消費電流が発生することを防止することができる。   As described above, as described using the key detection circuit of the main key 12a and the key detection circuit of the side key 12b, the open / close state and the key lock state of the mobile phone are detected, and the key detection is stopped according to these states. Thus, when a key is pressed unintentionally by the user, it is possible to prevent unnecessary current consumption from occurring due to the key being pressed.

さらに、上述のとおり、このような開閉状態やキーロック状態などの携帯電話機の状態に合わせたキー検出の停止は、検出回路ごとに設定することができる。例えば、キーロック状態でないときに携帯電話機を閉じると、メインキー12aのキー検出は停止するが、サイドキー12bのキー検出は停止させないように設定することができる。これによって、携帯電話機を閉じても外部に露出しているキーは有効にすることができる。また、例えば、電源キー12cは、携帯電話機の状態にかかわらず常にキー検出を行うように設定することができる。これによって、携帯電話機がいかなる状態と検出されていても、電源のON/OFFだけはできる。   Furthermore, as described above, the stop of key detection in accordance with the state of the mobile phone such as the open / close state and the key lock state can be set for each detection circuit. For example, when the mobile phone is closed when not in the key lock state, the key detection of the main key 12a is stopped, but the key detection of the side key 12b can be set not to be stopped. Thereby, even if the cellular phone is closed, the key exposed to the outside can be made effective. Further, for example, the power key 12c can be set to always perform key detection regardless of the state of the mobile phone. As a result, the power supply can only be turned on / off regardless of the state of the cellular phone.

なお、上記実施形態では、折り畳み形状の携帯電話機を例にして説明したが、スライド型やフラップ型など他の形状の携帯電話機であっても良い。例えば、開閉することによってキーが覆われるような形態となる場合があるような携帯電話機であれば、キーが覆われた状態を検出したときにそのキーのキー検出を停止するようキー検出回路の入力ポートや出力ポートを制御することによって、無駄な消費電流の発生を防止することができる。また、キーロックを設定できる携帯電話機であれば、開閉機構には関わりなく、キーロック解除に用いない補助的なキーの検出を停止するようにしても良い。   In the above embodiment, the folding-type mobile phone has been described as an example, but a mobile phone having another shape such as a slide type or a flap type may be used. For example, in the case of a mobile phone in which the key may be covered by opening and closing, the key detection circuit of the key detection circuit stops the key detection of the key when detecting the state where the key is covered. By controlling the input port and the output port, it is possible to prevent generation of useless current consumption. Further, if the mobile phone can set the key lock, detection of an auxiliary key that is not used for releasing the key lock may be stopped regardless of the opening / closing mechanism.

また、上記実施形態では、検出回路をメインキー12aの検出回路、サイドキー12bの検出回路、電源キー12cの検出回路に分けたが、これに限らず、例えばメインキー12aのうちの、テンキーの検出回路と方向キーやファンクションキーなどの検出回路とを更に分けても良い。   In the above embodiment, the detection circuit is divided into a detection circuit for the main key 12a, a detection circuit for the side key 12b, and a detection circuit for the power key 12c. However, the present invention is not limited to this. The detection circuit may be further divided from detection circuits such as direction keys and function keys.

また、上記実施形態では、キー検出の停止を開閉状態やキーロック状態に応じて行う場合を例にして説明したが、キー検出の停止条件として他の状態を検出した場合を追加しても良い。   In the above embodiment, the case where the key detection is stopped according to the open / close state or the key lock state has been described as an example. However, a case where another state is detected as a key detection stop condition may be added. .

このように、上記実施形態に限定されることはなく、本発明の要旨を逸脱しない範囲において、適宜変更しても良い。   Thus, the present invention is not limited to the above-described embodiment, and may be changed as appropriate without departing from the gist of the present invention.

本発明の実施形態に係る電子機器の外観図。1 is an external view of an electronic device according to an embodiment of the present invention. 本発明の実施形態に係る電子機器の外観図。1 is an external view of an electronic device according to an embodiment of the present invention. 本発明の実施形態に係る電子機器の構成図。The block diagram of the electronic device which concerns on embodiment of this invention. 本発明の実施形態に係る電子機器のメインキー検出回路を示す図。1 is a diagram showing a main key detection circuit of an electronic device according to an embodiment of the present invention. 本発明の実施形態に係る電子機器のサイドキー検出回路を示す図。1 is a diagram showing a side key detection circuit of an electronic device according to an embodiment of the present invention. 本発明の実施形態に係る電子機器のサイドキー検出回路を示す図。1 is a diagram showing a side key detection circuit of an electronic device according to an embodiment of the present invention.

符号の説明Explanation of symbols

1 携帯電話機、11 ディスプレイ、12a メインキー、12b サイドキー、12c 電源キー、2 電池、51 制御部、52 記憶部、53 操作部、54 通信部、55 信号処理部、56 音声入出力部、57 表示部、58 電源制御部 DESCRIPTION OF SYMBOLS 1 Mobile phone, 11 Display, 12a Main key, 12b Side key, 12c Power key, 2 Battery, 51 Control part, 52 Storage part, 53 Operation part, 54 Communication part, 55 Signal processing part, 56 Voice input / output part, 57 Display unit, 58 Power supply control unit

Claims (2)

キーと、
前記キーに対応して設けられたキースイッチと、
ディスプレイが設けられた上筐体と、
前記キーが設けられた下筐体と、
前記ディスプレイと前記キーが対向するように前記上筐体と前記下筐体とを折り畳んで重ねる第一の状態と、前記ディスプレイの裏面と前記キーの裏面が対向して前記キーが露出するように前記上筐体と前記下筐体とを折り畳んで重ねる第二の状態と、前記上筐体と前記下筐体とを重ねない第三の状態とを切り替えることが可能な可動部と、
前記第一の状態、前記第二の状態、及び前記第三の状態を検出する状態検出手段と、
前記キーが押下された状態と前記キーが押下されていない状態とを前記キースイッチの一端に接続された配線の電圧レベルがHighかLowかによって検出するキー押下検出手段と、
前記状態検出手段によって前記第二の状態が検出されたとき、前記キーが押下された状態でも押下されていない状態でも前記キースイッチの一端に接続された配線の電圧レベルが同じHighまたはLowとなるよう制御する制御手段と、を有することを特徴とする電子機器。
Key,
A key switch provided corresponding to the key;
An upper housing provided with a display;
A lower housing provided with the key;
A first state in which the upper housing and the lower housing are folded and overlapped so that the display and the key face each other, and the back surface of the display and the back surface of the key face each other so that the key is exposed. A movable part capable of switching between a second state in which the upper housing and the lower housing are folded and stacked, and a third state in which the upper housing and the lower housing are not stacked;
State detecting means for detecting the first state, the second state, and the third state;
A key press detection means for detecting a state where the key is pressed and a state where the key is not pressed depending on whether the voltage level of the wiring connected to one end of the key switch is High or Low;
When the second state is detected by the state detection means, the voltage level of the wiring connected to one end of the key switch becomes the same High or Low, whether the key is pressed or not pressed. And an electronic device having control means for controlling the electronic device.
筐体の少なくとも一部が開閉可能な機構を持った電子機器であって、
筐体が閉状態のときには隠蔽され、開状態のときに露出する第1のキーと、
筐体の開閉状態に関わらず露出している第2のキーと、
前記第1のキーに対応する第1のキースイッチと、
前記第2のキーに対応する第2のキースイッチと、
前記筐体の開閉状態を検出する状態検出手段と、
前記第1のキーが押下された状態と前記第1のキーが押下されていない状態とを前記第1のキースイッチの一端に接続された配線の電圧レベルがHighかLowかによって検出する第1のキー押下検出手段と、
前記第2のキーが押下された状態と前記第2のキーが押下されていない状態とを前記第2のキースイッチの一端に接続された配線の電圧レベルがHighかLowかによって検出する第2のキー押下検出手段と、
前記状態検出手段が前記筐体の閉状態を検出したときに前記第1のキーおよび前記第2のキーに割当てられた機能を動作させないようロックするロック設定手段と、
前記状態検出手段が前記筐体の開状態を検出したときに前記ロック設定手段によって設定されたロック状態を前記第1のキーの操作に応じて解除するロック解除手段と、
前記状態検出手段によって閉状態が検出されたとき、前記ロック設定手段によってロック状態に設定されている場合、前記第2のキーが押下された状態でも押下されていない状態でも前記第2のキースイッチに接続された配線の電圧レベルを同じHighまたはLowとなるように変えない制御する制御手段と、を有することを特徴とする電子機器。
An electronic device having a mechanism in which at least a part of the housing can be opened and closed,
A first key that is concealed when the housing is closed and exposed when the housing is open;
A second key exposed regardless of the open / closed state of the housing;
A first key switch corresponding to the first key;
A second key switch corresponding to the second key;
State detecting means for detecting an open / closed state of the housing;
A first state in which a state in which the first key is pressed and a state in which the first key is not pressed is detected based on whether the voltage level of the wiring connected to one end of the first key switch is High or Low. A key press detection means,
A second state in which a state in which the second key is pressed and a state in which the second key is not pressed is detected based on whether the voltage level of the wiring connected to one end of the second key switch is High or Low. A key press detection means,
Lock setting means for locking so that the functions assigned to the first key and the second key are not operated when the state detection means detects the closed state of the housing;
Unlocking means for releasing the lock state set by the lock setting means according to the operation of the first key when the state detection means detects the open state of the housing;
When the closed state is detected by the state detecting unit, the second key switch can be used regardless of whether the second key is pressed or not pressed when the locked state is set by the lock setting unit. an electronic apparatus, comprising a control means for controlling the voltage level of the connected wiring not changed to the same High or Low in.
JP2008010341A 2008-01-21 2008-01-21 Electronics Expired - Fee Related JP5358957B2 (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
JP2008010341A JP5358957B2 (en) 2008-01-21 2008-01-21 Electronics

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
JP2008010341A JP5358957B2 (en) 2008-01-21 2008-01-21 Electronics

Publications (2)

Publication Number Publication Date
JP2009171507A JP2009171507A (en) 2009-07-30
JP5358957B2 true JP5358957B2 (en) 2013-12-04

Family

ID=40972138

Family Applications (1)

Application Number Title Priority Date Filing Date
JP2008010341A Expired - Fee Related JP5358957B2 (en) 2008-01-21 2008-01-21 Electronics

Country Status (1)

Country Link
JP (1) JP5358957B2 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP5758648B2 (en) * 2010-02-24 2015-08-05 京セラ株式会社 Mobile device
JP6367049B2 (en) * 2013-11-15 2018-08-01 シャープ株式会社 Electronics

Family Cites Families (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS63189925A (en) * 1987-02-03 1988-08-05 Kubota Ltd Matrix switch device for automatic vending machine
JPS63266515A (en) * 1987-04-24 1988-11-02 Nec Home Electronics Ltd Keyboard
JP2874116B2 (en) * 1990-07-17 1999-03-24 富士通株式会社 Key press invalidation method
JP4127515B2 (en) * 2003-03-19 2008-07-30 京セラ株式会社 Mobile terminal device
JP2006004052A (en) * 2004-06-16 2006-01-05 Hitachi Ltd Key matrix circuit device and key matrix circuit
JP4442385B2 (en) * 2004-10-13 2010-03-31 株式会社カシオ日立モバイルコミュニケーションズ Portable terminal device and program
JP4916959B2 (en) * 2007-06-19 2012-04-18 富士通株式会社 KEY CONTROL CIRCUIT, ELECTRONIC DEVICE, PORTABLE DEVICE, AND KEY CONTROL METHOD

Also Published As

Publication number Publication date
JP2009171507A (en) 2009-07-30

Similar Documents

Publication Publication Date Title
US7187958B2 (en) Folding mobile communications apparatus
US9160831B2 (en) Apparatus for controlling operation in wireless terminal with removable case
JP2006109460A (en) Electronic apparatus having environmental light sensor
KR100504143B1 (en) Device and method for controlling photographing angle in wireless terminal
US6876872B2 (en) Power control apparatus of a foldable portable mobile terminal
JP2006279769A (en) Foldable cellular phone
EP0607038B1 (en) Portable telephone
JP5358957B2 (en) Electronics
JP4138849B1 (en) Electronics
JP2004072285A (en) Mobile phone
JP2006066975A (en) Portable communication terminal
JP4480545B2 (en) Mobile communication terminal
JP2005110326A (en) Foldable information processor
JP2011151455A (en) Folding cellular phone device
JP2005136514A (en) Camera-fitted portable information terminal and camera switching method
JP2003319036A (en) Mobile communication equipment
JP2004312631A (en) Foldable portable telephone set
KR100641199B1 (en) Portable terminal having device for preventing misoperating of touch screen
JP4151847B2 (en) Mobile communication terminal and receiver operation control method
JP2003316477A (en) Electronic device
JP2008301068A (en) Electronic equipment
KR100593144B1 (en) Wireless communication terminal having open / close detection function using a plurality of magnetic sensor and its method
KR19980056346U (en) Mobile Phone Camcorder
JP2006020273A (en) Mobile communication terminal
JP4764852B2 (en) Electronics

Legal Events

Date Code Title Description
RD02 Notification of acceptance of power of attorney

Free format text: JAPANESE INTERMEDIATE CODE: A7422

Effective date: 20100922

A711 Notification of change in applicant

Free format text: JAPANESE INTERMEDIATE CODE: A711

Effective date: 20101028

A621 Written request for application examination

Free format text: JAPANESE INTERMEDIATE CODE: A621

Effective date: 20101208

A977 Report on retrieval

Free format text: JAPANESE INTERMEDIATE CODE: A971007

Effective date: 20120207

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20120403

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20120530

A131 Notification of reasons for refusal

Free format text: JAPANESE INTERMEDIATE CODE: A131

Effective date: 20121218

A521 Request for written amendment filed

Free format text: JAPANESE INTERMEDIATE CODE: A523

Effective date: 20130218

TRDD Decision of grant or rejection written
A01 Written decision to grant a patent or to grant a registration (utility model)

Free format text: JAPANESE INTERMEDIATE CODE: A01

Effective date: 20130806

A61 First payment of annual fees (during grant procedure)

Free format text: JAPANESE INTERMEDIATE CODE: A61

Effective date: 20130819

R150 Certificate of patent or registration of utility model

Free format text: JAPANESE INTERMEDIATE CODE: R150

LAPS Cancellation because of no payment of annual fees