CN112596448A - Control circuit and electronic device - Google Patents

Control circuit and electronic device Download PDF

Info

Publication number
CN112596448A
CN112596448A CN202011549238.1A CN202011549238A CN112596448A CN 112596448 A CN112596448 A CN 112596448A CN 202011549238 A CN202011549238 A CN 202011549238A CN 112596448 A CN112596448 A CN 112596448A
Authority
CN
China
Prior art keywords
switch
communication module
application module
control circuit
state
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.)
Granted
Application number
CN202011549238.1A
Other languages
Chinese (zh)
Other versions
CN112596448B (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.)
Quectel Wireless Solutions Co Ltd
Original Assignee
Quectel Wireless Solutions 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 Quectel Wireless Solutions Co Ltd filed Critical Quectel Wireless Solutions Co Ltd
Priority to CN202011549238.1A priority Critical patent/CN112596448B/en
Publication of CN112596448A publication Critical patent/CN112596448A/en
Application granted granted Critical
Publication of CN112596448B publication Critical patent/CN112596448B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B19/00Programme-control systems
    • G05B19/02Programme-control systems electric
    • G05B19/04Programme control other than numerical control, i.e. in sequence controllers or logic controllers
    • G05B19/042Programme control other than numerical control, i.e. in sequence controllers or logic controllers using digital processors
    • G05B19/0423Input/output
    • GPHYSICS
    • G05CONTROLLING; REGULATING
    • G05BCONTROL OR REGULATING SYSTEMS IN GENERAL; FUNCTIONAL ELEMENTS OF SUCH SYSTEMS; MONITORING OR TESTING ARRANGEMENTS FOR SUCH SYSTEMS OR ELEMENTS
    • G05B2219/00Program-control systems
    • G05B2219/20Pc systems
    • G05B2219/21Pc I-O input output
    • G05B2219/21119Circuit for signal adaption, voltage level shift, filter noise

Landscapes

  • Physics & Mathematics (AREA)
  • General Physics & Mathematics (AREA)
  • Engineering & Computer Science (AREA)
  • Automation & Control Theory (AREA)
  • Electronic Switches (AREA)

Abstract

The embodiment of the invention relates to the technical field of circuits, and discloses a control circuit and electronic equipment. The control circuit electricity is connected between application module and the communication module, and control circuit includes: the application module is in a shutdown state, and the communication module is in a startup state, the control circuit is used for enabling the switch control end of the communication module to successively receive a low level and a high level at preset time intervals to simulate the action of pressing and releasing the on-off key of the communication module, so that the communication module is controlled to be shut down, the application module and the communication module are enabled to be in a shutdown state after the electric quantity of the battery is completely consumed by the intelligent equipment, the state of the application module and the state of the communication module can be unified, the user experience is improved, and the electric power resource is saved.

Description

Control circuit and electronic device
Technical Field
The embodiment of the invention relates to the technical field of circuits, in particular to a control circuit and electronic equipment.
Background
With the rapid development of the 5G network, various terminal devices supporting the 5G network are successively released by various operators, including handheld 5G intelligent devices, such as a POS machine, a law enforcement instrument, and the like, the intelligent devices mainly include two parts, namely an application module and a communication module, the application module is mainly used for realizing multimedia functions such as displaying, calling, recording, and the like, and the communication module includes a modem of the 5G network and is mainly used for communicating with other devices. Generally, an application module is used as a main control end, a user can control the application module to be started or shut down by pressing a switch key of the application module, and the application module can control the communication module to be in a different state from the previous state in the starting process, namely, the communication module is controlled to be started; in the shutdown process, the application module controls the communication module to be in a state different from the previous state, namely, controls the communication module to be shut down.
In the actual use process, the application module may be halted, the program runs off, and the like, and at this time, the application module cannot be used continuously, and the application module needs to be forcibly shut down by pressing a switch key of the application module, which belongs to pure hardware shutdown and does not go through a normal shutdown process. At this time, if the user controls the application module to start up by pressing a switch key of the application module, the application module controls the communication module to be in a state different from the previous state in the starting up process, and the communication module is controlled to be shut down because the previous communication module is in the starting up state, and the communication module is in the shutdown state when the application module of the intelligent device is in the starting up state. It can be seen that, under this kind of logic control, the user presses the on & off key of using the module at every turn afterwards, uses the module and all can be in the state of turning on one's switch with the communication module, can't make and use the module and be in same state with the communication module, only can wait until the battery power of smart machine is totally consumed the back, just can make and use the module and all be in same state (power off state) with the communication module, influence user experience. And if the user makes the application module force to shut down after pressing the switch key of the application module for a long time, no longer use this smart machine, because the communication module is still in the on-state this moment, so the communication module can continuously consume the electric energy in the battery to lead to the waste of power resource.
Disclosure of Invention
An object of an embodiment of the present invention is to provide a control circuit and an electronic device, so as to solve a problem that when an application module is in a shutdown state, a communication module in the startup state cannot be controlled to be shutdown.
In order to solve the above technical problem, an embodiment of the present invention provides a control circuit electrically connected between an application module and a communication module, the control circuit including: the first switch, the second switch, the third switch, the fourth switch, the adjusting resistor and the adjusting capacitor; the first end of the first switch is connected with the first output end of the application module, the second end of the first switch is connected with the voltage output end of the communication module, and the third end of the first switch is grounded; the first end of the second switch is connected with the second end of the first switch, the second end of the second switch is connected with the switch control end of the communication module, and the third end of the second switch is grounded; the first end of the third switch is connected with the first output end of the application module, the second end of the third switch is connected with the voltage output end of the communication module through the adjusting resistor and is grounded through the adjusting capacitor, and the third end of the third switch is grounded; the first end of the fourth switch is connected with the second end of the third switch, the second end of the fourth switch is connected with the second end of the first switch, and the third end of the fourth switch is grounded; after the first end of the first switch receives the low level output by the first output end of the application module, the second end of the first switch outputs a high level to the first end of the second switch; after the first end of the second switch receives the high level, the second end of the second switch outputs the low level to the switch control end of the communication module; when the first end of the third switch receives the low level output by the first output end of the application module, the adjusting capacitor starts to be charged, and after the charging of the adjusting capacitor is finished, the second end of the third switch outputs the high level to the first end of the fourth switch; after the first end of the fourth switch receives the high level, the second end of the fourth switch outputs the low level to the first end of the second switch; after the first end of the second switch receives the low level, the second end of the second switch outputs the high level to the switch control end of the communication module; under the condition that the communication module is started, a voltage output end of the communication module is used for outputting power supply voltage to the first switch and the third switch; and the switch control end of the communication module receives the low level and then receives the high level, and then is switched from the power-on state to the power-off state.
The embodiment of the invention also provides a circuit board assembly which comprises the control circuit.
The embodiment of the invention also provides electronic equipment comprising the circuit board assembly.
Compared with the related art, when the application module is in a shutdown state and the communication module is in a startup state, the first output end of the application module outputs a low level, the voltage output end of the communication module outputs a high level, the first switch, the third switch and the fourth switch are turned off, the first end of the second switch receives the high level, the second switch is turned on, the switch control end of the communication module starts to receive the low level, the adjusting capacitor starts to be charged, the switch control end of the communication module continuously receives the low level in the charging process of the adjusting capacitor, the fourth switch is turned on after a preset time, the first end of the second switch receives the low level, the second switch is turned off, and the switch control end of the communication module starts to receive the high level. The second end interval that utilizes the second switch is preset time and is successively exported low level and high level, comes the simulation to press and release the action of communication module on & off key to control the communication module and shut down, no longer need wait for the smart machine to be totally consumed the back with battery power, make application module and communication module all be in the power off state, just enable application module and communication module's state unified, promoted user experience, and saved electric power resource.
In addition, the first switch, the second switch, the third switch and the fourth switch are all triodes, the first end is a base electrode of the triode, the second end is a collector electrode of the triode, and the third end is an emitter electrode of the triode.
In addition, the first end of at least one of the first switch, the second switch, the third switch and the fourth switch is grounded through a pull-down resistor.
In addition, the first switch to the fourth switch are all MOS tubes, the first end of the first switch to the fourth switch is a grid electrode of the MOS tubes, the second end of the first switch to the fourth switch is a drain electrode of the MOS tubes, and the third end of the first switch to the fourth switch is a source electrode of the MOS tubes.
In addition, the first switch, the second switch and the third switch are all triodes, and the fourth switch is an MOS (metal oxide semiconductor) tube; the first ends of the first switch, the second switch and the third switch are all bases of the triodes, the second ends of the first switch, the second switch and the third switch are collectors of the triodes, and the third ends of the first switch, the second switch and the third switch are emitting electrodes of the triodes; the first end of the fourth switch is a grid electrode of the MOS tube, the second end of the fourth switch is a drain electrode of the MOS tube, and the third end of the fourth switch is a source electrode of the MOS tube.
In addition, the control circuit further comprises a first diode; the second end of the first switch is connected with the first end of the second switch through a first diode, the anode of the first diode is connected with the second end of the first switch, and the cathode of the first diode is connected with the first end of the second switch.
In addition, a second output end of the application module is connected with a first end of the second switch; the second output end of the application module outputs a high level lasting for a preset time to the first end of the second switch and then outputs a low level to control the communication module to be switched from the power-on state to the power-off state or from the power-off state to the power-on state.
In addition, the control circuit further comprises a second diode, a second output end of the application module is connected with a first end of the second switch through the second diode, an anode of the second diode is connected with a second output end of the application module, and a cathode of the second diode is connected with a first end of the second switch.
Drawings
One or more embodiments are illustrated by way of example in the accompanying drawings, which correspond to the figures in which like reference numerals refer to similar elements and which are not to scale unless otherwise specified.
FIG. 1 is a schematic diagram of a control circuit according to a first embodiment of the present invention;
FIG. 2 is a schematic diagram of a control circuit according to a second embodiment of the present invention;
fig. 3 is a schematic diagram of a control circuit according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, technical solutions and advantages of the embodiments of the present invention more apparent, embodiments of the present invention will be described in detail below with reference to the accompanying drawings. However, it will be appreciated by those of ordinary skill in the art that numerous technical details are set forth in order to provide a better understanding of the present application in various embodiments of the present invention. However, the technical solution claimed in the present application can be implemented without these technical details and various changes and modifications based on the following embodiments. The following embodiments are divided for convenience of description, and should not constitute any limitation to the specific implementation manner of the present invention, and the embodiments may be mutually incorporated and referred to without contradiction.
A first embodiment of the present invention relates to a control circuit. The control circuit in this embodiment is electrically connected between the application module and the communication module, and is configured to control the communication module to shut down when the application module is unexpectedly shut down or is forcibly shut down.
The control circuit is described first, including the following components: referring to fig. 1, four switching devices, namely, a first switch Q1, a second switch Q2, a third switch Q3 and a fourth switch Q4, a regulating resistor R3 and a regulating capacitor C1 are illustrated in this embodiment, wherein the first switch Q1, the second switch Q2, the third switch Q3 and the fourth switch Q4 are all triodes, at this time, the first terminals of the four switching devices are all bases of the triodes, the second terminals are all collectors of the triodes, the third terminals are emitters of the triodes, the base of the Q1 is connected to the first output LDO5 of the application module 1, the collector of the Q1, the base of the Q2 and the voltage output VDD _ EXT of the communication module 2 are connected to a point, in order to prevent the voltage output VDD _ EXT of the communication module 2 from being directly grounded to cause short circuit when the Q1 is turned on, a pull-up resistor R1 may be provided between the collector of the Q1 and the voltage output VDD _ EXT of the communication module 2, the emitter of Q1 is grounded; the collector of the Q2 is connected with the switch control end PWRKEY of the communication module 2, and the emitter of the Q2 is grounded; the base of the Q3 is connected with the first output end LDO5 of the application module 1, the emitter of the Q3 is grounded, the collector of the Q3, the base of the Q4, one end of the adjusting resistor R3 and one end of the adjusting capacitor C1 are connected to one point, the other end of the adjusting resistor R3 is connected with the voltage output end VDD _ EXT of the communication module 2, and the other end of the adjusting capacitor C1 is grounded; the collector of Q4 is connected to the base of Q2 and the emitter of Q4 is grounded.
The first output LDO5 of the application module 1 outputs a high level when the application module 1 is in a power-on state, and outputs a low level when the application module 1 is in a power-off state; the voltage output terminal VDD _ EXT of the communication module 2 outputs a high level when the communication module 2 is in the power-on state, and outputs a low level when the communication module 2 is in the power-off state.
In addition, a normal on-off path (not shown in the figure) for controlling the on-off of the communication module 2 is separately provided between the application module 1 and the communication module 2, for example, a normal on-off path formed by directly connecting the second output terminal GPIO25 of the application module 1 and the switch control terminal PWRKEY of the communication module 2, a lithium battery of the intelligent device outputs 3.8V to the VBAT _ BB port and the VBAT _ RF port of each of the application module 1 and the communication module 2 to supply power to the application module 1 and the communication module 2, so that the switch control terminal PWRKEY of the application module 1 and the switch control terminal PWRKEY of the communication module 2 are at a high level when not pressed down, and the switch control terminal PWRKEY of the application module 1 and the switch control terminal PWRKEY of the communication module 2 are both switched from the on state to the off state or from the off state to the on state after receiving different level signals at preset intervals. For example, the switch control terminal PWRKEY of the communication module 2 receives the low level signal first and receives the high level signal within the preset time, which indicates that the switch control terminal PWRKEY receives the trigger signal once, at this time, if the communication module 2 is in the power-on state before receiving the trigger signal, the communication module switches to the power-off state after receiving the trigger signal, and if the communication module 2 is in the power-off state before receiving the trigger signal, the communication module switches to the power-on state after receiving the trigger signal. The same applies to the switching between the power-on state and the power-off state of the application module 1.
When the application module 1 and the communication module 2 are both in the power-off state, the first output LDO5 of the application module 1 is at a low level; the lithium battery of the intelligent device outputs 3.8V to the VBAT _ BB port and the VBAT _ RF port of the application module 1 to supply power to the application module 1, so that the switch control terminal PWRKEY of the application module 1 is at a high level, the switch control terminal PWRKEY of the application module 1 is in a low level state for a period of time after the external device starts to control the switch control terminal PWRKEY of the application module 1 through the whole power switch key K1, so that the application module 1 is triggered to start, that is, when the K1 is pressed down, the switch control terminal PWRKEY of the application module 1 starts to be in the low level state, when the K1 is released, the switch control terminal PWRKEY of the application module 1 is controlled to recover the high level state, and when the K1 is pressed down to be released, the time is that is a period of time, that is, the K1 continuously controls the switch control terminal PWRKEY of the application module 1 to be in the low level state, so that the application module 1 can be triggered to.
When the application module 1 is normally started, the second output terminal GPIO25 of the application module 1 outputs a low level signal for a preset time to the switch control terminal PWRKEY of the communication module 2 through an independent normal on/off path, and then outputs a high level signal to trigger the switch control terminal PWRKEY of the communication module 2, so that the communication module 2 is started; when the application module 1 is normally powered off, the second output terminal GPIO25 of the application module 1 outputs a low level of a preset time to the switch control terminal PWRKEY of the communication module 2 through an independent normal power on/off path, so as to trigger the switch control terminal PWRKEY of the communication module 2, and power off the communication module 2.
When the application module 1 is unexpectedly turned off or is forcibly turned off, the application module 1 can no longer control the second output terminal GPIO25 of the application module 1 to output a low level for a preset time, so as to trigger the communication module 2 to turn off through a normal on/off path, and at this time, the control circuit in this embodiment can trigger the communication module 2 to turn off. Specifically, after the application module 1 is unexpectedly turned off or is forcibly turned off, the application module 1 is in a turned-off state, the first input end LDO5 of the application module 1 starts to output a low level, so that the Q1 and the Q3 are in a turned-off state, when the Q3 is in the turned-off state, the collector of the Q3 is in a high level, and starts to charge the regulating capacitor C1, at this time, the base of the Q4 is still in a low level, and the Q4 is in a turned-off state; and the communication module 2 is still in the on state, the voltage output terminal VDD _ EXT of the communication module 2 still outputs the high level, and since the Q1 is in the off state, the collector of the Q1 is in the high level, the base of the Q2 is in the high level, the Q2 is in the on state, and at this time, the collector of the Q2 is in the low level, so that the level of the switch control terminal PWRKEY of the communication module 2 is pulled to the low level from the high level, and the switch key of the analog communication module 2 starts to be pressed.
Because the Q3 is in the off state, the collector of the Q3 continuously charges the high level output by the adjusting capacitor C1, the voltage at the two ends of the adjusting capacitor C1 gradually rises, after a preset time, the voltage/current of the base of the Q4 reaches the voltage/current on-threshold of the Q4, at this time, the Q4 is turned on, and further, the level of the collector of the Q4 is lowered to be at the low level, so the base of the Q2 is also at the low level, at this time, the Q2 is turned off, so that the switch control terminal PWRKEY of the communication module 2 is no longer grounded and returns to the high level, and the switch key of the analog communication module 2 is released.
The control circuit controls the communication module 2 to be powered off by simulating the action of pressing the on-off key of the communication module 2 and simulating the action of releasing the on-off key of the communication module 2 after the action lasts for the preset time, wherein the preset time is the time from pressing to releasing the on-off key of the communication module 2. Because the preset time required by the communication modules 2 of different intelligent devices is different, some communication modules 2 may need only 100ms of preset time to be triggered to switch the on/off state (switched from on to off or switched from off to on), some communication modules 2 may need 150ms of preset time to be triggered to switch the on/off state, so that the preset time can be changed by adjusting the resistance of the adjusting resistor R3 and the capacitance of the adjusting capacitor C1, and the larger the resistance of the adjusting resistor R3 is or the larger the capacitance of the adjusting capacitor C1 is, the longer the preset time is.
In one example, the control circuit further comprises a pull-down resistor R2, and the pull-down resistor R2 is disposed between the base of the transistor and the ground, and is used for stabilizing the level of the base of the transistor, so as to avoid that the level of the base of the transistor cannot be determined due to the self-pulsation of the voltage or the current, and improve the stability of the control circuit.
In one example, the switching devices may be MOS transistors, a first end of the switching device is a gate of the MOS transistor, a second end of the switching device is a drain of the MOS transistor, and a third end of the switching device is a source of the MOS transistor. The MOS tube is different from the triode in that the triode belongs to a current control type device, and when the base current of the triode is larger than a current conduction threshold value, the triode is conducted; the MOS tube belongs to a voltage control type device, and is conducted when the voltage difference between the grid electrode and the source electrode of the MOS tube is higher than the conduction voltage of the MOS tube.
In one example, referring to fig. 1, the control circuit further includes a first diode D1; the collector of the Q1 is connected with the base of the Q2 through the first diode D1, the anode of the first diode D1 is connected with the collector of the Q1, the cathode of the first diode D1 is connected with the base of the Q2, so that current can only flow from the collector of the Q1 to the base of the Q2 in a single direction, the situation that the current (high level) flows to the base of the Q2 and then flows back to the collector of the Q1 from the base of the Q2 is avoided, the base of the Q2 cannot stably receive the high level is caused, and the stability of the circuit is improved.
In an example, referring to fig. 1, the application module 1 further includes a communication end PCIe/USB and a detection end GPIO26, the communication module 2 further includes a communication end PCIe/USB and a Status end Status, the communication end PCIe/USB of the application module 1 is connected to the communication end PCIe/USB of the communication module 2, so that the application module 1 and the communication module 2 can communicate with each other, the detection end GPIO26 of the application module 1 is connected to the Status end Status of the communication module 2, the application module 1 can detect the Status end Status of the communication module 2 through the detection end GPIO26, when the Status end Status is at a high level, it is indicated that the communication module 2 is in a power-on state, and when the Status end Status is at a low level, it is indicated that the communication module 2 is in a power-off state, so as to determine the current state of the communication module 2.
In this embodiment, be in the shutdown state at the application module, and when the communication module is in the power on state, utilize the second end interval of second switch to predetermine time and successively export low level and high level, come the simulation to press and release the action of communication module on & off key, thereby control the communication module and shut down, no longer need wait until the smart machine with battery power is totally consumed the back, make application module and communication module all be in the shutdown state, just can make the state of application module and communication module unified, user experience has been promoted, and electric power resource has been saved.
A second embodiment of the present invention relates to a control circuit. The second embodiment is substantially the same as the first embodiment, and mainly differs therefrom in that: referring to fig. 2, the first switch Q1, the second switch Q2 and the third switch Q3 are all transistors, and the fourth switch Q4 is a MOS transistor.
Since the fourth switch Q4 is a MOS transistor, the first terminal of Q4 is the gate of the MOS transistor, the second terminal is the drain of the MOS transistor, and the third terminal is the source of the MOS transistor.
In this embodiment, the first switch, the second switch and the third switch are all triodes, and the fourth switch is an MOS transistor, so that the triodes are used as much as possible in the control circuit because the cost of the triodes is lower than that of the MOS transistors, and the cost of the control circuit can be reduced to the greatest extent; however, in an actual circuit, the triode serving as the fourth switch may have a base current that cannot reach the current conduction threshold of the triode due to an excessively large resistance of the adjusting resistor R3, so that the triode cannot be conducted, and the normal operation of the control circuit is affected, so that only the fourth switch is replaced by the voltage-controlled MOS transistor, and the triodes are still used for the other switches, so that the cost of the control circuit is reduced as much as possible while the stability of the circuit is improved.
A third embodiment of the present invention relates to a control circuit. The third embodiment is an improvement on the basis of the first embodiment or the second embodiment, and the main improvement is that: the circuit part which can control the communication module to be turned on or turned off when the application module is normally turned on or turned off is added in the control circuit.
Referring to fig. 3, in fig. 3, Q1, Q2 and Q3 are triodes, and Q4 is a MOS transistor for example, the application module 1 further includes a second output terminal GPIO25, and the second output terminal GPIO25 of the application module 1 is connected to the base of the second switch Q2; the second output terminal GPIO25 of the application module 1 controls the communication module 2 to switch from the power-on state to the power-off state or from the power-off state to the power-on state by outputting a high level lasting for a preset time to the base of the Q2.
In the following description, the first switch Q1, the second switch Q2, and the third switch Q3 are transistors, and the fourth switch Q4 is a MOS transistor.
After a user outputs a low level to the switch control terminal PWRKEY of the application module 1 for a period of time through the whole on-off key K1, the application module 1 is triggered to start up, the first output terminal LDO5 of the application module 1 starts to output a high level, when the application module 1 is triggered to start up, the application module 1 firstly enters an LK (little kernel) stage, the LK stage is a microkernel developed by embedded equipment, after entering the LK stage, the application module 1 controls the second output terminal GPIO25 of the application module 1 to output a high level to the base of the Q2 for a period of time, such as 150ms of high level, in the 150ms, the Q2 is always in a conducting state, the level of the switch control terminal PWRKEY of the communication module 2 is pulled down, the switch control terminal PWRKEY of the communication module 2 is at the low level, the switch key of the analog communication module 2 is pressed down, after 150ms is finished, the second output terminal GPIO25 of the application module 1 starts to output a low level to the base of the Q2, when the Q2 is turned off, the switch control terminal PWRKEY of the communication module 2 is restored from the low level state to the high level state, the switch key of the analog communication module 2 is released, the communication module 2 is triggered to be turned on, and after the communication module 2 completes the turn-on process, the voltage output terminal VDD _ EXT of the communication module 2 starts to continuously output the high level.
After the application module 1 and the communication module 2 are both in the power-on state, if the user outputs a low level for a period of time to the switch control terminal PWRKEY of the application module 1 through the whole power on/off key K1, the application module 1 is triggered to be powered off, and before the application module 1 completes the power-off process, the second output terminal GPIO25 of the application module 1 is controlled to output a high level signal for a period of time to the base of the Q2, and then the low level signal is output to trigger the communication module 2 to be powered off.
If the application module 1 is unexpectedly turned off for some reason or after the user presses the on/off key K1 of the whole device for a long time, the application module 1 cannot control the second output terminal GPIO25 of the application module 1 to output a high level for a certain period of time, that is, the application module 1 cannot control the communication module 2 to turn off, at this time, the application module 1 can control the communication module 2 to turn off through the control circuit, which is substantially the same as the first embodiment, and will not be described herein again.
In an example, referring to fig. 3, the control circuit further includes a second diode D2, the second output terminal GPIO25 of the application module 1 is connected to the base of the Q2 through a second diode D2, the anode of the second diode D2 is connected to the second output terminal GPIO25 of the application module 1, and the cathode of the second diode D2 is connected to the base of the Q2, so that current can only flow from the second output terminal GPIO25 of the application module 1 to the base of the Q2 in a single direction, the level of the base of the Q2 is stabilized to a certain extent, and the stability of the circuit is further improved.
In this embodiment, compare in application module when normal switching on and shutting down, need pass through solitary circuit control communication module switching on and shutting down, make between application module and the communication module connect two circuits at least, this application has directly added application module in control circuit can be when normal switching on and shutting down, and the circuit part of control communication module switching on and shutting down has reduced the circuit and has walked the line to circuit cost has been practiced thrift.
A fourth embodiment of the present invention relates to an electronic apparatus including the control circuit in the above-described embodiment.

Claims (10)

1. A control circuit electrically connected between an application module and a communication module, the control circuit comprising: the first switch, the second switch, the third switch, the fourth switch, the adjusting resistor and the adjusting capacitor;
the first end of the first switch is connected with the first output end of the application module, the second end of the first switch is connected with the voltage output end of the communication module, and the third end of the first switch is grounded; the first end of the second switch is connected with the second end of the first switch, the second end of the second switch is connected with the switch control end of the communication module, and the third end of the second switch is grounded; the first end of the third switch is connected with the first output end of the application module, the second end of the third switch is connected with the voltage output end of the communication module through the adjusting resistor and is grounded through the adjusting capacitor, and the third end of the third switch is grounded; the first end of the fourth switch is connected with the second end of the third switch, the second end of the fourth switch is connected with the second end of the first switch, and the third end of the fourth switch is grounded;
after the first end of the first switch receives the low level output by the first output end of the application module, the second end of the first switch outputs a high level to the first end of the second switch; after the first end of the second switch receives the high level, the second end of the second switch outputs the low level to the switch control end of the communication module;
when the first end of the third switch receives the low level output by the first output end of the application module, the adjusting capacitor starts to be charged, and after the charging of the adjusting capacitor is finished, the second end of the third switch outputs the high level to the first end of the fourth switch; after the first end of the fourth switch receives the high level, the second end of the fourth switch outputs the low level to the first end of the second switch; after the first end of the second switch receives the low level, the second end of the second switch outputs the high level to the switch control end of the communication module;
under the condition that the communication module is started, a voltage output end of the communication module is used for outputting power supply voltage to the first switch and the third switch; and the switch control end of the communication module receives the low level and then receives the high level, and then is switched from the power-on state to the power-off state.
2. The control circuit of claim 1, wherein the first switch, the second switch, the third switch, and the fourth switch are all transistors, the first terminal is a base of the transistor, the second terminal is a collector of the transistor, and the third terminal is an emitter of the transistor.
3. The control circuit of claim 2, wherein a first terminal of at least one of the first switch, the second switch, the third switch, and the fourth switch is coupled to ground through a pull-down resistor.
4. The control circuit according to claim 1, wherein the first switch to the fourth switch are MOS transistors, first terminals of the first switch to the fourth switch are gates of the MOS transistors, second terminals of the first switch to the fourth switch are drains of the MOS transistors, and third terminals of the first switch to the fourth switch are sources of the MOS transistors.
5. The control circuit of claim 1, wherein the first switch, the second switch and the third switch are all transistors, and the fourth switch is a MOS transistor;
first ends of the first switch, the second switch and the third switch are base electrodes of the triode, second ends of the first switch, the second switch and the third switch are collector electrodes of the triode, and third ends of the first switch, the second switch and the third switch are emitter electrodes of the triode; the first end of the fourth switch is the grid electrode of the MOS tube, the second end of the fourth switch is the drain electrode of the MOS tube, and the third end of the fourth switch is the source electrode of the MOS tube.
6. The control circuit of any of claims 1 to 5, wherein the control circuit further comprises a first diode; the second end of the first switch is connected with the first end of the second switch through the first diode, the anode of the first diode is connected with the second end of the first switch, and the cathode of the first diode is connected with the first end of the second switch.
7. The control circuit of claim 6, wherein the second output terminal of the application module is connected to the first terminal of the second switch; and the second output end of the application module outputs a high level lasting for the preset time to the first end of the second switch and then outputs a low level to control the communication module to be switched from the power-on state to the power-off state or from the power-off state to the power-on state.
8. The control circuit of claim 7, further comprising a second diode, wherein the second output terminal of the application module is connected to the first terminal of the second switch through the second diode, the anode of the second diode is connected to the second output terminal of the application module, and the cathode of the second diode is connected to the first terminal of the second switch.
9. A circuit board assembly comprising a control circuit according to any one of claims 1 to 8.
10. An electronic device comprising the circuit board assembly of claim 9.
CN202011549238.1A 2020-12-24 2020-12-24 Control circuit and electronic device Active CN112596448B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011549238.1A CN112596448B (en) 2020-12-24 2020-12-24 Control circuit and electronic device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011549238.1A CN112596448B (en) 2020-12-24 2020-12-24 Control circuit and electronic device

Publications (2)

Publication Number Publication Date
CN112596448A true CN112596448A (en) 2021-04-02
CN112596448B CN112596448B (en) 2021-10-12

Family

ID=75200969

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011549238.1A Active CN112596448B (en) 2020-12-24 2020-12-24 Control circuit and electronic device

Country Status (1)

Country Link
CN (1) CN112596448B (en)

Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419565A (en) * 2007-10-22 2009-04-29 鸿富锦精密工业(深圳)有限公司 Opening/closing control device for computer motherboard
CN203982116U (en) * 2014-06-13 2014-12-03 深圳市双赢伟业科技股份有限公司 A kind of switching on and shutting down control circuit of electronic equipment
JP2015153074A (en) * 2014-02-13 2015-08-24 株式会社東芝 semiconductor device
CN205540054U (en) * 2016-04-01 2016-08-31 薛姣 Power -off control ware is driven in low -power consumption
CN209486612U (en) * 2019-02-15 2019-10-11 西安富立叶微电子有限责任公司 Switching on and shutting down control circuit applied to handheld terminal
CN110599947A (en) * 2019-08-15 2019-12-20 珠海格力电器股份有限公司 Display screen on-off control circuit, display screen and control method
CN110806792A (en) * 2019-10-30 2020-02-18 京东方科技集团股份有限公司 Hardware on-off circuit and electronic equipment

Patent Citations (7)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101419565A (en) * 2007-10-22 2009-04-29 鸿富锦精密工业(深圳)有限公司 Opening/closing control device for computer motherboard
JP2015153074A (en) * 2014-02-13 2015-08-24 株式会社東芝 semiconductor device
CN203982116U (en) * 2014-06-13 2014-12-03 深圳市双赢伟业科技股份有限公司 A kind of switching on and shutting down control circuit of electronic equipment
CN205540054U (en) * 2016-04-01 2016-08-31 薛姣 Power -off control ware is driven in low -power consumption
CN209486612U (en) * 2019-02-15 2019-10-11 西安富立叶微电子有限责任公司 Switching on and shutting down control circuit applied to handheld terminal
CN110599947A (en) * 2019-08-15 2019-12-20 珠海格力电器股份有限公司 Display screen on-off control circuit, display screen and control method
CN110806792A (en) * 2019-10-30 2020-02-18 京东方科技集团股份有限公司 Hardware on-off circuit and electronic equipment

Also Published As

Publication number Publication date
CN112596448B (en) 2021-10-12

Similar Documents

Publication Publication Date Title
CN203537358U (en) One-key switching circuit
CN103683348B (en) There is the electronic installation of power consumption detecting function
CN104202029A (en) Single-button power-on and power-off circuit and head-wearing display device
CN102856933A (en) Universal serial bus (USB) charging circuit
CN106208225B (en) Charging activation circuit of rechargeable battery
CN103338029A (en) Automatic reset device
CN210137424U (en) Earphone hardware reset system
CN204810138U (en) Terminal equipment's automation start shooting circuit and terminal equipment
CN210742886U (en) Startup and shutdown circuit
CN210780130U (en) Power-off control circuit
CN204119198U (en) A kind of single-button on/off circuit and one wear display device
CN112596448B (en) Control circuit and electronic device
CN203387480U (en) Automatic reset device
CN110350902B (en) Anti-misoperation circuit and anti-misoperation device
CN203537357U (en) Simple time delay switching circuit
EP4258088A1 (en) Stylus
CN113054967B (en) Control circuit and method for startup and shutdown
CN213027985U (en) One-key switching circuit
CN205142172U (en) Switching on and shutting down circuit and ground control station
CN210157163U (en) Starting circuit
CN215734211U (en) Circuit for realizing short-press startup of financial equipment based on discrete components
CN206164702U (en) Current switching circuit, television power panel, television mainboard and television
CN219892997U (en) Lithium battery overcharge-preventing switching circuit and audio equipment
CN221352869U (en) Starting circuit and battery management system thereof
CN220290066U (en) Program-controlled startup and shutdown circuit capable of being forced to shutdown

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