EP0217283A2 - Key circuit - Google Patents

Key circuit Download PDF

Info

Publication number
EP0217283A2
EP0217283A2 EP86113145A EP86113145A EP0217283A2 EP 0217283 A2 EP0217283 A2 EP 0217283A2 EP 86113145 A EP86113145 A EP 86113145A EP 86113145 A EP86113145 A EP 86113145A EP 0217283 A2 EP0217283 A2 EP 0217283A2
Authority
EP
European Patent Office
Prior art keywords
signals
key
signal
time
channel mos
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.)
Granted
Application number
EP86113145A
Other languages
German (de)
French (fr)
Other versions
EP0217283B1 (en
EP0217283A3 (en
Inventor
Hiroshi C/O Patent Division K.K. Toshiba Ushiki
Tetsuaki Iwasaki
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.)
Toshiba Corp
Tosbac Computer System Co Ltd
Original Assignee
Toshiba Corp
Tosbac Computer System Co 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 Toshiba Corp, Tosbac Computer System Co Ltd filed Critical Toshiba Corp
Publication of EP0217283A2 publication Critical patent/EP0217283A2/en
Publication of EP0217283A3 publication Critical patent/EP0217283A3/en
Application granted granted Critical
Publication of EP0217283B1 publication Critical patent/EP0217283B1/en
Anticipated expiration legal-status Critical
Expired - Lifetime legal-status Critical Current

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR 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
    • 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/20Dynamic coding, i.e. by key scanning

Definitions

  • This invention relates to the key circuits used in small electronic calculators with key switches, and more particularly to key circuits contained in low power con­sumption integrated circuits or integrated circuits in which key switch on-resistance or load capacity may pre­sent a problem.
  • CMOS complementary metal oxide semiconductor
  • C2 clock synchronized comple­mentary MOS structure
  • the power consumption can be limited to only several microamperes. Since the power consumption is small, solar cells can be used as a means of power sup­ply.
  • the read-in of key signals is performed by using the difference of on-resistance between P-channel and N-channel MOS tran­sistors.
  • Fig. 1 shows an example of a conventional key cir­cuit.
  • Figs. 2A to Fig. 2P illustrate timings of signals at various portions in the key circuit when key switch 366 provided between external terminals 32 and 34 is closed.
  • Fig. 2A represents reference pulse signal P
  • Fig. 2B is sinchronizing signal ⁇ A
  • Figs. 2C and 2D are the output signals Q1 and Q2 of binary counters 11 and 12
  • Figs. 2E to 2H are time-division signals D1 to D4, which are output from decoder 13
  • Figs. 2I to 2L are external signals VK1 to VK4, which are input to exter­nal terminals 31 to 34, respectively.
  • Figs. 2M to 2P are key signals KA to KD, which are output from latch circuits 53 to 56.
  • Time-division signals D1 to D4 are then inverted by inverters 14 to 17, respectively, and input to buffer circuits 26 to 29.
  • Buffer circuit 26 is composed of P-­channel MOS transistor 18 and N-channel MOS transistor 22, which are connected in series between power supply potential V DD and reference potential V SS .
  • the gates of transistors 18 and 22 are connected.
  • Buffer circuit 27 is composed of P-channel MOS transistor 19 and N-channel MOS transistor 23, which are also connected in series between power supply potential V DD and reference poten­tial V SS .
  • the gates of transistors 19 and 23 are connected.
  • Buffer circuit 28 is composed of P-channel MOS transistor 20 and N-channel MOS transistor 24, which are connected in series between power supply potential V DD and reference potential V SS .
  • Buffer circuit 29 is composed of P-channel MOS transistor 21 and N-channel MOS transistor 25, which are connected in series between power supply potential V DD and reference potential V SS .
  • the gates of transistors 21 and 25 are connected.
  • the output signals of buffer circuits 26 to 29 are supplied to external terminals 31 to 34, respectively.
  • Terminal 31 is used exclusively for output, and ter­minals 32 to 34 both for input and output.
  • External terminal 35 is used for input purposes.
  • Touch-switch type key switches 351 to 3610 are used between each of pair of the adjacent terminals 31 to 35.
  • the output signals of inverters 15 to 17, which are inversions of time-division signals D2, D3 and D4, are input to AND gate 37.
  • the signal from external terminal 32 is also input to AND gate 37.
  • the output signals of inverters 16 and 17, which are inversions of time-division signals D3 and D4, and also the signal from external terminal 33 are input to AND gate 38.
  • the output signal of inverter 17, which is the inversion of time-division signal D4, and also the signal from external terminal 34 are input to AND gate 39.
  • N-channel MOS transistor 40 which is always in the ON state and whose gate is connected to power supply potential V DD , is connected between exter­nal terminal 35 and the reference potential V SS .
  • the output signals of AND gates 37 to 39 are input and latched into latch circuits 53 to 55, respectively.
  • the signals of AND gates 37 to 39 are synchronized with synchronizing signal ⁇ A (Fig. 2B), and output as key signals KA to KC (Figs. 2M to 2O).
  • the signal from ex­ternal terminal 35 is input and latched into latch cir­cuit 56, where it is synchronized with synchronizing signal ⁇ A, and output as key signal KD (Fig. 2P).
  • Latch circuit 53 is composed of clocked inverter 41, which receives the output signal from AND gate 37, and operates in synchronism with synchronizing signal ⁇ A; inverter 45, which inverts the output of clocked inverter 41; and clocked inverter 49, which is connected in in­verse parallel with inverter 45, and operates in syn­chronism with the inverted signal of synchronizing signal ⁇ A.
  • Latch circuit 54 is composed of clocked in­verter 42, which receives the output signal from AND gate 38, and operates in synchronism with synchronizing signal ⁇ A; inverter 46, which inverts the output of clocked inverter 42; and clocked inverter 50, which is connected in inverse parallel with inverter 46, and operates in synchronism with the inverted signal of synchronizing signal ⁇ A.
  • Latch circuit 55 is composed of clocked inverter 43, which receives the output signal from AND gate 39, and operates in synchronism with syn­chronizing signal ⁇ A; inverter 47, which inverts the output of clocked inverter 43; and clocked inverter 51, which is connected in inverse parallel with inverter 47, and operates in synchronism with the inverted signal of synchronizing signal ⁇ A.
  • Latch circuit 56 is composed of clocked inverter 44, which receives the output signal from external terminal 35 and operates in synchronism with synchronizing signal ⁇ A; inverter 48, which inverts the output of clocked inverter 44; and clocked inverter 52, which is connected in inverse parallel with inverter 48, and operates in synchronism with synchronizing signal ⁇ A.
  • Parasitic capacitance is present between external terminals 31 to 35, and between each external terminal and power supply potential V DD or reference potential V SS .
  • V DD or reference potential V SS power supply potential
  • capacitances 57 to 61 are shown in Fig. 1.
  • time-division signals D1 to D4 are generated in decoder 13, phase-inverted by inverters 14 to 17, and input to AND gates 37 to 39 respectively.
  • the signals to , and the signals output from external terminals 32 to 34 are then ANDed by AND gates 37 to 39.
  • These AND signals are then input to the latch circuits, and key signals KA to KD, which correspond to the selective closing of key switches 361 to 3610, are obtained.
  • the dimensions of P-channel MOS transistors 18 to 21 with on-resistance of Rp and N-channel MOS transistors 22 to 25 and 40 with on-resistance of Rn are set so that Rp is smaller than Rn (Rp ⁇ Rn).
  • key signals KA to KD will be logic levels "0", “0", “1” and "0", respectively. With detection of these key signals KA to KD, it can be understood that key switch 366 is closed.
  • Fig. 3 is an equivalent circuit of the circuit shown in Fig. 1, when key switch 366 is closed.
  • Capacitor C represents the external load capacitance of external terminals 32 and 34, or parasitic capacitance.
  • Figs. 4A to 4E show the timing charts at various portions in the equivalent circuit of Fig. 3.
  • the P-channel MOS transistor 19 in buffer circuit 27 is turned on.
  • the time-division signal D4 is at "0" level and N-channel MOS transistor 25 in buffer circuit 29 is also turned on.
  • the po­tential VK2 is determined by the voltage division of the on-resistance Rp of the P-channel MOS transistor 19 in buffer circuit 27, the on-resistance Rkey of key switch 366, and the on-resistance Rn of N-channel MOS transis­tor 25 in buffer circuit 29.
  • time-division signal D4 is "1" level
  • P-­channel MOS transistor 21 in buffer circuit 29 is in the ON state.
  • Time-division signal D2 is at "0" level, and N-channel MOS transistor 23 in buffer circuit 29 is ON.
  • the potential VK4 at external terminal 34 is de­termined by the voltage division produced by the on-­resistance Rp of P-channel MOS transistor 21 in buffer circuit 29, the on-resistance Rkey of key switch 366, and the on-resistance Rn of N-channel MOS transistor 23 in buffer circuit 27.
  • through-current Ishort depends on the on-resistance Rn of N-channel MOS transistors 23 and 25 in buffer circuits 27 and 29. The larger these values is, the lower the through-­current value is.
  • VK2 Rn ⁇ V DD /(Rp + Rkey + Rn) ...2
  • an object of this invention is to pro­vide a key circuit which can be manufactured at low cost, and in which a through-current is small and a characteristic of a key input margin is improved.
  • a key circuit comprising: a plurality of external terminals; a plurality of key switches inserted between each of different pairs of the external terminals; a logic circuit for generating a plurality of time-division signals on the basis of a reference pulse signal, and for stopping the generation of said time-­division signals during a blanking period with a prede­termined time duration; a plurality of buffer circuits for outputting sig­nals supplied to the plurality of the external termi­nals; a detection circuit for detecting the closed key switches of the plurality of the key switches on the basis of the time-division signal and signals derived from the external terminals for key signal inputting; and a plurality of switch means inserted between each of the plurality of the external terminals and a refer­ence potential, the switch means being conductive during the blanking period.
  • Fig. 5 shows a block diagram of the key circuit according to an embodiment of this invention.
  • Figs. 6A to 6T show the timing charts of the sig­nals at various portions of the key circuit when key switch 366 between external terminals 32 and 34 is closed.
  • Fig. 6A shows the reference pulse signal P.
  • Fig. 6B shows the synchronizing signal ⁇ A.
  • Figs. 6C and 6D show the output signals Q1 and Q2 of counters 11 and 12.
  • Figs. 6E to 6H show the time-division signals D1 to D4.
  • Figs. 6I to 6L show inverted logic product signals D1' to D4', which are output from NAND gates 71 to 74 respectively.
  • Figs. 6M to 6P illustrate signals VK1 to VK4, which appear at external terminals 31 to 34.
  • Figs. 6Q to 6T show key signals KA to KD, which are out­put from latch circuits 53 to 56.
  • the inverters 14 to 17 of the Fig. 1 circuit are replaced by NAND gates 71 to 74.
  • Time-division signals D1 to D4 from decoder 13 are supplied to these NAND gates 71 to 74.
  • the fixed period reference pulse signal P is input, as a blanking signal.
  • N-channel MOS transistors 75 to 78 which have lower on-resistance than N-channel MOS transistors 22 to 25, respectively, are provided between each external terminal 31 to 34 and the refer­ence potential V SS .
  • N-channel MOS transistor 79 which has a lower on-resistance than N-channel tran­sistor 40, is used between external terminal 35 and the reference potential V SS .
  • Reference pulse signal P is phase-inverted by inverter 80, and input to the gates of MOS transistors 75 to 79.
  • Counter 11 receives the fixed period reference pulse signal P (Fig. 6A), and counts it. When counter 11 has counted a specified number of pulse of signal P, it outputs pulse signal Q1 (Fig. 6C). Pulse signal Q1 is input to, and counted by counter 12. When counter 12 has counted a specified number of pulses of signals Q1, it outputs pulse signal Q2. Pulse signals Q1 and Q2 output from counters 11 and 12 are input to decoder 13. Decoder 13 generates time-division signals D1 to D4 (Figs. 6E to 6H) on the basis of pulse signals Q1 to Q2, and outputs them.
  • Time-division signals D1 to D4 are input to one input terminals of each NAND gate 71 to 74.
  • the refer­ence pulse signal P is input to the other input terminal of each NAND gate 71 to 74.
  • the output signals of NAND gates 71 to 74 are input to buffer circuits 26 to 29, respectively.
  • Buffer circuit 26 is composed of P-­channel MOS transistor 18 and N-channel MOS transistor 22, which are connected in series between power supply potential V DD and reference potential V SS .
  • the gates of transistors 18 and 22 are connected.
  • Buffer circuit 27 is composed of P-channel MOS transistor 19 and N-channel MOS transistor 23, which are connected in series between power supply potential V DD and reference potential V SS .
  • the gates of transistors 19 and 23 are connected.
  • Buffer circuit 28 is composed of P-channel MOS transis­tor 20 and N-channel MOS transistor 24, which are con­nected in series between power supply potential V DD and reference potential V SS .
  • the gates of transistors 20 and 24 are connected.
  • Buffer circuit 29 is composed of P-channel MOS transistor 21 and N-channel MOS transistor 25, which are connected in series between power supply potential V DD and reference potential V SS .
  • the gates of transistors 21 and 25 are connected.
  • the output signals from buffer circuits 26 to 29 are input to external terminals 31 to 34, respectively.
  • Terminal 31 is used exclusively for output, and terminals 32 to 34 are used for both input and output.
  • External terminal 35 is used as an input terminal.
  • Touch-switch type key switches 361 to 3610 are each used between each of the terminals 31 to 35.
  • the output signals of NAND gates 72 to 74 which are the inverted AND signals D2', D3' and D4' of time-division signals D2, D3 and D4, and reference pulse signal P are input to AND gate 37.
  • the signal from external terminal 32 is also input to AND gate 37.
  • NAND gates 73 and 74 which are inverted AND signals D3' and D4' of time-division sig­nals D3 and D4, and reference pulse signal P are input to AND gate 38.
  • the signal from external terminal 33 is also input to AND gate 38.
  • the output signal of NAND gate 74 which is the inverted AND signal D4' of time-­division signal D4 and reference pulse signal P are input to AND gate 39, and the signal from external ter­minal 34 is also input to AND gate 39.
  • N-channel MOS transistor 40 which is always in the ON state, and the gate of which is connected to the power supply potential V DD , is connected between external terminal 35 and the reference potential V SS .
  • the output signals of AND gates 37 to 39 are input to latch circuits 53 to 55, and latch­ed and synchronized with synchronizing signal ⁇ A, finally and output as key signals KA to KC.
  • the signal from ex­ternal terminal 35 is latched into latch circuit 56, synchronized with synchronizing signal ⁇ A, and output as key signal KD.
  • Latch circuit 53 is composed of clocked inverter 41, which receives the output signal of AND gate 37, and which operates in synchronism with synchro­nizing signal ⁇ A; inverter 45, which inverts the output signal of clocked inverter 41; and clocked inverter 49, which is connected in inverse parallel with inverter 45 and operates in synchronism with the inverted signal of synchronizing signal ⁇ A.
  • Latch circuit 54 is composed of clocked inverter 42, which receives the output signal of AND gate 38, and operates in synchronism with syn­chronizing signal ⁇ A; inverter 46 which inverts the out­put signal of clocked inverter 42; and clocked inverter 50, which is connected in inverse parallel with inverter 46, and operates in synchronism with synchronizing sig­nal ⁇ A.
  • Latch circuit 55 is composed of clocked inver­ter 43, which receives the output of AND gate 39, and operates in synchronism with synchronizing signal ⁇ A; inverter 47, which inverts the output signal of clocked inverter 43; and clocked inverter 51, which is connected in inverse parallel with inverter 47, and operates in synchronism with synchronizing signal ⁇ A.
  • Latch circuit 56 is composed of clocked inverter 44, which receives the output signal of external terminal 35, and operates in synchronism with synchronizing signal ⁇ A; inverter 48, which inverts the output signal of clocked inverter 44; and clocked inverter 52, which is connected in in­verse parallel with inverter 48, and operates in syn­chronism with synchronizing signal ⁇ A.
  • the inverted logical products D1' to D4' of these signals D1 to D4 and the reference pulse signal P are generated by NAND gates 71 to 74. These logical product signals are input to AND gates 37 to 39, which then lo­gically multiply these signals and the signals coming from external terminals 32 to 34. These logical pro­duct signals are applied to a latch circuit. On the basis of the signals as input to the latch circuit, key signals KA to KD are obtained, which correspond to selective closings of key switches 361 to 3610.
  • the dimensions of P-channel MOS transistors 18 to 21 each with on-­resistance of Rp, and N-channel MOS transistors 22 to 25 and 40 each with on-resistance of Rn, are set so that Rp is smaller than Rn (Rp ⁇ Rn).
  • Parasitic capacitance is present between external terminals 31 to 35, and between each external terminal and power supply potential V DD or reference potential V SS .
  • V DD or reference potential V SS power supply potential
  • Fig. 9 shows the detailed circuit of decoder 13 in the key circuit of Fig. 5.
  • the decoder shown in Fig. 9 is composed of NOR gates 91 and 92, AND gates 93 and 94, and inverter 95.
  • NOR gate 91 receives the output signal Q1 of counter 11 and output signal Q2 of counter 12, and outputs their inversed logical product as time-division signal D1.
  • NOR gate 92 receives as input signals signal Q2 and signal as phase-inverted to signal Q1 by in­verter 95, and outputs their inversed logical product as time-division signal D2.
  • AND gate 93 receives signal Q2 and signal as phase-inverted to signal Q1 by in­verter 95, and outputs the AND signal as time-division signal D3.
  • AND gate 94 receive signals Q1 and Q2, and outputs their logical product signal as time-division signal D4.
  • time-division signals D1 to D4 which are output from decoder 13, are supplied to NAND gates 71 to 74, respectively.
  • Pulse signal P is also supplied to NAND gates 71 to 74.
  • the signals D1' to D4', output from NAND gates 71 to 74 will be forced to remain at level "1".
  • the period during which signal P is at "0" level is used as the blanking period.
  • the outputting of time-division signals D1' to D4' is essen­tially stopped.
  • Fig.7 is an equivalent circuit diagram of the Fig. 5 circuit, when key switch 366 is closed.
  • Figs. 8A to 8E show the timing charts of the signals at various por­tions of the equivalent circuit diagram of Fig.8.
  • the equivalent circuit is composed of NAND gates 72 and 74, buffer circuits 27 and 29, external terminals 32 and 34, N-channel MOS transistors 76 and 78, AND gates 37 and 39, inverter 80, and the on-resistance Rkey of key switch 366, which is connected between external terminals 32 and 34.
  • C repre­sents an external load capacitance of external terminals 32 and 34, viz. parasitic capacitance.
  • time-division signal D2 is "1" level
  • pulse signal P is changed to "1" level
  • output signal D2' of NAND gates 72 will be “0” level
  • P-channel MOS transistor 19 in buffer circuit 27 will be in the ON state.
  • time-division signal D4 is "0" level
  • the signal D4' output from NAND gate 74 will be "1” level
  • N-channel MOS transistor 25 in buffer circuit 29 will be in an ON state.
  • the value of potential VK2 at terminal 32 is determined by the voltage division, which is made by the on-resistance Rp of P-channel MOS transistor 19 in buffer circuit 27, the on-resistance Rkey of key switch 366, and the on-­resistance Rn of N-channel MOS transistor 25 in buffer circuit 29.
  • a through-current flows between the power supply potential V DD and reference potential V SS .
  • the period in which the through-current is generated is half that of the con­ventional circuit, because the period in which signal D2' is at "0" level is half the "1" level period of the original D2 signal.
  • time-division signal D4 is "1" level
  • pulse signal P is changed to "1” level
  • output signal D4' of NAND gates 74 will be “0” level
  • P-channel MOS transistor 21 in buffer circuit 29 will be in the ON state.
  • time-­division signal D2 is "0” level
  • the signal D2' output from NAND gate 72 will be “1” level
  • N-channel MOS transistor 23 in buffer circuit 27 will be in the ON state.
  • the value of potential VK4 (the same as potential VK2) at terminal 34 is determined by the voltage division, which is made by the on-resistance Rp of P-channel MOS transistor 21 in buffer circuit 29, the on-resistance Rkey of key switch 366, and the on-­resistance Rn of N-channel MOS transistor 23 in buffer circuit 27.
  • a through-current flows between the power supply potential V DD and reference potential V SS .
  • the period in which the through-current is generated is half that of the con­ventional circuit, because the period in which signal D4' is at "0" level is half the "1" level period of the original D4 signal.
  • N-­channel MOS transistors 23 and 25 in buffer circuits 27 and 29 are placed in the ON state, and the load capaci­tance C of key switch 366 is discharged.
  • the pulse signal P is now at "0" level, that is, during the blank­ing period, N-channel MOS transistors 76 and 78 are turned on by the output signal of inverter 80, which inverts pulse signal P, and the load capacitance C is discharged via the parallel connected transistors 23 and 76, or through transistors 25 and 78.
  • external terminals 32 and 34 are quickly discharged, and the po­tentials VK2 and VK4 are quickly changed to "0" level. For this reason, the time period corresponding to time period T1 of Figs. 4A to 4E is reduced greatly, and the input signal of AND gate 37 or 39 will be "0" until the clock signal ⁇ A level falls.
  • the blank period is provided in the time di­visional signal.
  • external terminals 31 to 35 are abruptly discharged by N-channel MOS transistors 75 to 79. Therefore, the reciprocal problems of the through-current and the key input margin can be solved simultaneously. Therefore, it is not nec­essary to control the values of on-resistance of N-­channel MOS transistors 22 to 25 in buffer circuits 26 to 29 as accurately as was necessary before, and the excessive limitations on the process parameters in fab­ricating of the integrated circuits is not necessary. Also, the on-resistance of key switch 36 does not cause a problem. Sufficient speed discharge can be obtained without having to use a key switch 36 with a small capa­citance. Due to the above features, production cost can be greatly reduced.
  • the blank periods of the time divisional signals D1 to D4 are formed by using the reference pulse signal P. It is noted, however, that the reference pulse signal may be replaced by any signal, if it does not contain the "1" level period of the clock signal ⁇ A as the latch control signal for latch circuits 53 to 56.
  • the present invention success strictlyfully provides the key circuit with reduced cost to manufacture, in which a through-current is small and a characteristic of a key input margin can be increased.

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)
  • Electronic Switches (AREA)
  • Logic Circuits (AREA)
  • Input From Keyboards Or The Like (AREA)
  • Liquid Crystal Display Device Control (AREA)

Abstract

A plurality of key switches (36₁-36₁₀) are provided between each pair of external terminals (31-35). A logic circuit (13, 71-74) generates time-division sig­nals sequentially. The logic circuits stops the genera­tion of these time-division signals during a blanking period with a predetermined time duration, thereby to stop the through-current during this period. The plura­lity of time-division signals are input to a plurality of buffer circuits (26-29). The outputs of the buffer circuits are supplied to the external output. Detection circuits (37-39, 53-56) detect only the operated key switches on the basis of the time-division signals and the signals from the external terminals exclusively used for key signal inputting. A plurality of switch means (75-79) are provided between each of the external ter­minals and the reference potential (V<sub>ss</sub>). These switch means are conductive during the blanking period to im­prove the drive capability for external load.

Description

  • This invention relates to the key circuits used in small electronic calculators with key switches, and more particularly to key circuits contained in low power con­sumption integrated circuits or integrated circuits in which key switch on-resistance or load capacity may pre­sent a problem.
  • With the development of large scale integrated cir­cuits, integrated circuits with CMOS (complementary metal oxide semiconductor) structure, particularly the clock synchronized type, C² (clock synchronized comple­mentary) MOS structure, have been employed for electron­ic calculators or electronic clocks. With the use of these MOS structure integrated circuits, regardless of whether the circuits perform calculation or display functions, the power consumption can be limited to only several microamperes. Since the power consumption is small, solar cells can be used as a means of power sup­ply. In this type of integrated circuits, the read-in of key signals is performed by using the difference of on-resistance between P-channel and N-channel MOS tran­sistors. Accordingly, if the factors, such as duty of the pulse signal for controlling the ON/OFF operation of these transistors or on-resistances of these transistors, is not considered, a large current (through-current) will flow through these transistors over a significantly long period of time.
  • Fig. 1 shows an example of a conventional key cir­cuit.
  • Figs. 2A to Fig. 2P illustrate timings of signals at various portions in the key circuit when key switch 36₆ provided between external terminals 32 and 34 is closed. Fig. 2A represents reference pulse signal P, Fig. 2B is sinchronizing signal φA, Figs. 2C and 2D are the output signals Q1 and Q2 of binary counters 11 and 12, Figs. 2E to 2H are time-division signals D1 to D4, which are output from decoder 13, Figs. 2I to 2L are external signals VK1 to VK4, which are input to exter­nal terminals 31 to 34, respectively. Figs. 2M to 2P are key signals KA to KD, which are output from latch circuits 53 to 56.
  • In the key circuit of Fig. 1, two binary counters 11 and 12 are connected in series. Counter 11 is input with a fixed period reference pulse signal P (Fig. 2A), and counts it. When counter 11 has counted a predeter­mined number of pulse signals P, it outputs pulse signal Q1 (Fig. 2C). Output pulse signal Q1 is then input to counter 12, and counted. When counter 12 has counted a predetermined number of pulse signals Q1, it output pulse signal Q2. (Fig. 2D). The output pulses Q1 and Q2 of counters 11 and 12 are input to decoder 13. De­coder 13 generates and outputs time-division signals D1 to D4, (Figs. 2E to 2H) based on pulse signals Q1 and Q2. Time-division signals D1 to D4 are then inverted by inverters 14 to 17, respectively, and input to buffer circuits 26 to 29. Buffer circuit 26 is composed of P-­channel MOS transistor 18 and N-channel MOS transistor 22, which are connected in series between power supply potential VDD and reference potential VSS. The gates of transistors 18 and 22 are connected. Buffer circuit 27 is composed of P-channel MOS transistor 19 and N-channel MOS transistor 23, which are also connected in series between power supply potential VDD and reference poten­tial VSS. The gates of transistors 19 and 23 are connected. Buffer circuit 28 is composed of P-channel MOS transistor 20 and N-channel MOS transistor 24, which are connected in series between power supply potential VDD and reference potential VSS. The gates of tran­sistors 20 and 24 are connected. Buffer circuit 29 is composed of P-channel MOS transistor 21 and N-channel MOS transistor 25, which are connected in series between power supply potential VDD and reference potential VSS. The gates of transistors 21 and 25 are connected.
  • The output signals of buffer circuits 26 to 29 are supplied to external terminals 31 to 34, respectively. Terminal 31 is used exclusively for output, and ter­minals 32 to 34 both for input and output. External terminal 35 is used for input purposes. Touch-switch type key switches 35₁ to 36₁₀ are used between each of pair of the adjacent terminals 31 to 35. The output signals of inverters 15 to 17, which are inversions of time-division signals D2, D3 and D4, are input to AND gate 37. The signal from external terminal 32 is also input to AND gate 37. The output signals of inverters 16 and 17, which are inversions of time-division signals D3 and D4, and also the signal from external terminal 33 are input to AND gate 38. The output signal of inverter 17, which is the inversion of time-division signal D4, and also the signal from external terminal 34 are input to AND gate 39. N-channel MOS transistor 40, which is always in the ON state and whose gate is connected to power supply potential VDD, is connected between exter­nal terminal 35 and the reference potential VSS. The output signals of AND gates 37 to 39 are input and latched into latch circuits 53 to 55, respectively. The signals of AND gates 37 to 39 are synchronized with synchronizing signal φA (Fig. 2B), and output as key signals KA to KC (Figs. 2M to 2O). The signal from ex­ternal terminal 35 is input and latched into latch cir­cuit 56, where it is synchronized with synchronizing signal φA, and output as key signal KD (Fig. 2P).
  • Latch circuit 53 is composed of clocked inverter 41, which receives the output signal from AND gate 37, and operates in synchronism with synchronizing signal φA; inverter 45, which inverts the output of clocked inverter 41; and clocked inverter 49, which is connected in in­verse parallel with inverter 45, and operates in syn­chronism with the inverted signal of synchronizing signal φA. Latch circuit 54 is composed of clocked in­verter 42, which receives the output signal from AND gate 38, and operates in synchronism with synchronizing signal φA; inverter 46, which inverts the output of clocked inverter 42; and clocked inverter 50, which is connected in inverse parallel with inverter 46, and operates in synchronism with the inverted signal of synchronizing signal φA. Latch circuit 55 is composed of clocked inverter 43, which receives the output signal from AND gate 39, and operates in synchronism with syn­chronizing signal φA; inverter 47, which inverts the output of clocked inverter 43; and clocked inverter 51, which is connected in inverse parallel with inverter 47, and operates in synchronism with the inverted signal of synchronizing signal φA. Latch circuit 56 is composed of clocked inverter 44, which receives the output signal from external terminal 35 and operates in synchronism with synchronizing signal φA; inverter 48, which inverts the output of clocked inverter 44; and clocked inverter 52, which is connected in inverse parallel with inverter 48, and operates in synchronism with synchronizing signal φA.
  • Parasitic capacitance is present between external terminals 31 to 35, and between each external terminal and power supply potential VDD or reference potential VSS. In order to simplify the drawing, only the capaci­tance parasitic on external terminal 32, capacitances 57 to 61 are shown in Fig. 1.
  • In the key circuit configured as explained above, time-division signals D1 to D4 are generated in decoder 13, phase-inverted by inverters 14 to 17, and input to AND gates 37 to 39 respectively. The signals
    Figure imgb0001
    to
    Figure imgb0002
    , and the signals output from external terminals 32 to 34 are then ANDed by AND gates 37 to 39. These AND signals are then input to the latch circuits, and key signals KA to KD, which correspond to the selective closing of key switches 36₁ to 36₁₀, are obtained. In order to detect key signals KA to KD, the dimensions of P-channel MOS transistors 18 to 21 with on-resistance of Rp and N-channel MOS transistors 22 to 25 and 40 with on-resistance of Rn, are set so that Rp is smaller than Rn (Rp < Rn).
  • In the key switch circuit of Fig. 1, when a key switch, for example, key switch 36₆, is closed, after the time-division signal D2 is output from decoder 13, key signals KA to KD will be logic levels "0", "0", "1" and "0", respectively. With detection of these key signals KA to KD, it can be understood that key switch 36₆ is closed.
  • Fig. 3 is an equivalent circuit of the circuit shown in Fig. 1, when key switch 36₆ is closed.
  • As shown in Fig. 3, the equivalent circuit is com­posed of inverters 15 and 17, buffer circuits 27 and 29, external terminals 32 and 34, AND gates 37 and 39, and on-resistance Rkey of key switch 36₆, which is connect­ed between external terminals 32 and 34. Capacitor C represents the external load capacitance of external terminals 32 and 34, or parasitic capacitance.
  • Figs. 4A to 4E show the timing charts at various portions in the equivalent circuit of Fig. 3. In the equivalent circuit of Fig. 3, during the period that time-division signal D2 is at "1" level, the P-channel MOS transistor 19 in buffer circuit 27 is turned on. At this time, the time-division signal D4 is at "0" level and N-channel MOS transistor 25 in buffer circuit 29 is also turned on. Accordingly, at this time, the po­tential VK2 is determined by the voltage division of the on-resistance Rp of the P-channel MOS transistor 19 in buffer circuit 27, the on-resistance Rkey of key switch 36₆, and the on-resistance Rn of N-channel MOS transis­tor 25 in buffer circuit 29. At this time, a through-­current flows between power supply potential VDD and reference potential VSS. On the other hand, during the period that time-division signal D4 is "1" level, P-­channel MOS transistor 21 in buffer circuit 29 is in the ON state. Time-division signal D2 is at "0" level, and N-channel MOS transistor 23 in buffer circuit 29 is ON. The potential VK4 at external terminal 34 is de­termined by the voltage division produced by the on-­resistance Rp of P-channel MOS transistor 21 in buffer circuit 29, the on-resistance Rkey of key switch 36₆, and the on-resistance Rn of N-channel MOS transistor 23 in buffer circuit 27. At this time, a current flows between power supply potential VDD and reference potential VSS. In this circuit, during the period T1 that signals D2 and D4 are at "1" level, as shown by T1 of Figs. 4A to 4E, a through-current will flow.
  • The through-current, Ishort is given by
    Ishort = VDD/(Rp + Rkey + Rn)
    = VDD/Rn ...1
    where, Rp + Rkey < Rn.
    As may be seen from the equation (1), through-current Ishort depends on the on-resistance Rn of N- channel MOS transistors 23 and 25 in buffer circuits 27 and 29. The larger these values is, the lower the through-­current value is.
  • Also, during the period that signal D2 is at "1" level, the potential VK2 of external terminal 32, which receives its input from AND gate 37, can be expressed
    VK2 = Rn·VDD/(Rp + Rkey + Rn) ...2
  • As seen from the above equation (2), potential VK2 of external terminal 32 increases as the on-resistance value Rn of N-channel MOS transistor 25 in buffer cir­cuit 29 increases, and the input margin is thereby improved. This relationship also applies to the poten­tial VK4 at external terminal 34. When signal D4 is at "1" level, the value of potential VK4 of external ter­minal 34, which receives its input from AND gate 39, is
    VK4 = Rn·VDD/(Rp + Rkey + Rn) ...3
  • During the period T1, when the through-current is flowing, the external load capacitors C are charged by potential VDD; then, if D2 or D4 is changed to"0" level (represented by period T2), then these capacitor C will be discharged by N- channel MOS transistors 23 and 25 in buffer circuits 27 and 29. Then, the potential VK2 at external terminal 32, which varies in accordance with the transient phenomenal characteristics at the time of this discharge, is expressed
    VK2 = e(t) = VDD·e-
    Figure imgb0003
    ... 4
    This may correspondingly be applied for the potential VK4 at terminal 34, and is given.
    VK4 = e(t) = VDD·e-
    Figure imgb0004
    ... 5
  • During the period of time T2 from the discharge start time t0 to the time t1 at which the synchronizing signal φA drops, if e(t) does not drop to such a poten­tial that AND gate 37 or 39 detects that the level of e(t) is "0" level, an error operation will occur.
  • Recent technology in this field improves the check­ing ability by the key to shorten the detection time period. Further, use of large key switches or film keys increases the load capacitance C. Allowing for these facts, the smaller the on-resistance value of Rn of N-­channel MOS transistors 22 to 25 in buffer circuit 26 to 29, the better the input margin response during time period T2.
  • In the past, the appropriate setting of the on-­resistance of N-channel MOS transistors in the buffer circuit has been used to solve the two reciprocal pro­blems concerning through-current and key input margin. Therefore, undesirable limitations must be imposed on the process parameters in manufacturing N-channel MOS transistors in integrated circuits. Further, the key switch 36 used must have small on-resistance and capaci­tance. This leads to increase of productin cost.
  • Accordingly, an object of this invention is to pro­vide a key circuit which can be manufactured at low cost, and in which a through-current is small and a characteristic of a key input margin is improved.
  • According to this invention, there is provided a key circuit comprising:
    a plurality of external terminals;
    a plurality of key switches inserted between each of different pairs of the external terminals;
    a logic circuit for generating a plurality of time-division signals on the basis of a reference pulse signal, and for stopping the generation of said time-­division signals during a blanking period with a prede­termined time duration;
    a plurality of buffer circuits for outputting sig­nals supplied to the plurality of the external termi­nals;
    a detection circuit for detecting the closed key switches of the plurality of the key switches on the basis of the time-division signal and signals derived from the external terminals for key signal inputting; and
    a plurality of switch means inserted between each of the plurality of the external terminals and a refer­ence potential, the switch means being conductive during the blanking period.
  • A key circuit according to an embodiment of this invention will be described with reference to the draw­ings below.
  • This invention can be more fully understood from the following detailed description when taken in con­junction with the accompanying drawings, in which:
    • Fig. 1 shows a circuit diagram of an example of a prior art key circuit;
    • Figs 2A to 2P show timing charts of signals at various portions in the key circuit of Fig. 1;
    • Fig.3 shows an equivalent circuit of the Fig. 1 circuit when a specified key switch is closed;
    • Figs. 4A to 4E are timing charts of signals at various portions in the Fig. 3 equivalent circuit;
    • Fig. 5 is a circuit diagram showing a key circuit according to an embodiment of this invention;
    • Figs. 6A to 6T show timing charts of signals at various portions in the Fig. 5 circuit;
    • Fig. 7 shows an equivalent circuit of the Fig. 5 key circuit when a specific key is closed;
    • Fig. 8A to 8E show timing charts of signals at various portions in the equivalent circuit of Fig. 5; and
    • Fig. 9 shows a circuit diagram of a decoder in the Fig. 5 key circuit.
  • Fig. 5 shows a block diagram of the key circuit according to an embodiment of this invention.
  • Figs. 6A to 6T show the timing charts of the sig­nals at various portions of the key circuit when key switch 36₆ between external terminals 32 and 34 is closed. Fig. 6A shows the reference pulse signal P. Fig. 6B shows the synchronizing signal φA. Figs. 6C and 6D show the output signals Q1 and Q2 of counters 11 and 12. Figs. 6E to 6H show the time-division signals D1 to D4. Figs. 6I to 6L show inverted logic product signals D1' to D4', which are output from NAND gates 71 to 74 respectively. Figs. 6M to 6P illustrate signals VK1 to VK4, which appear at external terminals 31 to 34. Figs. 6Q to 6T show key signals KA to KD, which are out­put from latch circuits 53 to 56.
  • When compared with the prior art circuit of Fig. 1 the following points of this embodiment differ. The inverters 14 to 17 of the Fig. 1 circuit are replaced by NAND gates 71 to 74. Time-division signals D1 to D4 from decoder 13 are supplied to these NAND gates 71 to 74. Also, the fixed period reference pulse signal P is input, as a blanking signal. N-channel MOS transistors 75 to 78, which have lower on-resistance than N-channel MOS transistors 22 to 25, respectively, are provided between each external terminal 31 to 34 and the refer­ence potential VSS. Also, N-channel MOS transistor 79, which has a lower on-resistance than N-channel tran­sistor 40, is used between external terminal 35 and the reference potential VSS. Reference pulse signal P is phase-inverted by inverter 80, and input to the gates of MOS transistors 75 to 79.
  • In the circuit of this embodiment, two binary counters 11 and 12, are connected in series. Counter 11 receives the fixed period reference pulse signal P (Fig. 6A), and counts it. When counter 11 has counted a specified number of pulse of signal P, it outputs pulse signal Q1 (Fig. 6C). Pulse signal Q1 is input to, and counted by counter 12. When counter 12 has counted a specified number of pulses of signals Q1, it outputs pulse signal Q2. Pulse signals Q1 and Q2 output from counters 11 and 12 are input to decoder 13. Decoder 13 generates time-division signals D1 to D4 (Figs. 6E to 6H) on the basis of pulse signals Q1 to Q2, and outputs them. Time-division signals D1 to D4 are input to one input terminals of each NAND gate 71 to 74. The refer­ence pulse signal P is input to the other input terminal of each NAND gate 71 to 74. The output signals of NAND gates 71 to 74 are input to buffer circuits 26 to 29, respectively. Buffer circuit 26 is composed of P-­channel MOS transistor 18 and N-channel MOS transistor 22, which are connected in series between power supply potential VDD and reference potential VSS. The gates of transistors 18 and 22 are connected. Buffer circuit 27 is composed of P-channel MOS transistor 19 and N-channel MOS transistor 23, which are connected in series between power supply potential VDD and reference potential VSS. The gates of transistors 19 and 23 are connected. Buffer circuit 28 is composed of P-channel MOS transis­tor 20 and N-channel MOS transistor 24, which are con­nected in series between power supply potential VDD and reference potential VSS. The gates of transistors 20 and 24 are connected. Buffer circuit 29 is composed of P-channel MOS transistor 21 and N-channel MOS transistor 25, which are connected in series between power supply potential VDD and reference potential VSS. The gates of transistors 21 and 25 are connected.
  • The output signals from buffer circuits 26 to 29 are input to external terminals 31 to 34, respectively. Terminal 31 is used exclusively for output, and terminals 32 to 34 are used for both input and output. External terminal 35 is used as an input terminal. Touch-switch type key switches 36₁ to 36₁₀ are each used between each of the terminals 31 to 35. The output signals of NAND gates 72 to 74, which are the inverted AND signals D2', D3' and D4' of time-division signals D2, D3 and D4, and reference pulse signal P are input to AND gate 37. The signal from external terminal 32 is also input to AND gate 37. The outputs of NAND gates 73 and 74, which are inverted AND signals D3' and D4' of time-division sig­nals D3 and D4, and reference pulse signal P are input to AND gate 38. The signal from external terminal 33 is also input to AND gate 38. The output signal of NAND gate 74, which is the inverted AND signal D4' of time-­division signal D4 and reference pulse signal P are input to AND gate 39, and the signal from external ter­minal 34 is also input to AND gate 39. N-channel MOS transistor 40, which is always in the ON state, and the gate of which is connected to the power supply potential VDD, is connected between external terminal 35 and the reference potential VSS. The output signals of AND gates 37 to 39 are input to latch circuits 53 to 55, and latch­ed and synchronized with synchronizing signal φA, finally and output as key signals KA to KC. The signal from ex­ternal terminal 35 is latched into latch circuit 56, synchronized with synchronizing signal φA, and output as key signal KD. Latch circuit 53 is composed of clocked inverter 41, which receives the output signal of AND gate 37, and which operates in synchronism with synchro­nizing signal φA; inverter 45, which inverts the output signal of clocked inverter 41; and clocked inverter 49, which is connected in inverse parallel with inverter 45 and operates in synchronism with the inverted signal of synchronizing signal φA. Latch circuit 54 is composed of clocked inverter 42, which receives the output signal of AND gate 38, and operates in synchronism with syn­chronizing signal φA; inverter 46 which inverts the out­put signal of clocked inverter 42; and clocked inverter 50, which is connected in inverse parallel with inverter 46, and operates in synchronism with synchronizing sig­nal φA. Latch circuit 55 is composed of clocked inver­ter 43, which receives the output of AND gate 39, and operates in synchronism with synchronizing signal φA; inverter 47, which inverts the output signal of clocked inverter 43; and clocked inverter 51, which is connected in inverse parallel with inverter 47, and operates in synchronism with synchronizing signal φA. Latch circuit 56 is composed of clocked inverter 44, which receives the output signal of external terminal 35, and operates in synchronism with synchronizing signal φA; inverter 48, which inverts the output signal of clocked inverter 44; and clocked inverter 52, which is connected in in­verse parallel with inverter 48, and operates in syn­chronism with synchronizing signal φA.
  • The inverted logical products D1' to D4' of these signals D1 to D4 and the reference pulse signal P are generated by NAND gates 71 to 74. These logical product signals are input to AND gates 37 to 39, which then lo­gically multiply these signals and the signals coming from external terminals 32 to 34. These logical pro­duct signals are applied to a latch circuit. On the basis of the signals as input to the latch circuit, key signals KA to KD are obtained, which correspond to selective closings of key switches 36₁ to 36₁₀. In or­der to detect the key signals KA to KD, the dimensions of P-channel MOS transistors 18 to 21 each with on-­resistance of Rp, and N-channel MOS transistors 22 to 25 and 40 each with on-resistance of Rn, are set so that Rp is smaller than Rn (Rp < Rn).
  • Parasitic capacitance is present between external terminals 31 to 35, and between each external terminal and power supply potential VDD or reference potential VSS. In order to simplify the drawing, only the capaci­tance parasitic on external terminal 32, capacitances 57 to 61, are illustrated in Fig. 5.
  • Fig. 9 shows the detailed circuit of decoder 13 in the key circuit of Fig. 5. The decoder shown in Fig. 9 is composed of NOR gates 91 and 92, AND gates 93 and 94, and inverter 95. NOR gate 91 receives the output signal Q1 of counter 11 and output signal Q2 of counter 12, and outputs their inversed logical product as time-division signal D1. NOR gate 92 receives as input signals signal Q2 and signal
    Figure imgb0005
    as phase-inverted to signal Q1 by in­verter 95, and outputs their inversed logical product as time-division signal D2. AND gate 93 receives signal Q2 and signal
    Figure imgb0006
    as phase-inverted to signal Q1 by in­verter 95, and outputs the AND signal as time-division signal D3. AND gate 94 receive signals Q1 and Q2, and outputs their logical product signal as time-division signal D4.
  • In the circuit of Fig. 5, time-division signals D1 to D4, which are output from decoder 13, are supplied to NAND gates 71 to 74, respectively. Pulse signal P is also supplied to NAND gates 71 to 74. As shown in tim­ing charts of Figs. 6A to 6T, when pulse signal P is at level "0", even if the signals D1 to D4 are level "1", the signals D1' to D4', output from NAND gates 71 to 74 will be forced to remain at level "1". In other words, the period during which signal P is at "0" level, is used as the blanking period. During this period, the outputting of time-division signals D1' to D4' is essen­tially stopped. With this feature, the period that the through-current Ishort is generated through key switch 36, as referred to in the prior description, is reduced half when compared with that of the prior circuit. Therefore, the reduced amount of power is consumed in this key circuit of this embodiment.
  • Fig.7 is an equivalent circuit diagram of the Fig. 5 circuit, when key switch 36₆ is closed. Figs. 8A to 8E show the timing charts of the signals at various por­tions of the equivalent circuit diagram of Fig.8.
  • As shown in Fig. 7, the equivalent circuit is composed of NAND gates 72 and 74, buffer circuits 27 and 29, external terminals 32 and 34, N- channel MOS transistors 76 and 78, AND gates 37 and 39, inverter 80, and the on-resistance Rkey of key switch 36₆, which is connected between external terminals 32 and 34. C repre­sents an external load capacitance of external terminals 32 and 34, viz. parasitic capacitance.
  • In the equivalent circuit of Fig. 7, during the period that time-division signal D2 is "1" level, if pulse signal P is changed to "1" level, output signal D2' of NAND gates 72 will be "0" level, and P-channel MOS transistor 19 in buffer circuit 27 will be in the ON state. If, at this time, time-division signal D4 is "0" level, the signal D4' output from NAND gate 74 will be "1" level, and N-channel MOS transistor 25 in buffer circuit 29 will be in an ON state. Accordingly, the value of potential VK2 at terminal 32 is determined by the voltage division, which is made by the on-resistance Rp of P-channel MOS transistor 19 in buffer circuit 27, the on-resistance Rkey of key switch 36₆, and the on-­resistance Rn of N-channel MOS transistor 25 in buffer circuit 29. Rp + Rkey < Rn. A through-current flows between the power supply potential VDD and reference potential VSS. However, the period in which the through-current is generated is half that of the con­ventional circuit, because the period in which signal D2' is at "0" level is half the "1" level period of the original D2 signal.
  • During the period that time-division signal D4 is "1" level, if pulse signal P is changed to "1" level, output signal D4' of NAND gates 74 will be "0" level, and P-channel MOS transistor 21 in buffer circuit 29 will be in the ON state. If, at this time, time-­division signal D2 is "0" level, the signal D2' output from NAND gate 72 will be "1" level, and N-channel MOS transistor 23 in buffer circuit 27 will be in the ON state. Accordingly, the value of potential VK4 (the same as potential VK2) at terminal 34 is determined by the voltage division, which is made by the on-resistance Rp of P-channel MOS transistor 21 in buffer circuit 29, the on-resistance Rkey of key switch 36₆, and the on-­resistance Rn of N-channel MOS transistor 23 in buffer circuit 27. Rp + Rkey < Rn. A through-current flows between the power supply potential VDD and reference potential VSS. However, the period in which the through-current is generated is half that of the con­ventional circuit, because the period in which signal D4' is at "0" level is half the "1" level period of the original D4 signal.
  • When signals D2' and D4' are at "1" level, N-­ channel MOS transistors 23 and 25 in buffer circuits 27 and 29 are placed in the ON state, and the load capaci­tance C of key switch 36₆ is discharged. When the pulse signal P is now at "0" level, that is, during the blank­ing period, N- channel MOS transistors 76 and 78 are turned on by the output signal of inverter 80, which inverts pulse signal P, and the load capacitance C is discharged via the parallel connected transistors 23 and 76, or through transistors 25 and 78. Then, external terminals 32 and 34 are quickly discharged, and the po­tentials VK2 and VK4 are quickly changed to "0" level. For this reason, the time period corresponding to time period T1 of Figs. 4A to 4E is reduced greatly, and the input signal of AND gate 37 or 39 will be "0" until the clock signal φA level falls.
  • Since the above discharge function is accelerated by turning on of transistors 76 and 78, the on-resistance of N- channel MOS transistors 23 and 25 in buffer circuits 27 and 29 can be increased. Therefore, the through-­current can also be reduced. Furthermore, the potential of the external terminal, which is produced in a voltage division manner, can be increased. Therefore, the key input margin during the conducting period of the P-­channel transistors can be increased.
  • Thus, according to the above-mentioned as seen from foregoing, the blank period is provided in the time di­visional signal. During this blank period, external terminals 31 to 35 are abruptly discharged by N-channel MOS transistors 75 to 79. Therefore, the reciprocal problems of the through-current and the key input margin can be solved simultaneously. Therefore, it is not nec­essary to control the values of on-resistance of N-­channel MOS transistors 22 to 25 in buffer circuits 26 to 29 as accurately as was necessary before, and the excessive limitations on the process parameters in fab­ricating of the integrated circuits is not necessary. Also, the on-resistance of key switch 36 does not cause a problem. Sufficient speed discharge can be obtained without having to use a key switch 36 with a small capa­citance. Due to the above features, production cost can be greatly reduced.
  • It should be understood that this invention is not limited to the above-mentioned embodiments, but may be variously changed and modified within the scope of the invention. In the above-mentioned embodiment, the blank periods of the time divisional signals D1 to D4 are formed by using the reference pulse signal P. It is noted, however, that the reference pulse signal may be replaced by any signal, if it does not contain the "1" level period of the clock signal φA as the latch control signal for latch circuits 53 to 56.
  • As described above, the present invention success­fully provides the key circuit with reduced cost to manufacture, in which a through-current is small and a characteristic of a key input margin can be increased.

Claims (6)

1. A key circuit comprising:
a plurality of external terminals (31-35);
a plurality of key switches (36₁-36₁₀) inserted be­tween each of different pairs of said external termi­nals;
a logic circuit including decoder means (13) for generating a plurality of time-division signals on the basis of a reference pulse signal;
a plurality of buffer circuits (26-29) for out­putting signals supplied to the plurality of said exter­nal terminals; and
a detection circuit (37-39, 53-56) for detecting the closed key switches of the plurality of said key switches on the basis of said time-division signal and signals derived from the external terminals for key signal inputting, characterized in that:
said logic circuit (13) further comprises inverted logic product means (71-74) for stopping the generation of said time-division signals during a blanking period with a predetermined time duration, and
said key circuit further comprises a plurality of switch means (75-79) inserted between each of the plural­ity of said external terminal and a reference potential (Vss), said switch means being conductive during said blanking period.
2. A key circuit according to claim 1, character­ized in that said decoder means (13) outputs said time-­division signals on the basis of said reference pulse signal, and said inverted logic product means (71-74) logically multiplies each of said time-division signals and said reference pulse signal, thereby to stop the generation of said time-division signals.
3. A key circuit according to claim 1, characteriz­ed in that each of said buffer circuits (26-29) includes a P-channel MOS transistor (18-21) and an N-channel MOS transistor (22-25), said transistors (18-21; 22-25) be­ing connected in series between the reference potential and a power source potential, the gates of said MOS transistors (18-21; 22-25) being connected to the output terminal of said inverted logic product circuit, and the junctions of said transistors (18-21; 22-25) being each connected to each of said external terminals.
4. A key circuit according to claim 3, character­ized in that the on-resistance Rp of said P-channel MOS transistor (18-21) is smaller than the on-resistance Rn of said N-channel MOS transistor (22-25) (Rp < Rn).
5. A key circuit according to claim 4, character­ized in that the on-resistances Rp and Rn of said P and N-channel MOS transistors (18-21; 22-25), and the on-­resistance of said closed switches (36₁-36₁₀) are given
Rp + Rkey < Rn
where Rkey is the on-resistance of said closed switch.
6. A key circuit according to claim 4, character­ized in that said switch means (75-79) includes a MOS transistor (75-79) whose on-resistance is smaller than that of said N-channel MOS transistor.
EP86113145A 1985-09-30 1986-09-24 Key circuit Expired - Lifetime EP0217283B1 (en)

Applications Claiming Priority (2)

Application Number Priority Date Filing Date Title
JP60216700A JPS6275828A (en) 1985-09-30 1985-09-30 Key circuit
JP216700/85 1985-09-30

Publications (3)

Publication Number Publication Date
EP0217283A2 true EP0217283A2 (en) 1987-04-08
EP0217283A3 EP0217283A3 (en) 1988-10-05
EP0217283B1 EP0217283B1 (en) 1991-12-18

Family

ID=16692550

Family Applications (1)

Application Number Title Priority Date Filing Date
EP86113145A Expired - Lifetime EP0217283B1 (en) 1985-09-30 1986-09-24 Key circuit

Country Status (6)

Country Link
US (1) US4701748A (en)
EP (1) EP0217283B1 (en)
JP (1) JPS6275828A (en)
KR (1) KR910001952B1 (en)
CN (1) CN1006012B (en)
DE (1) DE3682998D1 (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0551609A1 (en) * 1991-12-31 1993-07-21 Alcatel Standard Electrica, S.A. Methods and device for reading keyboards

Families Citing this family (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US5386584A (en) * 1990-06-14 1995-01-31 Chips And Technologies, Inc. Interrupt-generating keyboard scanner using an image RAM
US5677687A (en) * 1996-07-08 1997-10-14 Vlsi Technology, Inc. Zero DC power keyboard scanner using bidirectional I/O's with repeaters
US5914677A (en) * 1997-01-15 1999-06-22 Chips & Technologies, Inc. Apparatus and method for scanning a switch array
US5831556A (en) * 1997-06-06 1998-11-03 Vlsi Technology, Inc. Pin-reduced low power keyboard scanner

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3818441A (en) * 1971-10-08 1974-06-18 Hitachi Ltd Key input circuit system for electronic apparatus
US4163222A (en) * 1976-02-27 1979-07-31 Amkey, Incorporated Synchronous phase detected keyboard
US4303907A (en) * 1979-12-17 1981-12-01 Rca Corporation Low power switch closure sensing circuit
EP0190743A2 (en) * 1985-02-05 1986-08-13 Nec Corporation Control signal generation circuit for wireless remote control signal transmitter

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPS5371530A (en) * 1976-12-08 1978-06-26 Hitachi Ltd Input circuit
GB2080585B (en) * 1980-07-22 1984-07-04 Tokyo Shibaura Electric Co Semiconductor integrated circuit with reduced power consumption
DE3369449D1 (en) * 1982-05-07 1987-02-26 Philips Electronic Associated Data entry keyboard apparatus
JPS59105131A (en) * 1982-12-08 1984-06-18 Toshiba Corp Input/output circuit device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US3818441A (en) * 1971-10-08 1974-06-18 Hitachi Ltd Key input circuit system for electronic apparatus
US4163222A (en) * 1976-02-27 1979-07-31 Amkey, Incorporated Synchronous phase detected keyboard
US4303907A (en) * 1979-12-17 1981-12-01 Rca Corporation Low power switch closure sensing circuit
EP0190743A2 (en) * 1985-02-05 1986-08-13 Nec Corporation Control signal generation circuit for wireless remote control signal transmitter

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
EP0551609A1 (en) * 1991-12-31 1993-07-21 Alcatel Standard Electrica, S.A. Methods and device for reading keyboards

Also Published As

Publication number Publication date
US4701748A (en) 1987-10-20
EP0217283B1 (en) 1991-12-18
CN86106701A (en) 1987-06-10
KR910001952B1 (en) 1991-03-30
JPH0574854B2 (en) 1993-10-19
KR870003424A (en) 1987-04-17
EP0217283A3 (en) 1988-10-05
DE3682998D1 (en) 1992-01-30
JPS6275828A (en) 1987-04-07
CN1006012B (en) 1989-12-06

Similar Documents

Publication Publication Date Title
EP0176214B1 (en) Oscillator circuit using inverter loop with delay element
JPS6134296B2 (en)
EP0217283A2 (en) Key circuit
JPH10190416A (en) Flip-flop circuit
JP2882272B2 (en) Latch circuit
US5155382A (en) Two-stage CMOS latch with single-wire clock
US5111489A (en) Frequency-dividing circuit
JPH09312553A (en) Logic circuit
JP3611045B2 (en) Phase matching circuit
US6970017B2 (en) Logic circuit
US3742248A (en) Frequency divider
US5230014A (en) Self-counting shift register
US4551716A (en) Display control for electronic calculator
EP0219907A1 (en) Integrated memory circuit
US3916217A (en) Integrated logical circuit device
JPH05206791A (en) D type flip-flop
CN109450411A (en) Latch and its driving method and chip
US4649290A (en) Pulse generating circuit
CN117725022B (en) Configurable digital computing circuit and logic gate
JP2693762B2 (en) Keyboard circuit
US7256620B2 (en) Selector circuit and semiconductor device
JPH0522110A (en) Output circuit
JPH1141087A (en) Output buffer circuit
US4340871A (en) Low power oscillator having clamping transistors across its timing capacitors
JPH06260901A (en) Latch circuit and flip-flop circuit

Legal Events

Date Code Title Description
PUAI Public reference made under article 153(3) epc to a published international application that has entered the european phase

Free format text: ORIGINAL CODE: 0009012

17P Request for examination filed

Effective date: 19861021

AK Designated contracting states

Kind code of ref document: A2

Designated state(s): DE FR GB

PUAL Search report despatched

Free format text: ORIGINAL CODE: 0009013

AK Designated contracting states

Kind code of ref document: A3

Designated state(s): DE FR GB

17Q First examination report despatched

Effective date: 19910121

GRAA (expected) grant

Free format text: ORIGINAL CODE: 0009210

AK Designated contracting states

Kind code of ref document: B1

Designated state(s): DE FR GB

REF Corresponds to:

Ref document number: 3682998

Country of ref document: DE

Date of ref document: 19920130

ET Fr: translation filed
PLBE No opposition filed within time limit

Free format text: ORIGINAL CODE: 0009261

STAA Information on the status of an ep patent application or granted ep patent

Free format text: STATUS: NO OPPOSITION FILED WITHIN TIME LIMIT

26N No opposition filed
PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: FR

Payment date: 19980909

Year of fee payment: 13

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: GB

Payment date: 19980917

Year of fee payment: 13

PGFP Annual fee paid to national office [announced via postgrant information from national office to epo]

Ref country code: DE

Payment date: 19981005

Year of fee payment: 13

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: GB

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 19990924

GBPC Gb: european patent ceased through non-payment of renewal fee

Effective date: 19990924

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: FR

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20000531

PG25 Lapsed in a contracting state [announced via postgrant information from national office to epo]

Ref country code: DE

Free format text: LAPSE BECAUSE OF NON-PAYMENT OF DUE FEES

Effective date: 20000701

REG Reference to a national code

Ref country code: FR

Ref legal event code: ST