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

Key identification method and system of matrix keyboard

A matrix keyboard and recognition method technology, applied in the field of embedded development, can solve the problems of power consumption of the key scanning module, dependence on hardware in the debounce process, limited key layout and key scanning module design, etc., to achieve reduced circuit area and code reuse high performance and reduced power consumption

Inactive Publication Date: 2020-08-28
北京维普无限智能技术有限公司
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0008] 1. The lack of keyless scanning module and IO interrupt cannot realize the combination of keys;
[0009] 2. When the resources are insufficient, the button function cannot be realized;
[0010] 3. Most of the time the keys are in a static state without operation, and the key scanning module will consume power all the time;
[0011] 4. The combination button layout is limited by the design of the key scan module;
[0012] 5. The debounce process depends on hardware

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
  • Key identification method and system of matrix keyboard
  • Key identification method and system of matrix keyboard
  • Key identification method and system of matrix keyboard

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0041] The technology of the present invention is mainly used for the matrix key detection function. The scheme adopts the method of scanning and detecting the matrix IO regularly after the key triggers the IO interruption, and performs the key debounce detection operation. The scheme is provided with: scanning interval, total scanning times, and scanning judgment is effective Multiple variable conditions such as the number of times, the row IO and column IO of the keyboard, and the number of IOs triggered by the interrupt make the solution flexible, easy to use, and widely applicable. The more prominent advantage of the scheme design is that when the IO interrupt is not enough for key detection, a diode design is added to the external hardware, so that multiple IOs can be used for one IO interrupt detection, which largely solves the problem that many chips cannot be detected due to insufficient IO interrupts. Button limitations.

[0042] In order to make the above-mentioned f...

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 key identification method and system of a matrix keyboard. The method comprises the steps that after the keyboard is powered on, a main control chip of the keyboard enters a low-power-consumption mode; after keys are pressed down, rows and columns where the keys are located are triggered and connected; row IO generates a level sudden change signal, and the level sudden change signal awakens the main control chip through input IO and triggers IO interruption; and the main control chip positions the key position to obtain a key trigger signal, carries out jitter detection on the key trigger signal to judge whether the key trigger signal is effectively triggered or not, if so, the key action of the key position is taken as a key identification result, otherwise, the key identification fails, and the main control chip enters a low-power-consumption mode. According to the invention, the multi-key awakening detection of the matrix can be realized under the conditionsof ultra-low power consumption and insufficient IO interruption, and the identification of the combined key is supported.

Description

technical field [0001] The invention relates to the field of embedded development, and in particular to an anti-shake method and system for a matrix keyboard. Background technique [0002] Common button structure circuits are divided into independent buttons and determinant buttons. Independent buttons mean that each button occupies one I / O line, and the I / O port is directly used to form a single button circuit, but it takes up more ports and is only suitable for A small number of applications. The determinant keyboard I / O adopts the mouth line to form a row and column structure, and the keys are arranged at the intersection of the rows and columns. When there are many keys, I / O port lines can be saved. But when the number of keyboards is large, it also needs to occupy more MCU ports. Moreover, neither of these two methods can directly obtain the scan code, but must be calculated. [0003] At present, keys are the most commonly used input methods. Common key circuits inc...

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): H03K17/967H03K17/16
CPCH03K17/16H03K17/967
Inventor 刘奎奎张良吉
Owner 北京维普无限智能技术有限公司
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