CN110943720B - Automatic shutdown circuit of equipment and equipment - Google Patents

Automatic shutdown circuit of equipment and equipment Download PDF

Info

Publication number
CN110943720B
CN110943720B CN201811110452.XA CN201811110452A CN110943720B CN 110943720 B CN110943720 B CN 110943720B CN 201811110452 A CN201811110452 A CN 201811110452A CN 110943720 B CN110943720 B CN 110943720B
Authority
CN
China
Prior art keywords
transistor
equipment
power
mcu
control unit
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
CN201811110452.XA
Other languages
Chinese (zh)
Other versions
CN110943720A (en
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.)
Lingyu Technology Beijing Co ltd
Original Assignee
Lingyu Technology Beijing 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 Lingyu Technology Beijing Co ltd filed Critical Lingyu Technology Beijing Co ltd
Priority to CN201811110452.XA priority Critical patent/CN110943720B/en
Publication of CN110943720A publication Critical patent/CN110943720A/en
Application granted granted Critical
Publication of CN110943720B publication Critical patent/CN110943720B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H03ELECTRONIC CIRCUITRY
    • H03KPULSE TECHNIQUE
    • H03K17/00Electronic switching or gating, i.e. not by contact-making and –breaking
    • H03K17/296Time-programme switches providing a choice of time-intervals for executing more than one switching action and automatically terminating their operation after the programme is completed

Abstract

The application discloses automatic shutdown circuit and equipment of equipment, automatic shutdown circuit of equipment includes second power-on detecting element and second control unit, wherein: the second power-on detection unit is connected with the control end of the second control unit and is used for outputting a second delay signal to the second control unit after a second delay interval when the charging interface of the equipment is connected with an external charging base; and one end of the second control unit is connected with the power supply of the equipment, and the other end of the second control unit is connected with the MCU of the equipment and is used for turning off a passage between the power supply of the equipment and the MCU of the equipment when receiving a second delay signal. According to the device, when the charging interface of the device is connected with the external charging base, the second delay signal is output to trigger the shutdown, so that the function of automatic shutdown when the device is connected with the charging base is realized, and the device is simple in circuit structure and convenient for a user to use.

Description

Automatic shutdown circuit of equipment and equipment
Technical Field
The present invention relates to the field of electrical technology, and in particular, to an automatic shutdown circuit for a device and a device.
Background
The positioning and tracking system comprises a base station provided with a laser transmitter and a handle positioned by laser. The existing handle needs to be started by pressing a start-up key when in use, and needs to be shut down by pressing a shut-down key when not in use, so that the operation is complex, and the user experience is poor.
Disclosure of Invention
The embodiment of the invention provides an automatic shutdown circuit of equipment and the equipment, which can realize automatic shutdown when the equipment is connected with a charging base.
In order to achieve the purpose of the invention, the technical scheme of the embodiment of the invention is realized as follows:
the embodiment of the invention provides an automatic shutdown circuit of equipment, which comprises a second power-on detection unit and a second control unit, wherein:
the second power-on detection unit is connected with the control end of the second control unit and is used for outputting a second delay signal to the second control unit after a second delay interval when the charging interface of the equipment is connected to an external charging base;
and one end of the second control unit is connected with the power supply of the equipment, and the other end of the second control unit is connected with the MCU of the equipment and is used for turning off a passage between the power supply of the equipment and the MCU of the equipment when receiving a second delay signal.
In an embodiment, the second power-on detection unit includes a second delay module, where the second delay module includes a fourth resistor and a second capacitor connected in series, and the duration of the second delay interval is controlled by setting a resistance value of the fourth resistor and a capacitance value of the second capacitor, where:
the other end of the fourth resistor is connected with a charging interface of the equipment, and the other end of the second capacitor is grounded;
the input end of the second control unit is connected between the fourth resistor and the second capacitor.
In an embodiment, the second control unit includes a fourth transistor, a fifth transistor, and a fifth resistor, wherein:
the grid electrode of the fourth transistor is grounded through the fifth resistor, the source electrode of the fourth transistor is connected with the power supply of the equipment, and the drain electrode of the fourth transistor is connected with the MCU of the equipment;
and the grid electrode of the fifth transistor is connected with the output end of the second power-on detection unit, the source electrode of the fifth transistor is connected with the power supply of the equipment, and the drain electrode of the fifth transistor is grounded through a fifth resistor.
In an embodiment, the fourth transistor is a P-type MOS transistor, and the fifth transistor is an N-type MOS transistor.
In an embodiment, the automatic shutdown circuit further includes a key on/off unit, where the key on/off unit includes a key detection port, an on/off key, a unidirectional conduction module, a second transistor, and a third resistor, and the key on/off unit includes:
one end of the key detection port is connected with one end of the on-off key, the other end of the on-off key is grounded, the other end of the key detection port is connected with the negative electrode of the unidirectional conduction module, and the positive electrode of the unidirectional conduction module is connected with the grid electrode of the second transistor;
reading the key state of the key detection port through the input/output port of the MCU of the equipment;
the second transistor is arranged between the source electrode of the fourth transistor and the power supply of the equipment, the source electrode of the second transistor is connected with the power supply of the equipment, and the drain electrode of the second transistor is connected with the source electrode of the fourth transistor; the third resistor is connected between the gate and the source of the second transistor.
In one embodiment, the second transistor is a P-type MOS transistor; the unidirectional conduction module is a Schottky diode.
In an embodiment, the automatic shutdown circuit further comprises a shutdown prevention unit, wherein: one end of the shutdown preventing unit is connected with the control end of the second control unit, and the other end of the shutdown preventing unit is connected with the MCU of the equipment, and is used for controlling the second control unit to conduct a passage between a power supply of the equipment and the micro control unit MCU of the equipment when the MCU of the equipment detects that the data transmission of the equipment is not completed; and when the MCU of the equipment detects that the data transmission of the equipment is completed, controlling the second control unit to turn off a channel between the power supply of the equipment and the micro control unit MCU of the equipment.
In an embodiment, the shutdown prevention unit includes a second control port, a sixth transistor, and a sixth resistor, wherein:
the second control port is connected with the grid electrode of the sixth transistor, the drain electrode of the sixth transistor is grounded, and the source electrode of the sixth transistor is connected with the input end of the second control unit;
one end of the sixth resistor is connected between the second control port and the grid electrode of the sixth transistor, and the other end of the sixth resistor is grounded;
the MCU of the device controls the second control port to output a third control signal for switching on the shutdown preventing unit or a fourth control signal for switching off the shutdown preventing unit.
In an embodiment, the sixth transistor is an N-type MOS transistor.
The embodiment of the invention also provides equipment, comprising the automatic shutdown circuit of the equipment.
The technical scheme of the embodiment of the invention has the following beneficial effects:
according to the automatic shutdown circuit and the equipment of the equipment, when the charging interface of the equipment is connected with the external charging base, the second delay signal is output to trigger shutdown, so that the function of automatic shutdown when the equipment is connected with the charging base is realized, the circuit structure is simple, and the use of a user is convenient.
Drawings
The accompanying drawings, which are included to provide a further understanding of the invention and are incorporated in and constitute a part of this application, illustrate embodiments of the invention and together with the description serve to explain the invention and do not constitute a limitation on the invention. In the drawings:
fig. 1 is a schematic structural diagram of an auto-on circuit of a device according to a first embodiment of the present invention;
fig. 2 is a schematic structural diagram of an automatic shutdown circuit of a device according to a second embodiment of the present invention;
fig. 3 is a schematic circuit diagram of an automatic power on/off circuit of a device according to a third embodiment of the present invention.
Detailed Description
For the purpose of making the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail hereinafter with reference to the accompanying drawings. It should be noted that, in the case of no conflict, the embodiments and features in the embodiments may be arbitrarily combined with each other.
Embodiment one automatic power-on circuit and device
As shown in fig. 1, an embodiment of the present invention provides an automatic power-on circuit of a device, including a first power-on detection unit 101, a first control unit 102, and a power-on maintenance unit 103, where:
the first power-on detection unit 101 is connected with the first control unit, and is configured to output a first delay signal to the first control unit 102 when the charging interface of the device is disconnected from the external charging base, where the first delay signal disappears after passing through the first delay interval;
one end of the first control unit 102 is connected with a power supply of the equipment, the other end of the first control unit is connected with an MCU of the equipment, and the control end of the first control unit is connected with the first power-on detection unit 101 and is used for conducting a passage between the power supply of the equipment and a micro control unit (Micro Controller Unit, MCU) of the equipment when a first delay signal is received;
the MCU of the device is connected to the first power-on detection unit 101, and is configured to start the power-on maintenance unit 103 before the first delay signal disappears, and conduct a path between the power supply of the device and the MCU of the device through the power-on maintenance unit 103.
In an embodiment of the present invention, the device is a handle, and the charging base is located on a base station or other peripheral device with a charging interface.
In an embodiment of the present invention, the charging interface is a universal serial bus (Universal Serial Bus, USB) interface.
It should be noted that the auto-on circuit of the device of the present invention may be used on any device with a charging interface. The USB interface may be any Type of interface, such as a USB Type-C duplex pluggable interface, a Mini (Mini) USB interface, an apple iPod Dock interface, an apple Lightning (Lightning) interface, etc.
When the automatic power-on circuit of the equipment in the embodiment of the invention is used, the first control unit 102 is used for conducting the channel between the power supply of the equipment and the MCU of the equipment, the MCU of the equipment is started after obtaining the power supply of the equipment to start, the power-on maintaining unit 103 is started, at the moment, the first delay signal disappears after passing through the first delay interval, and the first control unit 102 is turned off.
In an embodiment of the present invention, the first power-on detection unit 101 includes a power-on detection port, a rectification module, and a first delay module, where:
one end of the power-on detection port is connected with an Input/Output (I/O) port of the MCU of the device, and the other end of the power-on detection port is connected with the charging interface through a first resistor;
the rectification module is connected between the charging interface and the first delay module, and an output end of the rectification module is connected with an input end of the first control unit 102.
When a charging interface of the device is connected with the external charging base, the MCU of the device detects that the power-on detection port outputs a high-level signal through an I/O port; when the charging interface of the device is disconnected from the external charging base, the MCU of the device detects that the power-on detection port outputs a low-level signal through the I/O port.
In an example of this embodiment, the rectifying module may be a schottky diode or any other rectifying module.
In an example of this embodiment, the first delay module includes a second resistor and a first capacitor connected in parallel, and the duration of the first delay interval of the first delay module is controlled by using the resistance value of the second resistor and the capacitance value of the first capacitor.
Illustratively, the second resistor has a resistance of 200K and the first capacitor has a capacitance of 10uF.
In an embodiment of the present invention, the first control unit 102 includes a first transistor, a second transistor, and a third resistor, wherein:
the grid electrode of the first transistor is connected with the output end of the first power-on detection unit 101, the drain electrode of the first transistor is grounded, the source electrode of the first transistor is connected with the grid electrode of the second transistor, the source electrode of the second transistor is connected with the power supply of the equipment, and the drain electrode of the second transistor is connected with the MCU of the equipment;
the third resistor is connected between the gate and the source of the second transistor.
In an example of this embodiment, a linear voltage regulator is provided between the drain of the second transistor and the MCU of the device. Illustratively, the linear regulator is a low dropout linear regulator (Low Dropout Regulator, LDO).
In an example of this embodiment, the first transistor is an N-type MOS transistor, and the second transistor is a P-type MOS transistor. MOS transistors are abbreviations for Metal-Oxide-semiconductor field effect transistors (MOSFETs).
In an embodiment of the present invention, the power-on maintaining unit 103 includes a first control port and a third transistor, wherein:
the first control port is connected with the grid electrode of the third transistor, the drain electrode of the third transistor is grounded, and the source electrode of the third transistor is connected with the grid electrode of the second transistor;
when the charging interface of the device is disconnected from the external charging base, the MCU of the device controls the first control port to output a first control signal for switching on the third transistor; when the charging interface of the device is connected with the external charging base, the MCU of the device controls the first control port to output a second control signal for turning off the third transistor.
In an example of this embodiment, the third transistor is an N-type MOS transistor. When the charging interface of the device is disconnected from the external charging base, the MCU of the device controls the first control signal output by the first control port to be a high-level signal, the third transistor is conducted, the second transistor is conducted, and the MCU maintains a starting state; when the charging interface of the device is connected with the external charging base, the MCU of the device controls the second control signal output by the first control port to be a low-level signal, the third transistor is turned off, the second transistor is turned off, and the MCU is powered off.
In an embodiment of the present invention, the automatic power-on circuit of the device further includes a key power-on/off unit, where the key power-on/off unit includes a key detection port, a power-on/off key, and a unidirectional conduction module, and the method includes:
one end of the key detection port is connected with an on-off key, the other end of the key detection port is connected with the negative electrode of the unidirectional conduction module, and the positive electrode of the unidirectional conduction module is connected with the grid electrode of the second transistor;
and reading the key state of the key detection port through the input/output port of the MCU of the equipment.
When the power supply device is used, a user presses a power on/off button, a button detection port inputs a low-level signal because the other end of the power on/off button is grounded, a second transistor is conducted, and after the MCU of the device obtains the power supply start of the power supply, the power on maintenance unit 103 is started, at the moment, even if the user releases the power on/off button, the power on state of the device is still realized;
when the device is in a power-on state, if a user presses a power-on/off key, an input/output port of the MCU of the device reads that the key detection port becomes a low-level signal, the power-on maintaining unit 103 is turned off, and the MCU is powered off.
In an embodiment of the present invention, a fourth transistor is included between the first control unit 102 and the MCU of the device, and is in a default on state;
the device comprises an automatic shutdown circuit of the device, and when a charging interface of the device is connected with the external charging base, the automatic shutdown circuit of the device controls the fourth transistor to be turned off after a second delay interval.
When the charging interface of the equipment is connected with the external charging base, the automatic shutdown circuit of the equipment controls the fourth transistor to be turned off after a second delay interval, and controls the MCU to automatically turn off.
In an example of this embodiment, the fourth transistor is a P-type MOS transistor.
The embodiment of the invention also provides equipment, which comprises the automatic starting circuit of the equipment.
Automatic shutdown circuit and equipment of embodiment two equipment
The embodiment of the invention also provides an automatic shutdown circuit of the device, which comprises a second power-on detection unit 201 and a second control unit 202, wherein:
the second power-on detection unit 201 is connected to the control end of the second control unit 202, and is configured to output a second delay signal to the second control unit 202 after a second delay interval when the charging interface of the device is connected to an external charging base;
one end of the second control unit 202 is connected with the power supply of the device, and the other end is connected with the MCU of the device, so that when a second delay signal is received, a channel between the power supply of the device and the MCU of the micro control unit of the device is turned off.
In an embodiment of the present invention, the second control unit 202 is further configured to: and when the second delay signal is not received, a path between the power supply of the equipment and the MCU of the equipment is conducted.
In an embodiment of the present invention, the device is a handle, and the charging base is located on a base station or other peripheral device with a charging interface.
In an embodiment of the present invention, the charging interface is a universal serial bus (Universal Serial Bus, USB) interface.
It should be noted that the automatic shutdown circuit of the device of the present invention may be used on any device with a charging interface. The USB interface may be any Type of interface, such as a USB Type-C duplex pluggable interface, a Mini (Mini) USB interface, an apple iPod Dock interface, an apple Lightning (Lightning) interface, etc.
When the charging interface of the equipment is connected with the external charging base, the automatic starting circuit and the automatic shutdown circuit of the equipment are started instantly, however, by adjusting the duration of the second delay interval, the equipment is started first when the charging interface of the equipment is connected with the external charging base, at the moment, data interaction is carried out between the equipment and the equipment to which the external charging base belongs or system upgrading is carried out on the equipment, and after the data interaction or the system upgrading is completed, the shutdown circuit takes effect, and the equipment is automatically shut down.
In an embodiment of the present invention, the second power-on detection unit 201 includes a second delay module, where the second delay module includes a fourth resistor and a second capacitor connected in series, and the fourth resistor and the second capacitor are:
the other end of the fourth resistor is connected with a charging interface of the equipment, and the other end of the second capacitor is grounded;
an input terminal of the second control unit 202 is connected between the fourth resistor and the second capacitor.
And controlling the duration of the second delay interval by setting the resistance value of the fourth resistor and the capacitance value of the second capacitor. In an example of the present embodiment, the resistance value of the fourth resistor is 100K, and the capacitance value of the second capacitor is 10uF.
In an embodiment of the present invention, the second control unit 202 includes a fourth transistor, a fifth transistor, and a fifth resistor, wherein:
the grid electrode of the fourth transistor is grounded through the fifth resistor, the source electrode of the fourth transistor is connected with the power supply of the equipment, and the drain electrode of the fourth transistor is connected with the MCU of the equipment;
the gate of the fifth transistor is connected to the output end of the second power-on detection unit 201, the source of the fifth transistor is connected to the power supply of the device, and the drain of the fifth transistor is grounded through a fifth resistor.
In an example of the present embodiment, the fourth transistor is a P-type MOS transistor, and the fifth transistor is an N-type MOS transistor.
When a charging interface of the equipment is connected with the external charging base, an external power supply signal charges the second capacitor through the fourth resistor, when the voltage of the second capacitor rises to be the same as the external power supply signal, the fifth transistor is turned on, the fourth transistor is turned off, and the MCU of the equipment is powered off and shut down; when the charging interface of the device is disconnected from the external charging base, the external power supply signal disappears, the fourth transistor is restored to a default on state through the fifth resistor connected to the grid, and the automatic shutdown circuit of the device is disabled.
In an embodiment of the present invention, the automatic shutdown circuit of the device further includes a shutdown preventing unit, where one end of the shutdown preventing unit is connected to the control end of the second control unit 202, and the other end of the shutdown preventing unit is connected to the MCU of the device, and is configured to control the second control unit 202 to turn on a path between the power supply of the device and the MCU of the device when the MCU of the device detects that the data transmission of the device is not complete; when the MCU of the device detects that the data transmission of the device has been completed, the second control unit 202 is controlled to turn off the path between the power supply of the device and the micro control unit MCU of the device.
In an example of the present embodiment, the shutdown preventing unit includes a second control port, a sixth transistor, and a sixth resistor, wherein:
the second control port is connected to the gate of the sixth transistor, the drain of the sixth transistor is grounded, and the source of the sixth transistor is connected to the input end of the second control unit 202;
one end of the sixth resistor is connected between the second control port and the grid electrode of the sixth transistor, and the other end of the sixth resistor is grounded;
the MCU of the device controls the second control port to output a third control signal for switching on the shutdown preventing unit or a fourth control signal for switching off the shutdown preventing unit.
In an example of this embodiment, the sixth transistor is an N-type MOS transistor.
When the device is used, when the fact that the data upgrading or the data interaction of the device is not finished is monitored, the MCU of the device outputs a third control signal by controlling the second control port, the sixth transistor is conducted, the second capacitor is not charged, the fifth transistor is turned off, and the shutdown circuit is stopped, so that the device can continuously finish the data upgrading or the data interaction; after the equipment finishes data upgrading or data interaction, the MCU of the equipment outputs a fourth control signal by controlling the second control port, the sixth transistor is turned off, an external power supply signal charges the second capacitor through the fourth resistor, when the voltage of the second capacitor rises to be the same as the external power supply signal, the fifth transistor is turned on, the fourth transistor is turned off, and the MCU of the equipment is powered off and turned off.
In an embodiment of the invention, the automatic shutdown circuit of the device further includes a key on/off unit, where the key on/off unit includes a key detection port, an on/off key, a unidirectional conduction module, a second transistor, and a third resistor, where:
one end of the key detection port is connected with one end of the on-off key, the other end of the on-off key is grounded, the other end of the key detection port is connected with the negative electrode of the unidirectional conduction module, and the positive electrode of the unidirectional conduction module is connected with the grid electrode of the second transistor;
reading the key state of the key detection port through the input/output port of the MCU of the equipment;
the second transistor is arranged between the source electrode of the fourth transistor and the power supply of the equipment, the source electrode of the second transistor is connected with the power supply of the equipment, and the drain electrode of the second transistor is connected with the source electrode of the fourth transistor; the third resistor is connected between the gate and the source of the second transistor.
In an example of this embodiment, the second transistor is a P-type MOS transistor.
In an example of this embodiment, the unidirectional conduction module is a schottky diode.
When the user presses the on-off button, the button on-off unit is turned on, the MCU of the device reads the state of the on-off button through the input and output port, and starts or closes the on-off maintaining unit according to the connection state of the charging interface of the current device and the external charging base (the structure of the on-off maintaining unit is described in the foregoing, and is not repeated here), if the on-off maintaining unit is started, the device is started; if the power-on maintaining unit is turned off, the equipment is turned off.
The embodiment of the invention also provides equipment, which comprises the automatic shutdown circuit of the equipment.
Automatic on-off circuit of three devices of embodiment
As shown in fig. 3, the auto-on circuit includes a first transistor Q1 (NMOS transistor), a first diode D1 (schottky diode), a first resistor R1, a second resistor R2, and a first capacitor C1; the automatic shutdown circuit comprises a fourth transistor Q4 (PMOS tube), a fifth transistor Q5 (NMOS tube), a sixth transistor Q6 (NMOS tube), a fourth resistor R4, a fifth resistor R5, a sixth resistor R6 and a second capacitor C2; the POWER-on maintaining unit comprises a first control port POWER_CTRL, a third transistor Q3 (NMOS tube), a second transistor Q2, a third resistor R3, a seventh resistor R7 and a third capacitor C3, wherein the seventh resistor R7 and the third capacitor C3 form a POWER supply jitter elimination circuit; the key switch unit comprises a key detection port POWER ON and a second diode D2 (Schottky diode).
Charging base of charging interface connection outside of equipment
When a charging interface sleep_VCC signal port of the device is connected with an external charging base battery through a USB interface, the charging base outputs a high-level signal to the sleep_VCC signal port, a starting circuit is started, the sleep_VCC is rapidly charged to a first capacitor C1 through a first diode D1, an NMOS tube Q1 is conducted, and a PMOS tube Q2 is controlled to be conducted. The fifth resistor R5 is a grid resistor of the PMOS tube Q4, the normal state of the Q4 can be controlled to be in a conducting state, the output voltage of the lithium Battery (Battery) is output to the MCU of the equipment after passing through the Q2 and Q4 tubes in the conducting state, the output voltage is stabilized by the LDO and is output to the MCU of the equipment, the MCU starts up, the level state of the power-on detection port Sleep signal can be read through the IO port after the MCU starts up, whether the handle is connected with the charging base is judged, and the MCU does not start up the power-up maintaining unit because the sleep_VCC signal port is connected with the charging base at the moment.
When the voltage at two ends of the second capacitor C2 rises to the sleep_VCC, the NMOS tube Q5 is conducted, the PMOS tube Q4 is controlled to be turned off to output 0V, and the MCU is powered off and turned off. Adjusting the resistance of the fourth resistor R4 can change the charging time of the second capacitor C2, thereby changing the delayed turn-off time of the auto-off circuit.
The shutdown preventing unit includes a second control port power_sleep, a sixth transistor Q6 (NMOS transistor), and a sixth resistor R6. The MCU can control the POWER_SLEEP port to input a high level or low level signal, thereby controlling the Q6 to be turned on or off.
As shown in fig. 3, when the MCU outputs a high level signal to the power_sleep port, Q6 is turned on, sleep_vcc goes through R4 and Q6 to ground, C2 is not charged again, at this time, the voltage across C2 is 0v, Q5 is turned off, and the shutdown circuit is terminated.
When the MCU outputs a low-level signal to the POWER_SLEEP port, the shutdown circuit starts to start, the Q6 is turned off, the sleep_VCC charges C2 through R4 until the Q5 is turned on, and the MCU is powered off.
Disconnection of a charging interface of a device from an external charging base
As shown in fig. 3, when the charging interface sleep_vcc signal port of the device is disconnected from the external charging base, the sleep_vcc signal disappears, Q4 is automatically turned on, and the shutdown circuit fails.
Starting a starting circuit: and C1 starts discharging through R2, Q1 is conducted, Q2 is controlled to be conducted, VBAT voltage is output through LDO voltage stabilization, so that MCU starts starting, MCU outputs a high-level signal to a first control port POWER_CTRL network port, and Q3 and Q2 are conducted to maintain starting signals. When the voltage across C1 is insufficient to maintain Q1 on, Q1 is off. Changing the resistance of the second resistor R2 can adjust the voltage holding time across the capacitor C1.
The embodiment designs an integrated automatic power-on/off circuit, when a charging interface of equipment is connected with an external charging base (the charging base can be a base station and can be other peripheral equipment with a charging interface, and the charging interfaces, such as a USB interface, are required to be arranged on the base station and the peripheral equipment), the automatic power-off circuit is started, and the power-on/off circuit is automatically powered off after 3S. The MCU can also be used for controlling the shutdown circuit to start or shut down or prolonging the time delay shutdown time. When the MCU has no task to process, the MCU can output a control signal to stop the hardware shutdown until the MCU processes the task, and the MCU can output the control signal again to enter the hardware shutdown self-locking mode, so that the hardware shutdown state is realized. When the charging interface of the equipment is disconnected with the external charging base, the starting circuit is started to generate a first delay signal, the equipment is triggered to be automatically started, the equipment is maintained to be in a starting state through the starting maintaining unit, and the first delay signal disappears after 1 s.
Those of ordinary skill in the art will appreciate that all or a portion of the steps of the methods described above may be implemented by a program that instructs associated hardware, and the program may be stored on a computer readable storage medium such as a read-only memory, a magnetic or optical disk, etc. Alternatively, all or part of the steps of the above embodiments may be implemented using one or more integrated circuits, and accordingly, each module/unit in the above embodiments may be implemented in hardware or may be implemented in a software functional module. The present invention is not limited to any specific form of combination of hardware and software.
The above description is only of the preferred embodiments of the present invention and is not intended to limit the present invention, but various modifications and variations can be made to the present invention by those skilled in the art. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (9)

1. The utility model provides an automatic switch-on and shut-off circuit of equipment, its characterized in that includes second power-on detecting element, second control unit and shut-off preventing element, wherein:
the second power-on detection unit is connected with the control end of the second control unit and is used for outputting a second delay signal to the second control unit after a second delay interval when the charging interface of the equipment is connected to an external charging base;
one end of the second control unit is connected with the power supply of the equipment, and the other end of the second control unit is connected with the MCU of the equipment and is used for turning off a passage between the power supply of the equipment and the MCU of the equipment when receiving a second delay signal;
one end of the shutdown preventing unit is connected with the control end of the second control unit, and the other end of the shutdown preventing unit is connected with the MCU of the equipment, and is used for controlling the second control unit to conduct a passage between a power supply of the equipment and the micro control unit MCU of the equipment when the MCU of the equipment detects that the data transmission of the equipment is not completed; when the MCU of the equipment detects that the data transmission of the equipment is completed, the second control unit is controlled to turn off a channel between the power supply of the equipment and the micro control unit MCU of the equipment;
and a first power-on detection unit, a first control unit, and a power-on maintenance unit, wherein: the first power-on detection unit is connected with the first control unit and is used for outputting a first delay signal to the first control unit when the charging interface of the equipment is disconnected with an external charging base, and the first delay signal disappears after passing through a first delay interval; one end of the first control unit is connected with the power supply of the equipment, the other end of the first control unit is connected with the MCU of the equipment, and the control end of the first control unit is connected with the first power-on detection unit and is used for conducting a passage between the power supply of the equipment and the MCU of the equipment when a first delay signal is received; the MCU of the equipment is connected with a first power-on detection unit and is used for starting a power-on maintaining unit before the first delay signal disappears, and a passage between a power supply of the equipment and the MCU of the equipment is conducted through the power-on maintaining unit; wherein the first control unit includes a first transistor, a second transistor, and a third resistor, wherein: the grid electrode of the first transistor is connected with the output end of the first power-on detection unit, the drain electrode of the first transistor is grounded, the source electrode of the first transistor is connected with the grid electrode of the second transistor, the source electrode of the second transistor is connected with the power supply of the equipment, and the drain electrode of the second transistor is connected with the MCU of the equipment; the third resistor is connected between the grid electrode and the source electrode of the second transistor; the power-on maintaining unit comprises a first control port and a third transistor, wherein: the first control port is connected with the grid electrode of the third transistor, the drain electrode of the third transistor is grounded, and the source electrode of the third transistor is connected with the grid electrode of the second transistor; when the charging interface of the device is disconnected from the external charging base, the MCU of the device controls the first control port to output a first control signal for switching on the third transistor; when the charging interface of the device is connected with the external charging base, the MCU of the device controls the first control port to output a second control signal for turning off the third transistor.
2. The automatic power-on/off circuit according to claim 1, wherein the second power-on detection unit includes a second delay module including a fourth resistor and a second capacitor connected in series, and the duration of the second delay interval is controlled by setting a resistance value of the fourth resistor and a capacitance value of the second capacitor, wherein:
the other end of the fourth resistor is connected with a charging interface of the equipment, and the other end of the second capacitor is grounded;
the input end of the second control unit is connected between the fourth resistor and the second capacitor.
3. The automatic power on/off circuit according to claim 1, wherein the second control unit includes a fourth transistor, a fifth transistor, and a fifth resistor, wherein:
the grid electrode of the fourth transistor is grounded through the fifth resistor, the source electrode of the fourth transistor is connected with the power supply of the equipment, and the drain electrode of the fourth transistor is connected with the MCU of the equipment;
and the grid electrode of the fifth transistor is connected with the output end of the second power-on detection unit, the source electrode of the fifth transistor is connected with the power supply of the equipment, and the drain electrode of the fifth transistor is grounded through a fifth resistor.
4. The automatic power on/off circuit of claim 3, wherein the fourth transistor is a P-type MOS transistor and the fifth transistor is an N-type MOS transistor.
5. The automatic power on and off circuit of claim 3, further comprising a key power on and off unit comprising a key detect port, a power on and off key, a unidirectional conduction module, a second transistor, and a third resistor, wherein:
one end of the key detection port is connected with one end of the on-off key, the other end of the on-off key is grounded, the other end of the key detection port is connected with the negative electrode of the unidirectional conduction module, and the positive electrode of the unidirectional conduction module is connected with the grid electrode of the second transistor;
reading the key state of the key detection port through the input/output port of the MCU of the equipment;
the second transistor is arranged between the source electrode of the fourth transistor and the power supply of the equipment, the source electrode of the second transistor is connected with the power supply of the equipment, and the drain electrode of the second transistor is connected with the source electrode of the fourth transistor; the third resistor is connected between the gate and the source of the second transistor.
6. The automatic power on/off circuit of claim 5, wherein the second transistor is a P-type MOS transistor; the unidirectional conduction module is a Schottky diode.
7. The automatic power on/off circuit according to claim 1, wherein the power off prevention unit includes a second control port, a sixth transistor, and a sixth resistor, wherein:
the second control port is connected with the grid electrode of the sixth transistor, the drain electrode of the sixth transistor is grounded, and the source electrode of the sixth transistor is connected with the input end of the second control unit;
one end of the sixth resistor is connected between the second control port and the grid electrode of the sixth transistor, and the other end of the sixth resistor is grounded;
the MCU of the device controls the second control port to output a third control signal for switching on the shutdown preventing unit or a fourth control signal for switching off the shutdown preventing unit.
8. The automatic power on/off circuit of claim 7, wherein the sixth transistor is an N-type MOS transistor.
9. An electronic device comprising an automatic power on/off circuit of the device according to any one of claims 1 to 8.
CN201811110452.XA 2018-09-21 2018-09-21 Automatic shutdown circuit of equipment and equipment Active CN110943720B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811110452.XA CN110943720B (en) 2018-09-21 2018-09-21 Automatic shutdown circuit of equipment and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811110452.XA CN110943720B (en) 2018-09-21 2018-09-21 Automatic shutdown circuit of equipment and equipment

Publications (2)

Publication Number Publication Date
CN110943720A CN110943720A (en) 2020-03-31
CN110943720B true CN110943720B (en) 2024-01-26

Family

ID=69904579

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811110452.XA Active CN110943720B (en) 2018-09-21 2018-09-21 Automatic shutdown circuit of equipment and equipment

Country Status (1)

Country Link
CN (1) CN110943720B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US11539756B2 (en) * 2020-10-23 2022-12-27 BlackBear (Taiwan) Industrial Networking Security Ltd. Switch device for one-way transmission

Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101325411A (en) * 2008-04-16 2008-12-17 中兴通讯股份有限公司 Slow starting circuit for electrifying DC power supply
WO2010121466A1 (en) * 2009-04-22 2010-10-28 深圳市宇图电器有限公司 Battery charge control circuit, charger and battery charge control method
CN102412814A (en) * 2010-09-26 2012-04-11 上海杰得微电子有限公司 Forced shutdown circuit of portable consumer electronic product
JP2013009486A (en) * 2011-06-23 2013-01-10 Toshiba Schneider Inverter Corp Storage power discharging circuit of inverter device
CN203859558U (en) * 2014-04-25 2014-10-01 Tcl通力电子(惠州)有限公司 Electronic equipment and external charging circuit thereof
CN105024492A (en) * 2014-04-17 2015-11-04 北京佩特来电器有限公司 Accumulator-free alternating-current generator and under-voltage protection device thereof
CN106787129A (en) * 2016-12-15 2017-05-31 山东金洲科瑞节能科技有限公司 A kind of power-supply management system for being automatically obtained main power supply switching
CN207124616U (en) * 2017-08-04 2018-03-20 深圳市宇芯数码技术有限公司 Charge intelligent switch machine control circuit
CN108279760A (en) * 2018-02-28 2018-07-13 上海顺久电子科技有限公司 A kind of power on detection circuit, chip and wearable device

Patent Citations (9)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101325411A (en) * 2008-04-16 2008-12-17 中兴通讯股份有限公司 Slow starting circuit for electrifying DC power supply
WO2010121466A1 (en) * 2009-04-22 2010-10-28 深圳市宇图电器有限公司 Battery charge control circuit, charger and battery charge control method
CN102412814A (en) * 2010-09-26 2012-04-11 上海杰得微电子有限公司 Forced shutdown circuit of portable consumer electronic product
JP2013009486A (en) * 2011-06-23 2013-01-10 Toshiba Schneider Inverter Corp Storage power discharging circuit of inverter device
CN105024492A (en) * 2014-04-17 2015-11-04 北京佩特来电器有限公司 Accumulator-free alternating-current generator and under-voltage protection device thereof
CN203859558U (en) * 2014-04-25 2014-10-01 Tcl通力电子(惠州)有限公司 Electronic equipment and external charging circuit thereof
CN106787129A (en) * 2016-12-15 2017-05-31 山东金洲科瑞节能科技有限公司 A kind of power-supply management system for being automatically obtained main power supply switching
CN207124616U (en) * 2017-08-04 2018-03-20 深圳市宇芯数码技术有限公司 Charge intelligent switch machine control circuit
CN108279760A (en) * 2018-02-28 2018-07-13 上海顺久电子科技有限公司 A kind of power on detection circuit, chip and wearable device

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
康佳TDA9383超级芯片彩电电源电路解析(上);赵永军;;家电检修技术(第10期);1 *

Also Published As

Publication number Publication date
CN110943720A (en) 2020-03-31

Similar Documents

Publication Publication Date Title
US20120326502A1 (en) System and method of eliminating wasted energy known as vampire electricity or phantom load loss
WO2021223139A1 (en) Power on/off control device and electronic equipment
US20140265566A1 (en) System and Method of Eliminating Wasted Energy Known as Vampire Electricity or Phantom Load Loss
CA2736573A1 (en) A usb charger, its switch control system and method, and a usb interface charger for a laptop
US20140025969A1 (en) Control circuit for computer
US20140125273A1 (en) Control system and method for battery
CN110943720B (en) Automatic shutdown circuit of equipment and equipment
CN109980722B (en) Power supply control device
KR20180064264A (en) Electronic apparatus and power supply circuit thereof
CN210052071U (en) On-chip integrated on-off control circuit
CN110941319B (en) Automatic starting circuit of equipment and equipment
CN107733413B (en) Intelligent switch circuit and intelligent terminal of pre-installation battery system
CN107769277B (en) Constant-current control charging system and method
CN115622189A (en) Power supply control circuit and beauty instrument
US10025749B2 (en) Tracking circuit and method
CN111399617B (en) Power supply control device and electronic apparatus
CN108519892B (en) Start mode selection circuit and electronic equipment
CN106899285B (en) Automatic start-up voltage regulating circuit
CN114697828A (en) Power amplifier control circuit, power supply control circuit and audio equipment
CN220173096U (en) Electronic equipment and power supply enabling loop
CN104122807A (en) Electronic apparatus and shutdown control system thereof
CN217824413U (en) Uninterrupted power supply switching control circuit and device
CN218567863U (en) Circuit for detecting action acting on key and electronic product
CN217546013U (en) Power-on reset and power-off detection circuit and electronic equipment
CN219512634U (en) USB module control circuit, USB equipment and electronic equipment

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant