CN201656956U - A/D type key circuit - Google Patents

A/D type key circuit Download PDF

Info

Publication number
CN201656956U
CN201656956U CN2010201064614U CN201020106461U CN201656956U CN 201656956 U CN201656956 U CN 201656956U CN 2010201064614 U CN2010201064614 U CN 2010201064614U CN 201020106461 U CN201020106461 U CN 201020106461U CN 201656956 U CN201656956 U CN 201656956U
Authority
CN
China
Prior art keywords
key
button
circuit
port
value
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
CN2010201064614U
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.)
Guangdong Oppo Electronics Industry Co Ltd
Original Assignee
Guangdong Oppo Electronics Industry 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 Guangdong Oppo Electronics Industry Co Ltd filed Critical Guangdong Oppo Electronics Industry Co Ltd
Priority to CN2010201064614U priority Critical patent/CN201656956U/en
Application granted granted Critical
Publication of CN201656956U publication Critical patent/CN201656956U/en
Anticipated expiration legal-status Critical
Expired - Fee Related legal-status Critical Current

Links

Images

Landscapes

  • Input From Keyboards Or The Like (AREA)

Abstract

The utility model discloses an A/D type key circuit arranged in a low power consumption system, which includes a key group and a peripheral circuit comprising a resistor, a diode, a triode and a capacitor. When a key is pressed down, two signals are generated, one is provided to an interrupt port of the system to interrupt the system, the other is provided to an A/D port of the system, the system can judge which key is pressed down according to the acquired A/D value, and the A/D value of each key is set through adjusting R0-RN. The circuit is designed mainly for the low power consumption system which is provided with the A/D port and the interrupt port and comes into the standby state frequently; and when the system comes into the standby state, the A/D is automatically turned off, the standby state can be interrupted no matter which key is pressed down, and then the system is waken up to judge which key is pressed down, so as to play the function of the corresponding key. The utility model is suitable for the low power consumption system, and is energy-saving and environment-friendly.

Description

A kind of A/D formula key circuit
Technical field
The utility model relates to a kind of electronic circuit, particularly relates to a kind of A/D formula key circuit of low-power dissipation system.
Background technology:
At present, A/D (Analog to Digital Converter analog to digital converter, typically referring to is the electronic component of digital signal with analog-signal transitions) the formula button of most of manufacturer production is to realize keypress function by electric resistance partial pressure, system scan A/D value.This A/D formula button has only and keeps A/D scanning always, just can make button that function is arranged, and is not suitable for the low-power dissipation system design.And in low-power dissipation system, require when not having button to press, can turn off A/D, thus reduce system power dissipation, when pressing, button can produce interruption (edge or level), and at this moment open again and read the A/D value, can realize keypress function easily.When system enters dormancy, can only be waken up by interruption, general A/D formula button does not have this function, and existing A/D formula button can not produce interrupt signal when button is pressed generation A/D value.
The utility model content:
The purpose of this utility model is to overcome the deficiencies in the prior art, and a kind of A/D formula key circuit is provided, and produces interrupt signal pressing generation A/D value at button when, satisfies the demand of low power dissipation design.
In order to achieve the above object, the technical solution adopted in the utility model is: a kind of A/D formula key circuit, be arranged in the low-power dissipation system, this circuit is made up of the key groups of parallel connection, each key groups is made up of the button and the diode of series connection, bridge joint one divider resistance between the adjacent key group, the output one tunnel of this circuit via after the diode output output again via being delivered to interruptive port INT behind the peripheral circuit of forming by resistance R A, RB, RC; The A/D value of another road output is connected to the A/D port through bridge joint after divider resistance R1, R0 between button K1 and the diode D1 and anti-shake capacitor C 1.
Can produce two signals when button is pressed, an interruptive port that offers system produces system and interrupts; Which button an A/D port that offers system is judged as by collection A/D value and presses, and the A/D value of each button can be provided with by regulating R0~RN.This circuit is the low-power dissipation system design that A/D port, interruptive port is arranged and need often enter standby, after system enters standby, can turn off A/D, reduce power consumption, press Shi Douke as any one button and produce interruption, waken system, and can judge to which button at once and press, thus realize the function of corresponding button.
The utility model adopts diode D1~DN to isolate different buttons and disturbs, and produces interruption when button is pressed.When needs produce trailing edge/low level and interrupt, can make the triode conducting by NPN type triode Q1, thereby make the interruptive port level by VDD reduce to low level () produce and interrupt.Rising edge/when high level interrupted, the VCC level directly made interruptive port mouth signal be upgraded to high level (adjustable) by low level by diode when the needs generation.
Compared with prior art, the beneficial effects of the utility model are: the first, and when pressing generation A/D value, button can produce interrupt signal, can effectively reduce system power dissipation; The second, when having button to press, can not turn off A/D, do not need A/D always at scanning mode; The 3rd, enter dormancy in system, in the time of can only waking up by interruption, system is waken up from the low power consumpting state of dormancy, and accurately judge button.
Description of drawings:
Fig. 1 is a theory diagram of the present utility model;
Fig. 2 is that the utility model trailing edge/low level is interrupted A/D formula key circuit figure;
Fig. 3 is that the utility model rising edge/high level interrupts A/D formula key circuit figure.
Embodiment:
Design of the present utility model is to overcome the deficiencies in the prior art, and a kind of A/D formula key circuit is provided, and exports the A/D value pressing the generation interrupt signal at button when, satisfies the demand of low power dissipation design.Be elaborated with reference to accompanying drawing below in conjunction with embodiment, so that technical characterictic of the present utility model and advantage are carried out more deep annotation.
A kind of A/D formula key circuit, be arranged in the low-power dissipation system, this circuit is made up of the key groups of parallel connection, each key groups is made up of the button and the diode of series connection, bridge joint one divider resistance between the adjacent key group, the output one tunnel of this circuit via after the diode output output again via being delivered to interruptive port INT behind the peripheral circuit of forming by resistance R A, RB, RC; The A/D value of another road output is connected to the A/D port through bridge joint after divider resistance R1, R0 between button K1 and the diode D1 and anti-shake capacitor C 1.
Theory diagram of the present utility model can produce two signals as shown in Figure 1 when button is pressed, an interruptive port that offers system produces system and interrupts; Which button an A/D port that offers system is judged as by collection A/D value and presses, and the A/D value of each button can be provided with by regulating R0~RN.This circuit is the low-power dissipation system design that A/D port, interruptive port is arranged and need often enter standby, after system enters standby, can turn off A/D, reduce power consumption, press Shi Douke as any one button and produce interruption, waken system, and can judge to which button at once and press, thus realize the function of corresponding button.
For the system that needs trailing edge/low level to interrupt, the button schematic diagram as shown in Figure 2, wherein K1~KN is a N button, R0~RN is the A/D divider resistance, D1~DN is that the general button that prevents interferes with each other diode (as 1N4148), Q1 is NPN type triode (N type semiconductor is based on electronics, the triode of being made up of P type semiconductor of 2 N type semiconductor sandwich), and C1 is the anti-shake electric capacity of A/D.Operation principle is as follows: when button Kx presses, diode Dx conducting, thereby make NPN type triode Q1 conducting, INT (being an instruction that sends interruption to CPU in assembler language) signal becomes low level (being about ground) by high level (VDD), interrupt thereby produce, this moment, divider resistance Rx upper end was communicated with VCC by button, because the existence of other diodes, button can not gone here and there mutually with other buttons, at this moment the voltage of AD_KEY1 network is R0*VCC/ (R0+R1+ ... Rx) (x>=1), button can accurately be judged by gathering the A/D value by system.RA current-limiting resistance in the circuit diagram, RB are pull-up resistor, and RC is for preventing to disturb resistance.
For needing rising edge/high level as the system of interrupting, the button schematic diagram as shown in Figure 3, wherein K1~KN is a N button, R0~RN is the A/D divider resistance, D1~DN is that diode (as 1N4148) is disturbed in general preventing between button, and C1 is the anti-shake electric capacity of A/D.Operation principle is as follows: when button Kx presses, diode Dx conducting, the INT signal by low level () become high level (VDD), interrupt thereby produce, this moment, divider resistance Rx upper end was communicated with VCC by button, because the existence of other diodes, button can not gone here and there mutually with other buttons, at this moment the voltage of A/D_KEY1 network is R0*VCC/ (R0+R1+ ... Rx) (x>=1), button can accurately be judged by gathering the A/D value by system.RA, RB are divider resistance in the circuit diagram, and scalable is interrupted the level value (VDD) of high level, and RC is a current-limiting resistance.

Claims (2)

1. A/D formula key circuit, be arranged in the low-power dissipation system, it is characterized in that: this circuit is made up of the key groups of parallel connection, each key groups is made up of the button and the diode of series connection, bridge joint one divider resistance between the adjacent key group, this circuit output end one tunnel via after the diode output output again via being delivered to interruptive port INT behind the peripheral circuit of forming by resistance R A, RB, RC; The A/D value of another road output is connected to the A/D port through bridge joint after divider resistance R1, R0 between button K1 and the diode D1 and anti-shake capacitor C 1.
2. A/D formula key circuit according to claim 1 is characterized in that: described A/D value can be determined by VCC and divider resistance R0~RN.
CN2010201064614U 2010-02-01 2010-02-01 A/D type key circuit Expired - Fee Related CN201656956U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN2010201064614U CN201656956U (en) 2010-02-01 2010-02-01 A/D type key circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN2010201064614U CN201656956U (en) 2010-02-01 2010-02-01 A/D type key circuit

Publications (1)

Publication Number Publication Date
CN201656956U true CN201656956U (en) 2010-11-24

Family

ID=43122184

Family Applications (1)

Application Number Title Priority Date Filing Date
CN2010201064614U Expired - Fee Related CN201656956U (en) 2010-02-01 2010-02-01 A/D type key circuit

Country Status (1)

Country Link
CN (1) CN201656956U (en)

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103558774A (en) * 2013-09-24 2014-02-05 康佳集团股份有限公司 Arbitrary key wakeup control device and terminal
CN107231157A (en) * 2016-03-23 2017-10-03 浙江正泰电器股份有限公司 The controller of key scanning method and low-voltage electrical apparatus
CN107231156A (en) * 2016-03-23 2017-10-03 浙江正泰电器股份有限公司 The controller of key scanning method and low-voltage electrical apparatus
CN109450425A (en) * 2018-10-18 2019-03-08 上海海事大学 A kind of key Anti-shaking circuit
CN110509867A (en) * 2019-08-19 2019-11-29 华勤通讯技术有限公司 A kind of vehicle-mounted key system
CN113433406A (en) * 2021-06-18 2021-09-24 上海润欣科技股份有限公司 Key detection circuit and terminal equipment

Cited By (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN103558774A (en) * 2013-09-24 2014-02-05 康佳集团股份有限公司 Arbitrary key wakeup control device and terminal
CN103558774B (en) * 2013-09-24 2018-09-21 康佳集团股份有限公司 A kind of arbitrary key wakeup control device and terminal
CN107231157A (en) * 2016-03-23 2017-10-03 浙江正泰电器股份有限公司 The controller of key scanning method and low-voltage electrical apparatus
CN107231156A (en) * 2016-03-23 2017-10-03 浙江正泰电器股份有限公司 The controller of key scanning method and low-voltage electrical apparatus
CN109450425A (en) * 2018-10-18 2019-03-08 上海海事大学 A kind of key Anti-shaking circuit
CN109450425B (en) * 2018-10-18 2022-09-06 上海海事大学 Button anti-shake circuit
CN110509867A (en) * 2019-08-19 2019-11-29 华勤通讯技术有限公司 A kind of vehicle-mounted key system
CN113433406A (en) * 2021-06-18 2021-09-24 上海润欣科技股份有限公司 Key detection circuit and terminal equipment
CN113433406B (en) * 2021-06-18 2024-06-04 上海润欣科技股份有限公司 Key detection circuit and terminal equipment

Similar Documents

Publication Publication Date Title
CN201656956U (en) A/D type key circuit
CN103699199A (en) Electronic device on-off control device and electronic device
CN105094195A (en) voltage regulator, method and chip
CN201893771U (en) Universal interface circuit for discrete magnitude acquisition of airborne equipment
CN101901040A (en) Computer wake-up control circuit
CN207367149U (en) One kind simply powers on automatic boot circuit
CN201698195U (en) Expansion circuit of single chip microcomputer IO ports
CN203243301U (en) System switch controlled by wireless signal
CN208506962U (en) A kind of energy-saving wireless remote control device
CN204031116U (en) A kind of touch key function control circuit of charged electronic switch
CN204241137U (en) Two-wire system intelligent pressure transmitter
CN203964957U (en) A kind of Reservoir information monitoring system based on ZigBee technology
CN201113981Y (en) Press key detection circuit
CN208258050U (en) Mute control circuit for power failure
CN107478948B (en) USB load detection circuit and detection method
CN202873113U (en) LED (Light-emitting diode) indication lamp circuit and electronic device
CN104796628B (en) Video signal recognition circuit
CN202914850U (en) Modified proportional valve drive return circuit
CN202285404U (en) Environmental-friendly energy-saving telephone set
CN206807739U (en) Mute control circuit for power failure
CN203720775U (en) Electronic equipment power-on and power-off control device and electronic equipment
CN209151272U (en) A kind of HDMI turns SDI converter
CN203930819U (en) A kind of PCIE signal transmitting apparatus
CN203561856U (en) Control chip for soybean milk machine
US20230376102A1 (en) Electronic wake-up device and wake-up method thereof

Legal Events

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

Granted publication date: 20101124

Termination date: 20120201