Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method and device for detecting key input

A key and input state technology, applied in the direction of keyboard coding, etc., can solve the problems of no key output and unstable key signal, and achieve the effect of avoiding jitter time and eliminating key jitter.

Inactive Publication Date: 2010-06-16
GUANGDONG VIMICRO
View PDF5 Cites 8 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Therefore, when the button is pressed, sometimes there is a button output, sometimes there is no button output, and the output button signal is unstable.

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method and device for detecting key input
  • Method and device for detecting key input
  • Method and device for detecting key input

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] In order to make the technical problems, technical solutions and advantages to be solved by the embodiments of the present invention clearer, the following will describe in detail with reference to the drawings and specific embodiments.

[0050] Embodiments of the present invention provide a method and device for detecting key input, aiming at the problem of unstable key output signal caused by key shaking in the prior art.

[0051] Such as figure 1 As shown, a method for detecting key input according to the present invention includes:

[0052] Step 11, each sampling cycle collects the key input state once, and generates the key input states of 3 adjacent sampling cycles, which are respectively: the key input state Kinput(n) of the current sampling cycle, the key input state Kinput(n) of the previous sampling cycle n-1) and the key input state Kinput(n-2) of the previous sampling period of the previous sampling period. Wherein, the key input state may include: no key ...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention provides a method and a device for detecting key input, relates to the field of key input detection, and aims to solve the technical problem of instable key output signal due to jitter of a key. The method comprises the following steps: sampling the key input state once per sampling period to generate key input states of three adjacent sampling periods, namely Kinput (n), Kinput (n-1) and Kinput (n-2) respectively; and considering the key output state Koutput (n) of the current sampling period to be no key output when no key is pressed down in at least two of the Kinput (n), Kinput (n-1) and Kinput (n-2) states. The method is easy to implement.

Description

technical field [0001] The invention relates to the field of key input detection, in particular to a method and device for detecting key input. Background technique [0002] Buttons are often used in circuit design, for example, in landline phones, mobile phones, computers, or single-chip microcomputers. Taking the single-chip microcomputer as an example, the control keys are mostly used in the single-chip microcomputer control system to realize the control function. By pressing or lifting the key, the key signal is output. There are two kinds of keys that make up the keyboard: contact type and non-contact type. For mechanical contacts, when the mechanical contacts are opened and closed, there will be vibration. Therefore, there will be a jitter glitch of 10-20ms when the button is pressed and lifted. This kind of jitter is imperceptible to humans, but it can be sensed by the computer because of the processing speed of the computer. It is at the level of microseconds, and...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): H03M11/02
Inventor 艾国
Owner GUANGDONG VIMICRO
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products