[go: up one dir, main page]

WO2010061543A1 - キー入力装置、及びキー入力装置を備えた携帯通信端末 - Google Patents

キー入力装置、及びキー入力装置を備えた携帯通信端末 Download PDF

Info

Publication number
WO2010061543A1
WO2010061543A1 PCT/JP2009/005977 JP2009005977W WO2010061543A1 WO 2010061543 A1 WO2010061543 A1 WO 2010061543A1 JP 2009005977 W JP2009005977 W JP 2009005977W WO 2010061543 A1 WO2010061543 A1 WO 2010061543A1
Authority
WO
WIPO (PCT)
Prior art keywords
key
signal line
detection information
input device
column signal
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.)
Ceased
Application number
PCT/JP2009/005977
Other languages
English (en)
French (fr)
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.)
Kyocera Corp
Original Assignee
Kyocera Corp
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
Priority claimed from JP2008301613A external-priority patent/JP5203150B2/ja
Priority claimed from JP2008301614A external-priority patent/JP5140562B2/ja
Application filed by Kyocera Corp filed Critical Kyocera Corp
Priority to US13/131,248 priority Critical patent/US8947362B2/en
Priority to CN200980147478.4A priority patent/CN102227698B/zh
Priority to KR1020117014455A priority patent/KR101279029B1/ko
Publication of WO2010061543A1 publication Critical patent/WO2010061543A1/ja
Anticipated expiration legal-status Critical
Ceased legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03MCODING; DECODING; CODE CONVERSION IN GENERAL
    • H03M11/00Coding in connection with keyboards or like devices, i.e. coding of the position of operated keys
    • H03M11/003Phantom keys detection and prevention
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • GPHYSICS
    • G06COMPUTING OR CALCULATING; COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F3/00Input arrangements for transferring data to be processed into a form capable of being handled by the computer; Output arrangements for transferring data from processing unit to output unit, e.g. interface arrangements
    • G06F3/01Input arrangements or combined input and output arrangements for interaction between user and computer
    • G06F3/02Input arrangements using manually operated switches, e.g. using keyboards or dials
    • G06F3/023Arrangements for converting discrete items of information into a coded form, e.g. arrangements for interpreting keyboard generated codes as alphanumeric codes, operand codes or instruction codes

Definitions

  • the present invention relates to a key input device including a plurality of key switches, and more particularly to control when three or more key switches are turned on simultaneously.
  • a key input device for a mobile communication terminal such as a mobile phone
  • a key input device having a key matrix structure including a key scan line and a key sense line is used (for example, see Patent Document 1).
  • FIG. 16 shows the structure of the key input device 1 provided in the mobile phone.
  • the key input device 1 has a key matrix structure composed of five key scan lines (key scans 0 to 4) and five key sense lines (key senses 0 to 4).
  • a key switch corresponding to each of a plurality of keys for example, a numeric keypad, a cross key, and a TALK key
  • a mobile phone not shown is connected to a key scan line and a key sense line.
  • FIG. 17 shows the assignment of each key on the key matrix circuit.
  • the key matrix circuit is connected to a key scan circuit 11 having an input / output port, and each key scan line is connected to the output port, and each key sense line is connected to the input port.
  • a key sense pull-up circuit 12 composed of resistors R0 to R4 is connected to the key sense line, and a high level signal is always output to each key sense line, and the key scan circuit 11 performs each key scan. By sequentially outputting a low level key scan signal to the line, the open / closed state of each key switch is detected.
  • Patent Document 2 As another prior art document regarding the output control of the key input device, there is one shown in Patent Document 2 below.
  • a cross key that indicates each direction, which consists of up / down / left / right keys, and a numeric keypad including numeric keys and symbol keys (“*” key and “#” key) play a game. It is common to be assigned to a key.
  • the up, down, left, and right keys are indicated as “ ⁇ ”, “ ⁇ ”, “ ⁇ ”, “ ⁇ ”, and the up, down, left, and right keys are indicated as “ ⁇ ”, “ ⁇ ”, “ ⁇ ”, and “ ⁇ ” keys, respectively.
  • the “1” key, “2” key, and “4” key are pressed at the same time, when the key scan line 1 is scanned by the key scan circuit 11, the key sense line 2 and the key sense line 3 become the key scan line. It is detected that the “1” key and the “2” key are pressed by conducting to 1.
  • the key scan line 2 is scanned, it is detected that the “4” key is pressed because the key sense line 2 is electrically connected to the key scan line 2, but at the same time, the bold line in FIG. As shown, the key sense line 3 is electrically connected to the key scan line 2 by closing the key switches of the “1” key, “2” key, and “4” key.
  • the key scan circuit 11 erroneously detects it. Assuming that the “1” key, the “2” key, the “4” key, and the “5” key are pressed, the key scan circuit 11 outputs information indicating the pressed key. Unintended processing will be performed. As a result, a situation may occur in which the user cannot play the game correctly using the key input device.
  • An object of the present invention is to provide a key input device that can prevent a process unintended by a user from being executed based on erroneous detection of a key that is not pressed by the user without using a rectifier circuit. To do.
  • a key input device includes a plurality of signal lines arranged in a matrix and a key switch provided at an intersection of row signal lines and column signal lines.
  • a key matrix circuit comprising: a key matrix circuit configured to receive a first detection information relating to conduction between each row signal line and each column signal line from the key matrix circuit; and three or more keys based on the first detection information.
  • a determination unit for determining whether there is a possibility that the switch is turned on at the same time and that the continuity related to the key switch not pressed is erroneously detected, and three or more key switches are turned on at the same time by the user.
  • the user determines the continuity based on the first detection information.
  • the information corresponding to the pressed key switch is output, and it is determined that three or more key switches are simultaneously turned on by the user, and that there is a possibility of erroneous detection of continuity related to the key switch that is not pressed.
  • an output control unit that suppresses output based on the first detection information.
  • the matrix shape means a lattice shape composed of a plurality of signal lines arranged in one direction and a plurality of signal lines arranged in a direction intersecting with the one direction, and the signal lines arranged in one direction are row signal lines, A signal line arranged in a direction crossing one direction is called a column signal line.
  • One of the row signal line and the column signal line is a key scan line, and the other is a key sense line.
  • the determination by the determination unit corresponds to, for example, the process of step 108 in FIG. 7 or step 205 in FIG.
  • intersection between the row signal line and the column signal line is not electrically connected, and the row signal line and the column signal line are connected via a key switch.
  • FIG. 1 is a block diagram showing a configuration of a mobile phone 10.
  • FIG. 3 is a block diagram showing a configuration of a key input device 300.
  • FIG. It is a figure which shows the allocation of each key in the key input device.
  • 2 is a functional block diagram showing a configuration of a key scan circuit 310 in the first embodiment.
  • FIG. It is a figure which shows the detection information when a "1" key, a "2" key, and a "4" key are pressed down simultaneously.
  • FIG. 6 is a diagram schematically showing the operation of a key scan circuit 310.
  • 3 is a flowchart showing an example of the operation of a key scan circuit 310. It is a figure which shows typically operation
  • FIG. 10 is a flowchart illustrating an example of the operation of the key scan circuit 310 according to the second embodiment.
  • FIG. 10 is a functional block diagram showing a configuration of a key scan circuit 310a in the third embodiment. It is a figure which shows the part which should be masked in detection information. It is a figure which shows typically operation
  • FIG. 10 is a diagram illustrating an example of installation of key switches corresponding to special keys and key switches corresponding to numeric keys in the key matrix circuit 330 according to the fourth embodiment.
  • FIG. 1 is a block diagram showing the configuration of the mobile phone 10.
  • the mobile phone 10 includes an antenna 100, a wireless communication unit 200 connected to the antenna 100, a key input device 300, a ROM (Read Only Memory) 400, and a control unit 500.
  • the wireless communication unit 200 is a circuit that performs wireless communication processing such as demodulation processing of a reception signal received via the antenna 100 and modulation processing of a transmission signal transmitted via the antenna 100.
  • the key input device 300 includes a plurality of keys such as a cross key and a numeric key for designating each direction, and has a function of accepting a user's input operation. Details of the key input device 300 will be described later.
  • the ROM 400 is a memory in which programs for executing various functions of the mobile phone 10 are stored.
  • the main programs stored in the ROM 400 include a telephone function program 410 for executing incoming and outgoing calls, a mail function program 420 for executing transmission / reception of e-mail, and a game for executing a predetermined game. This corresponds to the program 430 or the like.
  • the control unit 500 is specifically a CPU (Central Processing Unit), and executes various functions of the mobile phone 10 by executing each program stored in the ROM 400. For example, when a call is made / received, the telephone function program 410 is executed, dial input is accepted from the key input device 300, and a signal or a voice signal is sent to the wireless communication unit 200 for making a call to the accepted dial destination. Execute the process.
  • CPU Central Processing Unit
  • the mail function program 420 is executed, and processing such as reception of mail address input from the key input device 300 and transmission of character data to the wireless communication unit 200 is executed.
  • the game program 430 is executed to draw graphics of characters and the like constituting the game, accepting operation input of the cross key and numeric keypad from the key input device 300, and graphics for character movement based on the accepted operation input Processing such as processing is executed.
  • the mobile phone 10 is generally provided with other devices such as a display unit for displaying a screen, a microphone for voice input, and a speaker for voice output. Since it is not related to the form of, it will not be described in detail.
  • the configuration of these devices may be the same as that of a conventional mobile phone.
  • 1.2. Configuration of key input device 300 1.2.1. Hardware Configuration of Key Input Device 300 Next, the configuration of the key input device 300 will be described in detail.
  • FIG. 2 is a block diagram showing the configuration of the key input device 300.
  • the key input device 300 includes a key scan circuit 310, a key sense pull-up circuit 320, and a key matrix circuit 330.
  • the key matrix circuit 330 has a key matrix structure including five key scan lines (key scans 0 to 4) and four key sense lines (key senses 0 to 3). A key switch corresponding to each of the plurality of 300 keys is connected to the key scan line and the key sense line.
  • key scan line and the key sense line in this embodiment correspond to the row signal line and the column signal line of the present invention, respectively.
  • FIG. 3 shows the assignment of each key in the key input device 300.
  • the crosses indicate the intersection between the key scan line 2 and the key sense line 3, the intersection between the key scan line 3 and the key sense line, and the intersection between the key scan line 4 and the key sense lines 0 and 1. Indicates that no key switch is installed.
  • the upper, lower, left, and right are respectively expressed as “ ⁇ ”, “ ⁇ ”, “ ⁇ ”, “ ⁇ ”, and hereinafter, the up, down, left, and right keys are referred to as “ ⁇ ”, “ ⁇ ”, “ ⁇ ” Sometimes referred to as “ ⁇ ” key.
  • up / down / left / right (“ ⁇ ”, “ ⁇ ”, “ ⁇ ”, “ ⁇ ”) keys are collectively referred to as cross keys, and numeric keys (“0” to “9”) are collectively referred to as numeric keys.
  • the key switch of the “1” key is connected to the key scan line 0 and the key sense line 0.
  • the key switch of “2” key is connected to key scan line 0 and key sense line 1.
  • the key switch of “3” key is connected to the key scan line 0 and the key sense line 2.
  • the key switch of the “0” key is connected to the key scan line 0 and the key sense line 3.
  • the key switch of “4” key is connected to key scan line 1 and key sense line 0.
  • the key switch of the “5” key is connected to the key scan line 1 and the key sense line 1.
  • the key switch of “6” key is connected to the key scan line 1 and the key sense line 2.
  • the key switch of the “9” key is connected to the key scan line 1 and the key sense line 3.
  • the key switch of the “7” key is connected to the key scan line 2 and the key sense line 0.
  • the key switch of “8” key is connected to the key scan line 2 and the key sense line 1.
  • the key switch of the “OK” key is connected to the key scan line 2 and the key sense line 2.
  • the key switch of the “Talk” key is connected to the key scan line 3 and the key sense line 0.
  • the key switch of the “ ⁇ ” key is connected to the key scan line 3 and the key sense line 2.
  • the key switch of the “ ⁇ ” key is connected to the key scan line 3 and the key sense line 3.
  • the key switch of the “ ⁇ ” key is connected to the key scan line 4 and the key sense line 2.
  • the key switch of the “ ⁇ ” key is connected to the key scan line 4 and the key sense line 3.
  • Each key scan line is connected to the output port of the key scan circuit 310, and each key sense line is connected to the input port.
  • the key sense pull-up circuit 320 including resistors R0 to R4 is connected to the key sense line, and a high level signal is always output to each key sense line.
  • the key scan circuit 310 sequentially outputs a low level key scan signal to each key scan line in a time division manner.
  • the key switch contact corresponding to the pressed key is closed, and the key scan line connected to the key switch via the key switch and the key sense line become conductive. Then, the key sense line side becomes low level.
  • the key scan circuit 310 detects the open / close state of the key switch by detecting the voltage level change of the key sense line.
  • FIG. 4 is a functional block diagram showing the configuration of the key scan circuit 310.
  • the key scan circuit 310 includes a reception unit 311, a generation unit 312, a table holding unit 313, a count unit 314, a determination unit 315, and an output control unit 316.
  • Each of the units 311 to 316 is specifically described and realized by a computer program.
  • the receiving unit 311 receives detection information (first detection information) input from the key matrix circuit 330 regarding the continuity between each key scan line and each key sense line, and transmits the received detection information to the generation unit 312. .
  • FIG. 5 shows detection information when the “1” key, “2” key, and “4” key are pressed simultaneously as an example of detection information.
  • FIG. 5A is the same as FIG. 3 and shows the assignment of each key in the key input device 300.
  • the numerical values surrounded by circles in the figure indicate the keys pressed simultaneously. That is, the “1” key, the “2” key, and the “4” key are simultaneously pressed.
  • FIG. 5B shows detection information regarding conduction between each key scan line and each key sense line, and “1” in the figure indicates that the key scan circuit 310 has detected a voltage level change (the input signal is Accepted key, in other words, a key in which the key scan line and the key sense line are conducted, and other keys, that is, a key in which the key scan line and the key sense line are not conducted are indicated by “0”. ing.
  • the “1” key, the “2” key, and the “4” key are simultaneously pressed, the “1” key, the “2” key, and the “4” key are detected in the detection information.
  • the corresponding part is “1”.
  • the key switches of the “1” key, “2” key, and “4” key are closed.
  • the key sense line 1 becomes conductive with the key scan line 1.
  • the key scan circuit 310 detects a voltage level change and erroneously detects that the “5” key is also pressed. Therefore, the portion corresponding to the “5” key is also “ 1 ”.
  • the generation unit 312 refers to the non-installed key table held in the table holding unit 313, and performs detection by masking part of the detection information based on the detection information input from the reception unit 311.
  • Information (second detection information) is generated.
  • masking detection information refers to rewriting information indicating that the key scan line and the key sense line are conductive to information indicating that the key scan line and the key sense line are not conductive.
  • FIG. 5B is an example. In other words, “1” is rewritten to “0”.
  • the generation unit 312 includes detection information, which is input from the reception unit 311, of information indicating that the key scan line and the key sense line are conductive, corresponding to the key indicated in the non-installed key table. In this case, second detection information is generated by rewriting the information with information indicating that the information is not conducted.
  • the generation unit 312 transmits the detection information generated in this way to the count unit 314.
  • the table holding unit 313 stores a non-installed key table indicating keys on which no key switch is installed at the intersection of the key scan line and the key sense line.
  • the count unit 314 counts the number of key sense lines connected to the key scan line for each key scan line of detection information input from the generation unit 312, and the key sense line for each key sense line of detection information. Count the number of key scan lines that are connected to. Further, the number of key scan lines that are in conduction with two or more key sense lines and the number of key sense lines that are in conduction with two or more key scan lines are counted and transmitted to the determination unit 315.
  • the determination unit 315 has a key sense line that is input from the counting unit 314 and has two or more key scan lines that are in conduction with two or more key sense lines and that is in conduction with two or more key scan lines. And the determination result is transmitted to the output control unit 316.
  • FIG. 6 is a diagram schematically showing the operation of the key scan circuit 310.
  • FIG. 6A is the same as FIG. 3 and shows an example of key assignment.
  • the key scan circuit 310 receives the detection information from the key matrix circuit 330 to which the key assignment shown in FIG. 6A is made, the detection corresponding to the non-installed key is masked as shown in FIG. 6B. Generate information. Then, as shown in FIG. 6C, for each key scan line, the number of key sense lines connected to the key scan line is counted. For example, in key scan 0, the sum (s1) of a1, b1, c1, and d1 is calculated. The same applies to other key scan lines.
  • the number of key scan lines that are connected to the key sense line is counted. For example, in key sense 0, the sum (sa) of a1, a2, a3, and a4 is calculated. The same applies to the other key sense lines.
  • a1 to a4, b1 to b3, c1 to c5, and d1 to d5 in the figure respectively indicate the input signals of the corresponding keys
  • s1 to s5 indicate the sum of the input signals in each key scan line.
  • sa to sd indicate the sum of input signals in each key sense line.
  • the number of key scan lines (X) that are conductive with two or more key sense lines and the number of key sense lines (Y) that are conductive with two or more key scan lines are counted, and the values of X and Y are counted. Based on the output control.
  • FIG. 7 is a flowchart showing an example of the operation of the key scan circuit 310.
  • step S101 when the key scan circuit 310 receives the detection information from the key matrix circuit 330 (Yes in step S101), whether or not the received detection information includes information corresponding to the non-installed key among the information indicating continuity. Is determined (step S102).
  • the detection information includes information corresponding to the non-installed key among the information indicating continuity (Yes in step S102), the detection information is generated by rewriting the information indicating that the information is not conductive (step S103). ).
  • step S104 When the information corresponding to the non-installed key is not included in the information indicating continuity (No in step S102), the process from step S104 is performed without passing through step S103.
  • step S104 the number of key sense lines that are conductive with the key scan line is counted (step S104), and the number of key scan lines that are conductive with two or more key sense lines is counted. Then, the value is substituted for X (step S105).
  • step S106 For each key sense line of the detection information, the number of key scan lines connected to the key sense line is counted (step S106), and the number of key sense lines connected to two or more key scan lines is counted. The value is substituted into Y (step S107).
  • step S108 it is determined whether X is 2 or more and Y is 2 or more (step S108). The reason for making such a determination will be described.
  • a key that has not been pressed is also erroneously detected.
  • Two of the three keys are scanned by the same key. This is a case where one of the two is on the same key sense line as the remaining one, in which case X is 2 or more and Y is 2 or more.
  • erroneous detection does not occur and the same detection information as when the above three keys are pressed is accepted. That is, it is not possible to distinguish between a case where one is erroneously detected by triple pressing and a case where four keys are actually pressed.
  • the detection information By suppressing the output based on, it is possible to prevent a process unintended by the user from being executed based on erroneous key detection.
  • FIG. 8 is a diagram schematically showing an operation when the “1” key, the “2” key, and the “4” key are pressed simultaneously.
  • FIG. 8A is the same as FIG. 5A and shows that the “1” key, “2” key, and “4” key are pressed simultaneously.
  • FIG. 8B is the same as FIG. 5B.
  • the “5” key is displayed due to erroneous detection. It shows that the corresponding part is also “1”.
  • the number of continuity with each key scan line in the key sense line 0 is 2. Also in the key sense line 1, the number of conduction with each key scan line is two. The number of key sense lines 2 and 3 that are electrically connected to each key scan line is zero.
  • the number of key scan lines that are in conduction with two or more key sense lines is two, and the number of key sense lines that are in conduction with two or more key scan lines is two. Deterred.
  • FIG. 9 is a diagram schematically showing an operation when the “1” key, the “2” key, the “6” key, and the “Talk” key are pressed simultaneously.
  • FIG. 9A shows that the “1” key, “2” key, “6” key, and “Talk” key are pressed simultaneously.
  • FIG. 9B corresponds to a key in which no key switch is installed due to erroneous detection in addition to portions corresponding to the “1” key, “2” key, “6” key, and “Talk” key in the detection information. This indicates that the portion (dotted circle in the figure) is also “1”.
  • the number of conduction to each key sense line in the key scan line 0 is 2, and the number of conduction to each key sense line in the key scan lines 1 and 3. Is 1 and the number of conduction to each key sense line in the key scan lines 2 and 4 is 0.
  • the number of conduction to each key scan line in the key sense line 0 is 2, and the number of conduction to each key scan line in the key sense lines 1 and 2 is 1.
  • the number connected to the key scan line is zero.
  • the number of key scan lines that are in conduction with two or more key sense lines is one, and the number of key sense lines that are in conduction with two or more key scan lines is one.
  • the condition that the number of key scan lines that are conductive with each other is two or more and the number of key sense lines that are conductive with two or more key scan lines is two or more is not satisfied. Therefore, information corresponding to the “1” key, “2” key, “6” key, and “Talk” key pressed by the user is output to the control unit 500 without being suppressed from output based on the detection information. .
  • the detection information includes information corresponding to the key indicated in the non-installed key table among the information indicating that the key scan line and the key sense line are conductive, the detection information masking the information is displayed. By generating and performing output control based on the generated detection information, it is possible to increase the frequency of correctly detecting the triple press of the key.
  • the key input device 300 does not include an additional circuit and is equivalent to a conventional key input device in hardware, and thus can contribute to downsizing of the mobile phone. (Embodiment 2)
  • the guarantee that the processing based on the erroneous detection of the key that is not pressed is not performed is realized by simpler control.
  • the functional units of the count unit 314, the determination unit 315, and the output control unit 316 perform the following processing that is different from that of the first embodiment.
  • the counting unit 314 counts the number of conduction between the key scan line and the key sense line in the detection information input from the generation unit 312, and transmits the count to the determination unit 315.
  • the determination unit 315 determines whether the number of conduction between the key scan line and the key sense line input from the count unit 314 is four or more, and transmits the determination result to the output control unit 316.
  • the output control unit 316 controls the output to the control unit 500 based on the determination result input from the determination unit 315.
  • FIG. 10 is a flowchart showing an example of the operation of the key scan circuit 310 of the present embodiment.
  • Steps S201 to S203 in this figure are the same as steps S101 to S103 in FIG.
  • the key scan circuit 330 uses the key scan line and the key sense in the detection information (the detection information after masking when the received detection information includes information indicating conduction in the portion corresponding to the non-installed key). Count the number of continuity with the line.
  • step S205 It is determined whether or not there are four or more conducting. This is because there is a possibility that a false detection has occurred when there are four or more conducting states.
  • step S205 when there are four or more conducting states (Yes in step S205), output based on the received detection information is suppressed.
  • step S205 When the number of conducting is less than 4 (No in step S205), information corresponding to the key switch turned on by the user is output based on the detection information (step S206). At this time, when the received detection information includes information corresponding to the non-installed key among the information indicating continuity, output is performed based on the detection information after masking as in the first embodiment.
  • the number of conductions in the detection information is counted, and output control is performed based on whether the number of conductions is four or more.
  • the key is pressed, it can be ensured that the processing based on the erroneous detection of the key not pressed is not performed.
  • the second detection information is rewritten with information indicating that the information is not conductive.
  • the second detection information includes information corresponding to the key associated with the special key among the information indicating conduction, the information is not conducted.
  • the key associated with the special key is masked.
  • the special key corresponds to a control key (hereinafter referred to as “Ctrl” key), an ortho key (hereinafter referred to as “ALT” key), a shift key (hereinafter referred to as “SHIFT” key), and the like.
  • FIG. 11 is a functional block diagram showing the configuration of the key scan circuit 310a in the present embodiment.
  • the table holding unit 313a holds a mask key table corresponding to the special key for each special key in addition to the non-installed key table.
  • the mask key table associates special keys with keys to be masked when an input signal corresponding to the special key is detected.
  • the key to be masked is, for example, a key that is not supposed to be pressed simultaneously with the associated special key.
  • the generation unit 312a refers to the non-installed key table held in the table holding unit 313a, and detects detection information (second detection information) in which a part of the detection information is masked based on the detection information input from the reception unit 311. ) Is generated.
  • the generation unit 312a further includes a key when the generated detection information includes information corresponding to the special key indicated in the mask key table among information indicating that the key scan line and the key sense line are conductive. If the detection information includes information corresponding to the key to be masked associated with the special key among the information indicating that the scan line and the key sense line are conductive, the information is conductive. Detection information (third detection information) rewritten with information indicating that there is no data is generated.
  • the generating unit 312a transmits the detection information generated in this way to the counting unit 314.
  • FIG. 12 is a diagram illustrating a portion to be masked in the detection information.
  • FIG. 12A shows a part of the keyboard.
  • FIG. 12B corresponds to FIG. 12A and shows the assignment of each key of the keyboard.
  • a portion corresponding to a key in which no key switch is installed in the detection information is masked (indicated by a cross in the drawing).
  • FIG. 12C corresponds to FIG. 12A and shows the assignment of each key on the keyboard. Further, when the detection information includes information corresponding to the “SHIFT” key among the information indicating that the key scan line and the key sense line are conductive, the key to be masked is indicated by a cross. As shown in FIG. 12C, when the “SHIFT” key is pressed, the “tsu” key and the “yes” key are accepted, but the “ta” key and the “te” key are accepted. Absent. When the “SHIFT” key and the “TSU” key or “I” key are pressed, character input processing such as “tsu” and “i” is performed by the control unit 500. For example, “SHIFT” This is because when the “key” and the “ta” key are pressed, no processing based on these inputs is performed.
  • FIG. 12 (d) corresponds to FIG. 12 (a) and shows the assignment of each key on the keyboard. Further, when the detection information includes information corresponding to the “Ctrl” key among the information indicating that the key scan line and the key sense line are conductive, the key to be masked is indicated by a cross.
  • FIG. 13 is a diagram schematically illustrating an operation when the “SHIFT” key, the “te” key, and the “yes” key are pressed simultaneously.
  • FIG. 13A shows the assignment of each key in the key input device 300 of the present embodiment.
  • the numerical values surrounded by circles in the figure indicate the keys pressed simultaneously. That is, the “SHIFT” key, the “te” key, and the “yes” key are simultaneously pressed.
  • the detection information corresponds to the “SHIFT” key, the “te” key, and the “yes” key.
  • the part is “1”.
  • the detection information includes information corresponding to the “SHIFT” key among the information indicating that the key scan line and the key sense line are conductive, the portion indicated by the cross mark in FIG. The detection information masked is generated. Therefore, as shown in FIG. 13C, detection information in which a portion corresponding to the “te” key is masked is generated.
  • the present embodiment for example, when a plurality of keys including the “SHIFT” key are pressed, the “te” key that is not supposed to be simultaneously pressed with the “SHIFT” key is erroneously pressed. Even if it is detected or erroneously detected, detection information in which a portion corresponding to the “te” key is masked is generated, and output control is performed based on the generated information, so that usability can be improved. it can. (Embodiment 4)
  • the present embodiment relates to an improvement in the installation position of a key switch corresponding to a special key and a key switch corresponding to a numeric key in a key matrix circuit.
  • a key switch corresponding to each numeric key is installed in the key matrix circuit 330 so that no erroneous detection occurs even if any three numeric keys are pressed simultaneously.
  • any two of them are not installed on the same key scan line or the same key sense line, and the remaining one is not used. It is installed so that it is located at a position other than the same key scan line as one of the two and the same key sense line as the other.
  • any two of the key switches corresponding to the “CTRL” key, “ALT” key, and “SHIFT” key are the same. So that the other one is not located at the same position as the one of the two key scan lines and the same key sense line as the other one. Install.
  • FIG. 14 is a diagram showing an example of installation of key switches corresponding to special keys and key switches corresponding to numeric keys in the key matrix circuit 330 of the present embodiment.
  • the key switch of the “1” key is connected to the key scan line 0 and the key sense line 0.
  • the key switch of “2” key is connected to key scan line 1 and key sense line 0.
  • the key switch of “3” key is connected to key scan line 2 and key sense line 0.
  • the key switch of “4” key is connected to key scan line 3 and key sense line 0.
  • the key switch of the “5” key is connected to the key scan line 4 and the key sense line 0.
  • the key switch of “6” key is connected to the key scan line 5 and the key sense line 0.
  • the key switch of “7” key is connected to the key scan line 6 and the key sense line 0.
  • the key switch of “8” key is connected to the key scan line 7 and the key sense line 1.
  • the key switch of “9” key is connected to the key scan line 7 and the key sense line 2.
  • the key switch of the “0” key is connected to the key scan line 7 and the key sense line 3.
  • the key switch of the “CTRL” key is connected to the key scan line 4 and the key sense line 2.
  • the key switch of the “SHIFT” key is connected to the key scan line 5 and the key sense line 3.
  • the key switch of the “ALT” key is connected to the key scan line 6 and the key sense line 4.
  • the key switch of the “ ⁇ ” key is connected to the key scan line 6 and the key sense line 7.
  • the key switch of the “ ⁇ ” key is connected to the key scan line 6 and the key sense line 6.
  • the key switch of the “ ⁇ ” key is connected to the key scan line 7 and the key sense line 6.
  • the key switch of the “ ⁇ ” key is connected to the key scan line 7 and the key sense line 7.
  • any key may be assigned to the blank portion, and a key that is not supposed to be pressed simultaneously with the special key and the numeric key needs to be assigned to the shaded portion, but no key is assigned. Is more desirable.
  • the present embodiment relates to an improvement in the installation position of the two key switches when the two key switches are covered by a common key cap.
  • a key switch is covered with a key cap indicating a numeric keypad, a cross key, an alphabet key, and the like, and the key switch is located at a position corresponding to the middle of each key cap. Is installed. In such a keyboard, the detection may not be performed even if the key is pressed. For example, since the “SPACE” key has a longer key cap portion than other keys, when the end of the key cap is pressed, the contact of the key switch may not be closed and the detection may not be performed.
  • FIG. 15 is a diagram showing the relationship between the key cap and the key switch and the installation positions of the two key switches corresponding to the “SPACE” key.
  • two key switches are installed for the key cap indicating the “SPACE” key.
  • FIG. 15B shows key assignment when the key switch sw1 and the key switch sw2 are not installed on the same key scan line or the same key sense line in the key matrix circuit 330 of the present embodiment.
  • the key switch sw ⁇ b> 1 is connected to the key scan line 3 and the key sense line 1.
  • the key switch sw2 is connected to the key scan line 2 and the key sense line 2.
  • the hatched portion indicates a portion where a key to be pressed simultaneously with the “SPACE” key should not be arranged.
  • the key scan circuit 310 determines the key corresponding to one of the hatched portions. This is because both the input signals corresponding to “SPACE1” and “SPACE2” are received in addition to the input signals, and as a result, erroneous detection occurs.
  • FIG. 15C shows key assignment when the key switch sw1 and the key switch sw2 are installed on the same key scan line (key scan line 3) in the key matrix circuit 330 of the present embodiment.
  • the hatched portion indicates a portion where a key to be pressed simultaneously with the “SPACE” key should not be arranged.
  • FIG. 15B has fewer hatched portions.
  • the key input device has been described above based on the embodiment, but the present invention is of course not limited to the above embodiment.
  • the row signal line in the present invention is a key scan line and the column signal line is a key sense line.
  • the present invention is not limited to this.
  • the row and the column merely indicate a crossing relationship with each other.
  • the column signal line may be a key sense line and the row signal line may be a key scan line.
  • the non-installed key table indicates a key in which no key switch is installed at the intersection of the key scan line and the key sense line, but the key switch is installed, A key that is not assigned as an operation key may be indicated.
  • a mobile phone is taken as an example of a mobile communication terminal provided with the key input device of the present invention, but the present invention is not limited to this.
  • the key input device of the present invention can be implemented in devices such as a PDA (Personal Digital Assistant) and a laptop PC (Personal Computer).
  • the detection information relating to the continuity between each key scan line and each key sense line is the first detection information.
  • Each piece of detection information relating to conduction with each key sense line (for example, detection information relating to conduction between the key scan line 0 and the key sense line 0) may be used as the first detection information.
  • the first detection information corresponding to the installation key may be masked.
  • the key input device 300 of the present embodiment counts the number of conductions in the detection information, and performs output control depending on whether the number of conductions is four or more.
  • the key input device 300 when there are two key switches covered by one common key cap shown in the fifth embodiment, the keys corresponding to the two key switches are displayed.
  • the key scan circuit 310 according to the second embodiment may detect four input signals. As a result, the number of conduction is 4, and output based on the detection information is suppressed.
  • the table holding unit 313 in the key scan circuit 310 of the second embodiment further holds a table indicating two key switches covered by a common key cap, and the count unit 314 of the second embodiment
  • the detection information includes information corresponding to the two key switches among the information indicating that the key scan line and the key sense line are conductive
  • the number of the conductive keys related to the two key switches is You may count as one.
  • the table holding unit 313 of the second embodiment may hold a predetermined detection information pattern, and at this time, two predetermined key patterns are covered with a common key cap in the predetermined detection information pattern.
  • the key switch may be information indicating conduction.
  • the counting unit 314 of the second embodiment compares the input detection information with the stored detection information pattern, and when they match, when counting information indicating conduction, By disabling one piece of information indicating that it is conducting, output control can be performed accurately.
  • the generation unit 312a generates the second detection information, and further generates the third detection information.
  • the generation unit 312a is shown in the non-installed key table based on the first detection information.
  • Detection information in which a portion corresponding to a key and a portion corresponding to a key to be masked associated with a special key are masked may be generated.
  • the table holding unit 313a holds the mask key table. However, the table holding unit 313a receives information indicating a key to be masked from the application and automatically rewrites the mask key table. Also good.
  • the “Ctrl” key, the “ALT” key, and the “SHIFT” key correspond to the special keys.
  • the present invention is not limited to this. Any key that is assumed to be pressed simultaneously with a plurality of keys may be used.
  • the key scan circuit 310 of the present embodiment may include a test mode and an application mode as operation modes.
  • the key scan circuit 310 of the fifth embodiment operates in the test mode, and handles the input signals of the two key switches corresponding to the “SPACE” key separately.
  • the key scan circuit 310 operates in the application mode, and any of the input signals of the two key switches corresponding to the “SPACE” key can be “ It is handled as if the “SPACE” key was pressed.
  • the present invention is widely applicable to key input devices having a key matrix structure.

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • General Engineering & Computer Science (AREA)
  • Human Computer Interaction (AREA)
  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Input From Keyboards Or The Like (AREA)

Abstract

 キーマトリクス回路から、各行信号線と各列信号線との導通に関する第1検出情報を受信し(S101)、前記第1検出情報に基づいて、三つ以上のキースイッチがユーザにより同時にオンされており、かつ、押下されていないキースイッチに関する導通を誤検出している可能性があるか判定する(S108)。三つ以上のキースイッチがユーザにより同時にオンされており、かつ、押下されていないキースイッチに関する導通を誤検出している可能性があると判定されなかった場合には、前記第1検出情報に基づいてユーザによりオンされたキースイッチに応じた情報を出力し(S109)、三つ以上のキースイッチがユーザにより同時にオンされており、かつ、押下されていないキースイッチに関する導通を誤検出している可能性があると判定された場合には、前記第1検出情報に基づく出力を抑止する。

Description

キー入力装置、及びキー入力装置を備えた携帯通信端末
 本発明は、複数のキースイッチを備えたキー入力装置に関し、特に、三つ以上のキースイッチが同時にオンされた際の制御に関する。
 携帯電話機等の携帯通信端末のキー入力装置として、キースキャンラインとキーセンスラインとから成るキーマトリクス構造を有するキー入力装置が利用されている(例えば、特許文献1参照)。
 一般的なキーマトリクス構造について、図16を参照しながら説明する。
 図16は、携帯電話機に備わるキー入力装置1の構造を示している。
 図16に示すように、キー入力装置1は、5本のキースキャンライン(キースキャン0~4)と5本のキーセンスライン(キーセンス0~4)とから構成されるキーマトリクス構造を有しており、携帯電話機(図示しない)の複数のキー夫々(例えば、テンキーや十字キー、TALKキー等)に対応したキースイッチがキースキャンライン及びキーセンスラインに結線されている。
 図17は、キーマトリクス回路上での各キーの割り当てを示している。
 キーマトリクス回路は、入出力ポートを有するキースキャン回路11と繋がっており、出力ポートには各キースキャンラインが、入力ポートには各キーセンスラインが接続されている。
 抵抗R0~R4から成るキーセンスプルアップ回路12がキーセンスラインに接続されていて、各キーセンスラインには常にハイレベルの信号が出力されている状態にあり、キースキャン回路11が各キースキャンラインに順次ローレベルのキースキャン信号を出力することで、各キースイッチの開閉状態を検出する。
 例えば、キースキャンライン0にキースキャン信号を出力したときに、「TALK」キーが押下されていて当該キーに対応するキースイッチが閉じていた場合は、キーセンスライン2とキースキャンライン0とが導通してキーセンスライン2がローレベルに変化することが検出され、「TALK」キーの押下が検出される。
 なお、キー入力装置の出力制御に関する他の先行技術文献としては、以下の特許文献2に示すものがある。
特開平5-189116号公報 特公平5-11326号公報
 ところで、近年、ユーザがキー入力装置にキー入力を行って、ゲーム等のアプリケーションをプレイすることのできる携帯電話機が開発されている。
 この種の携帯電話機では、上下左右キーから成る、各方向を指示する十字キーと、数字キーと記号キー(「*」キー及び「#」キー)とから成るテンキーとが、ゲームをプレイするためのキーに割り当てられていることが一般的である。
 ゲームのプレイ時において、ユーザは、例えばテンキーの「1」キー、「2」キー、及び「4」キーを押すといった、通常の電話機能を使用するときでは想定されないような複雑な同時押しを行うことがある。
 ところが、上述したような従来のキーマトリクス構造を有するキー入力装置では、このようなテンキーの押下による3重押し以上のキー同時押しに対応できないことがある。
 図17及び18を参照しながら説明する。
 図中では、上下左右キーをそれぞれ、「↑」「↓」「←」「→」と表記しており、以降、上下左右キーをそれぞれ「↑」「↓」「←」「→」キーと表記する。
「1」キーと「2」キーと「4」キーとが同時に押された場合、キースキャン回路11でキースキャンライン1をスキャンしたときに、キーセンスライン2及びキーセンスライン3がキースキャンライン1と導通することで「1」キー及び「2」キーが押下されていることが検出される。
 次に、キースキャンライン2をスキャンしたときに、キーセンスライン2がキースキャンライン2と導通することで「4」キーが押下されていることが検出されるが、同時に、図18中の太線が示すように、「1」キー、「2」キー、及び「4」キーのそれぞれのキースイッチが閉じていることにより、キーセンスライン3がキースキャンライン2と導通してしまう。
 これにより、押されていない「5」キーが押下されているとキースキャン回路11に誤検出されてしまう。「1」キーと「2」キーと「4」キーと「5」キーとが押下されたものとして、キースキャン回路11が押下されたキーを示す情報を出力すると、その情報に基づいてユーザの意図しない処理が行われてしまう。その結果、ユーザがキー入力装置を使って正しくゲームをプレイできない、という事態が発生し得る。
 キー入力装置の誤検出を解決するためには、例えば、各キースイッチに逆流防止用の整流回路(ダイオード)を設置することが考えられる。しかし、複数のダイオードを設置するのにはコストがかかってしまい、また、設置するスペース分キーマトリクス回路が大きくなるため携帯電話機の小型化を阻害してしまうため避けたい。
 本発明は、整流回路を用いることなく、ユーザにより押下されていないキーの誤検出に基づいてユーザの意図しない処理が実行されることを防止することができるキー入力装置を提供することを目的とする。
 上記課題を解決するために、本発明の一実施形態であるキー入力装置は、複数本の信号線がマトリクス状に配線され、行信号線と列信号線との交差部分にキースイッチが設置されてなるキーマトリクス回路と、前記キーマトリクス回路から、各行信号線と各列信号線との導通に関する第1検出情報を受信する受信部と、前記第1検出情報に基づいて、三つ以上のキースイッチがユーザにより同時にオンされており、かつ、押下されていないキースイッチに関する導通を誤検出している可能性があるか判定する判定部と、三つ以上のキースイッチがユーザにより同時にオンされており、かつ、押下されていないキースイッチに関する導通を誤検出している可能性があると判定されなかった場合には、前記第1検出情報に基づいてユーザによりオンされたキースイッチに応じた情報を出力し、三つ以上のキースイッチがユーザにより同時にオンされており、かつ、押下されていないキースイッチに関する導通を誤検出している可能性があると判定された場合には、前記第1検出情報に基づく出力を抑止する出力制御部とを備える。
 ここで、マトリクス状とは、一方向に並ぶ複数の信号線と、当該一方向と交差する方向に並ぶ複数の信号線とから成る格子状をいい、一方向に並ぶ信号線を行信号線、一方向と交差する方向に並ぶ信号線を列信号線と呼ぶ。行信号線と列信号線は、一方がキースキャンラインで、他方がキーセンスラインである。
 また、判定部による判定は、例えば、図7のステップ108や図10のステップ205の処理が該当する。
 なお、行信号線と列信号線との交差部分は、電気的に接続されているわけではなく、行信号線と列信号線とは、キースイッチを介して接続される。
 上記の構成により、三つ以上のキースイッチがユーザにより同時にオンされており、かつ、押下されていないキースイッチに関する導通を誤検出している可能性がある場合には、第1検出情報に基づく出力を抑止するので、押下されていないキースイッチに応じた情報が出力されることはない。したがって、キー入力装置の誤検出により、ユーザの意図しない処理が実行されることを防止することができる。
携帯電話機10の構成を示すブロック図である。 キー入力装置300の構成を示すブロック図である。 キー入力装置300での各キーの割り当てを示す図である。 実施の形態1におけるキースキャン回路310の構成を示す機能ブロック図である。 「1」キー、「2」キー、及び「4」キーが同時に押下された場合の検出情報を示す図である。 キースキャン回路310の動作を模式的に示す図である。 キースキャン回路310の動作の一例を示すフローチャートである。 検出情報に基づく出力が抑止される場合の動作を模式的に示す図である。 ユーザによりオンされたキーを示す情報が出力される場合の動作を模式的に示す図である。 実施の形態2のキースキャン回路310の動作の一例を示すフローチャートである。 実施の形態3におけるキースキャン回路310aの構成を示す機能ブロック図である。 検出情報においてマスクすべき部分を示す図である。 「SHIFT」キー、「て」キー、「い」キーが同時に押下された場合の動作を模式的に示す図である。 実施の形態4のキーマトリクス回路330における、特殊キーに対応するキースイッチ及び数字キーに対応するキースイッチの設置の一例を示す図である。 キーキャップとキースイッチとの関係及び「SPACE」キーに対応する二つのキースイッチの設置位置を示す図である。 従来のキー入力装置の構成を示す図である。 従来の各キーの割り当てを示す図である。 従来のキーマトリクス回路の電流経路を示す概念図である。
 以下、本発明の実施の形態について、図面を参照しながら説明する。
(実施の形態1)
 まず、本発明の一実施態様である携帯電話機10について説明する。
1.携帯電話機10の構成
1.1.携帯電話機10の機能ブロック
 図1は、携帯電話機10の構成を示すブロック図である。
 携帯電話機10は、アンテナ100、アンテナ100と接続された無線通信部200、キー入力装置300、ROM(Read Only Memory)400、及び制御部500を含んで構成される。
 無線通信部200は、アンテナ100を介して受信する受信信号の復調処理や、アンテナ100を介して送出する送信信号の変調処理など、無線通信処理を司る回路である。
 キー入力装置300は、各方向を指示する十字キーやテンキー等の複数のキーから成り、ユーザの入力操作を受付ける機能を有する。キー入力装置300の詳細は後述する。
 ROM400は、携帯電話機10の各種機能を実行するためのプログラムが記憶されているメモリである。ROM400に記憶されている主なプログラムとしては、電話の発着信を実行するための電話機能プログラム410、電子メールの送受信を実行するためのメール機能プログラム420、及び所定のゲームを実行するためのゲームプログラム430等が該当する。
 制御部500は、具体的にはCPU(Central Processing Unit)であり、ROM400に記憶されている各プログラムを実行することで携帯電話機10の各種機能を実行するものである。例えば、電話の発着信時には、電話機能プログラム410を実行し、キー入力装置300からダイアル入力の受付け、受付けたダイアル先への発呼のための信号や音声信号の無線通信部200への送出といった処理を実行する。
 電子メール送受信時には、メール機能プログラム420を実行し、キー入力装置300からメールアドレス入力の受付け、文字データの無線通信部200への送出といった処理を実行する。
 ゲーム実行時には、ゲームプログラム430を実行し、ゲームを構成するキャラクタ等のグラフィックス描画や、キー入力装置300から十字キー及びテンキーの操作入力の受付け、受付けた操作入力に基づくキャラクタ移動のためのグラフィック処理といった処理を実行する。
 なお、携帯電話機10には、画面表示用の表示部や、音声入力用のマイク、音声出力用のスピーカといったデバイスが他にも備わっていることが一般的であるが、これらのデバイスは本実施の形態とは関連性がないため詳述しない。これらのデバイスの構成は従来の携帯電話機の構成と同様でよい。
1.2.キー入力装置300の構成
1.2.1.キー入力装置300のハードウェア構成
 続いて、キー入力装置300の構成について詳しく説明する。
 図2は、キー入力装置300の構成を示すブロック図である。
 キー入力装置300は、キースキャン回路310、キーセンスプルアップ回路320、及びキーマトリクス回路330を有する。
 キーマトリクス回路330は、5本のキースキャンライン(キースキャン0~4)と4本のキーセンスライン(キーセンス0~3)とから構成されるキーマトリクス構造を有しており、キー入力装置300の複数のキー夫々に対応したキースイッチがキースキャンライン及びキーセンスラインに接続されている。
 なお、本実施の形態におけるキースキャンライン及びキーセンスラインはそれぞれ、本発明の行信号線及び列信号線に相当する。
 図3は、キー入力装置300での各キーの割り当てを示している。本図においてバツ印は、キースキャンライン2とキーセンスライン3との交差部分、キースキャンライン3とキーセンスラインとの交差部分、並びにキースキャンライン4とキーセンスライン0及び1との交差部分には、キースイッチが設置されていないことを示す。
 図2及び図3において、上下左右をそれぞれ、「↑」「↓」「←」「→」と表記しており、以降、本明細書において上下左右キーをそれぞれ「↑」「↓」「←」「→」キーと表記することがある。また、上下左右(「↑」「↓」「←」「→」)キーを総称して十字キーと呼び、数字キー(「0」~「9」)を総称してテンキーと呼ぶ。
 図2及び図3に示すように、キーマトリクス回路330上において、「1」キーのキースイッチは、キースキャンライン0とキーセンスライン0とに接続されている。
 「2」キーのキースイッチは、キースキャンライン0とキーセンスライン1とに接続されている。
 「3」キーのキースイッチは、キースキャンライン0とキーセンスライン2とに接続されている。
 「0」キーのキースイッチは、キースキャンライン0とキーセンスライン3とに接続されている。
 「4」キーのキースイッチは、キースキャンライン1とキーセンスライン0とに接続されている。
 「5」キーのキースイッチは、キースキャンライン1とキーセンスライン1とに接続されている。
 「6」キーのキースイッチは、キースキャンライン1とキーセンスライン2とに接続されている。
 「9」キーのキースイッチは、キースキャンライン1とキーセンスライン3とに接続されている。
 「7」キーのキースイッチは、キースキャンライン2とキーセンスライン0とに接続されている。
 「8」キーのキースイッチは、キースキャンライン2とキーセンスライン1とに接続されている。
 「OK」キーのキースイッチは、キースキャンライン2とキーセンスライン2とに接続されている。
 「Talk」キーのキースイッチは、キースキャンライン3とキーセンスライン0とに接続されている。
 「↓」キーのキースイッチは、キースキャンライン3とキーセンスライン2とに接続されている。
 「↑」キーのキースイッチは、キースキャンライン3とキーセンスライン3とに接続されている。
 「←」キーのキースイッチは、キースキャンライン4とキーセンスライン2とに接続されている。
 「→」キーのキースイッチは、キースキャンライン4とキーセンスライン3とに接続されている。
 また、キースキャン回路310の出力ポートには各キースキャンラインが、入力ポートには各キーセンスラインが接続されている。
 抵抗R0~R4から成るキーセンスプルアップ回路320は、キーセンスラインに接続されていて、各キーセンスラインには常にハイレベルの信号が出力されている状態にある。
 ここで、キースキャン回路310がキー(キースイッチ)の押下を検出する仕組みについて説明する。
 キースキャン回路310は、時分割で各キースキャンラインに順次ローレベルのキースキャン信号を出力する。
 キー群のうちいずれかが押下されていると、押下されたキーに対応するキースイッチの接点が閉じ、キースイッチを介して当該キースイッチと接続されているキースキャンラインとキーセンスラインとが導通し、キーセンスライン側がローレベルとなる。
 キースキャン回路310は、このキーセンスラインの電圧レベル変化を検知してキースイッチの開閉状態を検出する。
 例えば、キースキャン回路310がキースキャンライン1をスキャンしたときに、「9」キーが押下されていると、キーセンスライン3のみがローレベルとなり、残りのキーセンスライン(キーセンスライン0~2)はハイレベルのままである。この電圧レベル変化でキースキャン回路310は、「9」キー押下を検出する。
1.2.2.キースキャン回路310の機能構成
 続いて、キースキャン回路310の機能について説明する。図4は、キースキャン回路310の構成を示す機能ブロック図である。同図に示すように、キースキャン回路310は、受信部311、生成部312、テーブル保持部313、カウント部314、判定部315、及び出力制御部316を含む。各部311~316は、具体的には、コンピュータプログラムによって記述され実現される。
 以下、キースキャン回路310の機能について、詳細に説明する。
 受信部311は、キーマトリクス回路330から入力される、各キースキャンラインと各キーセンスラインとの導通に関する検出情報(第1検出情報)を受信し、受信した検出情報を生成部312に送信する。
 ここで、検出情報について説明する。図5は、検出情報の一例として「1」キー、「2」キー、及び「4」キーが同時に押下された場合の検出情報を示している。
 図5(a)は、図3と同様であり、キー入力装置300での各キーの割り当てを示している。図中の丸で囲まれた数値は、同時に押下されたキーを示している。すなわち、「1」キー、「2」キー、及び「4」キーが同時に押下されていることを示している。
 図5(b)は、各キースキャンラインと各キーセンスラインとの導通に関する検出情報を示しており、図中の“1”は、キースキャン回路310が電圧レベル変化を検知した(入力信号を受け付けた)キー、言い換えると、キースキャンラインとキーセンスラインとが導通したキーを示しており、それ以外、すなわち、キースキャンラインとキーセンスラインとが導通していないキーは“0”で示している。
 図5(b)に示すように、「1」キー、「2」キー、及び「4」キーが同時に押下されたため、検出情報において「1」キー、「2」キー、及び「4」キーに対応する部分は“1”になっている。さらに、「1」キー、「2」キー、及び「4」キーが同時に押下されると、「1」キー、「2」キー、及び「4」キーのそれぞれのキースイッチが閉じていることにより、キーセンスライン1がキースキャンライン1と導通してしまう。その結果、「5」キーに関してもキースキャン回路310は電圧レベル変化を検知してしまい、「5」キーも押下されたものと誤検出してしまうため、「5」キーに対応する部分も“1”になっている。
 図4に戻って、生成部312は、テーブル保持部313に保持されている未設置キーテーブルを参照して、受信部311から入力される検出情報に基づいて検出情報の一部をマスクした検出情報(第2検出情報)を生成する。ここで、検出情報をマスクするとは、キースキャンラインとキーセンスラインとが導通していることを示す情報を、導通していないことを示す情報に書き換えることをいい、図5(b)を例に挙げると“1”を“0”に書き換えることである。生成部312は、キースキャンラインとキーセンスラインとが導通していることを示す情報のうち未設置キーテーブルに示されるキーに対応する情報を、受信部311から入力される、検出情報が含む場合に、当該情報を導通していないことを示す情報に書き換えた第2検出情報を生成する。生成部312は、このようにして生成した検出情報をカウント部314に送信する。
 テーブル保持部313は、キースキャンラインとキーセンスラインとの交差部分にキースイッチが設置されていないキーを示す未設置キーテーブルを記憶している。
 カウント部314は、生成部312から入力される検出情報のキースキャンライン毎に当該キースキャンラインと導通しているキーセンスラインの数をカウントし、検出情報のキーセンスライン毎に当該キーセンスラインと導通しているキースキャンラインの数をカウントする。さらに、二以上のキーセンスラインと導通しているキースキャンラインの数、及び二以上のキースキャンラインと導通しているキーセンスラインの数をカウントし、判定部315に送信する。
 判定部315は、カウント部314から入力される、二以上のキーセンスラインと導通しているキースキャンラインの数が2以上で、かつ、二以上のキースキャンラインと導通しているキーセンスラインの数が2以上であるかを判定し、判定結果を出力制御部316に送信する。
 出力制御部316は、判定部315から入力される判定結果に基づいて制御部500への出力を制御する。
2.キースキャン回路310の動作
 続いて、キースキャン回路310の動作について説明する。図6は、キースキャン回路310の動作を模式的に示す図である。
 図6(a)は、図3と同様であり、キー割り当ての一例を示している。キースキャン回路310は、図6(a)に示すキー割り当てがなされたキーマトリクス回路330から検出情報を受信すると、図6(b)に示すように、未設置キーに対応する部分をマスクした検出情報を生成する。そして、図6(c)に示すように、キースキャンライン毎に当該キースキャンラインと導通しているキーセンスラインの数をカウントする。例えば、キースキャン0ではa1、b1、c1、及びd1の和(s1)を算出する。他のキースキャンラインについても同様である。
 また、キーセンスライン毎に当該キーセンスラインと導通しているキースキャンラインの数をカウントする。例えば、キーセンス0ではa1、a2、a3、及びa4の和(sa)を算出する。他のキーセンスラインについても同様である。ここで、図中のa1~a4、b1~b3、c1~c5、及びd1~d5はそれぞれ、対応するキーの入力信号を示しており、s1~s5は各キースキャンラインにおける入力信号の和を示しており、sa~sdは各キーセンスラインにおける入力信号の和を示している。
 さらに、二以上のキーセンスラインと導通しているキースキャンライン数(X)、及び二以上のキースキャンラインと導通しているキーセンスライン数(Y)をカウントし、X及びYの値に基づいて出力制御を行う。
 以下、キースキャン回路310の動作の一例を、フローチャートを用いて詳細に説明する。図7は、キースキャン回路310の動作の一例を示すフローチャートである。
 まず、キースキャン回路310は、キーマトリクス回路330から検出情報を受信すると(ステップS101でYes)、導通を示す情報のうち未設置キーに対応する情報を、受信した検出情報が含んでいるか否かを判定する(ステップS102)。
 導通を示す情報のうち未設置キーに対応する情報を検出情報が含む場合には(ステップS102でYes)、当該情報を導通していないことを示す情報に書き換えた検出情報を生成する(ステップS103)。
 導通を示す情報のうち未設置キーに対応する情報を検出情報が含まない場合には(ステップS102でNo)、ステップS103を経ずに、ステップS104以降の処理を行う。
 次に、検出情報のキースキャンライン毎に当該キースキャンラインと導通しているキーセンスラインの数をカウントし(ステップS104)、二以上のキーセンスラインと導通しているキースキャンライン数をカウントし、その値をXに代入する(ステップS105)。
 また、検出情報のキーセンスライン毎に当該キーセンスラインと導通しているキースキャンラインの数をカウントし(ステップS106)、二以上のキースキャンラインと導通しているキーセンスライン数をカウントし、その値をYに代入する(ステップS107)。
 そしてXが2以上で、かつ、Yが2以上であるかを判定する(ステップS108)。このような判定を行う理由について説明する。3つのキーを同時に押下した際に、当該3つのキーが検出されるのに加え、押下されていないキーも誤検出される場合というのが、当該3つのキーのうち二つのキーが同一キースキャンライン上であり、かつ、当該二つのうち一方が残りの一つと同一キーセンスライン上である場合であり、その場合には、Xが2以上で、かつ、Yが2以上となる。ただし、矩形を形成するような4つのキーが同時に押下された場合にも、誤検出は起こらずに、上述の3つのキーが押下された場合と同様の検出情報を受け付ける。つまり、3重押しで一つが誤検出された場合と、実際に4つのキーが押下された場合とを区別することができない。
 したがって、Xが2以上で、かつ、Yが2以上である場合、すなわち、押下されていないキースイッチに関する導通を誤検出している可能性がある場合には(ステップS108でYes)、検出情報に基づく出力を抑止することで、キーの誤検出に基づいてユーザの意図しない処理が実行されることを防止する。
 X及びYの少なくとも一方が2未満である場合には(ステップS108でNo)、検出情報に基づいてユーザによりオンされたキーに応じた情報を制御部500に出力する。この際、導通を示す情報のうち未設置キーに対応する情報を、受信した検出情報が含む場合には、マスク後の検出情報に基づいて出力が行われる。
3.携帯電話機10の動作の具体例
 3.1.検出情報に基づく出力が抑止される場合
 検出情報に基づく出力が抑止される場合の具体例について説明する。図8は、「1」キー、「2」キー、「4」キーが同時に押下された場合の動作を模式的に示す図である。
 図8(a)は、図5(a)と同様であり、「1」キー、「2」キー、「4」キーが同時に押下されていることを示している。
 図8(b)は、図5(b)と同様であり、検出情報において「1」キー、「2」キー、「4」キーに対応する部分に加え、誤検出により、「5」キーに対応する部分も“1”になっていることを示している。
 「1」キー、「2」キー、「4」キーが同時に押下された場合、図8(c)に示すように、キースキャンライン0において各キーセンスラインと導通している数は、2となる。キースキャンライン1においても各キーセンスラインと導通している数は、2となる。キースキャンライン2、3、及び4において各キーセンスラインと導通している数は、0となる。
 また、キーセンスライン0において各キースキャンラインと導通している数は、2となる。キーセンスライン1においても各キースキャンラインと導通している数は、2となる。キーセンスライン2、及び3において各キースキャンラインと導通している数は、0となる。
 したがって、二以上のキーセンスラインと導通しているキースキャンラインの数は2となり、二以上のキースキャンラインと導通しているキーセンスラインの数は2となるので、検出情報に基づく出力は抑止される。
 3.2.ユーザによりオンされたキーに応じた情報が出力される場合
 ユーザによりオンされたキーに応じた情報が出力される場合の具体例について説明する。図9は、「1」キー、「2」キー、「6」キー、「Talk」キーが同時に押下された場合の動作を模式的に示す図である。
 図9(a)は、「1」キー、「2」キー、「6」キー、「Talk」キーが同時に押下されていることを示している。
 図9(b)は、検出情報において「1」キー、「2」キー、「6」キー、「Talk」キーに対応する部分に加え、誤検出により、キースイッチが設置されていないキーに対応する部分(図中の点線の丸印)も“1”になっていることを示している。
 「1」キー、「2」キー、「6」キー、「Talk」キーが同時に押下された場合、図9(c)に示すように、点線の丸印で示される部分は、未設置キーテーブルに基づいてマスクされるため、当該部分を“0”に書き換えた検出情報が生成される。
 その結果、図9(d)に示すように、キースキャンライン0において各キーセンスラインと導通している数は、2となり、キースキャンライン1、3において各キーセンスラインと導通している数は、1となり、キースキャンライン2、4において各キーセンスラインと導通している数は、0となる。
 また、キーセンスライン0において各キースキャンラインと導通している数は、2となり、キーセンスライン1、2において各キースキャンラインと導通している数は、1となり、キーセンスライン3において各キースキャンラインと導通している数は、0となる。
 したがって、二以上のキーセンスラインと導通しているキースキャンラインの数は1となり、二以上のキースキャンラインと導通しているキーセンスラインの数は1となるので、二以上のキーセンスラインと導通しているキースキャンラインの数が二以上で、かつ、二以上のキースキャンラインと導通しているキーセンスラインの数が二以上である、という条件は満たさない。よって、検出情報に基づく出力が抑止されることなく、ユーザにより押下された「1」キー、「2」キー、「6」キー、「Talk」キーに応じた情報が制御部500に出力される。
 以上のように本実施の形態によれば、二以上のキーセンスラインと導通しているキースキャンラインが二以上存在し、かつ、二以上のキースキャンラインと導通しているキーセンスラインが二以上存在する場合には、必ず誤検出があるというわけではないが、誤検出の可能性があることから、検出情報に基づく出力を抑止するので、押下されていないキースイッチに応じた情報が出力されることはない。したがって、キー入力装置300の誤検出により、ユーザの意図しない処理が実行されることを防止することができる。
 また、キースキャンラインとキーセンスラインとが導通していることを示す情報のうち未設置キーテーブルに示されるキーに対応する情報を検出情報が含む場合には、当該情報をマスクした検出情報を生成し、生成した検出情報に基づいて出力制御を行うことにより、キーの3重押しを正しく検出する頻度を高めることができる。
 さらに、キー入力装置300は、追加回路を備えることはなく、ハードウェア的に従来のキー入力装置と同等であるので、携帯電話機の小型化に貢献することができる。
(実施の形態2)
 本実施の形態では、キーの3重押しがなされた場合に、押下されていないキーの誤検出に基づく処理が行われないことの保障を、より簡潔な制御で実現する。
 本実施の形態のキースキャン回路310においては、カウント部314、判定部315、及び出力制御部316の各機能部は、実施の形態1と異なる以下に示す処理を行う。
 カウント部314は、生成部312から入力される検出情報において、キースキャンラインとキーセンスラインとが導通している数をカウントし、判定部315に送信する。
 判定部315は、カウント部314から入力される、キースキャンラインとキーセンスラインとが導通している数が4つ以上かを判定し、判定結果を出力制御部316に送信する。
 出力制御部316は、判定部315から入力される判定結果に基づいて制御部500への出力を制御する。
 他の機能部は、実施の形態1と同様である。
 以下、本実施の形態のキースキャン回路310の動作の一例を、フローチャートを用いて詳細に説明する。図10は、本実施の形態のキースキャン回路310の動作の一例を示すフローチャートである。
 本図のステップS201~203は、図7のステップS101~103と同様であるので説明を省略する。ステップS204において、キースキャン回路330は、検出情報(受信した検出情報が未設置キーに対応する部分において導通を示す情報を含む場合には、マスク後の検出情報)において、キースキャンラインとキーセンスラインとが導通している数をカウントする。
 導通している数が4つ以上ある否かを判定する(ステップS205)。導通している数が4つ以上ある場合には、誤検出が発生している可能性があるからである。
 したがって、導通している数が4つ以上ある場合には(ステップS205でYes)、受信した検出情報に基づく出力を抑止する。
 導通している数が4つ未満である場合には(ステップS205でNo)、検出情報に基づいてユーザによりオンされたキースイッチに応じた情報を出力する(ステップS206)。この際、導通を示す情報のうち未設置キーに対応する情報を、受信した検出情報が含む場合には、実施の形態1と同様、マスク後の検出情報に基づいて出力が行われる。
 以上のように本実施の形態によれば、検出情報において導通している数をカウントし、導通している数が4つ以上か否かにより出力制御を行うという、簡易な制御で、3重押しがなされた場合に押下されていないキーの誤検出に基づく処理が行われないことを保障することができる。
(実施の形態3)
 実施の形態1では、導通を示す情報のうち未設置キーに対応する情報を、受信した第1検出情報が含む場合に、当該情報を導通していないことを示す情報に書き換えた第2検出情報を生成したが、本実施の形態では、さらに、導通を示す情報のうち特殊キーに対応付けられたキーに対応する情報を第2検出情報が含む場合に、当該情報を導通していないことを示す情報に書き換えた検出情報(第3検出情報)を生成することで、特殊キーに対応付けられたキーをマスクする。ここで、特殊キーには、コントロールキー(以下、「Ctrl」キーと示す)、オルトキー(以下、「ALT」キーと示す)、シフトキー(以下、「SHIFT」キーと示す)等が該当する。
 図11は、本実施の形態におけるキースキャン回路310aの構成を示す機能ブロック図である。本図に示すように、テーブル保持部313aは、未設置キーテーブルに加えて、特殊キー毎に当該特殊キーに対応するマスクキーテーブルを保持している。マスクキーテーブルは、特殊キーと、当該特殊キーに対応する入力信号が検出された場合にマスクすべきキーとを対応付けたものである。マスクすべきキーは、例えば、対応付けられた特殊キーとの同時押下が想定されていないキーである。
 生成部312aは、テーブル保持部313aに保持されている未設置キーテーブルを参照して、受信部311から入力される検出情報に基づいて検出情報の一部をマスクした検出情報(第2検出情報)を生成する。
 生成部312aは、さらに、キースキャンラインとキーセンスラインとが導通していることを示す情報のうちマスクキーテーブルに示される特殊キーに対応する情報を、生成した検出情報が含む場合に、キースキャンラインとキーセンスラインとが導通していることを示す情報のうち当該特殊キーに対応付けられたマスクすべきキーに対応する情報を当該検出情報が含んでいれば、当該情報を導通していないことを示す情報に書き換えた検出情報(第3検出情報)を生成する。
 生成部312aは、このようにして生成した検出情報をカウント部314に送信する。
 他の機能部は、実施の形態1と同様である。
 続いて、本実施の形態のキー入力装置300の例としてのキーボードで日本語をかな入力する場合を例に挙げて、本実施の形態の詳細を説明する。図12は、検出情報においてマスクすべき部分を示す図である。図12(a)は、キーボードの一部を示す図である。図12(b)は、図12(a)に対応しており、キーボードの各キーの割り当てを示している。また、検出情報においてキースイッチが設置されていないキーに対応する部分については、実施の形態1で説明したように、マスクされることを示している(図中のバツ印)。
 図12(c)は、図12(a)に対応しており、キーボードの各キーの割り当てを示している。また、キースキャンラインとキーセンスラインとが導通していることを示す情報のうち「SHIFT」キーに対応する情報を検出情報が含む場合に、マスクすべきキーをバツ印で示している。図12(c)に示すように、「SHIFT」キーが押下されている場合には、「つ」キーや「い」キーについては受け付けるが、「た」キーや「て」キー等については受け付けない。これは、「SHIFT」キーと、「つ」キーまたは「い」キーとが押下された場合には、「っ」や「ぃ」といった文字入力処理が制御部500によって行われるが、例えば「SHIFT」キーと「た」キーとが押下された場合には、これらの入力による処理は何ら行われないからである。
 図12(d)は、図12(a)に対応しており、キーボードの各キーの割り当てを示している。また、キースキャンラインとキーセンスラインとが導通していることを示す情報のうち「Ctrl」キーに対応する情報を検出情報が含む場合に、マスクすべきキーをバツ印で示している。
 このように、特殊キー毎にマスクすべきキーが対応付けられている。
 次に、特殊キーに対応付けられたキーをマスクした検出情報を生成する例として、「SHIFT」キーを含む複数のキーが押下された場合について説明する。図13は、「SHIFT」キー、「て」キー、「い」キーが同時に押下された場合の動作を模式的に示す図である。図13(a)は、本実施の形態のキー入力装置300での各キーの割り当てを示している。図中の丸で囲まれた数値は、同時に押下されたキーを示している。すなわち、「SHIFT」キー、「て」キー、「い」キーが同時に押下されていることを示している。
 図13(b)に示すように、「SHIFT」キー、「て」キー、「い」キーが同時に押下されたため、検出情報において「SHIFT」キー、「て」キー、「い」キーに対応する部分は“1”になっている。ただし、キースキャンラインとキーセンスラインとが導通していることを示す情報のうち「SHIFT」キーに対応する情報を検出情報が含む場合には、図12(b)のバツ印で示した部分がマスクされた検出情報が生成される。したがって、図13(c)に示すように、「て」キーに対応する部分がマスクされた検出情報が生成されることになる。
 以上のように本実施の形態によれば、例えば、「SHIFT」キーを含む複数のキーを押下する際、「SHIFT」キーとの同時押下が想定されていない「て」キーが誤って押下された場合や誤検出された場合であっても、「て」キーに対応する部分がマスクされた検出情報が生成され、当該生成情報に基づいて出力制御が行われるので、使い勝手を向上させることができる。
(実施の形態4)
 本実施の形態は、キーマトリクス回路における、特殊キーに対応するキースイッチ及び数字キーに対応するキースイッチの設置位置の改良に関する。
 例えば、ゲーム等のアプリケーションを利用する際に、3つの数字キーを同時に押下する場合が考えられる。そこで、本実施の形態では、各数字キーに対応するキースイッチを、どの3つの数字キーを同時に押下したとしても誤検出が発生しないように、キーマトリクス回路330において設置する。
 具体的には、3つのキーを同時に押下した際に誤検出が発生するのは、当該3つのキーのうち二つが同一のキースキャンライン(キーセンスライン)に設置せれており、かつ、残りの一つが何れか二つの一方と同一のキーセンスライン(キースキャンライン)に設置されている場合である。
 したがって、各数字キーに対応するキースイッチのうちどの三つのキースイッチにおいても、そのうちの何れか二つを同一のキースキャンラインまたは同一のキーセンスラインに設置せず、かつ、残りの一つを前記何れか二つの一方と同一のキースキャンライン及び他方と同一のキーセンスラインとなる位置以外となるよう設置する。
 また、複数押しでの使用が想定される特殊キーに対応するキースイッチについても同様に、「CTRL」キー、「ALT」キー、「SHIFT」キーに対応するキースイッチのうち何れか二つを同一のキースキャンラインまたは同一のキーセンスラインに設置せず、かつ、残りの一つを前記何れか二つの一方と同一のキースキャンライン及び他方と同一のキーセンスラインとなる位置以外となるように設置する。
 図14は、本実施の形態のキーマトリクス回路330における、特殊キーに対応するキースイッチ及び数字キーに対応するキースイッチの設置の一例を示す図である。
 図14に示すように、キーマトリクス回路330上において、「1」キーのキースイッチは、キースキャンライン0とキーセンスライン0とに接続されている。
 「2」キーのキースイッチは、キースキャンライン1とキーセンスライン0とに接続されている。
 「3」キーのキースイッチは、キースキャンライン2とキーセンスライン0とに接続されている。
 「4」キーのキースイッチは、キースキャンライン3とキーセンスライン0とに接続されている。
 「5」キーのキースイッチは、キースキャンライン4とキーセンスライン0とに接続されている。
 「6」キーのキースイッチは、キースキャンライン5とキーセンスライン0とに接続されている。
 「7」キーのキースイッチは、キースキャンライン6とキーセンスライン0とに接続されている。
 「8」キーのキースイッチは、キースキャンライン7とキーセンスライン1とに接続されている。
 「9」キーのキースイッチは、キースキャンライン7とキーセンスライン2とに接続されている。
 「0」キーのキースイッチは、キースキャンライン7とキーセンスライン3とに接続されている。
 「CTRL」キーのキースイッチは、キースキャンライン4とキーセンスライン2とに接続されている。
 「SHIFT」キーのキースイッチは、キースキャンライン5とキーセンスライン3とに接続されている。
 「ALT」キーのキースイッチは、キースキャンライン6とキーセンスライン4とに接続されている。
 「↓」キーのキースイッチは、キースキャンライン6とキーセンスライン7とに接続されている。
 「↑」キーのキースイッチは、キースキャンライン6とキーセンスライン6とに接続されている。
 「←」キーのキースイッチは、キースキャンライン7とキーセンスライン6とに接続されている。
 「→」キーのキースイッチは、キースキャンライン7とキーセンスライン7とに接続されている。
 また、空白部分には、どのようなキーを割り当ててもよく、斜線部分には、特殊キー及び数字キーと同時に押下されることが想定されていないキーを割り当てる必要があるが、キーを割り当てない方がより望ましい。
 以上のように本実施の形態によれば、3つの数字キーが同時に押下された際の誤検出を防止することができる。また、特殊キーを含む3つのキーが同時に押下された際の誤検出も防止することができる。
(実施の形態5)
 本実施の形態は、二つのキースイッチが共通する一のキーキャップに覆われている場合の当該二つのキースイッチの設置位置の改良に関する。
 一般的に、キー入出力装置の例としてのキーボードにおいては、キースイッチはテンキー、十字キー、及びアルファベットキー等を示すキーキャップに覆われており、各キーキャップの真ん中に対応する位置にキースイッチが設置される。そのようなキーボードにおいて、キーを押下してもその検出がなされない場合がある。例えば「SPACE」キーは、他のキーよりもキーキャップの部分が長いため、キーキャップの端が押下された場合には、キースイッチの接点が閉じず、その検出がなされない場合があり得る。
 そこで、本実施の形態では、「SPACE」キーに対して二つのキースイッチを設置する。これにより、キーキャップの端が押下された場合であっても、その検出が可能になる。「SPACE」キーに対して二つのキースイッチを設置する場合の設置位置について図15を用いて説明する。
 図15は、キーキャップとキースイッチとの関係及び「SPACE」キーに対応する二つのキースイッチの設置位置を示す図である。
 図15(a)に示すように、「SPACE」キーを示すキーキャップに対しては、二つのキースイッチ(キースイッチsw1とキースイッチsw2)が設置される。
 図15(b)は、本実施の形態のキーマトリクス回路330においてキースイッチsw1とキースイッチsw2とを、同一のキースキャンラインまたは同一のキーセンスラインに設置しない場合のキー割り当てを示している。具体的には、キースイッチsw1は、キースキャンライン3とキーセンスライン1とに接続されている。また、キースイッチsw2は、キースキャンライン2とキーセンスライン2とに接続されている。斜線部分は、「SPACE」キーと同時に押下されるべきキーを配置してはいけない部分を示している。斜線で示した部分の何れかに対応するキーと、「SPACE」キーとが同時に押下されると、本実施の形態のキースキャン回路310は、斜線で示した部分の何れかに対応するキーの入力信号の他、「SPACE1」及び「SPACE2」に対応する入力信号を共に受け付けてしまい、その結果、誤検出が発生するためである。
 図15(c)は、本実施の形態のキーマトリクス回路330においてキースイッチsw1とキースイッチsw2とを、同一のキースキャンライン(キースキャンライン3)に設置する場合のキー割り当てを示している。斜線部分は、「SPACE」キーと同時に押下されるべきキーを配置してはいけない部分を示している。
 図15(b)と図15(c)とを比較すると、図15(b)の方が、斜線部分が少ないのがわかる。
 したがって、「SPACE」キーに対して二つのキースイッチを設置する場合には、図15(b)のように設置する。これにより、「SPACE」キーと同時に押下されるべきキーに対応するキースイッチの配置の制約が緩和され、本実施の形態のキーマトリクス回路330においてキースイッチの配置を効率的に行うことができる。
<補足>
 以上、本発明に係るキー入力装置について、実施の形態に基づいて説明したが、本発明は上記の実施の形態に限られないことは勿論である。
(1)上記実施の形態では、本発明における行信号線をキースキャンラインとし、列信号線をキーセンスラインとしたが、これに限定されるものではない。
 行と列とは互いに交差する関係を示しているに過ぎず、例えば、列信号線をキーセンスラインとし、行信号線をキースキャンラインとしてもよい。
(2)上記実施の形態では、未設置キーテーブルは、キースキャンラインとキーセンスラインとの交差部分にキースイッチが設置されていないキーを示すとしたが、キースイッチは設置されているが、操作キーとして割り当てられていないキーを示すものとしてもよい。
(3)上記実施の形態では、本発明のキー入力装置を備えた携帯通信端末として携帯電話機を例に挙げたが、これに限定されるものではない。
 例えば、PDA(Personal Digital Assistant)やラップトップPC(Personal Computer)といった機器にも、本発明のキー入力装置は実装可能である。
(4)上記実施の形態では、例えば、図5(b)に示すように、各キースキャンラインと各キーセンスラインとの導通に関する検出情報を第1検出情報としたが、各キースキャンラインと各キーセンスラインとの導通に関する検出情報の各々(例えば、キースキャンライン0とキーセンスライン0との導通に関する検出情報)を第1検出情報としてもよく、その際、第1検出情報のうち未設置キーに対応する第1検出情報をマスクするとしてもよい。
(5)上記実施の形態1では、図7のステップS102で、導通を示す情報のうち未設置キーに対応する情報を受信した検出情報が含んでいるか否かを判定したが、このような判定は行わず、受信した検出情報に基づいて、未設置キーに対応する情報を導通していないことを示す情報に書き換えた検出情報を生成するとしてもよい。
(6)上記実施の形態2では、当該実施の形態のキー入力装置300は、検出情報において導通している数をカウントし、導通している数が4つ以上か否かにより出力制御を行ったが、当該キー入力装置300において、実施の形態5で示した、共通する一のキーキャップに覆われている二つのキースイッチが存在する場合には、当該二つのキースイッチに対応するキーを含む3つのキーを同時に押下した場合、実施の形態2のキースキャン回路310は、4つの入力信号を検知してしまう場合があり得る。その結果、導通している数は4となり、検出情報に基づく出力が抑止されてしまう。
 そこで、実施の形態2のキースキャン回路310におけるテーブル保持部313は、共通する一のキーキャップに覆われている二つのキースイッチを示すテーブルをさらに保持し、実施の形態2のカウント部314は、キースキャンラインとキーセンスラインとが導通していることを示す情報のうち当該二つのキースイッチに対応する情報を検出情報が含む場合には、当該二つのキースイッチに関して導通している数は一つであるとしてカウントしてもよい。
 これにより、当該二つのキースイッチに対応するキーを含む3つのキーが同時に押下された場合であっても、正確に出力制御を行うことができる。
 また、実施の形態2のテーブル保持部313は、所定の検出情報パターンを保持しているとしてもよく、その際、所定の検出情報パターンにおいて、共通する一のキーキャップに覆われている二つのキースイッチは、導通していることを示す情報であるとしてもよい。実施の形態2のカウント部314は、入力される検出情報と記憶されている検出情報パターンとを比較し、それらが一致する場合には、導通していることを示す情報をカウントする際に、導通していることを示す情報の一つを無効とすることで、正確に出力制御を行うことができる。
(7)上記実施の形態3では、生成部312aは、第2検出情報を生成し、さらに、第3検出情報を生成するとしたが、第1検出情報に基づいて、未設置キーテーブルに示されるキーに対応する部分と特殊キーに対応付けられたマスクすべきキーに対応する部分とをマスクした検出情報(第4検出情報)を生成するとしてもよい。
(8)上記実施の形態3では、テーブル保持部313aは、マスクキーテーブルを保持しているとしたが、アプリケーションからマスクすべきキーを示す情報を受け付けて、自動的にマスクキーテーブルを書き換えるとしてもよい。
(9)上記実施の形態3では、特殊キーには、「Ctrl」キー、「ALT」キー、「SHIFT」キーが該当するとしたが、これに限らない。複数のキーとの同時押しが想定されるキーであればよい。
(10)上記実施の形態3では、キー入力装置の例としてキーボードで日本語をかな入力する場合について説明したが、かな入力以外であってもよいし、日本語以外の文字を入力するとしてもよい。
(11)上記実施の形態5において、当該実施の形態のキースキャン回路310は、動作モードとして、テストモードとアプリケーションモードとを含むとしてもよい。
 携帯電話機の出荷段階においては、実施の形態5のキースキャン回路310はテストモードで動作し、「SPACE」キーに対応する二つのキースイッチの入力信号を別々に扱う。
 このように、各キースイッチに対応する信号を別々に扱うことで、各キースイッチが正常であることを確認することができる。
 また、出荷後にユーザの使用に供される段階では、実施の形態5のキースキャン回路310はアプリケーションモードで動作し、「SPACE」キーに対応する二つのキースイッチのうち何れの入力信号でも、「SPACE」キーが押下されたとものとして扱う。
 上記実施の形態及び上記補足をそれぞれ組み合わせるとしてもよい。
 本発明は、キーマトリクス構造を有するキー入力装置に広く適用可能である。
  10 携帯電話機
  100 アンテナ
  200 無線通信部
  300 キー入力装置
  310 キースキャン回路
  311 受信部
  312 生成部
  313 テーブル保持部
  314 カウント部
  315 判定部
  316 出力制御部
  320 キーセンスプルアップ回路
  330 キーマトリクス回路
  400 ROM
  500 制御部

Claims (11)

  1.  複数本の信号線がマトリクス状に配線され、行信号線と列信号線との交差部分にキースイッチが設置されてなるキーマトリクス回路と、
     前記キーマトリクス回路から、各行信号線と各列信号線との導通に関する第1検出情報を受信する受信部と、
     前記第1検出情報に基づいて、三つ以上のキースイッチがユーザにより同時にオンされており、かつ、押下されていないキースイッチに関する導通を誤検出している可能性があるか判定する判定部と、
     三つ以上のキースイッチがユーザにより同時にオンされており、かつ、押下されていないキースイッチに関する導通を誤検出している可能性があると判定されなかった場合には、前記第1検出情報に基づいてユーザによりオンされたキースイッチに応じた情報を出力し、
     三つ以上のキースイッチがユーザにより同時にオンされており、かつ、押下されていないキースイッチに関する導通を誤検出している可能性があると判定された場合には、前記第1検出情報に基づく出力を抑止する出力制御部と
     を備えるキー入力装置。
  2.  前記判定部による前記判定は、二以上の列信号線と導通している行信号線が複数存在し、かつ、二以上の行信号線と導通している列信号線が複数存在するかを判定することによりなされ、
     三つ以上のキースイッチがユーザにより同時にオンされており、かつ、押下されていないキースイッチに関する導通を誤検出している可能性があると判定されなかった場合とは、二以上の列信号線と導通している行信号線の数及び二以上の行信号線と導通している列信号線の数の少なくとも一方が二未満の場合であり、
     三つ以上のキースイッチがユーザにより同時にオンされており、かつ、押下されていないキースイッチに関する導通を誤検出している可能性があると判定された場合とは、二以上の列信号線と導通している行信号線が複数存在し、かつ、二以上の行信号線と導通している列信号線が複数存在する場合である
     請求項1記載のキー入力装置。
  3.  前記キーマトリクス回路は、キースイッチが設置されていない、行信号線と列信号線との交差部分を含み、
     キースイッチが設置されていない交差部分を示すキースイッチ未設置情報を記憶している記憶部と、
     行信号線と列信号線とが導通していることを示す情報のうち前記キースイッチ未設置情報に対応する情報を前記第1検出情報が含む場合に、当該情報を行信号線と列信号線とが導通していないことを示す情報に書き換えたものである第2検出情報を生成する生成部と
     をさらに有し、
     前記判定部による判定は、前記第1検出情報に基づいて生成された前記第2検出情報に基づいて行われる
     請求項2記載のキー入力装置。
  4.  前記記憶部は、さらに、前記複数のキースイッチのうち第1キースイッチと第2キースイッチとを対応付けて記憶しており、
     前記生成部は、行信号線と列信号線とが導通していることを示す情報のうち前記第1キースイッチに対応する情報を前記第2検出情報が含む場合に、行信号線と列信号線とが導通していることを示す情報のうち前記第2キースイッチに対応する情報を前記第2検出情報が含んでいれば、当該情報を行信号線と列信号線とが導通していないことを示す情報に書き換えたものである第3検出情報を生成し、
     前記判定部による判定は、前記第2検出情報に基づいて生成された前記第3検出情報に基づいて行われる
     請求項3記載のキー入力装置。
  5.  前記複数のキースイッチの夫々に対応するキーからなるキー群を含み、
     前記キー群は、コントロールキー、オルトキー、及びシフトキーを含み、
     これらコントロールキー、オルトキー、及びシフトキーに対応するキースイッチのうち何れか二つを同一の行信号線または同一の列信号線に設置せず、かつ、残りの一つを前記何れか二つの一方と同一の行信号線及び他方と同一の列信号線となる位置以外に設置する
     請求項2記載のキー入力装置。
  6.  前記複数のキースイッチの夫々に対応するキーからなるキー群を含み、
     前記キー群は、0から9までの数字キーを含み、
     0から9までの数字キーに対応するキースイッチのうちどの三つのキースイッチにおいても、そのうちの何れか二つを同一の行信号線または同一の列信号線に設置せず、かつ、残りの一つを前記何れか二つの一方と同一の行信号線及び他方と同一の列信号線となる位置以外に設置する
     請求項2記載のキー入力装置。
  7.  前記複数のキースイッチの夫々は、キーキャップに覆われており、
     前記複数のキースイッチのうち何れか二つのキースイッチは、共通する一のキーキャップに覆われており、当該二つのキースイッチを同一の行信号線に設置せず、かつ、同一の列信号線に設置しない
     請求項2記載のキー入力装置。
  8.  前記キーマトリクス回路は、キースイッチが設置されていない、行信号線と列信号線との交差部分を含み、
     キースイッチが設置されていない交差部分を示すキースイッチ未設置情報を記憶している記憶部と、
     行信号線と列信号線とが導通していることを示す情報のうち前記キースイッチ未設置情報に対応する情報を前記第1検出情報が含む場合に、当該情報を行信号線と列信号線とが導通していないことを示す情報に書き換えたものである第2検出情報を生成する生成部と
     をさらに有し、
     前記判定部による前記判定は、前記第1検出情報または前記第1検出情報に基づいて生成された前記第2検出情報に基づいて、行信号線と列信号線とが導通している数が四つ以上かを判定することによりなされ、
     三つ以上のキースイッチがユーザにより同時にオンされており、かつ、押下されていないキースイッチに関する導通を誤検出している可能性があると判定されなかった場合とは、行信号線と列信号線とが導通している数が四つ未満の場合であり、
     三つ以上のキースイッチがユーザにより同時にオンされており、かつ、押下されていないキースイッチに関する導通を誤検出している可能性があると判定された場合とは、行信号線と列信号線とが導通している数が四つ以上の場合である
     請求項1記載のキー入力装置。
  9.  前記複数のキースイッチの夫々は、キーキャップに覆われており、
     前記複数のキースイッチのうち何れか二つのキースイッチは、共通する一の同一キーキャップに覆われており、
     前記二つのキースイッチを示す情報を記憶している記憶部をさらに有し、
     前記判定部は、行信号線と列信号線とが導通している数が4つ以上かを判定する際、行信号線と列信号線とが導通していることを示す情報のうち前記記憶部に記憶されている二つのキースイッチに対応する情報を前記第2検出情報が含む場合には、当該二つのキースイッチに関して導通している数は一つであるとしてカウントする
     請求項8記載のキー入力装置。
  10.  前記二つのキースイッチを同一の行信号線に設置せず、かつ、同一の列信号線に設置しない
     請求項9記載のキー入力装置。
  11.  請求項1記載のキー入力装置を備え、前記キー入力装置に設置されたキースイッチがテンキー及び十字キーを示すキーキャップに覆われている携帯通信端末。
PCT/JP2009/005977 2008-11-26 2009-11-10 キー入力装置、及びキー入力装置を備えた携帯通信端末 Ceased WO2010061543A1 (ja)

Priority Applications (3)

Application Number Priority Date Filing Date Title
US13/131,248 US8947362B2 (en) 2008-11-26 2009-11-10 Key input device and mobile communication terminal using the key input device
CN200980147478.4A CN102227698B (zh) 2008-11-26 2009-11-10 按键输入装置及具备按键输入装置的便携通信终端
KR1020117014455A KR101279029B1 (ko) 2008-11-26 2009-11-10 키 입력 장치

Applications Claiming Priority (4)

Application Number Priority Date Filing Date Title
JP2008301613A JP5203150B2 (ja) 2008-11-26 2008-11-26 キー入力装置、及びキー入力装置を備えた携帯通信端末
JP2008-301614 2008-11-26
JP2008301614A JP5140562B2 (ja) 2008-11-26 2008-11-26 キー入力装置、及びキー入力装置を備えた携帯通信端末
JP2008-301613 2008-11-26

Publications (1)

Publication Number Publication Date
WO2010061543A1 true WO2010061543A1 (ja) 2010-06-03

Family

ID=42225433

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/JP2009/005977 Ceased WO2010061543A1 (ja) 2008-11-26 2009-11-10 キー入力装置、及びキー入力装置を備えた携帯通信端末

Country Status (4)

Country Link
US (1) US8947362B2 (ja)
KR (1) KR101279029B1 (ja)
CN (1) CN102227698B (ja)
WO (1) WO2010061543A1 (ja)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP3982543A4 (en) 2019-06-06 2023-01-18 Darfon Electronics Corp. KEY SCANNING METHOD, SCANNING METHOD USED FOR KEY SCANNING CIRCUIT, AND INPUT DEVICE
US12124638B2 (en) * 2019-06-06 2024-10-22 Darfon Electronics Corp. Key scanning method and input device implemented therewith
TWI715061B (zh) * 2019-06-06 2021-01-01 達方電子股份有限公司 按鍵掃描方法、使用於按鍵掃描電路的掃描方法及輸入裝置

Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6132127A (ja) * 1984-07-24 1986-02-14 Alps Electric Co Ltd キーボードのキーコード出力装置
JPS6155725A (ja) * 1984-08-28 1986-03-20 Fujitsu Ltd キ−ボ−ド装置

Family Cites Families (10)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3792466A (en) * 1972-05-31 1974-02-12 Mos Technology Inc Keyboard entry system with n-key rollover and n-key lockout protection
IT1163101B (it) * 1983-02-14 1987-04-08 Oronzio De Nora Impianti Anodi a bassa sovratensione di ossigeno a base di piombo attivati superficialmente e procedimento di attivazione
JPS59157298A (ja) 1983-02-25 1984-09-06 Mitsui Eng & Shipbuild Co Ltd 構造材料の製造方法
JPS63149717A (ja) 1986-12-13 1988-06-22 Fujitsu Ltd 押下キ−の検出方式
JP2656975B2 (ja) 1989-05-31 1997-09-24 株式会社寺岡精工 キー入力装置
JPH05189116A (ja) 1992-01-16 1993-07-30 Sony Corp キースキャン回路
US7391861B2 (en) * 2000-05-22 2008-06-24 Digit Wireless, Llc Input devices and their use
JP3084018U (ja) 2001-08-09 2002-02-28 英群企業股▲ふん▼有限公司 多機能ホットキーキーボード
KR100826532B1 (ko) 2006-03-28 2008-05-02 엘지전자 주식회사 이동 통신 단말기 및 그의 키 입력 검출 방법
KR20080026261A (ko) 2006-09-20 2008-03-25 엘지전자 주식회사 키 인식 제어방법

Patent Citations (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS6132127A (ja) * 1984-07-24 1986-02-14 Alps Electric Co Ltd キーボードのキーコード出力装置
JPS6155725A (ja) * 1984-08-28 1986-03-20 Fujitsu Ltd キ−ボ−ド装置

Also Published As

Publication number Publication date
KR20110088589A (ko) 2011-08-03
US20110234499A1 (en) 2011-09-29
KR101279029B1 (ko) 2013-07-02
US8947362B2 (en) 2015-02-03
CN102227698B (zh) 2014-04-02
CN102227698A (zh) 2011-10-26

Similar Documents

Publication Publication Date Title
KR100916619B1 (ko) 핸드헬드 모바일 통신 장치
CN1965287B (zh) 在手持移动通信设备中输入符号的用户界面
KR100846410B1 (ko) 키보드 배열
CN1322400C (zh) 紧凑的字母数字键盘
US20040067762A1 (en) Method and device for entering text
WO2010048519A2 (en) Alternative inputs of a mobile communications device
WO2010061543A1 (ja) キー入力装置、及びキー入力装置を備えた携帯通信端末
KR100617753B1 (ko) 키 입력이 용이한 키 인터페이스 장치 및 이것이 적용된전자기기
JPWO2003107632A1 (ja) 電子機器
JP5203150B2 (ja) キー入力装置、及びキー入力装置を備えた携帯通信端末
JP5140562B2 (ja) キー入力装置、及びキー入力装置を備えた携帯通信端末
JP2011107804A (ja) 情報処理装置
KR101261227B1 (ko) 가상 키보드 입력 장치 및 그의 데이터 입력 방법
JP4891825B2 (ja) キー操作装置、及び携帯端末装置
US20090116633A1 (en) Method for displaying dialing information and mobile communication device using the method
US8010163B2 (en) Method for displaying dialing information and mobile communication device using the method
JP3037314B1 (ja) キ―入力装置
KR20060109578A (ko) 휴대용 단말기 및 그의 쿼티 키패드 문자입력모드 전환방법
KR100715787B1 (ko) 회전에 따라 문자입력모드를 전환하는 이동통신단말기
CN101122809A (zh) 手持式电子装置及其运作方法
KR20060108065A (ko) 디지털 단말기 알파벳 입력시스템
US20100127898A1 (en) Input apparatus, input method and electronic apparatus using the same
JP5475580B2 (ja) 携帯電子機器及びその制御方法
JP2011107803A (ja) 情報処理装置
JP2010015282A (ja) キー入力装置、情報処理装置、キー入力方法及びプログラム

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 200980147478.4

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 09828793

Country of ref document: EP

Kind code of ref document: A1

WWE Wipo information: entry into national phase

Ref document number: 13131248

Country of ref document: US

NENP Non-entry into the national phase

Ref country code: DE

ENP Entry into the national phase

Ref document number: 20117014455

Country of ref document: KR

Kind code of ref document: A

122 Ep: pct application non-entry in european phase

Ref document number: 09828793

Country of ref document: EP

Kind code of ref document: A1