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

Processing method for preventing shaking and blocking of mechanical key

A processing method and anti-vibration technology, which is applied in the direction of electrical components, electronic switches, electric switches, etc., can solve the problems affecting the real-time performance of products, mechanical button vibration, waiting and delay occupying too much MCU, etc., to achieve good application prospects, The method is reliable and solves the effect of not responding in time

Pending Publication Date: 2019-08-02
南京华用电气有限公司
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The purpose of the present invention is to overcome the existing mechanical button vibration problem and its extension problem. Both waiting and delay occupy too much MCU, which greatly affects the real-time performance of the product.

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
  • Processing method for preventing shaking and blocking of mechanical key
  • Processing method for preventing shaking and blocking of mechanical key
  • Processing method for preventing shaking and blocking of mechanical key

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0028] The present invention will be further described below in conjunction with the accompanying drawings.

[0029] Such as figure 2 As shown, the processing method for mechanical key anti-shake and blocking of the present invention comprises the following steps,

[0030] Step (A), the main function scans the key state flags of each key in the main loop to determine whether the key condition is met, and if the key condition is met, the operation of the key is executed, and the flag bit of the key is cleared after the key operation is completed It is in the normal lifting state;

[0031] In step (B), the timer regularly scans each button and judges the status flag of the button, so as to set a new button flag, and repeats step (A) to complete the operation of each button. The timer is a 10ms timer. It is established to regularly scan each button and judge the status flag of the button. It is also used to record and consider the process time of the button, and will not cause...

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 an anti-jitter and anti-blocking processing method for a mechanical key, which comprises the following steps of: judging whether a key condition is met or not by using a flag bit in a main loop of a main function, executing a key operation if the key condition is met, and avoiding key blocking time; scanning a key and a flag bit in a 10ms timer; assessing time through a timer, scanning the key value and the flag bitto set a flag bit (normal lifting, pressing process, pressing process, lifting process and key lifting) reflecting the state of the key. Five states are divided, the key process is divided into more detailed, the key jitter problem is greatly solved, the waiting problem that a key is pressed down irregularly for a long time is solved, the problem that a main function does not respond in time due to key blocking is solved, and the method is reliable, ingenious in design and good in application prospect.

Description

technical field [0001] The invention relates to the technical field of mechanical key processing, in particular to a processing method for anti-vibration and blocking of mechanical keys. Background technique [0002] Mechanical buttons are a common unit module in industrial products, which can well realize human-computer interaction settings. Although with the rise of touch screens, on-screen touch methods are also widely used, but mechanical buttons are still not available in harsh electromagnetic environments and many traditional fields. What is missing is that the touch screen cannot be replaced. [0003] At present, mechanical buttons and MCU connections are widely used in real industrial fields. The principle is simple, and the MCU can get high and low levels through hardware connections to perform corresponding operations. There are common problems in this operation process: there is button vibration, and people may have vibration problems during the process of pressi...

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/51H03K17/967H01H9/54
CPCH03K17/51H03K17/967H01H9/54H03K2017/515
Inventor 李薇刘永理孟德健倪娜刘永芳
Owner 南京华用电气有限公司