CN204180043U - Button Anti-shaking circuit and electronic installation - Google Patents

Button Anti-shaking circuit and electronic installation Download PDF

Info

Publication number
CN204180043U
CN204180043U CN201420645739.3U CN201420645739U CN204180043U CN 204180043 U CN204180043 U CN 204180043U CN 201420645739 U CN201420645739 U CN 201420645739U CN 204180043 U CN204180043 U CN 204180043U
Authority
CN
China
Prior art keywords
resistance
comparator
key switch
output
cpu
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.)
Expired - Fee Related
Application number
CN201420645739.3U
Other languages
Chinese (zh)
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.)
Shenzhen TCL New Technology Co Ltd
Shenzhen TCL Digital Technology Co Ltd
Original Assignee
Shenzhen TCL New Technology Co Ltd
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 Shenzhen TCL New Technology Co Ltd filed Critical Shenzhen TCL New Technology Co Ltd
Priority to CN201420645739.3U priority Critical patent/CN204180043U/en
Application granted granted Critical
Publication of CN204180043U publication Critical patent/CN204180043U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Keying Circuit Devices (AREA)
  • Electronic Switches (AREA)

Abstract

The utility model discloses a kind of button Anti-shaking circuit and comprise the electronic installation of this button Anti-shaking circuit, this button Anti-shaking circuit is connected to the CPU of the mainboard of electronic installation, it comprise key switch, the first resistance, for according to the stable high level signal of the State-output of key switch or low level signal to the comparator of CPU and for providing the reference voltage providing unit of fiducial value for comparator; One end first resistance of key switch is connected with power supply, other end ground connection; The inverting input of comparator is connected with the common port of the first resistance and key switch; The in-phase input end of comparator is connected with the output of reference voltage providing unit, and the output of comparator is connected to the input of the CPU of mainboard; By the shake peak voltage of this button Anti-shaking circuit filtering key switch, make the voltage rising edge of the input exporting CPU to and trailing edge precipitous, the CPU being conducive to electronic installation responds key switch exactly.

Description

Button Anti-shaking circuit and electronic installation
Technical field
The utility model relates to electronic circuit field, particularly relates to a kind of button Anti-shaking circuit and electronic installation.
Background technology
In the electronic products such as television set, usually use by key control as interactive controlling mode.Button divides a variety of, and what field of television was conventional is the young sheet button of mechanical type or pot.After generally pressing this type of button, button there will be of short duration repeatedly closed, off-state, after a period of time, and just stable contact.At present, with reference to Fig. 1, usually use this kind of key circuit, key switch K is directly connected with power Vcc through resistance R, when key contact is bad, then easily produces the button voltage waveform of shake, there is a lot of spike in waveform edge, the output voltage wave of key switch K as shown in Figure 2.This peak voltage easily disturbs CPU, makes to occur erroneous judgement during CPU recognition by pressing keys, causes the key response entanglement of CPU.
Utility model content
Main purpose of the present utility model is to provide a kind of structure simple, futuramic button Anti-shaking circuit.
For achieving the above object, the utility model provides a kind of button Anti-shaking circuit, the CPU of the mainboard of this button Anti-shaking circuit connection of electronic devices, described button Anti-shaking circuit comprise key switch, the first resistance, for according to the stable high level signal of the State-output of described key switch or low level signal to the comparator of described CPU, and for providing the reference voltage providing unit of fiducial value for described comparator; One end first resistance of described key switch is connected with power supply, the other end ground connection of described key switch; The inverting input of described comparator is connected with the common port of described first resistance and key switch; The in-phase input end of described comparator is connected with the output of described reference voltage providing unit, and the output of described comparator is connected to the input of the CPU of described mainboard.
Preferably, described reference voltage providing unit comprises the second resistance and the 3rd resistance, and one end of described second resistance is connected with power supply, and the other end of described second resistance is connected with one end of the 3rd resistance, the other end ground connection of described 3rd resistance; The common port of described second resistance and the 3rd resistance is connected with the in-phase input end of described comparator as the output of described benchmark providing unit.
Preferably, described button Anti-shaking circuit also comprises the first electric capacity, and one end of described first electric capacity is connected with the in-phase input end of described comparator, and the other end of described first electric capacity is connected with the output of described comparator.
In addition, for achieving the above object, the utility model also provides a kind of electronic installation, the button Anti-shaking circuit that this electronic installation comprises body, is arranged at the mainboard of body interior and is electrically connected with the CPU of described mainboard, described button Anti-shaking circuit comprise key switch, the first resistance, for according to the stable high level signal of the State-output of described key switch or low level signal to the comparator of described CPU, and for providing the reference voltage providing unit of fiducial value for described comparator; One end first resistance of described key switch is connected with power supply, the other end ground connection of described key switch; The inverting input of described comparator is connected with the common port of described first resistance and key switch; The in-phase input end of described comparator is connected with the output of described reference voltage providing unit, and the output of described comparator is connected to the input of the CPU of described mainboard.
Preferably, described reference voltage providing unit comprises the second resistance and the 3rd resistance, and one end of described second resistance is connected with power supply, and the other end is connected with one end of the 3rd resistance; The other end ground connection of described 3rd resistance; The common port of described second resistance and the 3rd resistance is connected with the in-phase input end of described comparator as the output of described benchmark providing unit.
Preferably, described button Anti-shaking circuit also comprises the first electric capacity, and one end of described first electric capacity is connected with the in-phase input end of described comparator, and the other end of described first electric capacity is connected with the output of described comparator.
A kind of button Anti-shaking circuit provided by the utility model and comprise the electronic installation of this button Anti-shaking circuit, key switch is connected to the inverting input of comparator, by the magnitude of voltage of the change of the inverting input of the comparator caused by closed, the off-state of key switch, compare with the reference voltage value of the in-phase input end of comparator, control the output of comparator according to comparative result; When key switch closes, the fiducial value that this reference voltage providing unit provides all the time higher than the magnitude of voltage of inverting input, then the high level of comparator stable output, thus shake when inhibit key switch to close; When key switch disconnects, the fiducial value that this reference voltage providing unit provides all the time lower than the magnitude of voltage of inverting input, then the low level of comparator stable output, thus shake when inhibit key switch to disconnect.By the shake peak voltage of filtering key switch, make the voltage rising edge of the input exporting CPU to and trailing edge precipitous, the CPU being conducive to electronic installation responds key switch exactly.
Accompanying drawing explanation
Fig. 1 is the electrical block diagram of key switch in prior art
Fig. 2 is the output voltage waveform of key switch in prior art;
Fig. 3 is the schematic diagram that the utility model button Anti-shaking circuit is applied to electronic installation;
Fig. 4 is the input of comparator and the voltage oscillogram of output in Fig. 3.
The realization of the utility model object, functional characteristics and advantage will in conjunction with the embodiments, are described further with reference to accompanying drawing.
Embodiment
Should be appreciated that specific embodiment described herein only in order to explain the utility model, and be not used in restriction the utility model.
The utility model provides a kind of button Anti-shaking circuit.
In the utility model embodiment, with reference to Fig. 3, this button Anti-shaking circuit comprises key switch K, the first resistance R1, comparator U1, reference voltage providing unit 100 and the first electric capacity C1, described reference voltage providing unit 100 comprises the second resistance R2 and the 3rd resistance R3, one end first resistance R1 of described key switch K is connected with power Vcc, the other end ground connection of described key switch K; One end of described second resistance R2 is connected with power Vcc, and the described second resistance R2 other end is connected with one end of the 3rd resistance R3; The other end ground connection of described 3rd resistance R3; The inverting input c of described comparator U1 is connected with the common port of described first resistance R1 and key switch K; The in-phase input end a of described comparator U1 is connected with the common port of described second resistance R2, the 3rd resistance R3; The output b of described comparator U1 is connected with the in-phase input end a of described comparator U1 through the first electric capacity C1.
In the present embodiment, when key switch K does not press, the inverting input c of comparator U1 is connected with power Vcc through the first resistance R1, then the voltage of the inverting input c of comparator U1 is about Vcc, the in-phase input end a of comparator U1 is connected between the second resistance R2 and the 3rd resistance R3, its voltage, by the dividing potential drop gained of the 3rd resistance R3, is expressed as Vref=[R3/ (R2+R3)] × Vcc.According to above-mentioned analysis, the voltage of the voltage ratio in-phase input end a of the inverting input c of comparator U1 is high, then the output of comparator U1 is low level, is 0 in the present embodiment.
Reference Fig. 4, Fig. 4 are the input of comparator and the voltage oscillogram of output.When push button K switch time, key switch K is closed by being disconnected to, and now, the inverting input c of comparator U1 is through key switch K ground connection, and magnitude of voltage drags down instantaneously.When key switch K of short duration repeatedly closed, disconnect time, easily cause the voltage of the band burr spike of comparator U1 inverting input c.When the voltage of this band burr spike is added to comparator U1 inverting input c, if the voltage of the inverting input c of comparator U1 is lower than the voltage of comparator U1 in-phase input end a, then the output of comparator U1 is high level by low level instant reverse, if comparator U1 is also powered by power Vcc, so the output voltage of comparator U1 is also about Vcc.And the output b of comparator U1 is connected with the in-phase input end a of comparator U1 through the first electric capacity C1, because electric capacity has the poor character that can not suddenly change of both end voltage, so at one end b point voltage of the first electric capacity C1 from after 0V becomes Vcc instantaneously, the other end a point voltage of the first electric capacity C1 also and then must be raised to Vcc+Vref by original Vref, like this, the pressure reduction between a, b 2 just can remain original pressure reduction Vab=Vref.Due to the existence of the second resistance R2 and the 3rd resistance R3, after a point voltage is raised to Vcc+Vref, the first electric capacity C1 will be discharged by the second resistance R2, the 3rd resistance R3, make a point voltage slowly return to original voltage Vref.In whole process, the voltage of comparator U1 in-phase input end a is elevated, make higher than the burr voltage of inverting input c all the time, namely the in-phase input end a of comparator U1 is always high than inverting input c, thus the output b of comparator U1 exports high level always, the interference of the burr peak voltage fluctuated caused not being subject to key switch K loose contact, serves the effect preventing key switch K from shaking.
Equally, when discharging key switch K, key switch K, by being closed into disconnection, now, also can there is spike burr voltage in key switch K.When the voltage of the inverting input c of comparator U1 rises to just greater than in-phase input end a terminal voltage Vref from 0, then the output b voltage of comparator U1 is 0 by Vcc instant reverse.Because the voltage difference at the first electric capacity C1 two ends can not be suddenlyd change, so the voltage of one end b point of the first electric capacity C1 is from after Vcc becomes 0 instantaneously, the voltage of the other end a point of the first electric capacity C1 is also and then pulled down to Vref-Vcc by original Vref, and the pressure reduction between such a, b 2 just can remain original pressure reduction Vab=Vref-Vcc.After the voltage of the in-phase input end a of comparator U1 is pulled down to Vref-Vcc instantaneously, due to the existence of the second resistance R2 and the 3rd resistance R3, the first electric capacity C1 will be charged by the second resistance R2, the 3rd resistance R3, slowly return to original voltage Vref.In whole process, the voltage of comparator U1 in-phase input end a is dragged down, even there is negative voltage waveform, make lower than the burr voltage of inverting input c all the time, namely the in-phase input end a of comparator U1 is always low than inverting input c, thus the output b of comparator U1 stabilizes to 0 output always, the interference of the burr peak voltage fluctuated not caused by key switch K loose contact, serves the effect preventing key switch K from shaking.
The anti-shaking process of key switch K when pressing and discharge, utilize the second resistance R2, the 3rd resistance R3 to the charge-discharge principle of the first electric capacity C1, raise or drag down the voltage Vref of the in-phase input end a of comparator U1, make the output b of comparator U1 keep stable, thus the rising edge of the voltage waveform of the output b of the comparator U1 finally obtained, trailing edge are precipitous; The voltage transmission of this output b, to the input of the CPU on mainboard, adapts to the processing requirements of CPU.The RC constant formed that the stabilization ability of button Anti-shaking circuit depends on the second resistance R2, the 3rd resistance R3 and the first electric capacity C1 and the Vref size determined by the second resistance R2, the 3rd resistance R3 dividing potential drop, during practical application, the resistance of the capacitance of the first electric capacity C1 and the second resistance R2, the 3rd resistance R3 can be adjusted, to adapt to different stabilization requirements, be not further limited at this.
The utility model also provides a kind of electronic installation, the button Anti-shaking circuit that this electronic installation comprises body, is arranged at the mainboard 200 of body interior and is electrically connected with described mainboard 200, described mainboard 200 comprises CPU, and the output of the comparator U1 of described button Anti-shaking circuit is connected with the input of described CPU; The structure of this button Anti-shaking circuit, operation principle and the beneficial effect that brings, all with reference to the description of above-described embodiment, do not repeat them here.
These are only preferred embodiment of the present utility model; not thereby the scope of the claims of the present utility model is limited; every utilize the utility model specification and accompanying drawing content to do equivalent structure or equivalent flow process conversion; or be directly or indirectly used in other relevant technical fields, be all in like manner included in scope of patent protection of the present utility model.

Claims (6)

1. a button Anti-shaking circuit, the CPU of the mainboard of connection of electronic devices, it is characterized in that, described button Anti-shaking circuit comprise key switch, the first resistance, for according to the stable high level signal of the State-output of described key switch or low level signal to the comparator of described CPU and for providing the reference voltage providing unit of fiducial value for described comparator; One end first resistance of described key switch is connected with power supply, the other end ground connection of described key switch; The inverting input of described comparator is connected with the common port of described first resistance and key switch; The in-phase input end of described comparator is connected with the output of described reference voltage providing unit, and the output of described comparator is connected to the input of the CPU of described mainboard.
2. button Anti-shaking circuit as claimed in claim 1, it is characterized in that, described reference voltage providing unit comprises the second resistance and the 3rd resistance, one end of described second resistance is connected with power supply, the other end of described second resistance is connected with one end of the 3rd resistance, the other end ground connection of described 3rd resistance; The common port of described second resistance and the 3rd resistance is connected with the in-phase input end of described comparator as the output of described benchmark providing unit.
3. button Anti-shaking circuit as claimed in claim 1, it is characterized in that, described button Anti-shaking circuit also comprises the first electric capacity, and one end of described first electric capacity is connected with the in-phase input end of described comparator, and the other end of described first electric capacity is connected with the output of described comparator.
4. an electronic installation, it is characterized in that, the button Anti-shaking circuit that described electronic installation comprises body, is arranged at the mainboard of body interior and is electrically connected with the CPU of described mainboard, described button Anti-shaking circuit comprise key switch, the first resistance, for according to the stable high level signal of the State-output of described key switch or low level signal to the comparator of described CPU and for providing the reference voltage providing unit of fiducial value for described comparator; One end first resistance of described key switch is connected with power supply, the other end ground connection of described key switch; The inverting input of described comparator is connected with the common port of described first resistance and key switch; The in-phase input end of described comparator is connected with the output of described reference voltage providing unit, and the output of described comparator is connected to the input of the CPU of described mainboard.
5. electronic installation as claimed in claim 4, it is characterized in that, described reference voltage providing unit comprises the second resistance and the 3rd resistance, and one end of described second resistance is connected with power supply, and the other end is connected with one end of the 3rd resistance; The other end ground connection of described 3rd resistance; The common port of described second resistance and the 3rd resistance is connected with the in-phase input end of described comparator as the output of described benchmark providing unit.
6. electronic installation as claimed in claim 4, it is characterized in that, described button Anti-shaking circuit also comprises the first electric capacity, and one end of described first electric capacity is connected with the in-phase input end of described comparator, and the other end of described first electric capacity is connected with the output of described comparator.
CN201420645739.3U 2014-10-31 2014-10-31 Button Anti-shaking circuit and electronic installation Expired - Fee Related CN204180043U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201420645739.3U CN204180043U (en) 2014-10-31 2014-10-31 Button Anti-shaking circuit and electronic installation

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201420645739.3U CN204180043U (en) 2014-10-31 2014-10-31 Button Anti-shaking circuit and electronic installation

Publications (1)

Publication Number Publication Date
CN204180043U true CN204180043U (en) 2015-02-25

Family

ID=52568817

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201420645739.3U Expired - Fee Related CN204180043U (en) 2014-10-31 2014-10-31 Button Anti-shaking circuit and electronic installation

Country Status (1)

Country Link
CN (1) CN204180043U (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105141301A (en) * 2015-08-31 2015-12-09 昆山龙腾光电有限公司 Keying circuit and display device comprising keying circuit
CN105425761A (en) * 2015-12-31 2016-03-23 天津朗誉科技发展有限公司 Dual-central-processing-unit (CPU) intelligent automated guided vehicle (AGV) control system based on advanced RISC machine (ARM) and programmable device
CN106033964A (en) * 2015-03-16 2016-10-19 佛山市顺德区美的电热电器制造有限公司 Button trigger detection apparatus in household appliance and the household appliance possessing the button trigger detection apparatus
CN106092129A (en) * 2016-06-15 2016-11-09 湖南工业大学 Locomotive speed mileage gauge
CN106600853A (en) * 2016-12-06 2017-04-26 青岛海信智能商用系统股份有限公司 Anti-jittering circuit used for charging or signal transmission of charging base, and charging base
CN107689786A (en) * 2017-09-12 2018-02-13 上海剑桥科技股份有限公司 Key switch for GPIO interface disappears twitter circuit

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106033964A (en) * 2015-03-16 2016-10-19 佛山市顺德区美的电热电器制造有限公司 Button trigger detection apparatus in household appliance and the household appliance possessing the button trigger detection apparatus
CN105141301A (en) * 2015-08-31 2015-12-09 昆山龙腾光电有限公司 Keying circuit and display device comprising keying circuit
CN105425761A (en) * 2015-12-31 2016-03-23 天津朗誉科技发展有限公司 Dual-central-processing-unit (CPU) intelligent automated guided vehicle (AGV) control system based on advanced RISC machine (ARM) and programmable device
CN106092129A (en) * 2016-06-15 2016-11-09 湖南工业大学 Locomotive speed mileage gauge
CN106600853A (en) * 2016-12-06 2017-04-26 青岛海信智能商用系统股份有限公司 Anti-jittering circuit used for charging or signal transmission of charging base, and charging base
CN107689786A (en) * 2017-09-12 2018-02-13 上海剑桥科技股份有限公司 Key switch for GPIO interface disappears twitter circuit

Similar Documents

Publication Publication Date Title
CN204180043U (en) Button Anti-shaking circuit and electronic installation
CN205232174U (en) Oscillating circuit
CN204287446U (en) A kind of power-fail detection circuit
CN203135390U (en) Over-current protection circuit and electronic apparatus
CN203870427U (en) Low-electricity consumption control circuit in standby state
CN204947900U (en) Power management circuit of electronic lock
CN205232185U (en) Power supply switch control circuit
CN205142167U (en) Time delay outage reset circuit
CN203337781U (en) Power supply detection circuit, power supply circuit and electronic equipment
CN203707754U (en) PFC current protection and control circuit, and electrical equipment
CN204836131U (en) Effective switch input signal acquisition circuit of high level
CN203013261U (en) Intelligent mobile hard disk
CN205160047U (en) Overvoltage crowbar and device
CN204597927U (en) Based on the triggering interlock circuit of operational amplifier
CN102931964B (en) Start control circuit
CN203457042U (en) Switching power supply of pulse switching machine
CN202886881U (en) Full-hardware startup and shutdown circuit
CN203706007U (en) Ethernet switch voltage stabilizing circuit
CN203011996U (en) Limit peak value current detection circuit of switch power supply
CN201556108U (en) Load current control circuit and device
CN201926699U (en) Low-voltage circuit for power failure detection
CN201478615U (en) Socket with adjustable standby power
CN104883164B (en) A kind of reset circuit and electronic equipment with the circuit
CN203574423U (en) Integration voltage stabilization and low voltage detection power supply chip applied to electronic product
CN204760274U (en) Contact disappears and trembles circuit

Legal Events

Date Code Title Description
C14 Grant of patent or utility model
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150225

Termination date: 20171031

CF01 Termination of patent right due to non-payment of annual fee