Control circuit of electronic equipment and electronic equipment
By designing control circuits in electronic devices, detecting the standby current of the load module and controlling the on-off of the switch module, the problem of excessive power consumption of electronic devices due to abnormal load is solved, extending battery life and reducing power consumption, and improving user experience.
Patent Information
- Application Number
- CN202421153173.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Utility models(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-24
- Publication Date
- 2025-03-28
- Estimated Expiration
- 2034-05-24
AI Technical Summary
Electronic devices in load damage or abnormal conditions lead to excessive power consumption and shortened battery life. Existing solutions such as replacement of loads or equipment increase costs and are incomplete.
A control circuit of an electronic device is designed, including a detection module, a first switching module and a control module. By detecting the standby current of the load module, outputting an enable signal, controlling the on-off of the first switching module, and adjusting the on-off between the load module and the power supply terminal.
It effectively avoids the high power consumption problem caused by excessive standby current of the load module, extends the battery life of electronic equipment, reduces power consumption, and ensures normal power supply when the load module is running normally, without affecting user use and improving user experience.
Smart Images

Figure CN222691717U_ABST
Abstract
Description
Technical Field
[0001] The present disclosure relates to the technical field of integrated circuits, and in particular to a control circuit of an electronic device and the electronic device. Background Art
[0002] When an electronic device supplies power to a load, if the load is damaged due to interference from external environmental factors, causing the load to remain in a high power consumption state when in sleep mode, the battery life of the electronic device will be greatly reduced.
[0003] In the prior art, when an abnormal condition occurs in the load, causing the power consumption of the electronic device to be too high, the load or the electronic device can only be replaced. Taking the fingerprint recognition module in the smart door lock as an example, the smart door lock is basically powered by dry batteries or lithium batteries. In order to ensure sufficient battery life, the smart door lock needs to enter a dormant state with extremely low power consumption. However, after the smart door lock has been used for a period of time, the fingerprint recognition module is exposed to the outside, which is prone to foreign matter adhesion and scratches, etc., which will affect the battery life of the smart door lock. In order to solve this problem, the user can only replace the smart door lock. Although this method can solve the user's problem, it will increase costs, and there is still a probability that the fingerprint recognition module will be damaged in the replaced smart door lock. Utility Model Content
[0004] In order to solve the above technical problem or at least partially solve the above technical problem, the present disclosure provides a control circuit of an electronic device and an electronic device.
[0005] In a first aspect, the present disclosure provides a control circuit of an electronic device, comprising:
[0006] A detection module, a first switch module and a control module;
[0007] The control end of the first switch module is electrically connected to the first end of the control module, the first end of the first switch module is electrically connected to the power supply end, the second end of the first switch module and the input end of the detection module are both electrically connected to the output end of the load module, and the output end of the detection module is electrically connected to the second end of the control module;
[0008] The detection module is used to detect the standby current of the load module and output an enable signal based on the standby current. The control module controls the on-off of the first switch module based on the enable signal to control the on-off between the load module and the power supply end.
[0009] Optionally, the detection module includes an amplification unit and a comparison unit;
[0010] The input end of the amplifying unit is electrically connected to the output end of the load module, the output end of the amplifying unit is electrically connected to the first input end of the comparing unit, the second input end of the comparing unit is connected to a reference voltage, and the output end of the comparing unit is electrically connected to the second end of the control module.
[0011] Optionally, the amplification unit includes: a current sensing amplifier and a detection resistor;
[0012] The non-inverting input terminal of the current sensing amplifier and the first end of the detection resistor are both electrically connected to the output terminal of the load module, the inverting input terminal of the current sensing amplifier is electrically connected to the second end of the detection resistor, and the output terminal of the current sensing amplifier is electrically connected to the first input terminal of the comparison unit.
[0013] Optionally, the comparison unit includes: a voltage comparator;
[0014] The non-inverting input terminal of the voltage comparator is electrically connected to the output terminal of the amplifying unit, the inverting input terminal of the voltage comparator is connected to the reference voltage, and the output terminal of the voltage comparator is electrically connected to the second terminal of the control module.
[0015] Optionally, the first switch module includes: a first switch unit and a second switch unit;
[0016] The control end of the first switch unit is electrically connected to the first end of the control module, the first end of the first switch unit is electrically connected to the control end of the second switch unit, the second end of the first switch unit is grounded, the first end of the second switch unit is electrically connected to the power supply end, and the second end of the second switch unit is electrically connected to the output end of the load module.
[0017] Optionally, the first switch module further includes: a first resistor, a second resistor, a third resistor and a fourth resistor;
[0018] The first end of the first resistor and the first end of the second resistor are both electrically connected to the first end of the control module, the second end of the first resistor is electrically connected to the first end of the first switch unit, the second end of the second resistor is grounded, the first end of the third resistor and the first end of the fourth resistor are both electrically connected to the third end of the first switch unit, the second end of the third resistor is electrically connected to the first end of the second switch unit, and the second end of the fourth resistor is electrically connected to the third end of the second switch unit.
[0019] Optionally, it further includes: a second switch module;
[0020] The control end of the second switch module is electrically connected to the third end of the control module, the first end of the second switch module is electrically connected to the power input end of the detection module, and the second end of the second switch module is electrically connected to the power supply end of the detection module;
[0021] The control module controls the on-off of the second switch module based on the enable signal to control the on-off of the power input terminal of the detection module and the power supply terminal of the detection module.
[0022] Optionally, the second switch module includes: a third switch unit and a fourth switch unit;
[0023] The control end of the third switch unit is electrically connected to the third end of the control module, the first end of the third switch unit is electrically connected to the control end of the fourth switch unit, the second end of the third switch unit is grounded, the first end of the fourth switch unit is electrically connected to the power input end of the detection module, and the second end of the fourth switch unit is electrically connected to the power supply end of the detection module.
[0024] Optionally, the second switch module further includes: a fifth resistor, a sixth resistor, a seventh resistor and an eighth resistor;
[0025] The first end of the fifth resistor and the first end of the sixth resistor are both electrically connected to the third end of the control module, the second end of the fifth resistor is electrically connected to the control end of the third switch unit, the second end of the sixth resistor is grounded, the first end of the seventh resistor and the first end of the eighth resistor are both electrically connected to the first end of the third switch unit, the second end of the seventh resistor is electrically connected to the control end of the fourth switch unit, and the second end of the eighth resistor is electrically connected to the first end of the fourth switch unit.
[0026] In a second aspect, the present disclosure further provides an electronic device, comprising the control circuit of the electronic device as described in the first aspect.
[0027] Compared with the prior art, the technical solution provided by the embodiments of the present disclosure has the following advantages:
[0028] The embodiment of the present disclosure provides a control circuit of an electronic device and an electronic device, wherein the control circuit of the electronic device comprises: a detection module, a first switch module and a control module; the control end of the first switch module is electrically connected to the first end of the control module, the first end of the first switch module is electrically connected to the power supply end, the second end of the first switch module and the input end of the detection module are both electrically connected to the output end of the load module, and the output end of the detection module is electrically connected to the second end of the control module; the detection module is used to detect the standby current of the load module and output an enable signal based on the standby current, and the control module controls the on-off of the first switch module based on the enable signal to control the on-off between the output end of the load module and the power supply end. Thus, the present disclosure detects the standby current of the load module through the detection module, and outputs an enable signal based on the standby current, and the control module controls the on-off of the first switch module based on the enable signal to control the on-off between the output end of the load module and the power supply end, thereby avoiding the problem that the battery life of the electronic device is too short due to the excessively high standby current of the load module, prolonging the battery life of the electronic device, reducing the power consumption of the electronic device, and can normally supply power to the load module when the load module is operating normally, without affecting the use of the user, and improving the user experience. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present disclosure and, together with the description, serve to explain the principles of the present disclosure.
[0030] In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0031] Figure 1 A schematic diagram of a control circuit of an electronic device provided by an embodiment of the present disclosure;
[0032] Figure 2 A schematic diagram of the structure of a control circuit of another electronic device provided by an embodiment of the present disclosure;
[0033] Figure 3 A schematic diagram of the structure of a control circuit of another electronic device provided by an embodiment of the present disclosure;
[0034] Figure 4 A schematic diagram of the specific structure of a second switch module provided in an embodiment of the present disclosure. DETAILED DESCRIPTION
[0035] In order to more clearly understand the above-mentioned objectives, features and advantages of the present disclosure, the scheme of the present disclosure will be further described below. It should be noted that the embodiments of the present disclosure and the features in the embodiments can be combined with each other without conflict.
[0036] In the following description, many specific details are set forth to facilitate a full understanding of the present disclosure, but the present disclosure may also be implemented in other ways different from those described herein; it is obvious that the embodiments in the specification are only part of the embodiments of the present disclosure, rather than all of the embodiments.
[0037] Figure 1 A schematic diagram of a control circuit of an electronic device provided in an embodiment of the present disclosure is shown in FIG. Figure 1 As shown, the control circuit of the electronic device includes: a detection module 1, a first switch module 2 and a control module 3; the control end of the first switch module 2 is electrically connected to the first end I / O1 of the control module 3, the first end of the first switch module 2 is electrically connected to the power supply end VCC, the second end of the first switch module 2 and the input end of the detection module 1 are both electrically connected to the output end of the load module 4, and the output end of the detection module 1 is electrically connected to the second end I / O2 of the control module 3; the detection module 1 is used to detect the standby current of the load module 4 and output an enable signal based on the standby current, and the control module 3 controls the on-off of the first switch module 2 based on the enable signal to control the on-off of the power supply branch between the load module 4 and the power supply end VCC.
[0038] Specifically, Figure 1 As shown, when the load module 4 is in the standby state, in order to avoid the standby current of the load module 4 being too large, resulting in excessive power consumption of the electronic device, the detection module 1 can be used to detect the standby current of the load module 4. Exemplarily, when the detection module 1 detects that the standby current of the load module 4 is greater than the preset threshold, it outputs a high-level enable signal to the control module 3, and the control module 3 outputs a low-level control signal to the first switch module 2 based on the high-level enable signal to control the first switch module 2 to disconnect, thereby disconnecting the power supply branch between the load module 4 and the power supply terminal VCC, avoiding the problem that the standby current of the load module 4 is too large, resulting in increased power consumption, and causing the electronic device to consume too much energy.
[0039] When the detection module 1 detects that the standby current of the load module 4 is less than or equal to the preset threshold, it outputs a low-level enable signal to the control module 3. The control module 3 outputs a high-level control signal to the first switch module 2 based on the low-level enable signal to control the first switch module 2 to be turned on, thereby turning on the power supply branch between the load module 4 and the power supply terminal VCC, and realizing normal power supply to the load module 4.
[0040] It should be noted that the enable signal may also be a signal in other forms as long as it can meet the use requirements of the control circuit of the electronic device, and the embodiments of the present disclosure are not limited to this.
[0041] In some embodiments, the load module 4 is, for example, a fingerprint detection module on a smart door lock, and the smart door lock supplies power to the fingerprint detection module. When the control module 3 is, for example, the main control MCU (Microcontroller Unit) in the smart door lock and determines that the smart door lock is about to enter a dormant state, the control module 3 controls the detection module 1 to detect the standby current of the load module 4. When the detection module 1 detects that the standby current of the load module 4 is greater than a preset threshold, the control module 3 controls the first switch module 2 to disconnect based on the high-level enable signal output by the detection module 1, thereby disconnecting the power supply branch between the fingerprint detection module and the power supply terminal VCC, avoiding the problem that the fingerprint detection device consumes a lot of power when in standby mode, causing the smart door lock to be in a high power consumption state all the time, and reducing the power consumption of the smart door lock. And when the fingerprint detection device is in normal standby mode, the power supply branch between the fingerprint recognition device and the power supply terminal VCC is turned on, and the fingerprint detection module can be used normally.
[0042] The control circuit of the electronic device provided in the embodiment of the present disclosure detects the standby current of the load module 4 through the detection module 1, and outputs an enable signal based on the standby current. The control module 3 controls the on-off of the first switch module 2 based on the enable signal to control the on-off between the output end of the load module 4 and the power supply end VCC, thereby avoiding the problem of the load module 4 being too short due to excessive lighting due to excessive consumption of the standby current, thereby extending the battery life of the electronic device and reducing the power consumption of the electronic device. When the load module 4 is operating normally, the load module 4 can be powered normally, which does not affect the user's use and improves the user experience.
[0043] Figure 2 This is a schematic diagram of the structure of a control circuit of another electronic device provided by an embodiment of the present disclosure. Figure 2 As shown, the detection module 1 includes an amplifying unit 11 and a comparing unit 12; the input end of the amplifying unit 11 is electrically connected to the output end of the load module 4, the output end OUT1 of the amplifying unit 11 is electrically connected to the first input end of the comparing unit 12, the second input end of the comparing unit 12 is connected to the reference voltage, and the output end OUT2 of the comparing unit 12 is electrically connected to the second end I / O2 of the control module 3.
[0044] Specifically, Figure 2As shown, the detection module 1 may include, for example, an amplifying unit 11 and a comparing unit 12. The input end of the amplifying unit 11 is electrically connected to the output end of the load module 4. The amplifying unit 11 is used to obtain the standby current of the load module 4, and amplify the standby current and output it to the first input end of the comparing unit 12. The second input end of the comparing unit 12 is connected to a reference voltage. After comparing the input voltage of the first input end with the reference voltage connected to the second input end, the comparing unit 12 outputs an enable signal to the control module 3.
[0045] Exemplarily, the amplifying unit 11 obtains the standby current of the load module 4 and outputs it to the first input terminal of the comparison unit 12 after amplification. The reference voltage is, for example, 1.25V. When the input voltage of the first input terminal of the comparison unit 12 is greater than the reference voltage connected to the second input terminal of the comparison unit 12, it indicates that the standby current of the load module 4 is too large at this time. The comparison unit 12 outputs a high-level enable signal. The control module 3 controls the first switch module 2 to disconnect based on the high-level enable signal, disconnecting the power supply branch between the load module 4 and the power supply terminal VCC to reduce the power consumption of the electronic device. When the input voltage of the first input terminal of the comparison unit 12 is less than or equal to the reference voltage connected to the second input terminal of the comparison unit 12, it indicates that the standby current of the load module 4 is normal at this time. The comparison unit 12 outputs a low-level enable signal. The control module 3 controls the first switch module 2 to turn on based on the low-level enable signal, and the power supply branch between the load module 4 and the power supply terminal VCC is turned on, so that the load module 4 can be powered normally. It should be noted that the specific value of the reference voltage can be set according to the actual use requirements of the electronic device, and the embodiments of the present disclosure are not limited to this.
[0046] Alternatively, if Figure 2 As shown, the amplification unit 11 includes: a current sensing amplifier U1 and a detection resistor R0; the in-phase input terminal of the current sensing amplifier U1 and the first end of the detection resistor R0 are both electrically connected to the output terminal of the load module 4, the inverting input terminal of the current sensing amplifier U1 is electrically connected to the second end of the detection resistor R0, and the output terminal OUT1 of the current sensing amplifier U1 is electrically connected to the first input terminal of the comparison unit 12.
[0047] For example, Figure 2As shown, in the amplification unit 11, after the standby current of the load module 4 flows through the detection resistor R0, a voltage difference is generated at both ends of the detection resistor R0, and the voltage level at both ends of the detection resistor R0 passes through the input resistor R10 of the non-inverting input end of the current sensing amplifier U1 and the input resistor R11 of the inverting input end of the current sensing amplifier U1 respectively, and its sampling value is sent to the current sensing amplifier U1 and amplified by a preset multiple, and then output from the output end OUT1 of the current sensing amplifier U1. From the working principle of the current sensing amplifier U1, it can be known that the output current of the current sensing amplifier U1 is Iout=(Vip-Vin) / Rx, wherein Vip is the input voltage of the non-inverting input terminal of the current sensing amplifier U1, Vin is the input voltage of the inverting input terminal of the current sensing amplifier U1, Rx is the resistance value of the input resistor R10 of the non-inverting input terminal of the current sensing amplifier U1, and the output voltage of the current sensing amplifier U1 is Vout=G*Is*Ry, wherein G is the gain of the current sensing amplifier U1, Is is the standby current, Ry is the resistance value of the detection resistor R0, and the gain of the current sensing amplifier U1 is G=Rz / Rx, wherein Rz is the resistance value of the sampling resistor R12 of the output terminal OUT1 of the current sensing amplifier U1.
[0048] Figure 2 It is exemplarily shown that the amplifying unit 11 may also include a first capacitor C1, a second capacitor C2, a third capacitor C3, a fourth capacitor C4 and a fifth capacitor C5 to achieve filtering. Figure 2 It is also exemplarily shown that the amplifying unit 11 also includes a current limiting resistor R13 to prevent the amplifying unit 11 from being burned due to excessive current.
[0049] Alternatively, if Figure 2 As shown, the comparison unit 12 includes: a voltage comparator U2; the non-inverting input terminal of the voltage comparator U2 is electrically connected to the output terminal OUT1 of the amplification unit 11, the inverting input terminal of the voltage comparator U2 is connected to the reference voltage, and the output terminal OUT2 of the voltage comparator U2 is electrically connected to the second terminal I / O2 of the control module 3.
[0050] For example, Figure 2As shown, when the input voltage of the non-inverting input terminal of the voltage comparator U2 is greater than the reference voltage connected to the inverting input terminal of the voltage comparator U2, it indicates that the standby current of the load module 4 is too large at this time, and the output terminal OUT2 of the voltage comparator U2 outputs a high-level enable signal. The control module 3 controls the first switch module 2 to disconnect based on the high-level enable signal, disconnecting the power supply branch between the load module 4 and the power supply terminal VCC to reduce the power consumption of the electronic device. When the input voltage of the non-inverting input terminal of the voltage comparator U2 is less than or equal to the reference voltage connected to the inverting input terminal of the voltage comparator U2, it indicates that the standby current of the load module 4 is normal at this time, and the output terminal OUT2 of the voltage comparator U2 outputs a low-level enable signal to the second terminal I / O2 of the control module 3. The control module 3 outputs a high-level signal to the first switch module 2 through the first terminal I / O1 of the control module 3 based on the low-level enable signal to control the first switch module 2 to be turned on, so that the power supply branch between the load module 4 and the power supply terminal VCC is turned on, and the load module 4 is normally powered.
[0051] Figure 2 It is exemplarily shown that the comparison unit 12 also includes a sixth capacitor C6, a seventh capacitor C7 and an eighth capacitor C8 to achieve a filtering function. The comparison unit 12 also includes, for example, a fourteenth resistor R14 and a fifteenth resistor R15 to achieve the function of current limiting and voltage dividing to avoid burning the comparison unit 12.
[0052] Alternatively, if Figure 2 As shown, the first switch module 2 includes: a first switch unit Q1 and a second switch unit Q2; the control end of the first switch unit Q1 is electrically connected to the first end I / O1 of the control module 3, the first end of the first switch unit Q1 is electrically connected to the control end of the second switch unit Q2, the second end of the first switch unit Q1 is grounded, the first end of the second switch unit Q2 is electrically connected to the power supply end VCC, and the second end of the second switch unit Q2 is electrically connected to the output end of the load module 4.
[0053] Figure 2 It is exemplarily shown that the first switch unit Q1 is, for example, an NMOS (N-Metal-Oxide-Semiconductor) transistor, and the second switch unit Q2 is, for example, a PMOS (P-Metal-Oxide-Semiconductor) transistor. When the second terminal I / O2 of the control module 3 receives the high-level enable signal output by the detection module 1, the first terminal I / O1 of the control module 3 outputs a low-level signal to control the first switch unit Q1 to be disconnected. When the first switch unit Q1 is disconnected, the second switch unit Q2 is also disconnected, and at this time, the power supply branch between the load module 4 and the power supply terminal VCC is disconnected.
[0054] When the second terminal I / O2 of the control module 3 receives a low-level enable signal or the control module 3 detects that the electronic device is about to enter a sleep state, the first terminal I / O1 of the control module 3 outputs a high-level signal. When the voltage difference between the first terminal of the first switch unit Q1 and the control terminal of the first switch unit Q1 reaches the conduction threshold of the first switch unit Q1, that is, the voltage difference formed between the source of the first switch unit Q1 and the gate of the first switch unit Q1 reaches the conduction threshold of the first switch unit Q1, so as to control the first switch unit Q1 to be turned on. When the first switch unit Q1 is turned on, the level of the control terminal of the second switch unit Q2 is set to a low level, and a voltage difference is formed between the first terminal of the second switch unit Q2 and the control terminal of the second switch unit Q2, that is, a voltage difference is formed between the source of the second switch unit Q2 and the gate of the second switch unit Q2. When the voltage difference formed between the first terminal of the second switch unit Q2 and the control terminal of the second switch unit Q2 reaches the conduction threshold of the second switch unit Q2, the power supply branch between the load module 4 and the power supply terminal VCC is turned on.
[0055] It should be noted that the specific types of the first switch unit Q1 and the second switch unit Q2 can be set according to the actual use requirements of the control circuit of the electronic device, and the embodiments of the present disclosure are not limited to this.
[0056] Alternatively, if Figure 2 As shown, the first switch module 2 also includes: a first resistor R1, a second resistor R2, a third resistor R3 and a fourth resistor R4; the first end of the first resistor R1 and the first end of the second resistor R2 are both electrically connected to the first end I / O1 of the control module 3, the second end of the first resistor R1 is electrically connected to the control end of the first switch unit Q1, the second end of the second resistor R2 is grounded, the first end of the third resistor R3 and the first end of the fourth resistor R4 are both electrically connected to the first end of the first switch unit Q1, the second end of the third resistor R3 is electrically connected to the control end of the second switch unit Q2, and the second end of the fourth resistor R4 is electrically connected to the first end of the second switch unit Q2.
[0057] Specifically, Figure 2 As shown, the first resistor R1 and the third resistor R3 are used as current limiting resistors to prevent excessive current from burning the first switch unit Q1 and the second switch unit Q2. The second resistor R2 provides a stable voltage for the control end of the first switch unit Q1, and the fourth resistor R4 provides a stable voltage for the control end of the second switch unit Q2.
[0058] For example, Figure 2As shown, when the second terminal I / O2 of the control module 3 receives a high-level enable signal, the first terminal I / O1 of the control module 3 outputs a low-level signal. Since the second resistor R2 pulls the control terminal of the first switch unit Q1 and the first terminal of the first switch unit Q1 to the same potential, the first switch unit Q1 is controlled to be disconnected. Since the fourth resistor R4 pulls up the first terminal of the second switch unit Q2, the first terminal of the second switch unit Q2 and the control terminal of the second switch unit Q2 have the same potential, the second switch unit Q2 is disconnected, thereby disconnecting the load module 4 from the power supply branch of the power supply terminal VCC.
[0059] Figure 3 This is a schematic diagram of the structure of a control circuit of another electronic device provided by an embodiment of the present disclosure. Figure 3 As shown, the control circuit of the electronic device also includes: a second switch module 5; the control end of the second switch module 5 is electrically connected to the third end I / O3 of the control module 3, the first end of the second switch module 5 is electrically connected to the power input end VCC' of the detection module 1, and the second end of the second switch module 5 is electrically connected to the power supply end VCC_AMP of the detection module 1; the control module 3 controls the on-off of the second switch module 5 based on the enable signal to control the on-off of the power supply branch between the power input end VCC' of the detection module 1 and the power supply end VCC_AMP of the detection module 1.
[0060] For example, Figure 3 As shown, when the detection module 1 detects that the standby current of the load module 4 is greater than the preset threshold, the detection module 1 outputs a high-level enable signal to the control module 3. Since the control module 3 has controlled the disconnection of the power supply branch between the load module 4 and the power supply terminal VCC, that is, the load module 4 is no longer working, and the detection module 1 does not need to continue to detect the standby current of the load module 4, the control module 3 outputs a low-level signal to the second switch module 5 based on the high-level enable signal to control the second switch module 5 to disconnect, thereby controlling the power supply branch between the power input terminal VCC' of the detection module 1 and the power supply terminal VCC_AMP of the detection module 1 to disconnect, that is, the electronic device no longer supplies power to the detection module 1, and the detection module 1 no longer consumes the battery power of the electronic device to increase the battery life of the electronic device.
[0061] When the detection module 1 detects that the standby current of the load module 4 is less than or equal to the preset threshold value, the load module 4 can work normally, and the detection module 1 outputs a low-level enable signal to the control module 3. Based on the low-level enable signal, the control module 3 outputs a high-level signal to the second switch module 5 through the third terminal I / O3 of the control module 3 to control the second switch module 5 to be turned on, thereby controlling the power supply branch between the power input terminal VCC' of the detection module 1 and the power supply terminal VCC_AMP of the detection module 1 to be turned on, so that the detection module 1 can continue to work and detect the standby current of the load module 4.
[0062] Figure 4 A schematic diagram of a specific structure of a second switch module provided in an embodiment of the present disclosure. Figure 3 and Figure 4 The second switch module 5 includes: a third switch unit Q3 and a fourth switch unit Q4; the control end of the third switch unit Q3 is electrically connected to the third end I / 03 of the control module 3, the first end of the third switch unit Q3 is electrically connected to the control end of the fourth switch unit Q4, the second end of the third switch unit Q3 is grounded, the first end of the fourth switch unit Q4 is electrically connected to the power input end VCC' of the detection module 1, and the second end of the fourth switch unit Q4 is electrically connected to the power supply end VCC_AMP of the detection module 1.
[0063] Figure 4 It is exemplarily shown that the third switch unit Q3 is, for example, an NPN transistor, and the fourth switch unit Q4 is, for example, a PMOS transistor. When the second terminal I / 02 of the control module 3 receives a high-level enable signal, the third terminal I / 03 of the control module 3 outputs a low-level signal to the third switch unit Q3, so that the control terminal of the third switch unit Q3 and the first terminal of the third switch unit Q3 are equal in level, that is, the base and emitter levels of the NPN transistor are equal, so as to control the third switch unit Q3 to be disconnected. When the third switch unit Q3 is disconnected, the fourth switch unit Q4 is also disconnected. At this time, the power supply branch between the power input terminal VCC' of the detection module 1 and the power supply terminal VCC_AMP of the detection module 1 is disconnected, that is, the electronic device no longer supplies power to the detection module 1, and no longer consumes the battery power of the electronic device, so as to increase the battery life of the electronic device.
[0064] When the second terminal I / 02 of the control module 3 receives a low-level enable signal or the control module 3 detects that the electronic device is about to enter a sleep state, the third terminal I / 03 of the control module 3 outputs a high-level signal to make the first terminal of the third switch unit Q3 and the third terminal of the third switch unit Q3 form a loop, that is, the base and emitter of the NPN type transistor form a loop to control the third switch unit Q3 to be turned on. When the third switch unit Q3 is turned on, the level of the control terminal of the fourth switch unit Q4 is set to a low level, and the first terminal of the fourth switch unit Q4 and the fourth A voltage difference is formed between the control ends of the switch unit Q4, that is, a voltage difference is formed between the source of the fourth switch unit Q4 and the gate of the fourth switch unit Q4. When the voltage difference formed between the first end of the fourth switch unit Q4 and the control end of the fourth switch unit Q4 reaches the conduction threshold of the fourth switch unit Q4, the fourth switch unit Q4 is also turned on. At this time, the power supply branch between the power input terminal VCC' of the detection module 1 and the power supply terminal VCC_AMP of the detection module 1 is turned on, and the detection module 1 can continue to be powered. After the detection module 1 is powered on, it continues to detect the standby current of the load module 4.
[0065] It should be noted that the specific types of the third switch unit Q3 and the fourth switch unit Q4 can be set according to the actual use requirements of the control circuit of the electronic device, and the embodiments of the present disclosure are not limited to this.
[0066] Alternatively, if Figure 4 As shown, the second switch module 5 also includes: a fifth resistor R5, a sixth resistor R6, a seventh resistor R7 and an eighth resistor R8; the first end of the fifth resistor R5 and the first end of the sixth resistor R6 are both electrically connected to the third end I / O3 of the control module 3, the second end of the fifth resistor R5 is electrically connected to the control end of the third switch unit Q3, the second end of the sixth resistor R6 is grounded, the first end of the seventh resistor R7 and the first end of the eighth resistor R8 are both electrically connected to the first end of the third switch unit Q3, the second end of the seventh resistor R7 is electrically connected to the control end of the fourth switch unit Q4, and the second end of the eighth resistor R8 is electrically connected to the first end of the fourth switch unit Q4.
[0067] Specifically, Figure 4 As shown, the fifth resistor R5 and the seventh resistor R7 are used as current limiting resistors to prevent excessive current from burning the third switch unit Q3 and the fourth switch unit Q4. The sixth resistor R6 provides a stable voltage for the control end of the third switch unit Q3, and the eighth resistor R8 provides a stable voltage for the control end of the fourth switch unit Q4.
[0068] Exemplarily, when the second terminal I / O2 of the control module 3 receives a high-level enable signal, the third terminal I / O3 of the control module 3 outputs a low-level signal. Since the sixth resistor R6 pulls up the first end of the third switch unit Q3 and the control end of the third switch unit Q3 to the same potential, the third switch unit Q3 is disconnected. Since the eighth resistor R8 pulls up the first end of the fourth switch unit Q4, the first end of the fourth switch unit Q4 and the control end of the fourth switch unit Q4 have the same potential, and the fourth switch unit Q4 is disconnected, thereby disconnecting the power supply branch between the power input terminal VCC' of the detection module 1 and the power supply terminal VCC_AMP of the detection module 1.
[0069] When the second terminal I / 02 of the control module 3 receives a high-level enable signal or the control module 3 detects that the electronic device is about to enter a sleep state, the third terminal I / O3 of the control module 3 outputs a high-level signal, so that the first terminal of the third switch unit Q3 and the third terminal of the third switch unit Q3 form a loop to control the third switch unit Q3 to be turned on. When the third switch unit Q3 is turned on, the level of the control terminal of the fourth switch unit Q4 is set to a low level. When the voltage difference formed between the first terminal of the fourth switch unit Q4 and the control terminal of the fourth switch unit Q4 reaches the turn-on threshold of the fourth switch unit Q4, the fourth switch unit Q4 is also turned on. At this time, the power supply branch between the power input terminal VCC' of the detection module 1 and the power supply terminal VCC_AMP of the detection module 1 is turned on, and the detection module 1 can continue to be powered.
[0070] The embodiment of the present disclosure also provides an electronic device, the electronic device includes the control circuit of the electronic device as described in the above embodiment, so the electronic device provided by the embodiment of the present disclosure has the beneficial effects described in the above embodiment. In addition, the electronic device described in the embodiment of the present disclosure can be a computer, a mobile phone, a smart door lock, etc., and the embodiment of the present disclosure does not specifically limit this.
[0071] It should be noted that, in this article, relational terms such as "first" and "second" are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "comprise", "include" or any other variants thereof are intended to cover non-exclusive inclusions, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, an element defined by the statement "comprises a ..." does not exclude the presence of other identical elements in the process, method, article or device including the element.
[0072] The above are only specific embodiments of the present disclosure, so that those skilled in the art can understand or implement the present disclosure. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein can be implemented in other embodiments without departing from the spirit or scope of the present disclosure. Therefore, the present disclosure will not be limited to these embodiments herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A control circuit of an electronic device, characterized in that: include: A detection module, a first switch module and a control module; The control end of the first switch module is electrically connected to the first end of the control module, the first end of the first switch module is electrically connected to the power supply end, the second end of the first switch module and the input end of the detection module are both electrically connected to the output end of the load module, and the output end of the detection module is electrically connected to the second end of the control module; The detection module is used to detect the standby current of the load module and output an enable signal based on the standby current. The control module controls the on-off of the first switch module based on the enable signal to control the on-off of the power supply branch between the load module and the power supply end.
2. The control circuit of the electronic device according to claim 1, characterized in that: The detection module includes an amplification unit and a comparison unit; The input end of the amplifying unit is electrically connected to the output end of the load module, the output end of the amplifying unit is electrically connected to the first input end of the comparing unit, the second input end of the comparing unit is connected to a reference voltage, and the output end of the comparing unit is electrically connected to the second end of the control module.
3. The control circuit of the electronic device according to claim 2, characterized in that: The amplification unit includes: a current sensing amplifier and a detection resistor; The non-inverting input terminal of the current sensing amplifier and the first end of the detection resistor are both electrically connected to the output terminal of the load module, the inverting input terminal of the current sensing amplifier is electrically connected to the second end of the detection resistor, and the output terminal of the current sensing amplifier is electrically connected to the first input terminal of the comparison unit.
4. The control circuit of the electronic device according to claim 2, characterized in that: The comparison unit comprises: a voltage comparator; The non-inverting input terminal of the voltage comparator is electrically connected to the output terminal of the amplifying unit, the inverting input terminal of the voltage comparator is connected to the reference voltage, and the output terminal of the voltage comparator is electrically connected to the second terminal of the control module.
5. The control circuit of the electronic device according to claim 1, characterized in that: The first switch module includes: a first switch unit and a second switch unit; The control end of the first switch unit is electrically connected to the first end of the control module, the first end of the first switch unit is electrically connected to the control end of the second switch unit, the second end of the first switch unit is grounded, the first end of the second switch unit is electrically connected to the power supply end, and the second end of the second switch unit is electrically connected to the output end of the load module.
6. The control circuit of the electronic device according to claim 5, characterized in that: The first switch module further includes: a first resistor, a second resistor, a third resistor and a fourth resistor; The first end of the first resistor and the first end of the second resistor are both electrically connected to the first end of the control module, the second end of the first resistor is electrically connected to the control end of the first switch unit, the second end of the second resistor is grounded, the first end of the third resistor and the first end of the fourth resistor are both electrically connected to the first end of the first switch unit, the second end of the third resistor is electrically connected to the control end of the second switch unit, and the second end of the fourth resistor is electrically connected to the first end of the second switch unit.
7. The control circuit of the electronic device according to claim 1, characterized in that: Also includes: A second switch module; The control end of the second switch module is electrically connected to the third end of the control module, the first end of the second switch module is electrically connected to the power input end of the detection module, and the second end of the second switch module is electrically connected to the power supply end of the detection module; The control module controls the on-off of the second switch module based on the enable signal to control the on-off of the power supply branch between the power input terminal of the detection module and the power supply terminal of the detection module.
8. The control circuit of the electronic device according to claim 7, characterized in that: The second switch module includes: a third switch unit and a fourth switch unit; The control end of the third switch unit is electrically connected to the third end of the control module, the first end of the third switch unit is electrically connected to the control end of the fourth switch unit, the second end of the third switch unit is grounded, the first end of the fourth switch unit is electrically connected to the power input end of the detection module, and the second end of the fourth switch unit is electrically connected to the power supply end of the detection module.
9. The control circuit of the electronic device according to claim 8, characterized in that: The second switch module further includes: a fifth resistor, a sixth resistor, a seventh resistor and an eighth resistor; The first end of the fifth resistor and the first end of the sixth resistor are both electrically connected to the third end of the control module, the second end of the fifth resistor is electrically connected to the control end of the third switch unit, the second end of the sixth resistor is grounded, the first end of the seventh resistor and the first end of the eighth resistor are both electrically connected to the first end of the third switch unit, the second end of the seventh resistor is electrically connected to the control end of the fourth switch unit, and the second end of the eighth resistor is electrically connected to the first end of the fourth switch unit.
10. An electronic device, characterized in that: A control circuit comprising the electronic device as claimed in any one of claims 1 to 9.