CN204288113U - A kind of reset circuit - Google Patents

A kind of reset circuit Download PDF

Info

Publication number
CN204288113U
CN204288113U CN201420768091.9U CN201420768091U CN204288113U CN 204288113 U CN204288113 U CN 204288113U CN 201420768091 U CN201420768091 U CN 201420768091U CN 204288113 U CN204288113 U CN 204288113U
Authority
CN
China
Prior art keywords
circuit
reset
comparator circuit
type triode
input end
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
CN201420768091.9U
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.)
Qingdao Goertek Co Ltd
Original Assignee
Qingdao Goertek 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 Qingdao Goertek Co Ltd filed Critical Qingdao Goertek Co Ltd
Priority to CN201420768091.9U priority Critical patent/CN204288113U/en
Application granted granted Critical
Publication of CN204288113U publication Critical patent/CN204288113U/en
Expired - Fee Related legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Electronic Switches (AREA)

Abstract

The utility model discloses a kind of reset circuit, comprise comparator circuit and key press detecting circuit, the output terminal of described comparator circuit is wherein connected with the reset terminal of single-chip microcomputer on a road, pull-up resistor of leading up in addition is connected with the first direct supply, control end is connected with the voltage input end of USB interface, the first input end input reference voltage of described comparator circuit, second input end connects key press detecting circuit, when the control end input high level of described comparator circuit and the output voltage of described key press detecting circuit is greater than reference voltage time, described comparator circuit output low level.Reset circuit of the present utility model, there is USB detecting function, only have meet simultaneously USB insert condition and perform reset operation time, just complete corresponding reset function, no longer place one's entire reliance upon only to be undertaken distinguishing by key press time length and perform different operations, reliability is high.

Description

A kind of reset circuit
Technical field
The utility model relates to a kind of reset circuit, specifically, relates to a kind of reset circuit with USB insertion monitoring function.
Background technology
Wearable electronic product became the trend of consumer electronics development just gradually in recent years, and the difficult point developing wearable product is just how to realize more complicated function with less device.Because Wearable product is towards the future development of miniaturization cost degradation, miniaturization and cost degradation inevitable requirement slip-stick artist can utilize minimum system resource to realize maximum functions when design research and development product.The wearable consumer electronics products of current popular mainly comprises in-ear typed Bluetooth headset, wrist strap, intelligent watch etc.For the consideration of the factors such as low cost attractive in appearance, these electronic equipment often only have a button, how to realize by this button the difficult problem that the various functions such as start, reset just become puzzlement slip-stick artist.At present often through long by or the short mode by button realize different functions, due to long by with short by time length be more or less the same, user be easy to this by short by operation time of pressing exceed, or should grow by operation time of pressing not by foot, directly cause electronic equipment to perform other operation, occur maloperation phenomenon.
Summary of the invention
The utility model in order to solve existing wearable minisize electronic equipment by unique or and a small amount of number of keys performs different control respectively by means of only the difference of button duration time, easily there is the problem of maloperation, propose a kind of reset circuit, there is USB detecting function, only have meet simultaneously USB insert condition and perform reset operation time, just complete corresponding reset function.
In order to solve the problems of the technologies described above, the utility model is achieved by the following technical solutions:
A kind of reset circuit, comprise comparator circuit and key press detecting circuit, the output terminal of described comparator circuit is wherein connected with the reset terminal of single-chip microcomputer on a road, pull-up resistor of leading up in addition is connected with the first direct supply, control end is connected with the voltage input end of USB interface, the first input end input reference voltage of described comparator circuit, second input end is connected with described key press detecting circuit, when the control end input high level of described comparator circuit and the output voltage of described key press detecting circuit is greater than reference voltage time, described comparator circuit output low level.
Further, also comprise the bleeder circuit be in series by the first resistance and the second resistance, one end of described bleeder circuit is connected with the second direct supply, and one end connects earth terminal in addition, and the first input end of described comparator circuit is connected between described first resistance and the second resistance.
Further, described key press detecting circuit comprises keyswitch, described keyswitch one end is connected with the second direct supply, and connect earth terminal after one end series connection the 3rd resistance and the first electric capacity in addition, the second input end of described comparator circuit is connected between described 3rd resistance and the first electric capacity.
Further, the second input end of described comparator circuit is connected after a current-limiting resistance and is connected between described 3rd resistance and the first electric capacity.
Further, described comparator circuit is an operational amplifier, the in-phase input end input reference voltage of described operational amplifier, inverting input connects the second direct supply by key press detecting circuit, the output terminal of described operational amplifier is wherein connected with the reset terminal of single-chip microcomputer on a road, and pull-up resistor of leading up in addition is connected with the first direct supply.
Further, the output terminal of described operational amplifier and ground are also connected with a filter capacitor between holding.
Further, described comparator circuit comprises a NPN type triode and a PNP type triode, the base stage of described NPN type triode is connected with the voltage input end of USB interface, the collector of NPN type triode is connected with the output terminal of key press detecting circuit, the emitter of NPN type triode is connected with the emitter of described PNP type triode, the base stage input reference voltage of described PNP type triode, the collector of described PNP type triode connects earth terminal, and the reset terminal of single-chip microcomputer is connected between the emitter of described NPN type triode and the emitter of described PNP type triode.
Further, a filter capacitor is also connected with between the emitter of described PNP type triode and collector.
Further, described comparator circuit comprises a NMOS tube and a PMOS, the grid of described NMOS tube is connected with the voltage input end of USB interface, the drain electrode of described NMOS tube is connected with the output terminal of key press detecting circuit, the source electrode of described NMOS tube is connected with the source electrode of described PMOS, the grid input reference voltage of described PMOS, the drain electrode of described PMOS connects earth terminal, and the reset terminal of single-chip microcomputer is connected between the source electrode of described NMOS tube and the source electrode of described PMOS.
Further, be also connected with a diode and a filter capacitor between the source electrode of described PMOS and drain electrode, the positive pole of described diode connects the source electrode of PMOS by filter capacitor, the negative pole of described diode connects the drain electrode of described PMOS.
Compared with prior art, advantage of the present utility model and good effect are: reset circuit of the present utility model, there is USB detecting function, only have meet simultaneously USB insert condition and perform reset operation time, just complete corresponding reset function, no longer place one's entire reliance upon only to be undertaken distinguishing by key press time length and perform different operations, reliability is high.
After reading the detailed description of the utility model embodiment by reference to the accompanying drawings, other features of the present utility model and advantage will become clearly.
Accompanying drawing explanation
In order to be illustrated more clearly in the utility model embodiment or technical scheme of the prior art, be briefly described to the accompanying drawing used required in embodiment or description of the prior art below, apparently, accompanying drawing in the following describes is only embodiments more of the present utility model, for those of ordinary skill in the art, under the prerequisite not paying creative work, other accompanying drawing can also be obtained according to these accompanying drawings.
Fig. 1 is a kind of embodiment functional-block diagram of the reset circuit that the utility model proposes;
Fig. 2 is a kind of embodiment circuit theory diagrams of the reset circuit that the utility model proposes;
Fig. 3 is the another kind of embodiment circuit theory diagrams of the reset circuit that the utility model proposes;
Fig. 4 is another the embodiment circuit theory diagrams of the reset circuit that the utility model proposes;
Fig. 5 is another the embodiment circuit theory diagrams of the reset circuit that the utility model proposes.
Embodiment
Below in conjunction with the accompanying drawing in the utility model embodiment, be clearly and completely described the technical scheme in the utility model embodiment, obviously, described embodiment is only the utility model part embodiment, instead of whole embodiments.Based on the embodiment in the utility model, those of ordinary skill in the art are not making the every other embodiment obtained under creative work prerequisite, all belong to the scope of the utility model protection.
Embodiment one, the present embodiment proposes a kind of reset circuit, as shown in Figure 1, comprise comparator circuit and key press detecting circuit, the output terminal of described comparator circuit is wherein connected with the reset terminal of single-chip microcomputer on a road, pull-up resistor of leading up in addition is connected with the first direct supply VDD, control end is connected with the voltage input end of USB interface, the first input end input reference voltage Vref of described comparator circuit, second input end is connected with described key press detecting circuit, when the control end input high level of described comparator circuit and the output voltage of described key press detecting circuit is greater than reference voltage Vref time, described comparator circuit output low level, for single-chip microcomputer input reset signal, reset.Reset circuit of the present utility model, there is USB detecting function, only have when USB inserts, the voltage input end of USB interface is high level, comparator circuit is opened, otherwise, comparator circuit is not opened, no matter what kind of down state button is, the output terminal of comparator circuit is all being pulled to high level by the first direct supply, therefore, single-chip microcomputer cannot reset, when comparator circuit unlatching and button are pressed the corresponding reset operation of execution by USB insertion, key press detecting circuit exports high level to comparator circuit, if the words of the reference voltage that this high level inputs higher than comparator circuit, comparator circuit output low level, for monolithic processor resetting end exports reset signal, just complete corresponding reset function, the reset circuit of the present embodiment no longer places one's entire reliance upon only to be undertaken distinguishing by key press time length and performs different operations, reliability is high.
As a preferred embodiment, as shown in Figure 2, the reset circuit of the present embodiment also comprises the bleeder circuit be in series by the first resistance R1 and the second resistance R2, one end of described bleeder circuit is connected with the second direct supply VBAT, one end connects earth terminal in addition, the first input end 1 of described comparator circuit is connected between described first resistance R1 and the second resistance R2, described bleeder circuit is used for providing reference voltage Vref for comparator circuit, by adjusting the resistance of the first resistance R1 or the second resistance R2, realize the adjustment to input reference voltage, flexibly and easily.
In the present embodiment, as shown in Figure 2, described key press detecting circuit comprises keyswitch SW1, described keyswitch SW1 one end is connected with the second direct supply VBAT, connect earth terminal after one end series connection the 3rd resistance R3 and the first electric capacity C1 in addition, the second input end 2 of described comparator circuit is connected between described 3rd resistance R3 and the first electric capacity C1.This key press detecting circuit is connected the RC circuit be made up of the 3rd resistance R3 and the first electric capacity C1, button can be adjusted by the capacitance of the resistance or the first electric capacity C1 that adjust the 3rd resistance R3 and press the time carrying out resetting, such as, press SW1, first electric capacity C1 is charged by the 3rd resistance R3, charging duration is 2 × R3 × C1, press SW1 when reaching this charging duration, voltage on first electric capacity C1 just can more than the voltage on the 3rd resistance R3, comparator circuit output low level, single-chip microcomputer and then can reset operation be carried out.If click SW1 short, because the charging current on the 3rd resistance R3 is very little, the voltage on the first electric capacity C1 can not more than the voltage on three resistance R3, so comparator circuit exports is high level always, single-chip microcomputer can not carry out reset operation.
In order to protection ratio comparatively circuit inner structure, prevent electric current from crossing senior general's internal components and burn out, the second input end of described comparator circuit is connected after a current-limiting resistance R9 and is connected between described 3rd resistance R3 and the first electric capacity C1.
As shown in Figure 3, the comparator circuit of the present embodiment is an operational amplifier U138, the in-phase input end input reference voltage of described operational amplifier U138, inverting input connects the second direct supply VBAT by key press detecting circuit, the output terminal of described operational amplifier U138 is wherein connected with the reset terminal MCU_RESET of single-chip microcomputer on a road, and pull-up resistor R178 of leading up in addition is connected with the first direct supply VDD.The control end of operational amplifier U138 is connected with the voltage input end VBUS of USB interface, only have when USB inserts, the voltage input end VBUS of USB interface is high level, operational amplifier U138 opens, otherwise, operational amplifier U138 does not open, no matter what kind of down state button is, the output terminal of operational amplifier U138 is all being pulled to high level by the first direct supply VDD, therefore, single-chip microcomputer cannot reset, when USB insertion will be opened than operational amplifier U138 and button press the corresponding reset operation of execution, key press detecting circuit exports high level to operational amplifier U138, if the words of the reference voltage that this high level inputs higher than comparator circuit, operational amplifier U138 output low level, for monolithic processor resetting end exports reset signal, just complete corresponding reset function.
Concrete, described key press detecting circuit comprises keyswitch SW1, described keyswitch SW1 one end is connected with the second direct supply VBAT, connect earth terminal after one end series connection the 3rd resistance R3 and the first electric capacity C1 in addition, the second input end of described comparator circuit is connected between described 3rd resistance R3 and the first electric capacity C1.When the interrupteur SW that pushes button 1 reaches the charging duration of this RC circuit, voltage on first electric capacity C1 just can more than the voltage on the 3rd resistance R3, also namely the input voltage of the inverting input of operational amplifier U138 is greater than the input voltage of in-phase input end, therefore operational amplifier U138 output low level, single-chip microcomputer and then can reset operation be carried out.
Preferably, the output terminal of described operational amplifier U138 and ground are also connected with a filter capacitor C328 between holding, and for filtering out the noise signal exporting reset signal, improve the stability of reset signal.
Embodiment two, present embodiments provide the comparator circuit of another version in reset circuit, identical with embodiment one of other circuit structures, do not repeat at this, as shown in Figure 4, the comparator circuit of the present embodiment comprises a NPN type triode Q2 and PNP type triode Q1, the base stage of described NPN type triode Q2 is connected with the voltage input end VBUS of USB interface, the collector of NPN type triode Q2 is connected with the output terminal of key press detecting circuit, the emitter of NPN type triode Q2 is connected with the emitter of described PNP type triode Q1, the base stage input reference voltage of described PNP type triode Q1, the collector of described PNP type triode Q1 connects earth terminal, the reset terminal of single-chip microcomputer is connected between the emitter of described NPN type triode Q2 and the emitter of described PNP type triode Q1.In time not having USB to insert, VBUS port does not have voltage, NPN type triode Q2 not conducting, now no matter how to press SW1, and comparator circuit all can not output low level, also namely can not export reset signal.When USB inserts, the voltage input end VBUS of USB interface is high level, the base stage input high level of NPN type triode Q2, and NPN type triode Q2 conducting, now presses SW1 for a long time, and so VBAT starts to charge to the first electric capacity C1 by the 3rd resistance R3.Due to NPN type triode Q2 conducting, so the voltage at the first electric capacity C1 two ends is exactly the voltage of PNP type triode Q1 emitter.When the continuation along with charging, the voltage at the first electric capacity C1 two ends can rise gradually, when the voltage of the voltage ratio PNP type triode Q1 base stage at the first electric capacity C1 two ends is large time, PNP type triode Q1 starts conducting, so now PNP type triode Q1 emitter voltage is dragged down, therefore now export reset signal to monolithic processor resetting end, complete corresponding reset function.
Further, between the emitter of described PNP type triode Q1 and collector, being also connected with a filter capacitor C328, for filtering out the noise signal exporting reset signal, improving the stability of reset signal.
Embodiment three, present embodiments provide the comparator circuit of another version in reset circuit, identical with embodiment one of other circuit structures, do not repeat at this, as shown in Figure 5, described comparator circuit comprises a NMOS tube Q200 and PMOS Q100, the grid of described NMOS tube Q200 is connected with the voltage input end VBUS of USB interface, the drain electrode of described NMOS tube Q200 is connected with the output terminal of key press detecting circuit, the source electrode of described NMOS tube is connected with the source electrode of described PMOS Q100, the grid input reference voltage of described PMOS Q100, the drain electrode of described PMOS Q100 connects earth terminal, the reset terminal of single-chip microcomputer is connected between the source electrode of described NMOS tube Q200 and the Q100 source electrode of described PMOS.When not having USB to insert, VBUS port does not have voltage, NMOS tube Q200 not conducting, now no matter how to press SW1, comparator circuit all can not output low level, and also namely can not export reset signal, monolithic processor resetting end is pulled to high level by the first direct supply VDD.When USB inserts, the voltage input end VBUS of USB interface is high level, the drain electrode input high level of NMOS tube Q200, and NMOS tube Q200 conducting, now presses SW1 for a long time, and so VBAT starts to charge to the first electric capacity C1 by the 3rd resistance R3.Due to NMOS tube Q200 conducting, so the voltage at the first electric capacity C1 two ends is exactly the voltage of the Q100 source electrode of PPMOS pipe.When the continuation along with charging, the voltage at the first electric capacity C1 two ends can rise gradually, when the voltage of the Q100 grid of the voltage ratio PMOS at the first electric capacity C1 two ends is large time, the Q100 of PMOS starts conducting, so now the Q100 source voltage of PMOS is dragged down, therefore now export reset signal to monolithic processor resetting end, complete corresponding reset function.
Further, an a diode D100 and filter capacitor C328 is also connected with between the source S of described PMOS Q100 and drain D, the positive pole of described diode D100 connects the source electrode of PMOS by filter capacitor, the negative pole of described diode D100 connects the drain D of described PMOS Q100, filter capacitor C328 exports the noise signal of reset signal for filtering out, improve the stability of reset signal, when the source voltage values of PMOS Q100 is greater than vdd voltage, diode D100 plays the effect preventing electric current from pouring in down a chimney.
Certainly; above-mentioned explanation is not to restriction of the present utility model; the utility model is also not limited in above-mentioned citing, the change that those skilled in the art make in essential scope of the present utility model, remodeling, interpolation or replacement, also should belong to protection domain of the present utility model.

Claims (10)

1. a reset circuit, it is characterized in that: comprise comparator circuit and key press detecting circuit, the output terminal of described comparator circuit is wherein connected with the reset terminal of single-chip microcomputer on a road, pull-up resistor of leading up in addition is connected with the first direct supply, control end is connected with the voltage input end of USB interface, the first input end input reference voltage of described comparator circuit, second input end is connected with described key press detecting circuit, when the control end input high level of described comparator circuit and the output voltage of described key press detecting circuit is greater than reference voltage time, described comparator circuit output low level.
2. reset circuit according to claim 1, it is characterized in that: also comprise the bleeder circuit be in series by the first resistance and the second resistance, one end of described bleeder circuit is connected with the second direct supply, one end connects earth terminal in addition, and the first input end of described comparator circuit is connected between described first resistance and the second resistance.
3. reset circuit according to claim 2, it is characterized in that: described key press detecting circuit comprises keyswitch, described keyswitch one end is connected with the second direct supply, connect earth terminal after one end series connection the 3rd resistance and the first electric capacity in addition, the second input end of described comparator circuit is connected between described 3rd resistance and the first electric capacity.
4. reset circuit according to claim 3, is characterized in that: the second input end of described comparator circuit is connected after a current-limiting resistance and is connected between described 3rd resistance and the first electric capacity.
5. the reset circuit according to any one of claim 1-4, it is characterized in that: described comparator circuit is an operational amplifier, the in-phase input end input reference voltage of described operational amplifier, inverting input connects the second direct supply by key press detecting circuit, the output terminal of described operational amplifier is wherein connected with the reset terminal of single-chip microcomputer on a road, and pull-up resistor of leading up in addition is connected with the first direct supply.
6. reset circuit according to claim 5, is characterized in that: the output terminal of described operational amplifier and ground are also connected with a filter capacitor between holding.
7. the reset circuit according to any one of claim 1-4, it is characterized in that: described comparator circuit comprises a NPN type triode and a PNP type triode, the base stage of described NPN type triode is connected with the voltage input end of USB interface, the collector of NPN type triode is connected with the output terminal of key press detecting circuit, the emitter of NPN type triode is connected with the emitter of described PNP type triode, the base stage input reference voltage of described PNP type triode, the collector of described PNP type triode connects earth terminal, the reset terminal of single-chip microcomputer is connected between the emitter of described NPN type triode and the emitter of described PNP type triode.
8. reset circuit according to claim 7, is characterized in that: be also connected with a filter capacitor between the emitter of described PNP type triode and collector.
9. the reset circuit according to any one of claim 1-4, it is characterized in that: described comparator circuit comprises a NMOS tube and a PMOS, the grid of described NMOS tube is connected with the voltage input end of USB interface, the drain electrode of described NMOS tube is connected with the output terminal of key press detecting circuit, the source electrode of described NMOS tube is connected with the source electrode of described PMOS, the grid input reference voltage of described PMOS, the drain electrode of described PMOS connects earth terminal, and the reset terminal of single-chip microcomputer is connected between the source electrode of described NMOS tube and the source electrode of described PMOS.
10. reset circuit according to claim 9, it is characterized in that: between the source electrode of described PMOS and drain electrode, be also connected with a diode and a filter capacitor, the positive pole of described diode connects the source electrode of PMOS by filter capacitor, the negative pole of described diode connects the drain electrode of described PMOS.
CN201420768091.9U 2014-12-09 2014-12-09 A kind of reset circuit Expired - Fee Related CN204288113U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201420768091.9U CN204288113U (en) 2014-12-09 2014-12-09 A kind of reset circuit

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201420768091.9U CN204288113U (en) 2014-12-09 2014-12-09 A kind of reset circuit

Publications (1)

Publication Number Publication Date
CN204288113U true CN204288113U (en) 2015-04-22

Family

ID=52871250

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201420768091.9U Expired - Fee Related CN204288113U (en) 2014-12-09 2014-12-09 A kind of reset circuit

Country Status (1)

Country Link
CN (1) CN204288113U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104407687A (en) * 2014-12-09 2015-03-11 青岛歌尔声学科技有限公司 Reset circuit

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN104407687A (en) * 2014-12-09 2015-03-11 青岛歌尔声学科技有限公司 Reset circuit

Similar Documents

Publication Publication Date Title
CN202797874U (en) Over-voltage protection circuit and mobile terminal
CN104407687A (en) Reset circuit
CN103607676B (en) A kind of wire-controlled apparatus for earphone and earphone
CN202196398U (en) Power supply managing circuit of charging/ communication multiplex interface and digital electronic product
TW201411327A (en) Electronic device with power consumption detection function
CN103647534A (en) Key reset circuit of electronic equipment
CN103825593A (en) Reset signal generating circuit and electronic equipment
CN103888871B (en) Wire control device used for earphone and earphone
CN204288113U (en) A kind of reset circuit
CN104536314B (en) Start control circuit, method and electronic equipment based on near-field communication NFC
CN106849921B (en) Hardware reset circuit and electronic product
CN107690813B (en) The power supply circuit of earphone and earphone
CN106600853A (en) Anti-jittering circuit used for charging or signal transmission of charging base, and charging base
CN104124952B (en) A kind of recognizable key circuit
CN204633734U (en) A kind of charger inserts reset circuit and Intelligent bracelet
CN214751423U (en) MCU disaster prevention circuit
CN203608335U (en) Drive-by-wire device used for earphones and earphones
CN210745529U (en) TWS Bluetooth headset with charging hardware reset function
CN203786508U (en) Small vocabulary voice receiving and processing circuit
CN105278405A (en) Clamshell-type electronic equipment and turning-on/turning-off circuit thereof
CN206490464U (en) Portable power source charging device
CN210120409U (en) Charging circuit and charging equipment
CN203590183U (en) Key reset circuit of electronic equipment
CN205142462U (en) Take NFC delay circuit's bluetooth headset
CN208581212U (en) A amplifier negative port protects circuit

Legal Events

Date Code Title Description
GR01 Patent grant
CF01 Termination of patent right due to non-payment of annual fee

Granted publication date: 20150422

Termination date: 20211209

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