CN217085556U - Startup and shutdown control circuit and electronic equipment using same - Google Patents

Startup and shutdown control circuit and electronic equipment using same Download PDF

Info

Publication number
CN217085556U
CN217085556U CN202220746626.7U CN202220746626U CN217085556U CN 217085556 U CN217085556 U CN 217085556U CN 202220746626 U CN202220746626 U CN 202220746626U CN 217085556 U CN217085556 U CN 217085556U
Authority
CN
China
Prior art keywords
circuit
switch
resistor
level signal
level
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
Application number
CN202220746626.7U
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.)
Beijing Zonekey Modern Technology Co ltd
Original Assignee
Beijing Zonekey Modern Technology 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 Beijing Zonekey Modern Technology Co ltd filed Critical Beijing Zonekey Modern Technology Co ltd
Priority to CN202220746626.7U priority Critical patent/CN217085556U/en
Application granted granted Critical
Publication of CN217085556U publication Critical patent/CN217085556U/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Landscapes

  • Electronic Switches (AREA)

Abstract

The application relates to a startup and shutdown control circuit, which comprises a switch, a control circuit, a logic and circuit and a first switch circuit which are connected in sequence, wherein the control circuit is used for providing two high level signals to two input ends of the logic and circuit when the switch is started up by short press, and making a controller of an electrified electronic device provide proper level for the logic and circuit when the switch is loosened or the switch is shut down by short press, so that the logic and circuit outputs the high level signals when receiving the two high level signals, and outputs the low level signals when receiving the low level signal, the first switch short circuit controls the power supply output voltage or stops outputting the voltage according to the level signals output by the logic and circuit, the construction of the electronic circuit is used for realizing logic control to replace a single chip microcomputer to realize startup and shutdown of the electronic device, the development task of the single chip microcomputer is reduced, and various problems caused by software are reduced, and the trouble caused by software upgrading is reduced.

Description

Startup and shutdown control circuit and electronic equipment using same
Technical Field
The application relates to the technical field of control circuits of electronic equipment, in particular to a startup and shutdown control circuit and electronic equipment using the same.
Background
The general implementation modes of the start key of the existing electronic equipment are two types: the first is a physical switch, a control power supply, the second is a touch switch and a control signal. The power supply is controlled to only realize the startup and shutdown of the power supply; the tact switch is controlled by signals, and can realize the functions of starting, shutting down or standby through the length of signal level.
At present, the scheme of realizing the standby function of startup and shutdown by using a single switch is basically realized by using a single chip microcomputer (controller) in a software mode, operations such as software programming debugging, shaking removal acquisition, logic processing, later software upgrading and the like need to be carried out on the single chip microcomputer, the single chip microcomputer controller has disadvantages in the aspects of logic processing and upgrading, and meanwhile, the single chip microcomputer can cause the problems of crash and the like.
SUMMERY OF THE UTILITY MODEL
In order to solve the problems in the prior art, the application provides a startup and shutdown control circuit and an electronic device using the same, the startup and shutdown of the electronic device is realized by utilizing the construction of the electronic circuit to realize logic control to replace a single chip microcomputer, the development task of the single chip microcomputer is reduced, various problems caused by software are reduced, and the trouble caused by software upgrading is reduced.
In a first aspect, the power on/off control circuit provided by the present application adopts the following technical scheme:
the utility model provides a switching on and shutting down control circuit, connects between electronic equipment's controller and power, its characterized in that: comprises a switch, a control circuit, a logic and circuit and a first switch circuit which are connected in sequence,
the switch is characterized in that: for providing different level signals to the control circuit according to short press or long press,
the control circuit: the control circuit is used for providing two high level signals to two input ends of a logical AND circuit when the switch is started by short press, enabling a controller of the electrified electronic equipment to provide a high level signal for the logical AND circuit to replace the low level signal when only one high level signal and one low level signal can be provided after the switch is released, enabling the controller of the electrified electronic equipment to provide a low level signal for the logical AND circuit to replace one high level signal when the switch is stopped by short press and only two high level signals can be provided, and providing a high level signal and a low level signal to two input ends of the logical AND circuit when the switch is forcibly stopped by long press,
the logic and circuit: for outputting a high level signal when two high level signals are received and outputting a low level signal when one low level signal is received,
short-circuiting the first switch: the output voltage of the power supply is controlled or stopped according to the level signal output by the logical AND circuit.
Through the technical scheme, when the switch is started by short-time pressing, the control circuit is utilized to provide two high-level signals to the two input ends of the logic and circuit, the logic and circuit outputs the high level to control the conduction of the first switch circuit, so that the power supply output voltage enables the electronic equipment to be electrified,
after the switch is released, when the control circuit can only provide a high level signal and a low level signal, because the electronic equipment is powered on, the control circuit can make the controller of the powered electronic equipment provide a high level signal for the logic and circuit to replace the low level signal, so that the logic and circuit still receives two high levels, can output a high level, maintains the conduction of the first switch circuit, further maintains the power output and supplies power to the electronic equipment,
when the switch is turned off by short press and the control circuit can only provide two high level signals, the electronic equipment is in a power-on state at the moment, the controller of the powered electronic equipment provides a low level signal for the logic and circuit to replace one high level signal, so that the logic and circuit receives a low level and can output the low level to disconnect the first switch circuit, further the power supply is turned off, and the power supply for the electronic equipment is stopped,
when the switch is forced to be shut down by long pressing, the control circuit provides a high level signal and a low level signal to two input ends of the logic and circuit, so that the logic and circuit receives a low level and can output the low level to disconnect the first switch circuit, further the power supply is shut down, the power supply for the electronic equipment is stopped, and forced shutdown is realized,
the technical scheme mainly depends on a hardware circuit to realize the on-off control of the electronic equipment, reduces the development tasks of a single chip microcomputer, reduces various problems caused by software, and reduces troubles caused by software upgrading.
Preferably, the control circuit comprises a switch state signal transmission circuit, a first level shift circuit and a second level shift circuit,
the switch is characterized in that: used for transmitting the control level signals generated after being pressed to the first level conversion circuit and the second level conversion circuit respectively,
the switch state signal transmission circuit: a controller for transmitting a status signal of the switch to the electronic device, the status signal of the switch including a level signal generated when the switch is pressed and a level signal generated when the switch is released,
the first level shift circuit: for converting the control level signal into a first level signal and transmitting the first level signal to the logic and circuit, wherein the first level signal is a different level signal generated according to the length of the pressed time of the switch,
the second level shift circuit: for converting the control level signal into a second level signal and transmitting the second level signal to the AND logic circuit, and transmitting a third level signal from a controller of the electronic device to the AND logic circuit, the third level signal and the second level signal having opposite levels,
the logic and circuit: used for receiving the first level signal and the second level signal, or receiving the first level signal and the third level signal, and outputting a control signal to the first switch circuit after logic AND processing,
the first switching circuit: for controlling the output voltage or stopping the output voltage of the power supply of the electronic device.
Through the technical scheme, the first level conversion circuit and the second level conversion circuit are designed to convert the levels generated by the switch in different pressing states, so that the logic and circuit is controlled to output proper levels to control the on or off of the first switch circuit, whether the power supply supplies power for the electronic equipment is controlled, and the on/off of the electronic equipment is controlled.
Preferably, the switch state signal transmission circuit includes a second switch circuit, and the second switch circuit is connected between the switch and a controller of the electronic device.
Through the technical scheme, when the electronic equipment is in a power-on state and the switch is pressed down, the second switch circuit can generate the interrupt signal to inform the controller of the electronic equipment, and the controller judges whether the electronic equipment is powered off or not according to the low level time of the interrupt signal.
Preferably, the first level shift circuit includes a charge/discharge circuit: the circuit is used for outputting a first type of first level signal when the switch is pressed for a short time and outputting a second type of first level signal when the switch is pressed for a long time, wherein the first type of first level signal and the second type of second level signal are two opposite level signals.
Through the technical scheme, the charging and discharging circuit is utilized to output the first-class first level signal when the switch is pressed for a short time and the charging and discharging circuit is not fully charged or is discharged, and the charging and discharging circuit is fully charged when the switch is pressed for a long time and the second-class first level signal is output, so that different feedback levels can be provided to the logical AND circuit according to the fact that the switch is pressed for a short time or pressed for a long time.
Preferably, the logic and circuit includes a seventh resistor, an eighth resistor, a second field effect transistor, and a third field effect transistor, one end of the seventh resistor is connected to the output terminal of the first level shift circuit and the source electrode of the second field effect transistor, the other end of the seventh resistor is connected to the gate electrode of the second field effect transistor and the drain electrode of the third field effect transistor, the drain electrode of the second field effect transistor is connected to the input terminal of the first switch circuit, the source electrode of the third field effect transistor is grounded, the eighth resistor is connected between the gate electrode of the third field effect transistor and the ground, and the gate electrode of the third field effect transistor is connected to the second level shift circuit.
Through the technical scheme, whether the two field effect transistors are conducted or not is controlled by the level signal, logic output is achieved, the circuit is simple, cost is low, and performance is stable.
Preferably, the first switch circuit includes a ninth resistor, a tenth resistor, an eleventh resistor, a twelfth resistor, a fourth capacitor, a fifth capacitor, a field effect transistor, and a fourth transistor, one end of the twelfth resistor is connected to the output terminal of the and logic circuit, the other end of the twelfth resistor is connected to one end of the ninth resistor and the base of the fourth transistor, the emitter of the fourth transistor is grounded, the collector of the fourth transistor is connected to one end of the tenth resistor, and the other end of the tenth resistor is connected to the gate of the field effect transistor.
The field effect transistor is a P-channel field effect transistor, one end of the eleventh resistor, one end of the fourth capacitor and the grid electrode of the field effect transistor, one end of the fifth capacitor is connected with the other end of the tenth resistor, the other end of the fourth capacitor, the other end of the eleventh resistor and the source electrode of the field effect transistor are connected with the first voltage output end SW _12V0, and the drain electrode of the field effect transistor and the other end of the fifth capacitor are connected with the second voltage output end VCC _ 12V.
Through the above technical scheme, the power switch is composed of a high-voltage and high-current channel field effect transistor and a triode, the triode is used for controlling the G level of the P-MOS transistor, a pull-down resistor R9 is used for controlling the default state to be low level during power-on, the base of the triode is pulled to be low, the triode is not conducted, the G level of the P-MOS transistor is high, the P-MOS transistor is cut off, the P-MOS transistor is not conducted, the 12V power supply is not output, when the base of the triode is input with high level, the triode is in saturation conduction, the G level of the P-MOS transistor is slowly changed to be low level, the P-MOS transistor is conducted, and therefore the switch is turned on to conduct the power supply, wherein a slow start circuit is formed by a fourth capacitor and a tenth resistor 0, and slow power-on is realized through charging and discharging.
Preferably, the first-type first level signal is a high level, the second-type first level signal is a low level, the charge and discharge circuit includes a first resistor, a second resistor, a first capacitor, and a first diode, one end of the first resistor is grounded, the other end of the first resistor is connected to one end of the second resistor and a negative electrode of the first diode, the other end of the second resistor is connected to an anode of the first diode and one end of the first capacitor, the other end of the first capacitor is grounded, a node between the first resistor and the second resistor is an input end of the charge and discharge circuit, and a node between the anode of the first diode and the first capacitor is an output end of the charge and discharge circuit.
Through the above technical solution, since the first type of first level signal is high level and the second type of first level signal is low level, it is necessary to design a charge and discharge circuit to output low level when the charge circuit is not fully charged, output high level when the charge circuit is fully charged, and output low level when the discharge circuit is discharged, so as to output different levels to a logic and circuit according to the condition that the switch is pressed.
Preferably, the second switching circuit includes a first transistor, and the first transistor is an active high first transistor.
Through the technical scheme, when the system is in a starting state and the switch is pressed for a short time, the reverse direction can be carried out through the first triode, an interrupt signal is generated and sent to the controller of the electronic equipment, and the controller judges whether the electronic equipment is shut down or not according to the low level time of the signal. The fourth triode is used for reverse direction and signal isolation, and only when the high level is effective, the low level signal can be guaranteed to be output to the controller.
Preferably, the first level shift circuit further includes a first inverter circuit, and the first inverter circuit is connected between the switch and a controller of the electronic device.
Through above technical scheme, because the switch is provided the low level by short time, and first triode is the high level effective, consequently, need carry out the inverted phase to the low level signal through first inverter circuit and handle to the high level, just can make first triode switch on, transmit the low level signal for the controller.
Preferably, the first level shifter circuit further includes a second inverter circuit, and the second inverter circuit is connected between the charge and discharge circuit and the and logic circuit.
Through the technical scheme, the second inverter circuit is added to be matched with the first inverter circuit added at the front end, and if the first inverter circuit is not added at the front end, the second inverter circuit does not need to be added at the front end.
Preferably, the second level shift circuit includes a second diode, a third diode, a sixth resistor, and a thirteenth resistor, an anode of the second diode is connected to the output terminal of the first inverter circuit, a cathode of the second diode is connected to one end of the sixth resistor, the other end of the sixth resistor is connected to the logical and circuit, one end of the thirteenth resistor is connected to the controller, the other end of the thirteenth resistor is connected to an anode of the third diode, and a cathode of the third diode is connected to a cathode of the second diode.
Through the technical scheme, the second level conversion circuit is used for providing a proper level for the logic and circuit, namely when the level output by the first inverter circuit cannot achieve the purpose of controlling the first switch circuit to be switched on or switched off, a proper level signal is obtained from the controller to the logic and circuit, so that the logic and circuit outputs a control level to control the first switch circuit to be switched on or switched off, and the on/off of the electronic equipment is further controlled.
Preferably, the second level shift circuit further includes a fourth diode, an anode of the fourth diode is connected to the network interface of the controller, and a cathode of the fourth diode is connected to a cathode of the second diode.
Through the technical scheme, after the power-off is realized by using the network interface, the power-on function can be remotely realized through the network.
In a second aspect, the present application provides an electronic device, which includes:
an electronic device comprises a controller and the on-off control circuit in any technical scheme, wherein the on-off control circuit is respectively connected with a power supply and the controller.
Through above technical scheme, be equipped with the on-off control circuit of this application in electronic equipment, utilize electronic circuit's the building to realize logic control and replace the singlechip and realize the on-off to electronic equipment, reduce singlechip development task, reduce the trouble that causes because of the various problems that software upgrading led to the fact.
In summary, the present application mainly includes the following beneficial technical effects:
(1) when the switch is turned on by short press, the control circuit provides two high level signals to two input ends of the logic AND circuit, the logic AND circuit outputs high level to control the first switch circuit to be conducted, so that the power supply outputs voltage to electrify the electronic equipment,
after the switch is released, when the control circuit can only provide a high level signal and a low level signal, because the electronic equipment is powered on, the control circuit can make the controller of the powered electronic equipment provide a high level signal for the logic and circuit to replace the low level signal, so that the logic and circuit still receives two high levels, can output a high level, maintains the conduction of the first switch circuit, further maintains the power output and supplies power to the electronic equipment,
when the switch is turned off by short press and the control circuit can only provide two high level signals, the electronic equipment is in a power-on state at the moment, the controller of the powered electronic equipment provides a low level signal for the logic and circuit to replace one high level signal, so that the logic and circuit receives a low level and can output the low level to disconnect the first switch circuit, further the power supply is turned off, and the power supply for the electronic equipment is stopped,
when the switch is forced to be shut down by long pressing, the control circuit provides a high level signal and a low level signal to two input ends of the logic and circuit, so that the logic and circuit receives a low level and can output the low level to disconnect the first switch circuit, further the power supply is shut down, the power supply for the electronic equipment is stopped, and forced shutdown is realized,
the technical scheme mainly depends on a hardware circuit to realize the on-off control of the electronic equipment, reduces the development task of a single chip microcomputer, reduces various problems caused by software, and reduces troubles caused by software upgrading.
Secondly, this application still includes following beneficial technological effect:
(2) by utilizing the charge and discharge circuit, when the switch is pressed for a short time, the charge and discharge circuit is not fully charged or is discharged, the first-class first level signal is output, when the switch is pressed for a long time, the charge and discharge circuit is fully charged, the second-class first level signal is output, and therefore different feedback levels can be provided to the logic AND circuit according to the fact that the switch is pressed for a short time or pressed for a long time.
Drawings
Fig. 1 is a circuit schematic diagram of an embodiment of a power on/off control circuit according to the present application.
Description of reference numerals:
1. a second switching circuit; 2. a charge and discharge circuit; 3. a first inverter circuit; 4. a second inverter circuit; 5. a second level shift circuit; 6. a logical AND circuit; 7. a first switching circuit.
Detailed Description
In order to make the objects, technical solutions and advantages of the present application more apparent, the present application is further described in detail below with reference to fig. 1 and the embodiments.
The first embodiment.
The on-off control circuit is connected between a controller and a power supply of electronic equipment, and comprises a switch, a switch state signal transmission circuit, a first level conversion circuit, a second level conversion circuit 5, a logic AND circuit 6 and a first switch circuit 7 which are connected in sequence,
the switch is characterized in that: for transmitting the control level signal generated after being pressed to the first level shift circuit and the second level shift circuit 5 respectively,
the switch state signal transmission circuit: a controller for transmitting a status signal of the switch to the electronic device, the status signal of the switch including a level signal generated when the switch is pressed and a level signal generated when the switch is released,
the first level shift circuit: for converting the control level signal into a first level signal and transmitting the first level signal to the AND logic circuit 6, wherein the first level signal is a different level signal generated according to the length of the pressed time of the switch,
the second level shift circuit 5: for converting the control level signal into a second level signal and transmitting it to the and logic circuit 6, and for transmitting a third level signal from a controller of the electronic device to the and logic circuit 6, the third level signal and the second level signal having opposite levels,
the and logic circuit 6: is used for receiving the first level signal and the second level signal, or receiving the first level signal and the third level signal, and outputting a control signal to the first switch circuit 7 after logic and processing,
the first switch circuit 7: for controlling the output voltage or stopping the output voltage of the power supply of the electronic device.
The switch state signal transmission circuit comprises a second switch circuit 1, and the second switch circuit 1 is connected between the switch and a controller of the electronic device.
The first level shift circuit comprises a charge and discharge circuit 2: the circuit is used for outputting a first type of first level signal when the switch is pressed for a short time and outputting a second type of first level signal when the switch is pressed for a long time, wherein the first type of first level signal and the second type of second level signal are two opposite level signals.
Specifically, as shown in fig. 1, the logic and circuit 6 includes a seventh resistor R7, an eighth resistor R8, a second fet Q2, and a third fet Q3, wherein one end of the seventh resistor R7 is connected to the output end of the first level shifter circuit and the source of the second fet Q2, the other end of the seventh resistor R7 is connected to the gate of the second fet Q2 and the drain of the third fet Q3, the drain of the second fet Q2 is connected to the input end of the first switch circuit 7, the source of the third fet Q3 is grounded, the eighth resistor R8 is connected between the gate of the third fet Q3 and the ground, and the gate of the third fet Q3 is connected to the second level shifter circuit 5.
The first switch circuit 7 includes a ninth resistor R9, a tenth resistor R10, an eleventh resistor R11, a twelfth resistor R12, an eleventh resistor R11, a fourth capacitor C4, a fifth capacitor C5, a field effect transistor, and a fourth triode Q4, one end of the twelfth resistor R12 is connected to the output end of the and logic circuit 6, the other end of the twelfth resistor R12 is connected to one end of the ninth resistor R9 and the base of the fourth triode Q4, the emitter of the fourth triode Q4 is grounded, the collector of the fourth triode Q4 is connected to one end of the tenth resistor R10, and the other end of the tenth resistor R10 is connected to the gate of the field effect transistor Q5.
The field effect transistor Q5 is a P-channel field effect transistor, the one end of eleventh resistance R11 the one end of fourth electric capacity C4 the grid of field effect transistor Q5, the one end of fifth electric capacity C5 all with the other end of tenth resistance R10 is connected, the other end of fourth electric capacity C4 the other end of eleventh resistance R11, the source electrode of field effect transistor Q5 all is connected with first voltage output terminal SW _12V0, the drain electrode of field effect transistor Q5 with the other end of fifth electric capacity C5 all is connected with second voltage output terminal VCC _ 12V.
The first type of first level signal is a high level, the second type of first level signal is a low level, the charge and discharge circuit 2 includes a first resistor R1, a second resistor R2, a first capacitor C1 and a first diode D1, one end of the first resistor R1 is grounded, the other end of the first resistor R1 is connected with one end of the second resistor R2 and the negative electrode of the first diode D1, the other end of the second resistor R2 is connected with the positive electrode of the first diode D1 and one end of the first capacitor C1, the other end of the first capacitor C1 is grounded, a node between the first resistor R1 and the second resistor R2 is an input end of the charge and discharge circuit 2, and a node between the positive electrode of the first diode D1 and the first capacitor C1 is an output end of the charge and discharge circuit 2.
The second switch circuit 1 includes a first transistor Q1, the first transistor Q1 is a first transistor Q1 with high level activity, the emitter of the first transistor Q1 is grounded, the base of the first transistor Q1 is connected to the switch SW1 via a fifth resistor, the collector of the first transistor Q1 is connected to the GPIO15_0 terminal i of the controller, and the collector of the first transistor Q1 is connected to the power supply PWR _3V3 via the fifth resistor R5.
The first level shifter circuit further includes a first inverter circuit 3, the first inverter circuit 3 is connected between the switch and a controller of the electronic device, specifically, the first inverter circuit 3 includes a chip U1 and a second capacitor C2, one end of a switch SW1 is grounded, the other end of the switch SW1 is connected with one end of a third resistor R3 and a signal input end a of a chip U1, the other end of the third resistor R3 is connected with a voltage PWR _3V3, a Y end of the chip U1 is a signal output end, and the Y end is connected with a base of a first triode Q1 through a fifth resistor R5.
The first level shift circuit further comprises a second inverter circuit 4, the second inverter circuit 4 is connected between the charge and discharge circuit 2 and the and logic circuit 6, specifically, the second inverter circuit 4 comprises a chip U2, a signal input end a of the chip U2 is connected with a first capacitor C1 of the charge and discharge circuit 2, and a Y end of the chip U2 is a signal output end.
The second level shifter circuit 5 includes a second diode D2, a third diode D3, a sixth resistor R6, and a thirteenth resistor R13, the anode of the second diode D2 is connected to the output end of the first inverter circuit 3, the cathode of the second diode D2 is connected to one end of the sixth resistor R6, the other end of the sixth resistor R6 is connected to the and logic circuit 6, one end of the thirteenth resistor R13 is connected to the GPIO15_3 of the controller, the other end of the thirteenth resistor R13 is connected to the anode of the third diode D3, and the cathode of the third diode D3 is connected to the cathode of the second diode D2.
The second level shift circuit 5 further includes a fourth diode D4, an anode of the fourth diode D4 is connected to the network interface PME _ ETH of the controller, and a cathode of the fourth diode D4 is connected to a cathode of the second diode D2.
The PME _ ETH is input by a PME pin of a network interface PHY, and the remote power-on function through a network after the power-off can be realized by using the WOL function of the PHY.
The working principle of the embodiment is as follows:
when the switch SW1 is pressed down to output a low level to the chip U1, after the phase of the switch SW is inverted by the chip U1, the chip U1 outputs a high level, at this time, the charging circuit composed of the second resistor R2 and the first capacitor C1 is charged, the charging time is determined by the values of the second resistor R2 and the first capacitor C1, before the first capacitor C1 is fully charged, the input terminal of the chip U2 is at the low level, the output terminal of the chip U2 is at the high level, that is, one input terminal a of the logical product circuit 6 is at the high level, and the other input terminal B of the logical product circuit 6 is connected to the output terminal of the chip U1, so that the point B is at the high level, the logical product circuit 6 outputs the high level, the fourth triode Q4 is turned on, the fet Q5 is turned on, thereby the power is turned on, and after the electronic device is powered on, the pin of the controller of the electronic device controls the third diode D3 to latch the point B signal at the high level, at this time, the switch is released, the circuit remains on.
When shutdown is required, the switch SW1 can be pressed again, when the output of the chip U2 is at a high level in a power-on state, the charging circuit is also charged, and meanwhile, the first triode Q1 informs the controller of shutdown, at this time, the controller executes a series of command operations before shutdown, so that the controller is guaranteed to perform normal shutdown, and then the GPIO15_3 is used to output a low level to pull down the B-point level of the logical and circuit 6, so that the shutdown function is realized.
A forced shutdown function, when the electronic device has a problem and needs to be forcibly shut down, the switch SW1 can be pressed for a long time, at this time, the controller has a problem, the third diode D3 cannot control, the output of the chip U1 is at a high level, the output of the first diode D1 is at a high level, and the point B of the logical and circuit 6 is high; the charging circuit is used for charging, because the charging circuit is long in time, the first capacitor C1 can be fully charged, after the charging, when the voltage of the first capacitor C1 reaches a high level, namely the input end of the chip U2 is at a high level, after the chip U2 reverses, the output end is at a low level, namely the input end a of the logic and circuit 6 is at a low level, the output of the logic and circuit 6 is at a low level, and the fourth triode is cut off, so that forced shutdown is realized.
The embodiment can also realize the function of touch standby, the principle is similar to that of short-time press starting, after the controller is informed through the first triode Q1, the controller can read the trigger time of the switch, for example, the controller is enabled to enter standby within 1 second, the controller is powered off within 3 seconds, and the controller is forced to be powered off with 7 seconds.
Example two.
This embodiment provides an electronic equipment, including controller and the switching on and shutting down control circuit of embodiment one, the switching on and shutting down control circuit is connected with the power respectively with the controller.
The power on/off control circuit of the first embodiment is configured in the electronic device, and the electronic device is powered on and off by utilizing the construction of the electronic circuit to realize logic control instead of a single chip microcomputer, so that the development task of the single chip microcomputer is reduced, various problems caused by software are reduced, and the trouble caused by software upgrading is reduced.
The above embodiments are preferred embodiments of the present application, and the protection scope of the present application is not limited by the above embodiments, so: all equivalent changes made according to the structure, shape and principle of the present application shall be covered by the protection scope of the present application.

Claims (10)

1. The utility model provides a switching on and shutting down control circuit, connects between electronic equipment's controller and power, its characterized in that: comprises a switch, a control circuit, a logic AND circuit (6) and a first switch circuit (7) which are connected in sequence,
the switch is characterized in that: for providing different level signals to the control circuit according to short press or long press,
the control circuit: when the switch is turned on by short press, two high level signals are provided to two input ends of the logical AND circuit (6), when the switch is released and only one high level signal and one low level signal can be provided, the controller of the electrified electronic equipment provides the logical AND circuit (6) with one high level signal to replace the low level signal, when the switch is turned off by short press and only two high level signals can be provided, the controller of the electrified electronic equipment provides the logical AND circuit (6) with one low level signal to replace one high level signal, and when the switch is turned off by long press and forced, one high level signal and one low level signal are provided to two input ends of the logical AND circuit (6),
the logical AND circuit (6): for outputting a high level signal when two high level signals are received and outputting a low level signal when one low level signal is received,
short-circuiting the first switch: the control circuit is used for controlling the power supply output voltage or stopping the output voltage according to the level signal output by the logical AND circuit (6).
2. The on/off control circuit as claimed in claim 1, wherein: the control circuit comprises a switch state signal transmission circuit, a first level conversion circuit and a second level conversion circuit (5),
the switch is characterized in that: used for respectively transmitting control level signals generated after being pressed to a first level conversion circuit and a second level conversion circuit (5),
the switch state signal transmission circuit: a controller for transmitting a status signal of the switch to the electronic device, the status signal of the switch including a level signal generated when the switch is pressed and a level signal generated when the switch is released,
the first level shift circuit: for converting the control level signal into a first level signal and transmitting the first level signal to the logical AND circuit (6), wherein the first level signal is different level signal generated according to the length of the pressed time of the switch,
the second level shift circuit (5): for converting the control level signal into a second level signal and transmitting it to the AND logic circuit (6), and for transmitting a third level signal from a controller of the electronic device to the AND logic circuit (6), the third level signal and the second level signal having opposite levels,
the logical AND circuit (6): is used for receiving the first level signal and the second level signal or receiving the first level signal and the third level signal, and outputs a control signal to the first switch circuit (7) after logic AND processing,
the first switch circuit (7): for controlling the output voltage or stopping the output voltage of the power supply of the electronic device.
3. The on/off control circuit as claimed in claim 2, wherein:
the switch state signal transmission circuit comprises a second switch circuit (1), the second switch circuit (1) is connected between the switch and a controller of the electronic device,
and/or the presence of a gas in the gas,
the first level shift circuit comprises a charge and discharge circuit (2): the circuit comprises a switch, a first switch, a second switch, a first switch and a second switch, wherein the switch is used for outputting a first level signal of a first class when the switch is pressed for a short time and outputting a first level signal of a second class when the switch is pressed for a long time, and the first level signal of the first class and the second level signal of the second class are two opposite level signals;
and/or the presence of a gas in the gas,
the logic AND circuit (6) comprises a seventh resistor, an eighth resistor, a second field effect transistor and a third field effect transistor, one end of the seventh resistor is connected with the output end of the first level conversion circuit and the source electrode of the second field effect transistor, the other end of the seventh resistor is connected with the grid electrode of the second field effect transistor and the drain electrode of the third field effect transistor, the drain electrode of the second field effect transistor is connected with the input end of the first switch circuit (7), the source electrode of the third field effect transistor is grounded, the eighth resistor is connected between the grid electrode of the third field effect transistor and the ground, and the grid electrode of the third field effect transistor is connected with the second level conversion circuit (5),
and/or the presence of a gas in the gas,
the first switch circuit (7) comprises a ninth resistor, a tenth resistor, an eleventh resistor, a twelfth resistor, a fourth capacitor, a fifth capacitor, a field effect transistor and a fourth triode, one end of the twelfth resistor is connected with the output end of the logic AND circuit (6), the other end of the twelfth resistor is connected with one end of the ninth resistor and the base electrode of the fourth triode, the emitting electrode of the fourth triode is grounded, the collector electrode of the fourth triode is connected with one end of the tenth resistor, and the other end of the tenth resistor is connected with the grid electrode of the field effect transistor,
the field effect transistor is a P-channel field effect transistor, one end of the eleventh resistor, one end of the fourth capacitor and the grid electrode of the field effect transistor, one end of the fifth capacitor is connected with the other end of the tenth resistor, the other end of the fourth capacitor, the other end of the eleventh resistor and the source electrode of the field effect transistor are connected with the first voltage output end SW _12V0, and the drain electrode of the field effect transistor and the other end of the fifth capacitor are connected with the second voltage output end VCC _ 12V.
4. The on/off control circuit as claimed in claim 3, wherein: the first type of first level signals are high levels, the second type of first level signals are low levels, the charge and discharge circuit (2) comprises a first resistor, a second resistor, a first capacitor and a first diode, one end of the first resistor is grounded, the other end of the first resistor is connected with one end of the second resistor and the negative electrode of the first diode, the other end of the second resistor is connected with the positive electrode of the first diode and one end of the first capacitor, the other end of the first capacitor is grounded, a node between the first resistor and the second resistor is an input end of the charge and discharge circuit (2), and a node between the positive electrode of the first diode and the first capacitor is an output end of the charge and discharge circuit (2).
5. The on/off control circuit as claimed in claim 3, wherein: the second switching circuit (1) comprises a first transistor which is active at high level.
6. The on/off control circuit as claimed in claim 5, wherein: the first level shift circuit further comprises a first inverter circuit (3), and the first inverter circuit (3) is connected between the switch and a controller of the electronic device.
7. The on/off control circuit as claimed in claim 6, wherein: the first level shift circuit further comprises a second inverter circuit (4), and the second inverter circuit (4) is connected between the charging and discharging circuit (2) and the logic AND circuit (6).
8. The on/off control circuit as claimed in claim 6, wherein: the second level conversion circuit (5) comprises a second diode, a third diode, a sixth resistor and a thirteenth resistor, the anode of the second diode is connected with the output end of the first inverter circuit (3), the cathode of the second diode is connected with one end of the sixth resistor, the other end of the sixth resistor is connected with the logic and circuit (6), one end of the thirteenth resistor is connected with the controller, the other end of the thirteenth resistor is connected with the anode of the third diode, and the cathode of the third diode is connected with the cathode of the second diode.
9. The on/off control circuit as claimed in claim 8, wherein: the second level shift circuit (5) further comprises a fourth diode, wherein the anode of the fourth diode is connected with the network interface of the controller, and the cathode of the fourth diode is connected with the cathode of the second diode.
10. An electronic device comprising a controller, characterized in that: the power supply of any one of claims 1 to 9, further comprising a switching control circuit connected to the power supply and the controller, respectively.
CN202220746626.7U 2022-04-01 2022-04-01 Startup and shutdown control circuit and electronic equipment using same Active CN217085556U (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202220746626.7U CN217085556U (en) 2022-04-01 2022-04-01 Startup and shutdown control circuit and electronic equipment using same

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202220746626.7U CN217085556U (en) 2022-04-01 2022-04-01 Startup and shutdown control circuit and electronic equipment using same

Publications (1)

Publication Number Publication Date
CN217085556U true CN217085556U (en) 2022-07-29

Family

ID=82553532

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202220746626.7U Active CN217085556U (en) 2022-04-01 2022-04-01 Startup and shutdown control circuit and electronic equipment using same

Country Status (1)

Country Link
CN (1) CN217085556U (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118012804A (en) * 2024-04-07 2024-05-10 浙江华视智检科技有限公司 Control circuit and slave device

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN118012804A (en) * 2024-04-07 2024-05-10 浙江华视智检科技有限公司 Control circuit and slave device

Similar Documents

Publication Publication Date Title
CN107979363B (en) Switching on and switching off circuit and electronic equipment
CN217085556U (en) Startup and shutdown control circuit and electronic equipment using same
CN112327696B (en) Key control circuit
CN203219450U (en) Set top box true standby and standby wake-up circuit and set top box
CN102023580A (en) Standby control device
CN115793546A (en) Low-power consumption MCU chip standby control circuit
CN201203775Y (en) Standby control circuit
CN110912107A (en) Startup and shutdown circuit for battery management system
CN110693401A (en) Cleaning robot
CN202159236U (en) Standby switch circuit and miniature electronic device
CN108198731A (en) A kind of magnetic latching relay control circuit
CN201732338U (en) Electricity-saving portable device power supply switch control system
CN116191880A (en) Bootstrap driven switching power supply power-off control circuit
CN214014208U (en) Reset circuit, reset device, and control device
CN213027985U (en) One-key switching circuit
CN210157162U (en) Key combined circuit for realizing hardware reset
CN113541263A (en) Portable equipment external power supply and battery power supply automatic switching circuit
CN206164702U (en) Current switching circuit, television power panel, television mainboard and television
CN111752365A (en) Linkage startup and shutdown method and circuit, first electronic equipment and second electronic equipment
CN220711665U (en) Base station and cleaning equipment system
CN221058274U (en) Switch control circuit and switch circuit of battery energy storage system
CN220855620U (en) Onboard Beidou hardware switching on and switching off circuit
CN218589170U (en) Energy-saving electric toothbrush capable of completely cutting off power supply
CN214674448U (en) Low standby power consumption power supply circuit and electronic equipment
CN219458659U (en) Zero standby power consumption switching power supply control circuit

Legal Events

Date Code Title Description
GR01 Patent grant
GR01 Patent grant