Unlock instant, AI-driven research and patent intelligence for your innovation.

Low-cost detection circuit and processing method capable of detecting multiple keys in any combination

A detection circuit and processing method technology, applied in the direction of measuring electricity, measuring electrical variables, circuit breaker testing, etc., can solve the problem of high cost, achieve the effect of reducing production cost and effective and fast button detection

Active Publication Date: 2021-09-24
郭玉森
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Ordinary multiple arbitrary combination full keyboard keys without conflicts, each key needs to add a diode, and the cost of more than 100 diodes is relatively high for mechanical keyboards; is there a way to cancel the diodes or only need a few The diode can realize the low-cost full-key non-conflict function, and can realize multiple full-key non-conflict functions in any combination on the membrane keyboard

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
  • Low-cost detection circuit and processing method capable of detecting multiple keys in any combination
  • Low-cost detection circuit and processing method capable of detecting multiple keys in any combination
  • Low-cost detection circuit and processing method capable of detecting multiple keys in any combination

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0046] Such as Figure 1-6 As shown, according to the embodiment of the present invention, the detection circuit and processing method that can detect a plurality of arbitrary combination keys include single-chip microcomputer, MCU, CPLD, FPGA, ARM, control chip, matrix key circuit, wherein, the control chip is provided with R +C IO pins, of which the R line controls the IO as an input, and has an external interrupt function, which can trigger a single-edge rising, a single-edge falling edge, or a double-edge trigger. The IO pin is internally equipped with floating floating , Open-drain, push-pull, pull-up, pull-down and other IO function settings, the vertical C line controls the IO to switch between output and input;

[0047] The matrix button circuit includes R horizontal branches and C vertical branches, a key position is formed at the intersection of the horizontal branches and the longitudinal branches, and the horizontal R line branch and the longitudinal C line branch ...

Embodiment 2

[0050] Such as Figure 1-6 As shown, the R line of the controller IC has an AD sampling function, and the AD function is set as an input with a wake-up function during sleep. When the R line is externally connected to the GND with a pull-down resistor, the R line controls The level read by the IO defaults to low level. At this time, only one C line outputs high level during button scanning, and the other C lines output low level. When the button is pressed and the connection is turned on, the corresponding R line will pull Higher than a certain level, read the voltage signal of the resistor divider through AD. When it is greater than the set threshold, it is considered that the button is pressed and turned on. When the AD level is read below the threshold of a ground, it is considered that the button is sent On, when all the buttons on the C line are pressed, the voltage read by the R line will be greater than a certain value. In addition, the level signals of the R line will ...

Embodiment 3

[0052] Such as Figure 1-6 As shown, when the controller IC has no AD function, the voltage comparison circuit can be used to compare the voltage, and the output signal is read to the R line. At this time, the R line can be used as an input with pull-up or floating or pull-down according to the application circuit. state, when the resistance of the key part is connected to GND, the level read by the corresponding R line control IO is low level by default. At this time, only one line of C outputs high level during key scanning. When it is on, the corresponding R line will pull up a certain level. When it is greater than the divided voltage level set by the comparator, the output level of the comparator will be reversed, and the control chip R line can recognize that the state of the level is high. or low level, it is considered that a button is pressed; similarly, when the resistance of the button part is connected to VDD, the level read by the corresponding R line to control t...

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 discloses a low-cost detection circuit and a processing method capable of detecting a plurality of arbitrary combination keys, including single-chip microcomputers, MCUs, CPLDs, FPGAs, ARMs and other control chips and matrix key circuits, and the control chips are provided with R+C IOs Pin, where the R line controls the IO as an input, and has an external interrupt function, and the IO pin has IO function settings such as floating, open drain, push-pull, pull-up, and pull-down; the controller chip has built-in AD sampling Function or operational amplifier, comparator, or external operational amplifier, comparator. Beneficial effects: No need for diodes, or only a small amount of diodes can realize low-cost any key without conflict, all keys without conflict, and can cooperate with triode MOS tubes to realize IO multiplexing for LED lighting control.

Description

technical field [0001] The invention relates to the field of keyboard combination key detection, in particular to a low-cost detection circuit and a processing method capable of detecting a plurality of arbitrary combination keys. Background technique [0002] The keyboard is an essential input device for many electronic products, and the key scanning is realized through control chips such as microcontrollers, MCUs, CPLDs, FPGAs, and ARMs. Usually, general wired keyboards and wireless keyboards such as USB, PS2, Bluetooth and other keyboards are designed as follows. For example, ordinary membrane keyboards use row and column scanning lines, and keys are input according to rows and columns. In order to save costs, these keyboards do not add diodes. Yes, this kind of keyboard cannot achieve full keyboard conflict-free, if there is a conflict state, there will be no key data output, only a few keys in a specific combination can be conflict-free, and multiple arbitrary key combi...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G01R31/327G05B19/042
CPCG01R31/3277G05B19/042
Inventor 郭玉森
Owner 郭玉森