CN212278209U - Reset circuit and portable printer - Google Patents
Reset circuit and portable printer Download PDFInfo
- Publication number
- CN212278209U CN212278209U CN202020318398.4U CN202020318398U CN212278209U CN 212278209 U CN212278209 U CN 212278209U CN 202020318398 U CN202020318398 U CN 202020318398U CN 212278209 U CN212278209 U CN 212278209U
- Authority
- CN
- China
- Prior art keywords
- switch
- electrically connected
- controller
- pole
- power switch
- 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
- 239000003990 capacitor Substances 0.000 claims description 23
- 238000010586 diagram Methods 0.000 description 2
- 230000007423 decrease Effects 0.000 description 1
- 230000007547 defect Effects 0.000 description 1
- 238000000034 method Methods 0.000 description 1
Images
Landscapes
- Accessory Devices And Overall Control Thereof (AREA)
Abstract
The utility model provides a reset circuit and portable printer, reset circuit includes: the device comprises a controller, a controlled switch assembly, a control circuit and a button switch; the first end of controlled switch subassembly is used for connecting the power, the second end of controlled switch subassembly with the power input end electrical connection of controller, the control end of controlled switch subassembly with button switch's first end electrical connection, button switch's second end ground connection, the output of controller with control circuit's input electrical connection, control circuit's output with the control end electrical connection of controlled switch subassembly. Based on the utility model discloses under the mechanical reset switch that does not increase the reservation and the condition of design cost, realize the automatic re-setting function.
Description
Technical Field
The utility model relates to a circuit field, in particular to reset circuit and portable printer.
Background
The reset function is a common and necessary function on portable devices. Most portable devices are powered by a built-in battery, and when a program is halted, the power supply of the device is difficult to be directly cut off, and at this time, a reset function is usually required to shut down or restart the device.
Currently, most portable devices on the market have a RESET function, and the RESET function is usually implemented in the form of a reserved RESET switch, and a RESET circuit is generally connected to a RESET signal of an MCU in the system through a mechanical switch. When the program crash occurs, the reset is performed by the operation of the reset switch.
The existing reset function needs to be realized through the operation of a reset switch, and the main defects comprise that:
a. the position and the operation space of the reset switch are required to be reserved additionally on the structure.
b. The cost is increased on the hardware circuit due to the addition of the reset switch.
SUMMERY OF THE UTILITY MODEL
In view of this, the utility model aims at providing a reset circuit and portable printer aims at realizing the automatic re-setting function under the condition of not increasing the mechanical reset switch and the design cost of reserving.
The utility model discloses a first embodiment provides a reset circuit, include: the device comprises a controller, a controlled switch assembly, a control circuit and a button switch;
the first end of controlled switch subassembly is used for connecting the power, the second end of controlled switch subassembly with the power input end electrical connection of controller, the control end of controlled switch subassembly with button switch's first end electrical connection, button switch's second end ground connection, the output of controller with control circuit's input electrical connection, control circuit's output with the control end electrical connection of controlled switch subassembly.
Preferably, the controlled switch assembly comprises: the first power switch tube and the first resistor;
the S pole of the first power switch tube is connected with the power supply, the D pole of the first power switch is electrically connected with the input end of the controller, the first end of the first resistor is electrically connected with the S pole of the first power switch tube, the second end of the first resistor is electrically connected with the G pole of the first power switch tube, and the G pole of the first power switch tube is electrically connected with the first end of the Annie switch and the output end of the control circuit.
Preferably, the control circuit includes: a PWM control loop and a switch unit;
the input end of the PWM control loop is electrically connected with the output end of the controller, the output end of the PWM control loop is electrically connected with the control end of the switch unit, the first end of the switch unit is electrically connected with the G pole of the first power switch tube, and the second end of the switch unit is grounded.
Preferably, the PWM control loop includes: the circuit comprises a first capacitor, a second resistor, a first diode and a second diode;
the first end of the first capacitor is electrically connected with the output end of the controller, the second end of the first capacitor is electrically connected with the anode of the first diode, the anode of the second diode is grounded, the cathode of the second diode is electrically connected with the anode of the first diode, the cathode of the first diode is electrically connected with the first end of the second capacitor, the second end of the second capacitor is grounded, the first end of the second capacitor is electrically connected with the first end of the second resistor and the control end of the switch unit, and the second end of the second resistor is grounded.
Preferably, the switching unit includes: a second power switch tube;
the G pole of the second power switch tube is electrically connected with the first end of the second resistor, the S pole of the second power switch tube is grounded, and the D pole of the second power switch tube is electrically connected with the G pole of the first power switch tube.
Preferably, the first power switch tube is a P-channel enhancement MOSFET.
Preferably, the second power switch tube is an N-channel enhancement MOSFET.
A second embodiment of the present invention provides a portable printer, including a power supply and any one of the above reset circuit, the output of the power supply and the first end electrical connection of the controlled switch assembly.
Based on the utility model provides a pair of reset circuit and portable printer, through button switch with the control end electric connection of controlled switch subassembly, when button switch pressed down, the control end of controlled switch subassembly was drawn low and is switched on for the controller is turned on the switch-on, and the controller exports PWM signal to PWM control circuit simultaneously, makes the switch unit switch on, and then draws low controlled switch subassembly, the disconnection button switch, the controller keeps the operation, and when the controller crashed, the controller stopped to send the PWM signal to PWM control circuit, makes the switch unit turn-off, and the control end of controlled switch subassembly is drawn high and is turn-off, and the controller outage has realized resetting the controller automatically under the circumstances that does not increase mechanical switch and relate to the cost.
Drawings
Fig. 1 is a block diagram of a reset circuit according to an embodiment of the present invention;
fig. 2 is a schematic diagram of a specific reset circuit of the portable printer according to an embodiment of the present invention.
Detailed Description
To make the objects, technical solutions and advantages of the embodiments of the present invention clearer, the drawings of the embodiments of the present invention are combined to clearly and completely describe the technical solutions of the embodiments of the present invention, and obviously, the described embodiments are some embodiments of the present invention, not all embodiments. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative work belong to the protection scope of the present invention. Thus, the following detailed description of the embodiments of the present invention, presented in the accompanying drawings, is not intended to limit the scope of the invention, as claimed, but is merely representative of selected embodiments of the invention. Based on the embodiments in the present invention, all other embodiments obtained by a person skilled in the art without creative work belong to the protection scope of the present invention.
The following detailed description of the embodiments of the present invention will be made with reference to the accompanying drawings.
An object of the utility model is to provide a reset circuit and portable printer aims at not increasing under the mechanical reset switch of reservation and the design cost's the condition, realizes the automatic re-setting function.
Referring to fig. 1, a first embodiment of the present invention provides a reset circuit, including: the controller 3, the controlled switch component 2, the control circuit 5 and the button switch 4;
wherein, the first end of controlled switch subassembly 2 is used for connecting power 1, the second end of controlled switch subassembly 2 with power 1 input end electrical connection of controller 3, the control end of controlled switch subassembly 2 with button switch 4's first end electrical connection, button switch 4's second end ground connection, controller 3's output with control circuit 5's input electrical connection, control circuit 5's output with controlled switch subassembly 2's control end electrical connection.
It should be noted that, the push switch 4 and the control circuit 5 form an or logic to control the controlled switch component 2, wherein, when the button switch 4 is pressed, the control end of the controlled switch component 2 is pulled down and conducted, so that the controller 3 is switched on the power supply 1 and is powered on, meanwhile, the controller 3 outputs a PWM signal to the control circuit 5, the circuit processes the PWM signal and generates an electric signal to the controlled switch component 2, so that the controlled switch component 2 is kept on, the button switch 4 is switched off, when the controller 3 is halted, the sending of the PWM signal to the control circuit 5 is stopped, and the controlled switch assembly 2 is further caused to cut off the connection between the power supply 1 and the controller 3, thereby realizing the automatic resetting of the controller 3 without increasing a mechanical switch and costs.
It should be noted that the button switch 4 may be a dynamic-off switch, and of course, in other embodiments, other button switches 4 may also be used, and only the requirement of switching off after the controller 3 is powered on is met, and these schemes are all within the protection scope of the present invention.
Referring to fig. 2, in the present embodiment, the controlled switch assembly 2 includes: a first power switch Q1 and a first resistor R1;
the S pole of the first power switch Q1 is connected to the power supply 1, the D pole of the first power switch is electrically connected to the input terminal of the controller 3, the first end of the first resistor R1 is electrically connected to the S pole of the first power switch Q1, the second end of the first resistor R1 is electrically connected to the G pole of the first power switch Q1, and the G pole of the first power switch Q1 is electrically connected to the first end of the ani switch and the output terminal of the control circuit 5.
It should be noted that the G pole of the first power switch Q1 is grounded through the push button switch 4, when the push button switch 4 is pressed, the first power switch Q1 is pulled down to conduct, the controller 3 is powered on by the power supply 1, and simultaneously the controller 3 sends a PWM signal to the control loop, where the first resistor R1 is used to increase the interference rejection capability of the first power switch Q1.
Referring to fig. 2, in the present embodiment, the control circuit 5 includes: a PWM control circuit 51 and a switching unit 52;
an input end of the PWM control loop 51 is electrically connected to an output end of the controller 3, an output end of the PWM control loop 51 is electrically connected to a control end of the switching unit 52, a first end of the switching unit 52 is electrically connected to the G pole of the first power switching transistor Q1, and a second end of the switching unit is grounded.
It should be noted that the input end of the PWM control loop 51 is configured to receive the PWM signal of the controller 3, and generate an electrical signal to the switch unit 52 after processing the PWM signal, and the switch unit 52 turns on and pulls down the G pole of the first power switch Q1, so that the first power switch Q1 maintains the on state.
Referring to fig. 2, in the present embodiment, the PWM control loop 51 includes: a first capacitor C1, a second capacitor C2, a second resistor R2, a first diode D1 and a second diode D2;
the first end of the first capacitor C1 is electrically connected to the output end of the controller 3, the second end of the first capacitor C1 is electrically connected to the positive electrode of the first diode D1, the positive electrode of the second diode D2 is grounded, the negative electrode of the second diode D2 is electrically connected to the positive electrode of the first diode D1, the negative electrode of the first diode D1 is electrically connected to the first end of the second capacitor C2, the second end of the second capacitor C2 is grounded, the first end of the second capacitor C2 is electrically connected to the first end of the second resistor R2 and the control end of the switch unit 52, and the second end of the second resistor R2 is grounded.
It should be noted that, after the PWM signal is filtered by the first capacitor C1, only an ac component passes through, and after the first diode D1 and the second diode D2 are accumulated, the voltage of the second capacitor C2 gradually increases, when the voltage increases to the on threshold of the switching unit 52, the switching unit 52 is turned on, so that the first power switch is pulled down to GND, and the first power switch Q1 is kept on, when the controller 3 is in a dead halt, the PWM signal cannot be provided, the charge accumulated on the second capacitor C2 is released through the second resistor R2, the voltage of the second capacitor C2 gradually decreases, the switching unit 52 is turned off, and the controller 3 is reset in a power-off mode due to the turn-off of the first switch.
Referring to fig. 2, in the present embodiment, the switch unit 52 includes: a second power switch Q2;
the G pole of the second power switch Q2 is electrically connected to the first end of the second resistor R2, the S pole of the second power switch Q2 is grounded, and the D pole of the second power switch Q2 is electrically connected to the G pole of the first power switch Q1.
The G pole of the second power switch Q2 is configured to receive an electrical signal of the control loop of the PWM control loop 51, and is turned on when the electrical signal is at a high level to pull the G pole of the first power switch Q1 low and turn on, and the second power switch Q2 is turned off when the electrical signal is at a high level to turn off the first power switch Q1.
In this embodiment, the first power switch Q1 may be a P-channel enhancement MOSFET.
It should be noted that, in other embodiments, the first power switch Q1 may also be an N-channel enhancement MOSFET or other types of switch tubes, such as an IGBT tube or a GTR tube, and the connection relationship thereof changes correspondingly, which is not specifically limited herein, but these schemes are all within the protection scope of the present invention.
In this embodiment, the second power switch Q2 is an N-channel enhancement MOSFET.
It should be noted that, in other embodiments, the second power switch Q2 may also be a P-channel enhancement MOSFET or other types of switch tubes, such as an IGBT tube or a GTR tube, and the connection relationship thereof changes correspondingly, which is not specifically limited herein, but these schemes are all within the protection scope of the present invention.
A second embodiment of the present invention provides a portable printer, including a power supply 1 and any one of the above reset circuit, the output of the power supply 1 and the first end electrical connection of the controlled switch assembly 2.
Based on the utility model provides a pair of reset circuit and portable printer, through button switch with the control end electric connection of controlled switch subassembly, when button switch pressed down, the control end of controlled switch subassembly was drawn low and is switched on for the controller is turned on the switch-on, and the controller exports PWM signal to PWM control circuit simultaneously, makes the switch unit switch on, and then draws low controlled switch subassembly, the disconnection button switch, the controller keeps the operation, and when the controller crashed, the controller stopped to send the PWM signal to PWM control circuit, makes the switch unit turn-off, and the control end of controlled switch subassembly is drawn high and is turn-off, and the controller outage has realized resetting the controller automatically under the circumstances that does not increase mechanical switch and relate to the cost.
Above only the utility model discloses an it is preferred embodiment, the utility model discloses a scope of protection not only limits in above-mentioned embodiment, and the all belongs to the utility model discloses a technical scheme under the thinking all belongs to the utility model discloses a scope of protection.
Claims (8)
1. A reset circuit, comprising: the device comprises a controller, a controlled switch assembly, a control circuit and a button switch;
the first end of controlled switch subassembly is used for connecting the power, the second end of controlled switch subassembly with the power input end electrical connection of controller, the control end of controlled switch subassembly with button switch's first end electrical connection, button switch's second end ground connection, the output of controller with control circuit's input electrical connection, control circuit's output with the control end electrical connection of controlled switch subassembly.
2. The reset circuit of claim 1, wherein the controlled switching assembly comprises: the first power switch tube and the first resistor;
the S pole of the first power switch tube is connected with the power supply, the D pole of the first power switch is electrically connected with the input end of the controller, the first end of the first resistor is electrically connected with the S pole of the first power switch tube, the second end of the first resistor is electrically connected with the G pole of the first power switch tube, and the G pole of the first power switch tube is electrically connected with the first end of the button switch and the output end of the control circuit.
3. The reset circuit of claim 2, wherein the control circuit comprises: a PWM control loop and a switch unit;
the input end of the PWM control loop is electrically connected with the output end of the controller, the output end of the PWM control loop is electrically connected with the control end of the switch unit, the first end of the switch unit is electrically connected with the G pole of the first power switch tube, and the second end of the switch unit is grounded.
4. The reset circuit of claim 3, wherein the PWM control loop comprises: the circuit comprises a first capacitor, a second resistor, a first diode and a second diode;
the first end of the first capacitor is electrically connected with the output end of the controller, the second end of the first capacitor is electrically connected with the anode of the first diode, the anode of the second diode is grounded, the cathode of the second diode is electrically connected with the anode of the first diode, the cathode of the first diode is electrically connected with the first end of the second capacitor, the second end of the second capacitor is grounded, the first end of the second capacitor is electrically connected with the first end of the second resistor and the control end of the switch unit, and the second end of the second resistor is grounded.
5. The reset circuit of claim 4, wherein the switching unit comprises: a second power switch tube;
the G pole of the second power switch tube is electrically connected with the first end of the second resistor, the S pole of the second power switch tube is grounded, and the D pole of the second power switch tube is electrically connected with the G pole of the first power switch tube.
6. The reset circuit of claim 2, wherein the first power switch is a P-channel enhancement MOSFET.
7. The reset circuit of claim 5, wherein the second power switch is an N-channel enhancement MOSFET.
8. A portable printer comprising a power supply and a reset circuit as claimed in any one of claims 1 to 7, the output of the power supply being electrically connected to the first terminal of the controlled switch assembly.
Priority Applications (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202020318398.4U CN212278209U (en) | 2020-03-13 | 2020-03-13 | Reset circuit and portable printer |
Applications Claiming Priority (1)
Application Number | Priority Date | Filing Date | Title |
---|---|---|---|
CN202020318398.4U CN212278209U (en) | 2020-03-13 | 2020-03-13 | Reset circuit and portable printer |
Publications (1)
Publication Number | Publication Date |
---|---|
CN212278209U true CN212278209U (en) | 2021-01-01 |
Family
ID=73874982
Family Applications (1)
Application Number | Title | Priority Date | Filing Date |
---|---|---|---|
CN202020318398.4U Active CN212278209U (en) | 2020-03-13 | 2020-03-13 | Reset circuit and portable printer |
Country Status (1)
Country | Link |
---|---|
CN (1) | CN212278209U (en) |
-
2020
- 2020-03-13 CN CN202020318398.4U patent/CN212278209U/en active Active
Similar Documents
Publication | Publication Date | Title |
---|---|---|
CN109597701A (en) | A kind of device that communication module is restarted automatically | |
CN103346553B (en) | Anti-reverse and the anti-relay coil short-circuit control circuit of a kind of electronic controller | |
CN203659753U (en) | Driving circuit of relay | |
CN104007709A (en) | Electrical equipment and control device and control method thereof | |
CN108110835A (en) | A kind of low power consumpting controling circuit for high-voltage battery system | |
CN214590727U (en) | Charging device | |
CN108683217B (en) | Power supply voltage monitoring circuit capable of being turned off | |
CN113991610A (en) | Power on/off enabling and under-voltage locking device | |
CN212278209U (en) | Reset circuit and portable printer | |
CN203278309U (en) | Circuit and device for switching on/off charging battery | |
CN210780130U (en) | Power-off control circuit | |
CN110971175A (en) | Strong-current electrifying circuit, control method and servo driver | |
CN109130858B (en) | Direct current/direct current converter starting control circuit of electric automobile and automobile | |
CN213661270U (en) | Commercial power automatic switching circuit for power supply system | |
CN214014208U (en) | Reset circuit, reset device, and control device | |
CN213027525U (en) | Power supply switching circuit | |
CN213847095U (en) | Dormancy circuit and lighting device | |
CN205160203U (en) | Automatic switching power stepup transformer of no relay | |
CN209913796U (en) | Switching circuit | |
CN209659001U (en) | A kind of automatic switching circuit of low-voltage electrical apparatus backup power source | |
CN209282925U (en) | A kind of driving circuit for automatic transfer switching electric appliance controller | |
CN112235923A (en) | Sleep circuit, control method thereof and lighting device | |
CN107707230B (en) | Intelligent control joint control power switch | |
CN207625534U (en) | Low power consumption switch circuit and mobile robot | |
CN219695283U (en) | Simple input voltage detection circuit |
Legal Events
Date | Code | Title | Description |
---|---|---|---|
GR01 | Patent grant | ||
GR01 | Patent grant | ||
CP03 | Change of name, title or address | ||
CP03 | Change of name, title or address |
Address after: 361000 room 305A, Aung Yip house, Pioneer Park, torch high tech Zone, Xiamen, Fujian Patentee after: Xiamen Hanyin Co.,Ltd. Country or region after: China Address before: 361000 room 305A, Aung Yip house, Pioneer Park, torch high tech Zone, Xiamen, Fujian Patentee before: XIAMEN HANIN ELECTRONIC TECHNOLOGY Co.,Ltd. Country or region before: China |