CN108399019A - For improving the correcting circuit of button spring erroneous judgement - Google Patents

For improving the correcting circuit of button spring erroneous judgement Download PDF

Info

Publication number
CN108399019A
CN108399019A CN201710066824.2A CN201710066824A CN108399019A CN 108399019 A CN108399019 A CN 108399019A CN 201710066824 A CN201710066824 A CN 201710066824A CN 108399019 A CN108399019 A CN 108399019A
Authority
CN
China
Prior art keywords
predetermined voltage
button
correcting circuit
control unit
triggering signal
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
CN201710066824.2A
Other languages
Chinese (zh)
Other versions
CN108399019B (en
Inventor
王聪法
郭士维
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.)
Pixart Imaging Inc
Original Assignee
Pixart Imaging Inc
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 Pixart Imaging Inc filed Critical Pixart Imaging Inc
Priority to CN201710066824.2A priority Critical patent/CN108399019B/en
Publication of CN108399019A publication Critical patent/CN108399019A/en
Application granted granted Critical
Publication of CN108399019B publication Critical patent/CN108399019B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

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/03Arrangements for converting the position or the displacement of a member into a coded form
    • G06F3/033Pointing devices displaced or positioned by the user, e.g. mice, trackballs, pens or joysticks; Accessories therefor
    • G06F3/038Control and interface arrangements therefor, e.g. drivers or device-embedded control circuitry
    • G06F3/0383Signal control means within the pointing device

Abstract

The present invention is to disclose a kind of correcting circuit being used for improving button spring erroneous judgement, and unit and a control unit are generated it includes having a comparing unit, a predetermined voltage.There is the comparing unit first input end, one second input terminal and an output end, the first input end to be used for receiving one of button generation triggering signal.The predetermined voltage generates unit and is electrically connected to second input terminal, for generating one first predetermined voltage.The control unit is electrically connected to the output end.The control unit decides whether to execute polling mechanism according to one of comparing unit comparison result, and a confirmation signal is generated when one of polling mechanism polling result maintains a specific level.Wherein the confirmation signal is used for confirming that the button triggers really for a ppu.

Description

For improving the correcting circuit of button spring erroneous judgement
Technical field
The present invention is to provide a kind of correcting circuit, espespecially a kind of correcting circuit that can be used for improving button spring erroneous judgement.
Background technology
Computer mouse is typically provided with left button and right button, and user generates through right and left key is clicked different from navigation module Control signal.The left button of mouse and right button are for common press button mechanism, and user pushes key cap of key set and triggers generation control Signal processed, after person's external force to be used removes, keycap returns to elemental height position by the restoring force of elastic element again.By frequent And long-term use, the elastic element of button have elastic fatigue phenomenon, being vulnerable to the strength of ambient vibration influences, and keycap is allowed to exist The person of being not used still moves up and down when pressing, and it is toggled will to judge into button by accident for mouse at this time.Traditional settling mode is profit Whether remove to judge button by certain triggering or only unexpected spring with polling mechanism, however longer poll judges that the time can lead It causes mouse to have Caton phenomenon in operation, shortens poll and judge that the time separately causes to judge by accident because button bounces;Therefore how to design one kind Can shorten poll judge the time but also reduce spring erroneous judgement alignment technique, just for the developing goal of associated mechanisms industry it One.
Invention content
The present invention is to provide a kind of correcting circuit that can be used for improving button spring erroneous judgement, above-mentioned to solve the problems, such as.
The claim of the present invention is to disclose a kind of correcting circuit being used for improving button spring erroneous judgement, it includes There are a comparing unit, a predetermined voltage to generate unit and predetermined voltage generation unit.The comparing unit is defeated with one first Enter end, one second input terminal and an output end, which is used for receiving one of button generation triggering signal.This is predetermined Voltage generating unit is electrically connected to second input terminal, for generating one first predetermined voltage.The control unit is electrically connected to this Output end.The control unit decides whether execution polling mechanism according to one of comparing unit comparison result, and in the poll machine One of system polling result generates a confirmation signal when maintaining a specific level.Wherein the confirmation signal is used for at an outside Reason device confirms that the button triggers really.
The claim of the present invention separately discloses the correcting circuit and has additionally comprised an edge trigger element, is electrically connected to this First input end and the button, to judge whether the triggering signal occurs transition.When one of triggering signal current potential changes, open The comparing unit is moved to decide whether to execute polling mechanism, when which does not change, which separately judges that the button does not have There is certain triggering.
The claim of the present invention separately disclose the control unit one of triggering signal voltage value higher than this first The polling mechanism is executed when predetermined voltage, and prompt news are sent out when the voltage value is less than or equal to first predetermined voltage Number.The control unit judges that the button does not trigger really when the voltage value is less than or equal to first predetermined voltage.The control One of unit record processed triggering signal voltage value is less than one of first predetermined voltage cumulant, and corresponding according to the cumulant Send out a prompt signal.
The claim of the present invention separately discloses predetermined voltage generation unit and is separately used for generating one second predetermined voltage, When one of triggering signal current potential does not change, which further compares the triggering signal and second predetermined voltage, To judge whether the button does not trigger really.The control unit separately in one of triggering signal voltage value greater than or equal to this Two predetermined voltages send out a prompt signal.
The claim of the present invention separately disclose the control unit be in the polling result in a preset period of time or one When all maintaining the specific level in preset times, the confirmation signal is generated.The time span of the preset period of time or this default time Count the operating frequency respective change according to the control unit.
The correcting circuit of the present invention preferably use high operating frequency control unit, can it is intensive and rapidly detecting button be No certain triggering.Correcting circuit decides whether to start comparing unit using the transition of edge-triggered unit detecting triggering signal;Than Compared with unit be used for execute button triggering signal and first and second predetermined voltage comparison operation, by analyze trigger signal into Enter number and/or the period of critical zone, can accurately judge that button is to belong to be pressed triggering or only mechanism really by user The spring of misalignment is judged by accident.Therefore, correcting circuit both shortens poll time using the control unit of high operating frequency, further again Triggering/spring judgment mechanism that button is carried out by edge-triggered unit and comparing unit, avoids erroneous judgement from causing keyswitch type electronic The operation misalignment of equipment.
Description of the drawings
Fig. 1 is the circuit diagram of the correcting circuit of the embodiment of the present invention.
The operation workflow figure of the correcting circuit of Fig. 2 embodiment of the present invention.
The correcting circuit of Fig. 3 embodiment of the present invention analyzes the waveform diagram of triggering signal.
Drawing reference numeral explanation:
The embodiments will be further described with reference to the accompanying drawings for the realization, the function and the advantages of the object of the present invention.
Specific implementation mode
It please refers to Fig.1 to Fig.3, Fig. 1 is the circuit diagram of the correcting circuit 10 of the embodiment of the present invention, and Fig. 2 present invention is real The operation workflow figure of the correcting circuit 10 of example is applied, the correcting circuit 10 of Fig. 3 embodiment of the present invention analyzes the waveform of triggering signal S Schematic diagram.10 preferred application of correcting circuit is in the electronic equipment with button, such as the navigation device of computer mouse, thereby Improve the spring erroneous judgement of button.User's pressing keys or button may all will produce triggering signal S by influence of ambient vibration. The numerical value change of triggering signal S produced by certain pressing keys is usually larger, and button is bounced produced triggering by ambient vibration The numerical value change of signal S is typically small, and correcting circuit 10 of the invention is using edge-triggered technology and comparator detection techniques point Analysis effectively differentiates whether button is triggered or the vibration bullet of only button by user accordingly according to the parameter characteristic of triggering signal S It jumps.
As shown in Figure 1, correcting circuit 10 includes comparing unit 12, predetermined voltage generation unit 14, edge-triggered unit 16 And control unit 18.Edge-triggered unit 16 is electrically connected to the first input end 121 and button or can another electricity of comparing unit 12 It is connected to control unit 18.Predetermined voltage generates the second input terminal 122 that unit 14 is electrically connected to comparing unit 12, and controls single Member 18 is electrically connected to the output end 123 of comparing unit 12.Special one is mentioned that, edge-triggered unit 16 belongs to selection element, It can be considered with user and be arranged or remove.When correcting circuit 10 does not have edge-triggered unit 16, comparing unit 12 is duration It maintains and causes hair pattern;If there is correcting circuit 10 edge-triggered unit 16, comparing unit 12 can generally rest on suspend mode To save electric power, wait for that edge-triggered unit 16 judges to trigger whether signal S occurs transition, to decide whether to start comparing unit 12 Carry out the spring analysis of misjudgement of button.
First, step 200 and step 202 are executed, button is caused to send out and generates triggering signal S, and edge-triggered unit 16 connects Triggering signal S is received, and judges whether the current potential for triggering signal S changes.When the current potential does not change, step 204 is executed, is pressed Key is not triggered really, and comparing unit 12 is still maintained at suspend mode at this time.When the current potential of triggering signal S changes, hold Row step 206, edge-triggered unit 16 send out startup signal and wake up comparing unit 12, and comparing unit 12 is by triggering signal S and in advance Constant voltage generates the first predetermined voltage V1 caused by unit 14 and is compared.Wherein, if correcting circuit 10 is touched without edge Bill member 16, the triggering signal S that button generates is to be sent directly into comparing unit 12 via first input end 121, by comparing unit 12 carry out the comparison operation of triggering signal S and the first predetermined voltage V1.
When the voltage value for triggering signal S is less than or equal to the first predetermined voltage V1, step 208, control unit 18 are executed Judge that button does not trigger really, and selectively sends out prompt signal;Prompt signal is to remind user's button weathered not It may use or arbitrarily be used for other possible prompting items.When the voltage value for triggering signal S is higher than the first predetermined voltage V1, Step 210 is executed, control unit 18 starts polling mechanism.In a step 208, if the voltage value of triggering signal S is less than first The number cumulant of predetermined voltage V1 is few, can be considered that button only belongs to temporary failure;If control unit 18 records it Voltage value is more less than the number cumulant of the first predetermined voltage V1, can just judge that button is weathered, and accordingly send out prompt Signal.
After polling mechanism starts, if (such as 1 millisecond, right actual numerical value is not within preset certain period for polling result It is limited to this) specific level can be maintained, step 212 is executed, control unit 18 can generate confirmation signal, and correcting circuit 10 will be true Recognize signal and be transmitted to the electronic device for being matched with keyswitch type electronic equipment, button is judged by the ppu of the electronic device The button that electronic equipment generates clicks signal, to execute relevant application program when button is triggered really.If poll knot Fruit can not be maintained at specific level within certain period, execute step 214, and correcting circuit 10 will not generate confirmation signal, assert Triggering signal is generated because of the unexpected spring of button, thus judges that button is not triggered really.
In the step 212, in order to avoid the erroneous judgement of polling mechanism, control unit 18 preferably can be in polling result when default When all maintaining specific level in section or preset times, just generates and confirm signal (implying that aforementioned preset certain period);And And the sum of time span or preset times of preset period of time is respective change according to the operating frequency of control unit 18.Such as If operating frequency can execute 200 button detections for the control unit 18 of 32MHz within 3 milliseconds of period, if correcting circuit The 10 button detections for using the control unit 18,200 times that operating frequency is 72MHz instead can accelerate to complete in 1.3 milliseconds;Its is pre- If the parameter value of period and preset times is not limited to described in above-mentioned state sample implementation, hold depending on design requirement.
It separately can be used to generate the second predetermined voltage different from the first predetermined voltage V1 in addition, predetermined voltage generates unit 14 V2.By taking computer mouse as an example, the first predetermined voltage V1 may be set to 3 volts, and the second predetermined voltage V2 is then set as 0.3 volt, Interval range between first predetermined voltage V1 and the second predetermined voltage V2 is defined as critical zone, and right practical application is not limited to This.In step 202, when edge-triggered unit 16 judges that the current potential of triggering signal S does not change, comparing unit 12 is alternative Separately compare triggering signal S and the second predetermined voltage V2.When the voltage value of triggering signal S enters critical zone, its voltage value is implied that When less than the first predetermined voltage V1 and greater than or equal to the second predetermined voltage V2, control unit 18 assert that button does not touch really It sends out and sends out prompt signal;As described in before taking off embodiment, correcting circuit 10 can enter critical zone according to the voltage value of triggering signal S Number number and/or time length, remind the user button is weathered need to replace in real time.
In conclusion the correcting circuit of the present invention preferably uses the control unit of high operating frequency, it can be intensive and rapidly Whether detecting button triggers really.Correcting circuit decides whether to start using the transition of edge-triggered unit detecting triggering signal Comparing unit;Comparing unit be used for execute button triggering signal and first and second predetermined voltage comparison operation, by divide Analysis triggering signal enters number and/or the period of critical zone, can accurately judge that button is to belong to be pressed really by user to touch Hair or the only spring of mechanism misalignment erroneous judgement.Therefore, correcting circuit both shortens poll using the control unit of high operating frequency Time is further carried out triggering/spring judgment mechanism of button by edge-triggered unit and comparing unit, erroneous judgement is avoided to make again At the operation misalignment of keyswitch type electronic equipment.
The foregoing is merely the preferred embodiments of the invention, all equivalent changes done according to scope of the present invention patent with Modification, should all belong to the covering scope of the present invention.

Claims (10)

1. a kind of correcting circuit being used for improving button spring erroneous judgement, which is characterized in that it includes have:
There is one comparing unit a first input end, one second input terminal and an output end, the first input end to be used for receiving this One of button generation triggering signal;
One predetermined voltage generates unit, second input terminal is electrically connected to, for generating one first predetermined voltage;And
One control unit is electrically connected to the output end, which decides whether according to one of comparing unit comparison result Polling mechanism is executed, and generates a confirmation signal when one of polling mechanism polling result maintains a specific level, In the confirmation signal be used for for a ppu confirming that the button triggers really.
2. correcting circuit as described in claim 1, which is characterized in that additionally comprised:
One edge trigger element, is electrically connected to the first input end and the button, to judge whether the triggering signal occurs to turn State.
3. correcting circuit as claimed in claim 2, which is characterized in that when wherein one of triggering signal current potential changes, start The comparing unit is to decide whether to execute polling mechanism, and when which does not change, which separately judges that the button does not have Really triggering.
4. correcting circuit as described in claim 1, which is characterized in that wherein the control unit is in one of triggering signal voltage Value executes the polling mechanism when being higher than first predetermined voltage, and is sent out when the voltage value is less than or equal to first predetermined voltage Go out a prompt signal.
5. correcting circuit as claimed in claim 4, which is characterized in that wherein the control unit is less than or equal in the voltage value When first predetermined voltage, judge that the button does not trigger really.
6. correcting circuit as described in claim 1, which is characterized in that wherein the control unit records one of triggering signal electricity Pressure value accordingly sends out a prompt signal less than one of first predetermined voltage cumulant according to the cumulant.
7. correcting circuit as claimed in claim 2, which is characterized in that wherein the predetermined voltage generates unit and is separately used for generating one Second predetermined voltage, when one of triggering signal current potential does not change, which further compares the triggering signal and is somebody's turn to do Second predetermined voltage, to judge whether the button does not trigger really.
8. correcting circuit as claimed in claim 7, which is characterized in that wherein the control unit is separately in one of triggering signal electricity Pressure value sends out a prompt signal greater than or equal to second predetermined voltage.
9. correcting circuit as described in claim 1, which is characterized in that wherein the control unit is pre- one in the polling result If all maintain the specific level in the period or in a preset times, the confirmation signal is generated.
10. correcting circuit as claimed in claim 9, which is characterized in that the wherein time span of the preset period of time or this is default Number according to the control unit operating frequency respective change.
CN201710066824.2A 2017-02-07 2017-02-07 Correction circuit for improving key bounce misjudgment Active CN108399019B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710066824.2A CN108399019B (en) 2017-02-07 2017-02-07 Correction circuit for improving key bounce misjudgment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710066824.2A CN108399019B (en) 2017-02-07 2017-02-07 Correction circuit for improving key bounce misjudgment

Publications (2)

Publication Number Publication Date
CN108399019A true CN108399019A (en) 2018-08-14
CN108399019B CN108399019B (en) 2021-06-01

Family

ID=63094397

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710066824.2A Active CN108399019B (en) 2017-02-07 2017-02-07 Correction circuit for improving key bounce misjudgment

Country Status (1)

Country Link
CN (1) CN108399019B (en)

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7847614B2 (en) * 2007-05-30 2010-12-07 Kyocera Corporation Switch noise reduction device and method using counter
CN102005199A (en) * 2010-12-24 2011-04-06 福建华映显示科技有限公司 Time schedule controller for liquid crystal display panel and time schedule control method thereof
US20110309956A1 (en) * 2010-06-22 2011-12-22 Microsoft Corporation Low power sensing via resistive sensor matrix
US20120050208A1 (en) * 2010-08-30 2012-03-01 Microsoft Corporation Resistive matrix with optimized input scanning
CN105589582A (en) * 2014-11-10 2016-05-18 原相科技股份有限公司 Correcting circuit for switching mouse into different sensing modes

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US7847614B2 (en) * 2007-05-30 2010-12-07 Kyocera Corporation Switch noise reduction device and method using counter
US20110309956A1 (en) * 2010-06-22 2011-12-22 Microsoft Corporation Low power sensing via resistive sensor matrix
US20120050208A1 (en) * 2010-08-30 2012-03-01 Microsoft Corporation Resistive matrix with optimized input scanning
CN102005199A (en) * 2010-12-24 2011-04-06 福建华映显示科技有限公司 Time schedule controller for liquid crystal display panel and time schedule control method thereof
CN105589582A (en) * 2014-11-10 2016-05-18 原相科技股份有限公司 Correcting circuit for switching mouse into different sensing modes

Also Published As

Publication number Publication date
CN108399019B (en) 2021-06-01

Similar Documents

Publication Publication Date Title
US20140278194A1 (en) Proximity interface development system having analyzer and method
US8723657B2 (en) Input device, vibration device and input detection method
CN108475597B (en) Device and method for detecting actuation of a switch
CN108733249A (en) Portable electric device, contact-controllable detector and its touch detection method
EP3287920A1 (en) Electronic terminal screen unlocking method, image acquisition method and device
US20130221999A1 (en) Testing system and method
CN112306248A (en) Hybrid circuit for touch pad and keyboard
US7809867B2 (en) Keypad de-bouncing apparatus and method
CN102566822A (en) Automatic calibration method for touch screen
CN103677551A (en) Information processing method and electronic device
KR20150111043A (en) Fingerprint authenticating apparatus detecting finger touch and operating method thereof
US10592023B2 (en) Touch display assembly, touch input unit and touch input method
JP2022503458A (en) Speech processing methods, devices, devices, programs and computer storage media
CN108399019A (en) For improving the correcting circuit of button spring erroneous judgement
CN106468973B (en) Touch event processing method and device
CN106919285B (en) Terminal
CN105787313B (en) Cryptographic system and electronic equipment with the cryptographic system
US20160226521A1 (en) Touch-on-Metal Keypad with N-1 Key Scan Averaging
US10224927B2 (en) Input device, terminal device, and computer-readable recording medium
CN107592842B (en) The detection of the operation of operating element in motor vehicle
US10310672B2 (en) Input apparatus, input detection method, and in-vehicle apparatus
US10659077B2 (en) Amending circuit of correcting bouncing misjudgment of a keyswitch
US20070279811A1 (en) Protection device
CN104615957A (en) Power mode switching method and device
US20170010696A1 (en) Input device adaptable to use habit and adapting method therefor

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant