CN110941319B - Automatic starting circuit of equipment and equipment - Google Patents

Automatic starting circuit of equipment and equipment Download PDF

Info

Publication number
CN110941319B
CN110941319B CN201811109372.2A CN201811109372A CN110941319B CN 110941319 B CN110941319 B CN 110941319B CN 201811109372 A CN201811109372 A CN 201811109372A CN 110941319 B CN110941319 B CN 110941319B
Authority
CN
China
Prior art keywords
transistor
power
equipment
mcu
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
CN201811109372.2A
Other languages
Chinese (zh)
Other versions
CN110941319A (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 CN201811109372.2A priority Critical patent/CN110941319B/en
Publication of CN110941319A publication Critical patent/CN110941319A/en
Application granted granted Critical
Publication of CN110941319B publication Critical patent/CN110941319B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/263Arrangements for using multiple switchable power supplies, e.g. battery and AC

Landscapes

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

Abstract

The application discloses an automatic starting circuit of equipment and the equipment, wherein the circuit comprises a first power-on detection unit, a first control unit and a starting maintaining unit, wherein the first power-on detection unit is connected with the first control unit and used for outputting a first delay signal to the first control unit when a charging interface of the equipment is disconnected with an external charging base; one end of the first control unit 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 and used for receiving the first delay signal and conducting a channel between the power supply of the equipment and the MCU; the MCU of the equipment is connected with the first power-on detection unit and used for starting the power-on maintaining unit before the first delay signal disappears, and a channel between the power supply of the equipment and the MCU is conducted through the power-on maintaining unit. According to the method and the device, when the charging interface is disconnected with the charging base, the first delay signal is output to trigger the starting, and the function of automatic starting when the device is disconnected with the charging base is achieved.

Description

Automatic starting circuit of equipment and equipment
Technical Field
The present invention relates to, but not limited to, the field of electrical technologies, and in particular, to an automatic power-on 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 up 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 complicated, and the user experience is poor.
Disclosure of Invention
The embodiment of the invention provides an automatic starting circuit of equipment and the equipment, which can realize automatic starting when the equipment is disconnected from 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 starting circuit of equipment, which comprises a first power-on detection unit, a first control unit and a starting maintaining unit, wherein:
the first power-on detection unit is connected with the first control unit and used for outputting a first delay signal to the first control unit when a 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 used for conducting a channel between the power supply of the equipment and the MCU of the equipment when receiving the first delay signal;
the MCU of the equipment is connected with the first power-on detection unit and used for starting the power-on maintaining unit before the first delay signal disappears, and a channel between the power supply of the equipment and the MCU of the equipment is conducted through the power-on maintaining unit.
In an embodiment, the first power-on detection unit 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 port of the MCU of the equipment, and the other end of the power-on detection port is connected with the charging interface through a first resistor;
the rectifying module is connected between the charging interface and the first time delay module, and the output end of the rectifying module is connected with the input end of the first control unit.
In an 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.
In an embodiment, 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 gate and the source of the second transistor.
In an embodiment, the first transistor is an nmos transistor, and the second transistor is a P-type MOS transistor.
In one embodiment, the power-on maintaining unit 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 equipment is disconnected with the external charging base, the MCU of the equipment controls the first control port to output a first control signal for turning 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 embodiment, the third transistor is an N-type MOS transistor.
In an embodiment, the auto-on circuit further includes a key power on/off unit, the key power on/off unit includes a key detection port, a power on/off key, and a unidirectional conduction module, wherein:
one end of the key detection port is connected with one end of the power on/off key, the other end of the power on/off key is grounded, the other end of the key detection port is connected with the negative electrode of the one-way conduction module, and the positive electrode of the one-way conduction module is connected with the grid electrode of the second transistor;
and reading the key state of the key detection port through an input/output port of the MCU of the equipment.
In an embodiment, a fourth transistor is included between the first control unit and the MCU of the device, and the fourth transistor 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.
An embodiment of the present invention further provides an apparatus, including the auto-on circuit as described in any one of the above.
The technical scheme of the embodiment of the invention has the following beneficial effects:
according to the automatic starting circuit of the equipment and the equipment, when the charging interface of the equipment is disconnected with the external charging base, the first delay signal is output to trigger starting, so that the automatic starting function of the equipment when the equipment is disconnected with the charging base is realized, the circuit structure is simple, and the use by 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 embodiment(s) of the invention and together with the description serve to explain the invention without limiting the invention. In the drawings:
fig. 1 is a schematic structural diagram of an auto-boot 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 on/off circuit of an apparatus according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. It should be noted that the embodiments and features of the embodiments in the present application may be arbitrarily combined with each other without conflict.
Embodiment an automatic start-up circuit and equipment of equipment
As shown in fig. 1, an embodiment of the present invention provides an auto-boot circuit of a device, including a first power-on detection unit 101, a first control unit 102, and a boot maintenance unit 103, wherein:
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 a charging interface of the device is disconnected from an external charging base, where the first delay signal disappears after a first delay interval;
one end of the first control Unit 102 is connected to the power supply of the device, the other end of the first control Unit is connected to the MCU of the device, and the control end of the first control Unit is connected to the first power-on detection Unit 101, and is configured to switch on a path between the power supply of the device and a Micro Controller Unit (MCU) of the device when receiving the first delay signal;
the MCU of the device is connected to the first power-on detection unit 101, and is configured to start the power-on maintaining unit 103 before the first delay signal disappears, and to turn on a path between the power supply of the device and the MCU of the device through the power-on maintaining 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 devices with a charging interface.
In an embodiment of the invention, the charging interface is a Universal Serial Bus (USB) interface.
It should be noted that the auto-on circuit of the device of the present invention can be used in any device with a charging interface. The USB interface can be any Type of interface such as a USB Type-C double-sided pluggable interface, a Mini (Mini) USB interface, an apple iPod Dock interface, an apple Lightning (Lightning) interface and the like.
When the automatic power-on circuit of the device in the embodiment of the present invention is used, the first control unit 102 first switches on a path between the power supply of the device and the MCU of the device, and the MCU of the device starts the power-on maintaining unit 103 after receiving the power supply of the device, at this time, 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 an MCU of the equipment, and the other end of the power-on detection port is connected with the charging interface through a first resistor;
the rectifying module is connected between the charging interface and the first delay module, and an output end of the rectifying module is connected with an input end of the first control unit 102.
When the charging interface of the equipment is connected with the external charging base, the MCU of the equipment detects that the power-on detection port outputs a high-level signal through the I/O port; when the charging interface of the device is disconnected with 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 a duration of a first delay interval of the first delay module is controlled by using a resistance value of the second resistor and a capacitance value of the first capacitor.
Illustratively, the resistance value of the second resistor is 200K, and the capacitance value of the first capacitor is 10 uF.
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 regulator is disposed between the drain of the second transistor and the MCU of the device. Illustratively, the linear Regulator is a 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. A MOS Transistor is an abbreviation of Metal-Oxide-Semiconductor Field-Effect Transistor (MOSFET).
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 equipment is disconnected with the external charging base, the MCU of the equipment controls the first control port to output a first control signal for turning 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 with the external charging base, the MCU of the device controls a first control signal output by a first control port to be a high-level signal, the third transistor is switched on, the second transistor is switched on, and the MCU maintains a power-on 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 and shut down.
In an embodiment of the present invention, the auto-power-on circuit of the device further includes a key power-on/power-off unit, where the key power-on/power-off unit includes a key detection port, a power-on/power-off key, and a unidirectional conduction module, where:
one end of the key detection port is connected with the startup and shutdown key, the other end of the key detection port is connected with the negative electrode of the one-way conduction module, and the positive electrode of the one-way conduction module is connected with the grid electrode of the second transistor;
and reading the key state of the key detection port through an input/output port of the MCU of the equipment.
When the device is used, a user presses the power on/off key, the other end of the power on/off key is grounded, a low-level signal is input into a key detection port, the second transistor is conducted, the MCU of the device is powered on and started by the power supply of the device, and then the power on/off maintaining unit 103 is started, and at the moment, even if the user loosens the power on/off key, the device is still in a power on state;
when the device is in a power-on state, if a user presses a power-on/off key, the 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 the fourth transistor 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 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, and controls the MCU to automatically power off and shut down.
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.
Automatic shutdown circuit and device of embodiment two devices
The embodiment of the present invention further provides an automatic shutdown circuit of a device, including a second power-on detection unit 201 and a second control unit 202, where:
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 the external charging base;
one end of the second control unit 202 is connected to the power supply of the device, and the other end is connected to the MCU of the device, and is configured to turn off a path between the power supply of the device and the MCU of the device when receiving the second delay signal.
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, the 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 devices with a charging interface.
In an embodiment of the invention, the charging interface is a Universal Serial Bus (USB) interface.
It should be noted that the automatic shutdown circuit of the device of the present invention can be used in any device with a charging interface. The USB interface can be any Type of interface such as a USB Type-C double-sided pluggable interface, a Mini (Mini) USB interface, an apple iPod Dock interface, an apple Lightning (Lightning) interface and the like.
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 both started instantly, but by adjusting the duration of the second delay interval, the equipment is started firstly 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 the equipment is subjected to system upgrading and the like, after the data interaction or the system upgrading is finished, the shutdown circuit takes effect, and the equipment is shut down automatically.
In an embodiment of the present invention, the second power-on detection unit 201 includes a second delay module, 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 the resistance of the fourth resistor and the capacitance 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 terminal of the second control unit 202 is connected between the fourth resistor and the second capacitor.
In an example of this embodiment, the resistance of the fourth resistor is 100K, and the capacitance of the second capacitor is 10 uF.
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 this embodiment, the fourth transistor is a P-type MOS transistor, and the fifth transistor is an N-type MOS transistor.
When the 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 switched on, the fourth transistor is switched off, and the MCU of the equipment is powered off and shut down; when the charging interface of the device is disconnected with the external charging base, the external power supply signal disappears, the fourth transistor restores to the default conduction state through the fifth resistor connected to the grid, and the automatic shutdown circuit of the device fails.
In an embodiment of the present invention, the automatic shutdown circuit of the device further includes a shutdown prevention unit, one end of the shutdown prevention unit is connected to the control end of the second control unit 202, and the other end of the shutdown prevention 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 micro control unit of the device when the MCU of the device detects that data transmission of the device is not completed; when the MCU of the device detects that the data transmission of the device is completed, the second control unit 202 is controlled to turn off the path between the power supply of the device and the MCU of the micro control unit of the device.
In an example of this embodiment, the shutdown prevention unit includes a second control port, a sixth transistor, and a sixth resistor, where:
the second control port is connected to a gate of the sixth transistor, a drain of the sixth transistor is grounded, and a 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;
and the MCU of the equipment controls the second control port to output a third control signal for switching on the shutdown prevention unit or a fourth control signal for switching off the shutdown prevention unit.
In an example of this embodiment, the sixth transistor is an N-type MOS transistor.
When the device is used, when the data upgrading or data interaction of the device is not completed, the MCU of the device outputs a third control signal by controlling the second control port, the sixth transistor is switched on, the second capacitor is not charged any more, the fifth transistor is switched off, and the shutdown circuit is terminated, so that the device can continue to complete the data upgrading or 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 turned off.
In an embodiment of the present 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 conducting module, a second transistor, and a third resistor, where:
one end of the key detection port is connected with one end of the power on/off key, the other end of the power on/off key is grounded, the other end of the key detection port is connected with the negative electrode of the one-way conduction module, and the positive electrode of the one-way conduction module is connected with the grid electrode of the second transistor;
reading the key state of the key detection port through an input/output port of an 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 conducting module is a schottky diode.
When the power-on and power-off maintaining unit is used, when a user presses down a power-on and power-off key, the key power-on and power-off unit is switched on, the MCU of the equipment reads the state of the power-on and power-off key through the input/output port, and the power-on and power-off maintaining unit is started or closed (the structure of the power-on and power-off maintaining unit is as described in the foregoing and is not described herein again) according to whether the charging interface of the current equipment is connected with an external charging base or; and if the starting maintaining unit is closed, the equipment is shut down.
The embodiment of the invention also provides equipment comprising the automatic shutdown circuit of the equipment.
Automatic on-off circuit of embodiment three equipment
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 transistor), 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 includes a key detection port POWER ON, a second diode D2 (schottky diode).
Charging interface of equipment is connected outside charging base
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, the starting circuit is started, the Sleep _ VCC is quickly charged to the first capacitor C1 through the first diode D1, the NMOS tube Q1 is conducted, and the PMOS tube Q2 is controlled to be conducted. The fifth resistor R5 is a PMOS tube Q4 grid resistor, the normal state of the controllable Q4 is a conduction state, the output voltage of a lithium Battery (Battery) outputs VBAT voltage after passing through the Q2 and the Q4 tubes in the conduction state, the VBAT voltage is output to an MCU of equipment through LDO voltage stabilization, the MCU is started, the MCU can read the level state of an electrified detection port Sleep signal through an IO port after being started, whether the handle is connected with the charging base or not is judged, and the MCU does not start the startup maintaining unit because the Sleep _ VCC signal port is connected with the charging base at the moment.
When the Sleep _ VCC signal port is connected with the charging base and the automatic shutdown circuit starts, the Sleep _ VCC signal port starts to charge the second capacitor C2 through the fourth resistor R4, when the voltage at the two ends of the second capacitor C2 rises to the Sleep _ VCC, the NMOS tube Q5 is switched on, the PMOS tube Q4 is controlled to be switched off and output 0V, and the MCU is powered off and shut down. Adjusting the resistance of the fourth resistor R4 can change the charging time of the second capacitor C2, thereby changing the delay off time of the auto-off circuit.
The POWER-off prevention 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 switched 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 to ground through R4 and Q6, C2 is no longer charged, 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 be started, Q6 is turned off, SLEEP _ VCC charges C2 through R4 until Q5 is conducted, and the MCU is powered off and shutdown.
Disconnection of charging interface of device and connection of 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 is disabled.
Starting a starting circuit: the C1 starts discharging through the R2, the Q1 is conducted, the Q2 is controlled to be conducted, the VBAT voltage is output through the LDO voltage stabilization, the MCU starts to be started, the MCU outputs a high level signal to the first control port POWER _ CTRL network port, and the Q3 and the Q2 are conducted to maintain a starting signal. Q1 turns off when the voltage across C1 is insufficient to maintain Q1 on. Changing the resistance of the second resistor R2 adjusts the voltage hold time across the capacitor C1.
This embodiment has designed an integral type automatic on-off circuit, and when the external charging base of the interface connection that charges of equipment (charging base can be the base station, can be other peripheral hardwares that have the interface that charges, need set up the interface that charges on base station and the peripheral hardwares, for example USB interface), the automatic shutdown circuit starts, automatic shutdown behind 3S. The MCU can also be used for controlling the startup or shutdown of the shutdown circuit or prolonging the delayed shutdown time. When the MCU has no task to be processed, the MCU can output a control signal to stop the hardware shutdown until the MCU completes the task processing, and the MCU can output the control signal again to enter the hardware shutdown self-locking state, thereby realizing the hardware shutdown state. 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 starting state of the equipment is maintained through the starting maintaining unit, and the first delay signal disappears after 1 s.
It will be understood by those skilled in the art that all or part of the steps of the above methods may be implemented by instructing the relevant hardware through a program, and the program may be stored in a computer readable storage medium, such as a read-only memory, a magnetic or optical disk, and the like. Alternatively, all or part of the steps of the foregoing embodiments may also be implemented by using one or more integrated circuits, and accordingly, each module/unit in the foregoing embodiments may be implemented in the form of hardware, and may also be implemented in the form of 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 a preferred embodiment of the present invention and is not intended to limit the present invention, and various modifications and changes may be made by those skilled in the art. Any modification, equivalent replacement, or improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.

Claims (8)

1. An auto-on circuit of a device, comprising a first power-on detection unit, a first control unit and a power-on maintaining unit, wherein:
the first power-on detection unit is connected with the first control unit and used for outputting a first delay signal to the first control unit when a 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 used for conducting a channel between the power supply of the equipment and the MCU of the equipment when receiving the first delay signal;
the MCU of the equipment is connected with the first power-on detection unit and used for starting the starting maintaining unit before the first delay signal disappears and conducting a channel between a power supply of the equipment and the MCU of the equipment through the starting 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 gate and the source 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 equipment is disconnected with the external charging base, the MCU of the equipment controls the first control port to output a first control signal for turning 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 auto-on circuit of claim 1, wherein the first power-on detection unit comprises a power-on detection port, a rectification module and a first delay module, wherein:
one end of the power-on detection port is connected with an input/output port of the MCU of the equipment, and the other end of the power-on detection port is connected with the charging interface through a first resistor;
the rectifying module is connected between the charging interface and the first time delay module, and the output end of the rectifying module is connected with the input end of the first control unit.
3. The auto-on circuit of claim 2, wherein the first delay module comprises 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.
4. The auto-on circuit of claim 1, wherein the first transistor is an N-type Metal Oxide Semiconductor (MOS) transistor and the second transistor is a P-type MOS transistor.
5. The auto-on circuit of claim 1, wherein the third transistor is an N-type MOS transistor.
6. The auto-on circuit of claim 1, further comprising a key power-on/off unit, the key power-on/off unit comprising a key detection port, a power-on/off key, and a unidirectional conducting module, wherein:
one end of the key detection port is connected with one end of the power on/off key, the other end of the power on/off key is grounded, the other end of the key detection port is connected with the negative electrode of the one-way conduction module, and the positive electrode of the one-way conduction module is connected with the grid electrode of the second transistor;
and reading the key state of the key detection port through an input/output port of the MCU of the equipment.
7. The auto-on circuit of claim 1, comprising a fourth transistor between the first control unit and the MCU of the device, the fourth transistor being 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.
8. An apparatus comprising an auto-on circuit as claimed in any one of claims 1 to 7.
CN201811109372.2A 2018-09-21 2018-09-21 Automatic starting circuit of equipment and equipment Active CN110941319B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811109372.2A CN110941319B (en) 2018-09-21 2018-09-21 Automatic starting circuit of equipment and equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811109372.2A CN110941319B (en) 2018-09-21 2018-09-21 Automatic starting circuit of equipment and equipment

Publications (2)

Publication Number Publication Date
CN110941319A CN110941319A (en) 2020-03-31
CN110941319B true CN110941319B (en) 2021-04-27

Family

ID=69904583

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811109372.2A Active CN110941319B (en) 2018-09-21 2018-09-21 Automatic starting circuit of equipment and equipment

Country Status (1)

Country Link
CN (1) CN110941319B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2478167Y (en) * 2000-12-28 2002-02-20 成都四方信息技术开发公司 Computer power supply device preventing error operation
US6917504B2 (en) * 2001-05-02 2005-07-12 Supertex, Inc. Apparatus and method for adaptively controlling power supplied to a hot-pluggable subsystem
CN202841127U (en) * 2012-09-29 2013-03-27 裴维彩 Bluetooth device with ultra-low power consumption under standby mode
US8633612B2 (en) * 2010-03-10 2014-01-21 Velvetwire, Llc Signal variance sensing power controller
CN103762967A (en) * 2013-11-29 2014-04-30 王晓元 Time delay switch circuit and dual-power-source selector switch device with same
WO2016187790A1 (en) * 2015-05-25 2016-12-01 华为技术有限公司 Otg peripheral device, power supply method, terminal and system
CN207124616U (en) * 2017-08-04 2018-03-20 深圳市宇芯数码技术有限公司 Charge intelligent switch machine control circuit

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN2478167Y (en) * 2000-12-28 2002-02-20 成都四方信息技术开发公司 Computer power supply device preventing error operation
US6917504B2 (en) * 2001-05-02 2005-07-12 Supertex, Inc. Apparatus and method for adaptively controlling power supplied to a hot-pluggable subsystem
US8633612B2 (en) * 2010-03-10 2014-01-21 Velvetwire, Llc Signal variance sensing power controller
CN202841127U (en) * 2012-09-29 2013-03-27 裴维彩 Bluetooth device with ultra-low power consumption under standby mode
CN103762967A (en) * 2013-11-29 2014-04-30 王晓元 Time delay switch circuit and dual-power-source selector switch device with same
WO2016187790A1 (en) * 2015-05-25 2016-12-01 华为技术有限公司 Otg peripheral device, power supply method, terminal and system
CN207124616U (en) * 2017-08-04 2018-03-20 深圳市宇芯数码技术有限公司 Charge intelligent switch machine control circuit

Also Published As

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

Similar Documents

Publication Publication Date Title
CN110719543B (en) TWS Bluetooth headset data protection device and method
US20120326502A1 (en) System and method of eliminating wasted energy known as vampire electricity or phantom load loss
US20140265566A1 (en) System and Method of Eliminating Wasted Energy Known as Vampire Electricity or Phantom Load Loss
CN109494120B (en) Relay control circuit
US20140125273A1 (en) Control system and method for battery
CN109980722B (en) Power supply control device
CN110943720B (en) Automatic shutdown circuit of equipment and equipment
CN110941319B (en) Automatic starting circuit of equipment and equipment
CN210579146U (en) Low-power consumption circuit and TWS bluetooth headset
CN110531818B (en) Time sequence control method and circuit
CN110888518A (en) Control system and method of standby power system
CN107769277B (en) Constant-current control charging system and method
CN115622189A (en) Power supply control circuit and beauty instrument
CN113691116B (en) Power supply controller start control system
CN112003458B (en) Access pipe control circuit, power management chip and power device
US10025749B2 (en) Tracking circuit and method
CN212796765U (en) Vehicle-mounted power consumption control device, vehicle-mounted information entertainment system and vehicle
CN111465911B (en) Low inrush current circuit for power-up and deep power-down exit
EP3968491A1 (en) Charging circuit, charging chip, mobile terminal, and charging system
CN114697828A (en) Power amplifier control circuit, power supply control circuit and audio equipment
CN103095929B (en) Method and system capable of preventing terminal from restarting repeatedly and mobile terminal using the same
CN109217402B (en) Control circuit of charging seat and control method thereof
CN110912239A (en) Multi-port charging equipment
CN110941087B (en) Combined system and first equipment
CN104122807A (en) Electronic apparatus and shutdown control system thereof

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