CN208241642U - A kind of reset circuit based on microcontroller serial port programming - Google Patents
A kind of reset circuit based on microcontroller serial port programming Download PDFInfo
- Publication number
- CN208241642U CN208241642U CN201820873595.5U CN201820873595U CN208241642U CN 208241642 U CN208241642 U CN 208241642U CN 201820873595 U CN201820873595 U CN 201820873595U CN 208241642 U CN208241642 U CN 208241642U
- Authority
- CN
- China
- Prior art keywords
- circuit
- reset
- capacitor
- electrically connected
- resistance
- 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.)
- Active
Links
Landscapes
- Electronic Switches (AREA)
Abstract
The utility model proposes a kind of reset circuits based on microcontroller serial port programming, including trigger switch and sequential control circuit;Sequential control circuit includes: reset level generative circuit and reset pulse generative circuit;The both ends of trigger switch correspond with the input, output end of reset level generative circuit be electrically connected respectively;The input terminal of reset pulse generative circuit and the output end of reset level generative circuit are electrically connected, the output end ground connection of reset pulse generative circuit.A kind of reset circuit based on microcontroller serial port programming provided by the utility model is under the premise of can be realized reset function; cost can be reduced simultaneously; keep circuit more stable, while circuit element can also be protected not to be damaged, improves the reliability of monitoring and debugging efficiency and system.
Description
Technical field
The utility model relates to power electronics field more particularly to a kind of reset electricity based on microcontroller serial port programming
Road.
Background technique
Based on STM32F10X single-chip microcontroller ship equipment monitoring and it is health management system arranged, during carrying out debugging single board,
Need to single-chip microcontroller through serial communication programming program or on-line debugging, due to STM32F10X need each programming program or
Single-chip microcontroller is resetted during on-line debugging, then devises special serial port programming reset circuit, due to considering the later period
The commercialization and vast market prospect of the project, for save the cost, it is therefore necessary to which electricity is resetted to current serial port programming
Road proposes a kind of improved circuit.
Utility model content
In view of this, can be realized the utility model proposes a kind of reset circuit based on microcontroller serial port programming
Under the premise of monolithic processor resetting function, while cost can be reduced, keep circuit more stable, at the same can also protect circuit element not by
Damage.
It is a kind of based on microcontroller serial port volume that the technical solution of the utility model is achieved in that the utility model provides
The reset circuit of journey, comprising: trigger switch and sequential control circuit;
The sequential control circuit includes: reset level generative circuit and reset pulse generative circuit;
The both ends of the trigger switch do not correspond electrically with the input, output end of the reset level generative circuit
Connection;
The output end of the input terminal of the reset pulse generative circuit and the reset level generative circuit is electrically connected;
The output end of the reset level generative circuit and the reset pulse generative circuit is grounded.
On the basis of above technical scheme, it is preferred that the reset level generative circuit includes: first capacitor and first
Power supply;
The positive anode with the first connecting pin of the trigger switch and the first capacitor respectively of first power supply
It is electrically connected;
The cathode of the first capacitor generates electricity with the second connection end of the trigger switch and the reset pulse respectively
The input terminal on road is electrically connected.
It is furthermore preferred that the reset pulse generative circuit includes: second source, the second capacitor, first resistor, the second electricity
Resistance, 3rd resistor and triode;
The anode of second capacitor is electrically connected with the cathode of the first capacitor, the cathode of second capacitor and institute
The first connecting pin for stating first resistor is electrically connected;
The second connection end of the first resistor base with second resistance first connecting pin and the triode respectively
Pole is electrically connected, and the second connection end of the collector of the triode and the 3rd resistor is electrically connected, the triode
The second connection end of emitter and the second resistance is grounded, the first connecting pin of the 3rd resistor and the second source
Anode be electrically connected.
On the basis of above technical scheme, it is preferred that the sequential control circuit further include: the first protection circuit and the
Two protection circuits;
The first protection circuit and the second protection circuit are electrically connected with the reset pulse generative circuit respectively;
The first protection circuit, the second protection circuit are grounded.
It is furthermore preferred that first protective resistance includes: freewheeling diode and the 4th resistance in parallel;
The freewheeling diode anode and the 4th resistance the first connecting pin respectively with second capacitor just
Pole is electrically connected, and the second connection end of the cathode of the freewheeling diode and the 4th resistance is grounded.
It is furthermore preferred that the second protection circuit includes: third capacitor;
The anode of the third capacitor is electrically connected with the collector of the triode, and the cathode of the third capacitor connects
Ground.
The reset circuit based on microcontroller serial port programming of the utility model has below compared with the existing technology beneficial to effect
Fruit:
(1) the utility model reduces a skewer seat on traditional reset circuit, a triode and triode
Pull down resistor, protective resistance and a capacitor, at the same another triode of conventional reset circuit increase protective resistance and
Negative-feedback capacitor;
(2) under the premise of can be realized reset function, the circuit structure of the utility model is simpler, save the cost;
(3) conventional reset circuit is compared, the utility model increases a protective resistance and negative-feedback capacitor, this is practical new
The circuit of type is more stable, while circuit element can also be protected not to be damaged, and improve monitoring and debugging efficiency and system can
By property.
Detailed description of the invention
In order to illustrate the embodiment of the utility model or the technical proposal in the existing technology more clearly, below will be to embodiment
Or attached drawing needed to be used in the description of the prior art is briefly described, it should be apparent that, the accompanying drawings in the following description is only
It is some embodiments of the utility model, for those of ordinary skill in the art, in the premise not made the creative labor
Under, it is also possible to obtain other drawings based on these drawings.
Fig. 1 is a kind of structural schematic diagram of the reset circuit based on microcontroller serial port programming of the utility model;
Fig. 2 is a kind of structural schematic diagram of the reset circuit based on microcontroller serial port programming of the utility model;
Fig. 3 is a kind of improved circuit diagram of reset circuit based on microcontroller serial port programming of the utility model;
Fig. 4 is the circuit diagram before a kind of reset circuit based on microcontroller serial port programming of the utility model improves.
Specific embodiment
Below in conjunction with the attached drawing in the utility model embodiment, to the technical solution in the utility model embodiment
It being clearly and completely described, it is clear that described embodiment is only a part of embodiment of the utility model, without
It is whole embodiments.Based on the embodiment in the utility model, those of ordinary skill in the art are not making creation
Property labour under the premise of every other embodiment obtained, fall within the protection scope of the utility model.
As shown in Figure 1, in conjunction with Fig. 2 and Fig. 3, a kind of reset circuit based on microcontroller serial port programming of the utility model,
It include: trigger switch, reset level generative circuit, reset pulse generative circuit, the first protection circuit and the second protection circuit;
Trigger switch generates trigger signal.The both ends of trigger switch respectively with the input terminal of reset level generative circuit, defeated
Outlet, which corresponds, to be electrically connected.It should be understood that the model and performance indicator of each element can be with multiple choices, trigger switch
Type can be with multiple choices, such as key switch, rotary switch, soft-touch control.In the present embodiment, it is opened using key
It closes.
Reset level generative circuit, the level change of control single chip computer BOOT0 pin.Comprising: first capacitor C1 and
One power supply.The just extremely input terminal of reset level generative circuit of first power supply, the cathode of first capacitor C1 are that reset level is raw
At the output end of circuit.Specifically, the anode of the first power supply is connect with the anode of first capacitor C1.First capacitor C1, control are single
The level state of piece machine BOOT0 pin, and then determine the region of program execution after monolithic processor resetting.It should be understood that each member
The model and performance indicator of part can be with multiple choices, in the present embodiment, and the first power supply is 3.3V external power supply, first capacitor C1
Capacitance be 0.1uF.
Reset pulse generative circuit, generates reseting pulse signal, and control single chip computer resets.Comprising: second source, second
Capacitor C2, first resistor R1, second resistance R2,3rd resistor R3 and triode V1;The just extremely reset pulse of second capacitor C2
The input terminal of generative circuit, the output end of the transmitting extremely reset pulse generative circuit of triode V1.Specifically, the second capacitor C2
Anode be electrically connected with the cathode of first capacitor C1, the cathode of the second capacitor C2 and the first connecting pin of first resistor R1 are electrical
Connection;Base stage of the second connection end of first resistor R1 respectively with the first connecting pin second resistance R2 and triode V1 electrically connects
It connects, the collector of triode V1 and the second connection end of 3rd resistor R3 are electrically connected, the emitter of triode V1 and the second electricity
The second connection end of resistance R2 is grounded, and the first connecting pin of 3rd resistor R3 and the anode of second source are electrically connected.Second electricity
Hold C2, the pulse signal of control triode V1 on or off state is generated by charge and discharge;Triode V1, by being connected and cutting
Only the switching of state generates reset pulse;First resistor R1 plays current-limiting protection to triode V1, to prevent 3.3V power supply from going out
Existing failure;Second resistance R2 determines the charging time of the second capacitor C2;3rd resistor R3 stablizes and adjusts triode V1 base stage
Voltage and current.It should be understood that the model and performance indicator of each element can be with multiple choices, in the present embodiment, second
Power supply is 3.3V external power supply, and the resistance value of first resistor R1 is that the resistance value of 1K, second resistance R2 and 3rd resistor R3 are 10K,
The capacitance of second capacitor is 0.1uF, the model KTC9013S of triode V1.
First protection circuit, protects the element in reset pulse generative circuit not by voltage breakdown or damage.Comprising: simultaneously
The sustained diode 1 and the 4th resistance R4 of connection.The first connecting pin of 4th resistance R4, second connection end are respectively the first protection
The input, output end of circuit.Specifically, the anode of sustained diode 1 and the first connecting pin of the 4th resistance R4 are respectively with the
The anode of two capacitor C2 is electrically connected, and the second connection end of the cathode of sustained diode 1 and the 4th resistance R4 are grounded.Afterflow
Diode D1 and the 4th resistance R4 parallel connection forming circuit, the high electromotive force for generating the 4th resistance R4 is in circuit to continue current system
Consumption protects circuit element not punctured or burnt out by induced voltage.It should be understood that the model and performance indicator of each element can
With multiple choices, in the present embodiment, the resistance value of the 4th resistance R4 is 51K, the model LL4148 of freewheeling diode.
Second protection circuit, protects the normal operation of reseting pulse circuit.Comprising: third capacitor C3.Third capacitor C3
Anode, cathode be respectively the second protection circuit input, output end.Specifically, the anode and triode of third capacitor C3
The collector of V1 is electrically connected, the cathode ground connection of third capacitor C3.Third capacitor C3 is eliminated using negative-feedback due to BJT pipe
The self-oscillation that internal distribution capacity may cause guarantees that casacade multi-amplifier normally amplifies work.It should be understood that each element
Model and performance indicator can be with multiple choices, in the present embodiment, the capacitance of third capacitor C3 is 0.1uF.
The technical principle of the reset circuit based on microcontroller serial port programming of the utility model is: in the utility model at it
On preceding circuit base, reduce triode V2, resistance R5, resistance R6, capacitor C4, skewer seat XS1, while increasing diode
D1, capacitor C1, capacitor C3, resistance R1, resistance R4 and trigger switch;When trigger switch is connected, the first power supply is to first capacitor
C1 charging, before first capacitor C1 is full of, the voltage of single-chip microcontroller BOOT0 is 0V, before first capacitor C1 is full of, triode
V1 is in off state;When trigger switch be shorted when, the voltage of BOOT0 at this time be high level, while can to the second capacitor C2 into
Row charging, when the second capacitor C2 both end voltage is less than 2.6V, triode V1 is in the conductive state, due to the charge and discharge of the second capacitor C2
Electricity, triode V1 have obtained a conduction pulses, and the width of this pulse is 1.5T, and T is time constant, the second capacitor C2 charging
When to 2.6V, the required time is 1.5T, i.e. the RESET pin of single-chip microcontroller produces a low level pulse, this
The width of pulse is greater than 50uS low-level pulse width required for single-chip microcontroller RESETY pin;When the second capacitor C2 both end voltage is greater than
2.6V, then triode V1 is disconnected, and the RESET signal of single-chip microcontroller is in high level.
Sustained diode 1 and the 4th resistance R4 are formed into a loop, and the high electromotive force for generating the 4th resistance R4 is in circuit with continuous
Current system consumption, to play the role of protecting the element in circuit not impaired;Third capacitor C3 is connected in parallel on triode V1
Collector and emitter between, can use negative-feedback and eliminate the self-excitation that may cause due to BJT tube interior distribution capacity
Oscillation guarantees that casacade multi-amplifier normally amplifies work.
The foregoing is merely the better embodiments of the utility model, are not intended to limit the utility model, it is all
Within the spirit and principles of the utility model, it is practical new to should be included in this for any modification, equivalent replacement, improvement and so on
Within the protection scope of type.
Claims (6)
1. a kind of reset circuit based on microcontroller serial port programming, which is characterized in that including trigger switch and sequential control circuit;
The sequential control circuit includes: reset level generative circuit and reset pulse generative circuit;
The both ends of the trigger switch are corresponded with the input, output end of the reset level generative circuit respectively electrically to be connected
It connects;
The output end of the input terminal of the reset pulse generative circuit and the reset level generative circuit is electrically connected, described multiple
The output end of digit pulse generative circuit is grounded.
2. a kind of reset circuit based on microcontroller serial port programming according to claim 1, which is characterized in that the reset
Level generating circuitry includes: first capacitor and the first power supply;
The anode of first power supply is electrical with the anode of the first connecting pin of the trigger switch and the first capacitor respectively
Connection;
The input with the second connection end of the trigger switch and reset pulse generative circuit respectively of the cathode of the first capacitor
End is electrically connected.
3. a kind of reset circuit based on microcontroller serial port programming according to claim 2, which is characterized in that the reset
Pulse generation circuit includes: second source, the second capacitor, first resistor, second resistance, 3rd resistor and triode;
The anode of second capacitor is electrically connected with the cathode of the first capacitor, the cathode of second capacitor and described the
First connecting pin of one resistance is electrically connected;
The second connection end of the first resistor is electric with the base stage of first connecting pin of second resistance and the triode respectively
Property connection, the second connection end of the collector of the triode and the 3rd resistor is electrically connected, the transmitting of the triode
The second connection end of pole and the second resistance is grounded, and the first connecting pin of the 3rd resistor and first power supply are just
Pole is electrically connected.
4. a kind of reset circuit based on microcontroller serial port programming according to claim 1, which is characterized in that the timing
Control circuit further include: the first protection circuit and the second protection circuit;
The first protection circuit and the second protection circuit are electrically connected with the reset pulse generative circuit respectively;
The first protection circuit, the second protection circuit are grounded.
5. a kind of reset circuit based on microcontroller serial port programming according to claim 3 or 4, which is characterized in that described
First protection circuit includes: freewheeling diode and the 4th resistance in parallel;
The anode of the freewheeling diode and the first connecting pin of the 4th resistance are electric with the anode of second capacitor respectively
Property connection, the second connection end of the cathode of the freewheeling diode and the 4th resistance is grounded.
6. a kind of reset circuit based on microcontroller serial port programming according to claim 3 or 4, which is characterized in that described
Second protection circuit includes: third capacitor;
The anode of the third capacitor is electrically connected with the collector of the triode, the cathode ground connection of the third capacitor.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201820873595.5U CN208241642U (en) | 2018-06-07 | 2018-06-07 | A kind of reset circuit based on microcontroller serial port programming |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN201820873595.5U CN208241642U (en) | 2018-06-07 | 2018-06-07 | A kind of reset circuit based on microcontroller serial port programming |
Publications (1)
Publication Number | Publication Date |
---|---|
CN208241642U true CN208241642U (en) | 2018-12-14 |
Family
ID=64576639
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN201820873595.5U Active CN208241642U (en) | 2018-06-07 | 2018-06-07 | A kind of reset circuit based on microcontroller serial port programming |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN208241642U (en) |
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020133246A1 (en) * | 2018-12-28 | 2020-07-02 | 福建联迪商用设备有限公司 | Reset apparatus and method for time division multiplexing and terminal |
-
2018
- 2018-06-07 CN CN201820873595.5U patent/CN208241642U/en active Active
Cited By (1)
Publication number | Priority date | Publication date | Assignee | Title |
---|---|---|---|---|
WO2020133246A1 (en) * | 2018-12-28 | 2020-07-02 | 福建联迪商用设备有限公司 | Reset apparatus and method for time division multiplexing and terminal |
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN101944715B (en) | Load short-circuit protection circuit | |
CN207383536U (en) | A kind of ultrasonic electronic cigarette chases after frequency circuit and ultrasonic electronic cigarette | |
CN103199832B (en) | IGBT Drive Protecting Circuit and system | |
CN202663092U (en) | Circuit protecting battery against overcharge | |
CN201966576U (en) | Load short circuit protection circuit | |
CN208241642U (en) | A kind of reset circuit based on microcontroller serial port programming | |
CN103138356A (en) | Lighting fitting and charging circuit of secondary battery | |
CN202906437U (en) | Input undervoltage protection circuit | |
CN209448466U (en) | A kind of charging circuit and charging equipment | |
CN208156170U (en) | A kind of initiative alarming circuit of bus power source | |
CN208707379U (en) | A kind of electric energy meter battery powered managing system | |
CN101771338A (en) | Switching power supply module with high reliability and low power consumption | |
CN103163358B (en) | Alternative current power failure detection circuit | |
CN214626465U (en) | Minimum configuration type protection plate for 12.6V three-string lithium battery pack | |
CN112165246B (en) | Power supply chip self-restarting device, method and system | |
CN203026929U (en) | Spark limiting device of intrinsically safe power supply | |
CN205509846U (en) | Ammeter power failure intelligence circuit of checking meter | |
CN206002665U (en) | The automatic Over Current Protection System of Small Generating Unit with Gasoline | |
CN201311448Y (en) | No-load voltage detection circuit for solar cell panel | |
CN212568940U (en) | Improved intelligent electric meter | |
CN109039064A (en) | A kind of shunt regulator device of the anti-single power supply shorted diode of spacecraft | |
CN215344002U (en) | Single-section lithium battery charging double-protection circuit | |
CN201051240Y (en) | A low impulse generation circuit | |
CN218301212U (en) | Capacitor discharge circuit | |
CN214954587U (en) | Wireless remote monitoring device based on DTU |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant |