CN109327213A - A kind of micro-control unit reset circuit and its repositioning method, device based on USB - Google Patents

A kind of micro-control unit reset circuit and its repositioning method, device based on USB Download PDF

Info

Publication number
CN109327213A
CN109327213A CN201810901852.6A CN201810901852A CN109327213A CN 109327213 A CN109327213 A CN 109327213A CN 201810901852 A CN201810901852 A CN 201810901852A CN 109327213 A CN109327213 A CN 109327213A
Authority
CN
China
Prior art keywords
micro
control unit
usb
resistance
capacitor
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.)
Withdrawn
Application number
CN201810901852.6A
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.)
Wuhu Zhijiu Robot Co Ltd
Original Assignee
Wuhu Zhijiu Robot 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 Wuhu Zhijiu Robot Co Ltd filed Critical Wuhu Zhijiu Robot Co Ltd
Priority to CN201810901852.6A priority Critical patent/CN109327213A/en
Publication of CN109327213A publication Critical patent/CN109327213A/en
Withdrawn legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/22Modifications for ensuring a predetermined initial state when the supply voltage has been applied
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/24Resetting means
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F13/00Interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F13/38Information transfer, e.g. on bus
    • G06F13/42Bus transfer protocol, e.g. handshake; Synchronisation
    • G06F13/4282Bus transfer protocol, e.g. handshake; Synchronisation on a serial bus, e.g. I2C bus, SPI bus
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F2213/00Indexing scheme relating to interconnection of, or transfer of information or other signals between, memories, input/output devices or central processing units
    • G06F2213/0042Universal serial bus [USB]
    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/22Modifications for ensuring a predetermined initial state when the supply voltage has been applied
    • H03K2017/226Modifications for ensuring a predetermined initial state when the supply voltage has been applied in bipolar transistor switches

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Power Sources (AREA)

Abstract

The invention discloses a kind of micro-control unit reset circuit based on USB, USB voltage source VBUS is electrically connected to a triode by the RC circuit that capacitor C1 and resistance R2 are composed in parallel by one, the reset pin RST of micro-control unit is configured to and is connected between resistance R2 and transistor collector, the invention also discloses a kind of micro-control unit repositioning method based on USB, when VBUS moment accesses voltage, capacitor C1 is equivalent to short-circuit condition, to which input low level signal is in the reset pin RST of micro-control unit, after USB voltage source VBUS, which is powered, to be stablized, the RST foot of micro-control unit maintains high level, to maintain micro-control unit steady-working state, using the technical program, the purpose for resetting micro-control unit is realized using charging USB, be conducive to circuit It is integrated, keep product more beautiful, use is more convenient, improves the working efficiency of product.

Description

A kind of micro-control unit reset circuit and its repositioning method, device based on USB
Technical field
The invention belongs to electronic technology fields, it is more particularly related to which a kind of micro-control unit based on USB is multiple Position circuit and its repositioning method, device.
Background technique
With the development of economy, electronic equipment is integrated, intelligent and dustproof and waterproof demand, and many electronic products exist Structure had both eliminated the key position of hardware reset micro-control unit when design, but micro-control unit itself is again at the same time Configured with reset pin;However inevitably there is bug and cause the case where crashing in software systems, some crash situations must power off Restart or results in cannot achieve disconnected and since housing design does not allow to tear shell open using the hardware reset foot of micro-control unit Reset causes the very big inconvenience of operation.
Summary of the invention
Technical problem to be solved by the invention is to provide a kind of intelligentized micro-control unit reset circuits based on USB And its repositioning method, device.
To achieve the goals above, the technical scheme adopted by the invention is as follows: a kind of micro-control unit based on USB resets electricity Road, the RC electricity composed in parallel by one by capacitor C1 and resistance R2 including USB voltage source VBUS, USB voltage source VBUS Road is electrically connected to a triode, and the voltage output end of the USB voltage source VBUS is electrically connected to triode by capacitor C1 Base stage, another branch that the voltage output end of USB voltage source VBUS shunts are electrically connected to the collector of triode by resistance R2, The reset pin RST of micro-control unit is configured to and is connected between resistance R2 and transistor collector, to receive in circuit Low level signal control micro-control unit reset pin RST generate reset signal.
A kind of micro-control unit reset circuit based on USB disclosed by the invention, the emitter ground connection of the triode.
A kind of micro-control unit reset circuit based on USB disclosed by the invention, the capacitor C1 and transistor base it Between be provided with the resistance R1 of ground connection, using as the load in circuit.
The resistance value of a kind of micro-control unit reset circuit based on USB disclosed by the invention, the resistance R2 is greater than resistance The resistance value of R1.
The resistance value of a kind of micro-control unit reset circuit based on USB disclosed by the invention, the resistance R2 is greater than resistance The resistance value of R1, the resistance value of R1 and the resistance value of R2 are all larger than 10 kilo-ohms, and the capacitor C1 is greater than 0.1 μ f.
A kind of micro-control unit repositioning method based on USB disclosed by the invention, the USB voltage source VBUS access voltage Moment, VBUS in the moment that is powered to capacitor C1 charging, believed with input low level by triode transient switching, current collection extremely low level Number in the reset pin RST of micro-control unit;After USB voltage source VBUS, which is powered, to be stablized, so that capacitor charging is completed, it is micro- The RST foot of control unit maintains high level, to maintain micro-control unit steady-working state.
A kind of micro-control unit resetting apparatus based on USB disclosed by the invention, including above-mentioned reset circuit, and, it is described Micro-control unit resets USB interface voltage source VBUS.
Cooperated at RC circuit using technical solution of the present invention by the reverse-conducting and pressure stabilization function using triode The moment for managing circuit is powered and power-off, and since the reset pin of micro-control unit is low level triggering, by capacitor parallel connection In the collector of triode, so that the purpose for resetting micro-control unit is realized using charging USB, because the circuit structure is succinct, The effect that USB resets micro-control unit can be realized, the position of hardware reset is eliminated for housing design, so that other in USB Pin is unoccupied, and the design of USB ontology can be more flexible, is conducive to the integrated of circuit, keeps product more beautiful, uses It is more convenient, improve the working efficiency of product.
Below with reference to drawings and examples, the present invention is described in detail.
Detailed description of the invention
Content expressed by each width attached drawing of this specification and the label in figure are briefly described below:
Fig. 1 is a kind of circuit diagram of the micro-control unit reset circuit based on USB of the present invention.
Specific embodiment
Below against attached drawing, by the description of the embodiment, to for example related each structure of a specific embodiment of the invention The shape of part, construction, the mutual alignment between each section and connection relationship, the effect of each section and working principle, manufacturing process And operate with method etc., be described in further detail, with help those skilled in the art to inventive concept of the invention, Technical solution has more complete, accurate and deep understanding.
Fig. 1 is a kind of circuit diagram of the micro-control unit reset circuit based on USB of the present invention, a kind of base as shown in Figure 1 In the micro-control unit resetting apparatus of USB, USB interface voltage source VBUS, USB voltage source are resetted including micro-control unit VBUS is electrically connected to a triode, USB voltage source VBUS by the RC circuit that capacitor C1 and resistance R2 are composed in parallel by one Voltage output end the base stage of triode is electrically connected to by capacitor C1, the voltage output end of USB voltage source VBUS shunts another One branch is electrically connected to the collector of triode, reset pin RST (as MCU RST) quilt of micro-control unit by resistance R2 It is configured to and is connected between resistance R2 and transistor collector, to receive the control micro-control unit of the low level signal in circuit Reset pin RST generate reset signal, triode emitter ground connection;It is provided with and connects between capacitor C1 and transistor base The resistance R1 on ground, using as the load in circuit, resistance R1 and resistance R2 in this case are the load in route;Triode is adopted With common triode, such as the triode of model 3904.
The resistance value of resistance R2 in this case is greater than the resistance value of resistance R1, and the resistance value of R1 and the resistance value of R2 are all larger than 10 kilo-ohms, The capacitor C1 is greater than 0.1 μ f, since R1 resistance is the load on the road in the state that capacitor C1 is connected, if R1 resistance value is excessive, Larger current still may pass through from R2, cause MCURST pin to be in high level state, be then unable to reach expected effects.
According to above-mentioned reset circuit, the invention also discloses a kind of micro-control unit repositioning method based on USB, micro-control The moment of the voltage source VBUS access voltage of USB interface in unit processed, VBUS is in the moment that is powered to capacitor C1 charging, capacitor C1 phase When in short-circuit condition, so that the moment triode transient switching, current collection extremely low level, with input low level signal in micro- The reset pin RST of control unit, after USB voltage source VBUS, which is powered, to be stablized, capacitor charging is completed, and capacitor C1 is equivalent to open circuit The RST foot of state, micro-control unit maintains high level, and to maintain micro-control unit steady-working state, VBUS powers source can It is powered two types with being divided into bus-powered and external voltage source, it can difference according to micro-control unit model or installation side The difference of formula is defined its power supply mode.
A kind of micro-control unit resetting apparatus based on USB disclosed by the invention, including above-mentioned reset circuit, in this case In, while the device that micro-control unit resets external voltage source VBUS on USB interface is used, the supply voltage of USB interface is It is provided by external voltage source, to provide the starting voltage source of the reset circuit, so that reset pin RST can be among the above The low level signal of moment is obtained to reset micro-control unit reset.
The performance of capacitor transient switching is utilized in this case, cooperates the reverse-conducting of triode and the effect of pressure stabilizing, to realize Power on circuitry moment, one end of collector is low level in triode at this time, so that the RST pin for giving micro-control unit resets Signal, after reset signal moment giving micro-control unit, micro-control unit ontology is completed to reset operation, at this time in circuit Capacitor C1 is equivalent to open-circuit condition again, and collector one end of triode maintains high level again, so that micro-control unit continues Smooth working, therefore, resetting micro-control unit by means of which can be convenient to avoid the operation for dismantling product zoarium when resetting Staff uses.
RC processing of circuit circuit is cooperated by the reverse-conducting and pressure stabilization function using triode using the technical program Moment be powered and power-off, and due to the reset pin of micro-control unit be low level triggering, capacitor is parallel to three poles The collector of pipe, to realize the purpose for resetting micro-control unit, because the circuit structure is succinct, Ji Keshi using charging USB Existing USB resets the effect of micro-control unit, and the position of hardware reset is eliminated for housing design, so that other pins are not in USB Occupied, the design of USB ontology can be more flexible, is conducive to the integrated of circuit, keeps product more beautiful, using more just Victory improves the working efficiency of product.
The present invention is exemplarily described above in conjunction with attached drawing, it is clear that the present invention implements not by aforesaid way Limitation, as long as the improvement for the various unsubstantialities that the inventive concept and technical scheme of the present invention carry out is used, or without changing It is within the scope of the present invention into the conception and technical scheme of the invention are directly applied to other occasions.

Claims (7)

1. a kind of micro-control unit reset circuit based on USB, it is characterised in that: including USB voltage source VBUS, USB electricity Potential source VBUS is electrically connected to a triode, the USB electricity by the RC circuit that capacitor C1 and resistance R2 are composed in parallel by one The voltage output end of potential source VBUS is electrically connected to the base stage of triode, the voltage output end of USB voltage source VBUS by capacitor C1 Another branch shunted is electrically connected to the collector of triode by resistance R2, and the reset pin RST of micro-control unit is configured At and be connected between resistance R2 and transistor collector, answered with receiving low level signal in circuit control micro-control unit The reset signal that position pin RST is generated.
2. a kind of micro-control unit reset circuit based on USB described in accordance with the claim 1, which is characterized in that three pole The emitter of pipe is grounded.
3. a kind of micro-control unit reset circuit based on USB described in accordance with the claim 1, which is characterized in that the capacitor The resistance R1 of ground connection is provided between C1 and transistor base, using as the load in circuit.
4. a kind of micro-control unit reset circuit based on USB described in accordance with the claim 1, which is characterized in that the resistance The resistance value of R2 is greater than the resistance value of resistance R1.
5. a kind of micro-control unit reset circuit based on USB according to claim 4, which is characterized in that the resistance value of R1 10 kilo-ohms are all larger than with the resistance value of R2, the capacitor C1 is greater than 0.1 μ f.
6. a kind of repositioning method according to the micro-control unit described in Claims 1 to 5 any one based on USB, feature It is, the USB voltage source VBUS accesses voltage instantaneous, and VBUS charges to capacitor C1 in energization moment, triode transient switching, Current collection extremely low level, with input low level signal in the reset pin RST of micro-control unit;When USB voltage source VBUS is powered After stabilization, so that capacitor charging is completed, the RST foot of micro-control unit maintains high level, to maintain micro-control unit to stablize Working condition.
7. a kind of micro-control unit resetting apparatus based on USB, which is characterized in that described in any item including Claims 1 to 5 Reset circuit, the micro-control unit reset USB interface voltage source VBUS.
CN201810901852.6A 2018-08-09 2018-08-09 A kind of micro-control unit reset circuit and its repositioning method, device based on USB Withdrawn CN109327213A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810901852.6A CN109327213A (en) 2018-08-09 2018-08-09 A kind of micro-control unit reset circuit and its repositioning method, device based on USB

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810901852.6A CN109327213A (en) 2018-08-09 2018-08-09 A kind of micro-control unit reset circuit and its repositioning method, device based on USB

Publications (1)

Publication Number Publication Date
CN109327213A true CN109327213A (en) 2019-02-12

Family

ID=65264196

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810901852.6A Withdrawn CN109327213A (en) 2018-08-09 2018-08-09 A kind of micro-control unit reset circuit and its repositioning method, device based on USB

Country Status (1)

Country Link
CN (1) CN109327213A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0659779A (en) * 1992-06-04 1994-03-04 Motorola Inc Method of detecting voltage transition
CN201438694U (en) * 2009-07-07 2010-04-14 深圳市兆驰股份有限公司 Reset circuit and electrical equipment
CN201956990U (en) * 2011-01-26 2011-08-31 深圳市同洲电子股份有限公司 Low-level reset circuit and digital television receiving terminal

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JPH0659779A (en) * 1992-06-04 1994-03-04 Motorola Inc Method of detecting voltage transition
CN201438694U (en) * 2009-07-07 2010-04-14 深圳市兆驰股份有限公司 Reset circuit and electrical equipment
CN201956990U (en) * 2011-01-26 2011-08-31 深圳市同洲电子股份有限公司 Low-level reset circuit and digital television receiving terminal

Similar Documents

Publication Publication Date Title
CN101576767B (en) Main board power supply circuit
CN109802457A (en) A kind of electronic equipment and its charging method
US20140292257A1 (en) Electronic device and charging circuit thereof
CN109840006A (en) Main control chip power supply unit
CN204304532U (en) A kind of computer and the feed circuit based on its USB interface
CN105897240B (en) A kind of singly-bound Sofe Switch electromechanics road having hardware forced shutdown function
CN209658964U (en) A kind of QC protocol circuit
CN205847223U (en) A kind of singly-bound Sofe Switch electromechanics road possessing hardware forced shutdown function
CN212462838U (en) Power supply switching circuit and intelligent door lock system
CN105262183A (en) Power-saving type USB charging structure
CN109327213A (en) A kind of micro-control unit reset circuit and its repositioning method, device based on USB
CN208862634U (en) A kind of power supply switching power supply circuit
CN111756091A (en) Power supply switching circuit and intelligent door lock
US9231432B2 (en) Electronic device and charging circuit thereof
CN203520298U (en) Start circuit and portable equipment
CN205453491U (en) Two -way DCDC converter device based on DCDC alternaties module
CN202889195U (en) Control circuit prolonging power fail protection time
CN210157162U (en) Key combined circuit for realizing hardware reset
CN209046613U (en) A kind of novel switched electromechanical road
CN202496004U (en) Reset circuit and television
CN208423857U (en) A kind of novel lithium battery switched charge power supply protection circuit
US20140292258A1 (en) Electronic device and charging circuit thereof
CN202472546U (en) MCU (Microprogrammed Control Unit) resetting device
CN206563937U (en) One kind calculates internal power supply modular circuit
CN205229962U (en) Reset circuit and electronic equipment

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
WW01 Invention patent application withdrawn after publication
WW01 Invention patent application withdrawn after publication

Application publication date: 20190212