Power supply circuits, reset circuits and electronic equipment

Through the power supply circuit and reset circuit control module, the problem of electronic equipment being unable to turn on after restarting or long pressing the power button is solved, simplifying the maintenance process and reducing costs.

CN118819266BActive Publication Date: 2025-08-29HONOR DEVICE CO LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202411303377.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-09-19
Publication Date
2025-08-29
Estimated Expiration
2044-09-19

AI Technical Summary

Technical Problem

Electronic devices may not be able to power on after restarting or long pressing the power button to turn off, resulting in users having to disassemble the battery power supply or send it to repair, increasing the cost of use and maintenance.

Method used

Design a power supply circuit and reset circuit, and control the power supply path to interrupt or conduction through the reset circuit, so as to realize the module's power supply for a period of time to restore the initial state of the module and reduce state abnormalities.

Benefits of technology

Through the module's automatic power-down reset, it reduces abnormal situations such as the inability to power on due to abnormal status of electronic devices, simplifies the maintenance process, and reduces costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118819266B_ABST
    Figure CN118819266B_ABST
Patent Text Reader

Abstract

The embodiments of the present application provide a power supply circuit, a reset circuit and an electronic device, which relate to the field of terminal technology. The power supply circuit includes: a power supply path, a first module and a reset circuit; the reset circuit is charged when the control signal output by the first module is at a first level; and discharged when the control signal is at a second level; when the stored electrical energy reaches the first electrical energy, the reset circuit controls the power supply path to be interrupted, so that the first module is powered off; when the stored electrical energy decreases from the first electrical energy to the second electrical energy, the reset circuit controls the power supply path to continue to be interrupted, so that the first module is continuously powered off; when the stored electrical energy is less than the second electrical energy, the reset circuit controls the power supply path to be turned on, so that the first module is powered on. In this way, the first module of the reset circuit can realize self-control of interrupting the power supply path for a period of time through the reset circuit, and then realize self-control of powering off for a period of time, thereby resetting the first module and reducing abnormal situations caused by abnormal state of the first module.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of terminal technology, and in particular to a power supply circuit, a reset circuit and an electronic device. Background Art

[0002] When an electronic device such as a mobile phone or a computer fails, the user usually controls the electronic device to restart so that the electronic device exits the failure state.

[0003] However, electronic devices may freeze during the restart process, or even fail to boot even when the power button is pressed and held. Users are forced to disassemble the device to disconnect the battery or send it for repair, which increases usage and repair costs. Summary of the Invention

[0004] The present invention provides a power supply circuit, a reset circuit, and an electronic device for use in the field of terminal technology. The circuit can realize a module's self-controlled power-off for a period of time to restore the module to its initial state and reduce state abnormalities.

[0005] In a first aspect, embodiments of the present application provide a power supply circuit. The method includes: a power supply path, a first module, and a reset circuit; one end of the power supply path is connected to the power supply module, and the other end of the power supply path is connected to the first module; the reset circuit includes: a first port, a second port, and a control port, the first port being used to control the interruption or conduction of the power supply path, the second port being grounded, and the control port being controlled by the first module; the power supply module is used to supply power to the first module through the power supply path; the first module is used to output a control signal; wherein, when the control signal is at a first level, the reset circuit stores electrical energy; and when the control signal is at a second level, the reset circuit releases electrical energy; the reset circuit is used to control the interruption of the power supply path when the stored electrical energy reaches the first electrical energy, thereby powering off the first module; wherein, after the first module is powered off, the control signal is at a second level; the reset circuit is further used to control the interruption of the power supply path when the stored electrical energy decreases from the first electrical energy to the second electrical energy, thereby powering off the first module; and the reset circuit is further used to control the conduction of the power supply path when the stored electrical energy is less than the second electrical energy, thereby powering on the first module, with the second electrical energy being less than the first electrical energy.

[0006] It is understandable that the power supply module is used to power the first module. The power supply module can be a battery, a module for connecting to a charger, or any module with a power supply function. The first module can be the normally-on module described below, or it can be other power-consuming modules in the electronic device, such as a fingerprint module. The first level can correspond to level A described below, and the second level can correspond to level B described below. The first electrical energy can correspond to electrical energy A described below. The second electrical energy can correspond to electrical energy B described below. The power supply path is the path between the power supply module and the first module.

[0007] In this way, the reset circuit is provided in the power supply path. Through the reset circuit, the first module can realize self-control power-off for a period of time to restore the module to its initial state and reduce abnormal phenomena caused by abnormal state.

[0008] In one possible implementation, the reset circuit includes: a switch unit and a control unit; the switch unit includes: a third port, a fourth port, and a fifth port; the third port is connected to a power supply path, the fourth port is grounded, the fifth port is connected to an output terminal of the control unit, and the input terminal of the control unit is connected to a sixth port in the first module, the sixth port being a port for outputting a control signal; the switch unit is configured to be turned on, thereby interrupting the power supply path, when an absolute value of a voltage at the output terminal of the control unit is greater than an absolute value of a first voltage; or to be turned off, thereby connecting the power supply path, when an absolute value of a voltage at the output terminal of the control unit is greater than or equal to an absolute value of the first voltage; A control unit is used to store electric energy when the control signal is at a first level; the control unit is used to release electric energy when the control signal is at a second level; when the electric energy stored in the control unit reaches the first electric energy, the absolute value of the voltage at the output end of the control unit is greater than or equal to the absolute value of the first voltage, so that the switch unit is turned on; during the period when the electric energy stored in the control unit decreases from the first electric energy to the second electric energy, the absolute value of the voltage at the output end of the control unit is greater than or equal to the absolute value of the first voltage, so that the switch unit is turned on; when the electric energy stored in the control unit is less than the second electric energy, the absolute value of the voltage at the output end of the control unit is less than the absolute value of the first voltage, so that the switch unit is turned off.

[0009] The first voltage may be a turn-on voltage of the switch unit.

[0010] In this way, the switch unit and the control unit control the power supply path to be turned on after being interrupted for a period of time, thereby realizing that the first module is powered off for a period of time and then powered on. The method is simple and easy to implement.

[0011] In one possible implementation, the control unit includes: a first unit and a second unit; the first unit is used to store electrical energy when the control signal is at a first level, so that the switch unit is delayed in turning on, thereby extending the time for the second unit to store electrical energy; the second unit is used to store electrical energy when the control signal is at a second level; the second unit is used to release electrical energy when the control signal is at the second level to power the first unit; the first unit is also used to continue to turn on when the control signal is switched from the first level to the second level until the absolute value of the voltage output by the first unit is less than the absolute value of the first voltage.

[0012] The first unit may correspond to the delay unit described below, and the second unit may correspond to the continuous output unit described below. The first unit prolongs the time the second unit can store electrical energy, allowing the second unit to continuously output power when the control signal is at the second level. This in turn allows the power supply path to remain interrupted, allowing the first module sufficient time to clear the states of various components and complete the reset.

[0013] In one possible implementation, the first unit includes: a first capacitor unit and a first resistor unit; one end of the first resistor unit is connected to the control end of the switch unit, the other end of the first resistor unit is connected to the second unit, the first capacitor unit is connected to the other end of the first resistor unit, and the other end of the first capacitor unit is grounded; the first resistor unit is used to slow down the speed of storing electrical energy in the first capacitor unit; the first capacitor unit is used to store electrical energy through the first resistor unit when the control signal is a first level, so that the absolute value of the voltage across the first capacitor unit is increased; wherein, when the absolute value of the voltage across the first capacitor unit reaches the absolute value of the first voltage, the switch unit is controlled to be turned on; when the absolute value of the voltage across the first capacitor unit does not reach the absolute value of the first voltage, the switch unit is controlled to be turned off.

[0014] The first capacitor unit may correspond to the capacitor unit in the delay unit described below; the second resistor unit may correspond to the resistor unit in the delay unit described below.

[0015] The delay setting can be achieved through capacitors and resistors, which is simple and easy to implement.

[0016] In one possible implementation, the second unit includes: a second capacitor unit, one end of the second capacitor unit is connected to one end of the sixth port, and the other end of the second capacitor unit is grounded; the second capacitor unit is used to store electrical energy when the control signal is a first level; or, the second capacitor unit is used to release electrical energy to power the first unit when the control signal is a second level.

[0017] The second capacitor unit may correspond to the capacitor unit in the continuous output unit described below.

[0018] Charging and discharging can be achieved through capacitors, which is simple and easy to implement.

[0019] In one possible implementation, the second unit further includes: a diode unit; one end of the diode unit is connected to one end of the second capacitor unit, and the other end of the diode unit is connected to the first module; the diode unit is used to reduce the electrical energy released by the second capacitor unit to the first module.

[0020] The diode unit may correspond to the diode unit in the continuous output unit hereinafter.

[0021] The diode can reduce the electric energy transmitted to the first module when the second capacitor unit is discharged. The method is simple and easy to implement.

[0022] In one possible implementation, the power supply path includes: a voltage regulation module, which is used to adjust the voltage output by the power supply module so that the first module obtains a stable voltage; the voltage regulation module includes: a first enable end, a first power input end, and a first power output end; the first enable end and the first power input end are both connected to the power supply module, the first enable end is connected to the first port of the reset circuit, and the first power output end is connected to the first module; the first enable end is used to enable the voltage regulation module to be turned on or off when the reset circuit is turned on; the first power input end is used to input the voltage output by the power supply module; the first power output end is used to output voltage to power the first module.

[0023] In this way, the reset circuit is arranged at the enable terminal of the voltage regulating module, so as to conveniently control the voltage regulating module to be turned off or on, and further control the power supply path to be interrupted or turned on.

[0024] In one possible implementation, the switch unit includes: a switch tube unit and a second resistance unit; the switch tube unit includes a sixth port, a seventh port and an eighth port, the sixth port is used to connect the power supply path; the seventh port is grounded, and the eighth port is connected to the control unit; one end of the second resistance unit is connected to the eighth port, and the other end of the second resistance unit is grounded; the switch tube unit is used to turn on so that the power supply path is interrupted when the absolute value of the voltage output by the control unit is greater than or equal to the absolute value of the first voltage; the switch tube unit is used to turn off so that the power supply path is turned on when the absolute value of the voltage output by the control unit is less than the absolute value of the first voltage; the second resistance unit is used to control the switch tube unit to remain in the off state when the control unit does not output a voltage.

[0025] The switching tube unit may include one or more switching tubes, and the second resistance unit may correspond to the resistance unit in the switching unit hereinafter.

[0026] In this way, the switch tube realizes the on / off function of the switch unit, which is simple and easy to control. The resistor unit makes the switch tube unit in the off state when the eighth port does not receive the voltage signal from the control unit, thereby reducing the mis-conduction of the switch tube unit.

[0027] In a possible implementation, the power supply circuit further includes: a second module connected to the first power output terminal; when the power supply path is interrupted, the second module is powered off; when the power supply path is connected, the second module is powered on.

[0028] The second module and the first module may use the same voltage regulating module, and the first module may control the first module and the second module to reset.

[0029] In one possible implementation, the first module includes: a second power input terminal and a second enable terminal; the second power input terminal is used to input the operating voltage of the first module, and the second enable terminal is used to control power on or off of the first module; the second enable terminal and the second power input terminal are both connected to the power supply module, and the second enable terminal is connected to the first port of the reset circuit.

[0030] In this way, the reset circuit is arranged at the enable end of the first module, so as to conveniently control the first module to be turned off or on, and further control the power supply path to be interrupted or turned on.

[0031] In a second aspect, an embodiment of the present application provides a reset circuit, which includes: a reset circuit in a power supply circuit of the method described in the first aspect or any possible implementation manner of the first aspect.

[0032] In a third aspect, an embodiment of the present application provides an electronic device, wherein the reset circuit includes: a power supply circuit of the method described in the first aspect or any possible implementation manner of the first aspect.

[0033] In a possible implementation, the first module in the power supply circuit is configured to output a control signal of a first level when the electronic device executes a shutdown process.

[0034] In this way, the first module can be reset when the electronic device is turned off, thereby reducing abnormal situations such as the electronic device being unable to start up due to abnormal state of the first module.

[0035] In a possible implementation, the first module is configured to output a control signal of a first level when the electronic device detects a power-on timeout for the Nth time, where N is an integer greater than zero.

[0036] In this way, the electronic device can control the first module to reset when the power-on timeout occurs multiple times, thereby reducing abnormal situations such as the electronic device being unable to start up due to abnormal state of the first module.

[0037] In a possible implementation, the first module is configured to detect whether a startup of the electronic device has timed out.

[0038] The first module may correspond to the EC module mentioned below, or any module having a function of detecting whether the power-on time has timed out.

[0039] In one possible implementation, the power supply circuit also includes: a third module; the third module is used to detect a timeout in powering on the electronic device; the third module is also used to control the first module to output a control signal of a first level when a power-on timeout is detected for the Nth time, where N is an integer greater than zero.

[0040] The third module can be the same as or different from the second module. The third module and the first module are both normally open modules hereinafter. For example, the first module can be a CMOS module and the third module can be an EC module, which are not specifically limited here.

[0041] It should be understood that the second to third aspects of this application correspond to the technical solutions of the first aspect of this application, and the beneficial effects achieved by each aspect and the corresponding feasible implementation methods are similar and will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0042] Figure 1 A schematic diagram of the structure of an electronic device in a possible design;

[0043] Figure 2 A schematic diagram of the process of powering on an electronic device in a possible design;

[0044] Figure 3 A schematic diagram of the structure of a power supply circuit provided in an embodiment of the present application;

[0045] Figure 4 A schematic diagram of the structure of a reset circuit provided in an embodiment of the present application;

[0046] Figure 5 A timing diagram of a reset circuit provided in an embodiment of the present application;

[0047] Figure 6 A schematic diagram of the structure of a power supply circuit provided in an embodiment of the present application;

[0048] Figure 7 A schematic diagram of a process for powering on an electronic device provided in an embodiment of the present application;

[0049] Figure 8 A schematic diagram of the structure of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

[0050] To facilitate a clear description of the technical solutions of the embodiments of the present application, some of the terms and technologies involved in the embodiments of the present application are briefly introduced below:

[0051] 1. Restart

[0052] Restarting refers to the process of reloading and initializing the operating system of an electronic device through software or hardware instructions.

[0053] 2. Long press to shut down and restart

[0054] Long press power cycle refers to the process of turning off the device by pressing the power button of the device for a long time, and then pressing the power button again to restart the device.

[0055] 3. Real-time clock (RTC) module

[0056] The RTC module is used to maintain system time. It can continue to run even when the system is powered off. The RTC module is commonly used for functions such as timestamps, scheduled tasks, and system wake-up.

[0057] 4. Complementary metal-oxide-semiconductor (CMOS) module

[0058] The CMOS module stores the system's basic input / output system (BIOS) settings and other important configuration data. Because some data in the CMOS needs to be maintained by the RTC, the CMOS module and the RTC are closely related. This ensures that BIOS settings and other important data are not lost during a system power outage.

[0059] 5. Embedded controller (EC) module

[0060] The EC module is used to manage the system's low-level hardware functions, such as power management, keyboard control, fan control, and battery charging.

[0061] In the embodiment of the present application, a watchdog timer (WDT) is provided in the EC module. The EC module can use this watchdog timer to monitor the duration of each stage of the system startup process. If a timeout or freeze is detected during the system startup process, the EC module can perform a predefined recovery operation (such as restarting the system).

[0062] 6. Advanced Configuration and Power Interface (ACPI)

[0063] ACPI is used by the operating system to configure and manage computer hardware.

[0064] ACPI defines multiple power states to describe different levels of system and device power consumption. Power states include system power states (S-states), device power states (D-states), and processor power states (C-states).

[0065] Among them, the system power states include: S0 (working state), S1 (light sleep state), S2 (deep sleep state), S3 (sleep state), S4 (hibernation state) and S5 (shutdown state).

[0066] The working state can be understood as the system being fully operational with all devices in working order. The light sleep state can be understood as the CPU stopping executing instructions, but the memory and other devices are still powered. The deep sleep state can be understood as the CPU and system cache being shut down, but the memory is still powered. The sleep state can be understood as the memory remaining refreshed, but most devices are turned off, commonly referred to as "standby" or "sleep" mode. The hibernation state can be understood as the memory contents being saved to disk, and the system being almost completely shut down, commonly referred to as "hibernation" mode. The off state can be understood as the system being completely shut down and not powered.

[0067] In embodiments of the present application, the number of peripheral devices powered on varies under different system power states of the electronic device. In some embodiments, taking the system power states S0 to S5 as an example, the number of peripheral devices powered on corresponding to S0 to S5 gradually decreases. Embodiments of the present application do not specifically limit the number of peripheral devices powered on under each system power state.

[0068] For example, taking the display screen and memory as an example, in the S5 shutdown state, the display screen, memory, etc. are all powered off; in the S1 state, the display screen is powered off and the memory is powered on; and in the S0 state, the display screen and memory are both powered on. In the embodiments of the present application, there is no limitation on the peripheral devices that are powered on in the system power state.

[0069] 7. Basic input / output system (BIOS) module

[0070] The BIOS module is a set of firmware in electronic devices that is responsible for initializing and testing hardware components before the operating system loads and provides basic input and output functions. BIOS settings refer to the various hardware configurations and system settings performed through the BIOS interface during the electronic device's startup process.

[0071] 8. Working principle of MOS tube

[0072] The MOS transistor includes a gate G, a drain D, and a source S. The voltage of the gate G of the MOS transistor is Vg, and the voltage of the source S of the MOS transistor is Vs. When Vg-Vs=Vgs is less than the turn-on voltage Vgs(th) (for example, Vgs(th)=1 volt), the MOS transistor is turned off. When Vg-Vs=Vgs is greater than or equal to the turn-on voltage Vgs(th) (for example, Vgs(th)=1 volt), the MOS transistor is turned on. In some embodiments, the turn-on voltage may also be referred to as a threshold voltage, etc., which is not specifically limited here.

[0073] 9. Other terms

[0074] In the embodiments of this application, terms such as "first" and "second" are used to distinguish between identical or similar items with substantially the same functions and effects. For example, the terms "first chip" and "second chip" are used solely to distinguish between different chips and do not define their order. Those skilled in the art will understand that terms such as "first" and "second" do not define the quantity or execution order, and do not necessarily define differences.

[0075] It should be noted that in the embodiments of this application, words such as "exemplary" or "for example" are used to indicate examples, illustrations, or descriptions. Any embodiment or design described in this application as "exemplary" or "for example" should not be construed as being preferred or advantageous over other embodiments or designs. Rather, the use of words such as "exemplary" or "for example" is intended to present the relevant concepts in a concrete manner.

[0076] In the embodiments of the present application, "at least one" refers to one or more, and "more" refers to two or more. "And / or" describes the association relationship of associated objects, indicating that three relationships may exist. For example, A and / or B can mean: the existence of A alone, the existence of A and B at the same time, and the existence of B alone, where A and B can be singular or plural. The character " / " generally indicates that the previous and next associated objects are in an "or" relationship. "At least one of the following items" or similar expressions refers to any combination of these items, including any combination of single or plural items. For example, at least one of a, b, or c can mean: a, b, c, ab, a--c, bc, or abc, where a, b, c can be single or plural.

[0077] 10. Electronic devices

[0078] The electronic devices of the embodiments of the present application may include handheld devices, vehicle-mounted devices, etc. with a restart function or a shutdown function. For example, some electronic devices are: mobile phones, tablet computers, PDAs, laptop computers, mobile internet devices (MIDs), wearable devices (e.g., smart watches, smart glasses, smart bracelets, or smart jewelry), virtual reality (VR) devices, augmented reality (AR) devices, wireless terminals in industrial control, wireless terminals in self-driving, wireless terminals in remote medical surgery, wireless terminals in smart grids, wireless terminals in transportation safety, wireless terminals in smart cities, wireless terminals in smart homes, cellular phones, cordless phones, session initiation protocol (SIP) phones, wireless local loop (WLL) stations, personal digital assistants (PDAs), handheld devices with wireless communication capabilities, computing devices or other processing devices connected to wireless modems, in-vehicle devices, and the internet of things (IoT). The embodiments of the present application do not limit the terminal devices in the terminal devices in the IoT (Internet of Things) system, the terminal devices in the 5G network, or the terminal devices in the future evolved public land mobile communication network (public land mobile network, PLMN), etc.

[0079] The electronic devices in the embodiments of the present application may also be referred to as: terminal equipment, user equipment (UE), mobile station (MS), mobile terminal (MT), access terminal, user unit, user station, mobile station, mobile station, remote station, remote terminal, mobile device, user terminal, terminal, wireless communication equipment, user agent or user device, etc.

[0080] In the embodiments of the present application, electronic devices or network devices include a hardware layer, an operating system layer running on top of the hardware layer, and an application layer running on top of the operating system layer. The hardware layer includes hardware such as a central processing unit (CPU), a memory management unit (MMU), and memory (also known as main memory). The operating system can be any one or more computer operating systems that implement business processing through processes, such as the Linux operating system, Unix operating system, Android operating system, iOS operating system, or Windows operating system. The application layer includes applications such as browsers, address books, word processing software, and instant messaging software.

[0081] During extended use, electronic devices such as mobile phones and computers may experience malfunctions such as freezing or freezing. Users often control the electronic device to restart, causing the hardware in the electronic device to power on and return to its initial state (also known as resetting), thereby allowing the electronic device to exit the malfunctioning state.

[0082] However, some electronic devices may not be able to start up during the restart process, or may even fail to start up after long pressing the power button to shut down and then long pressing the power button again. Users can only abandon the electronic device, resulting in a waste of resources.

[0083] By analyzing this fault scenario, it was found that if the battery in the electronic device is removed and then reinstalled, the electronic device can be restarted and exit the fault state. Alternatively, if the electronic device automatically shuts down due to low battery power, the electronic device can be restarted after charging and exit the fault state. It should be noted that due to the integration of electronic devices, the battery in the electronic device is difficult to remove, and the operation of reinstalling after removal is complicated;

[0084] The following combination Figure 1 The structure of the electronic device shown, and Figure 2 The power-on process of the electronic device shown illustrates the principles of the above two solutions.

[0085] Analysis of the two aforementioned exit-fault states reveals that in both cases, the battery in the electronic device loses power to the device. Therefore, it can be inferred that the problem lies with a module that remains powered on when the device is powered off. Modules that remain powered on when powered off may include some modules in the CPU and the EC module. For ease of description, modules that remain powered on when powered off are referred to as normally-on modules.

[0086] The following combination Figure 1 The structure of the electronic device shown and Figure 2The power-on process of the electronic device shown here illustrates possible power-on failure situations in a design.

[0087] For example, Figure 1 Figure 1 is a schematic diagram of the structure of an electronic device in a possible design. Figure 1 As shown, the electronic device includes a battery 101 , a voltage regulator module (VRM) 102 , a processor 103 , an EC module 104 and peripheral devices 105 .

[0088] The processor 103 includes an RTC module 11 and a CMOS module 12. The battery 101 is connected to the input end of the VRM 102, and the RTC module 11, the CMOS module 12, and the EC module 104 are all connected to the output end of the VRM 102.

[0089] The battery 101 is used to power various modules in the electronic device, including an RTC module 11, a CMOS module 12, or an EC module 104.

[0090] The VRM 102 is used to adjust the voltage output by the battery 101 so that each module in the electronic device can obtain a stable voltage. The RTC module 11 is used to maintain the system time. The CMOS module 12 is used to store the system's BIOS settings and other important configuration data.

[0091] The EC module 104 is used to control the power state of the electronic device, for example, power on, power off, sleep, wake up, etc.

[0092] In an embodiment of the present application, the EC module 104 can control the power-on or power-off of some peripheral components in the electronic device based on the power status. Some peripheral components may include: a power management unit (PMU), a keyboard, a cooling fan, a battery charger, etc.

[0093] Below Figure 1 The shutdown process and the startup process involved in the restart process of the electronic device are described as follows. Take the above system power states including S0 to S5 as an example.

[0094] The shutdown process is as follows: the processor 103 detects an operation indicating a restart and transmits a signal indicating the S5 state to the EC module 104 via the ACPI interface in the processor 103. After receiving the signal, the EC module 104 controls the peripheral components 105 in the electronic device to power off, and the electronic device shuts down.

[0095] It is understandable that since some modules store data required for the electronic device to execute the boot process, some modules in the electronic device are not powered off, for example, the EC module, CMOS module, RTC module, etc.

[0096] The power-on process is as follows: after the EC module 104 controls the peripheral devices 105 to power off, the processor 103 transmits a signal indicating the S1 state to the EC module 104. After receiving the signal, the EC module 104 controls the peripheral devices 105 corresponding to the S1 state to start powering on.

[0097] After detecting that the peripheral device 105 corresponding to the S1 state is powered on, the EC module 104 transmits a power-on message to the processor 103, and the processor 103 begins to perform system initialization. System initialization includes: processor initialization, BIOS / UEFI startup, memory detection and initialization, hard disk and other storage device detection, peripheral device initialization, display output initialization, and operating system loading.

[0098] For example, Figure 2 The following is a flow chart of the startup process of an electronic device under a possible design failure state. Figure 2 As shown, the process includes: the electronic device detects a power-on operation, the EC module starts to execute the power-on process, and controls some peripheral devices in the electronic device to power on.

[0099] S201. The EC module monitors whether a timeout occurs during the startup process.

[0100] The boot process may include one or more of the following processes: processor initialization, BIOS / UEFI startup, memory detection and initialization, hard disk and other storage device detection, peripheral initialization, display output initialization, and operating system loading.

[0101] If any process in the startup process exceeds its corresponding preset time, the EC module executes S202. If all processes in the startup process do not exceed their corresponding preset time, the electronic device is successfully started.

[0102] S202: When any process exceeds its corresponding preset duration, determine the number of restart times.

[0103] If the number of restarts is less than N, execute S203; if the number of restarts is greater than N, execute S204.

[0104] S203: When the restart times are less than N, the EC module records the restart times of the electronic device plus 1, and controls the electronic device to restart.

[0105] S204: When the number of restarts is greater than or equal to N, control the electronic device to shut down.

[0106] from Figure 2 As can be seen from the process shown, the startup process of the electronic device includes the initialization process of multiple modules, and then turning it off or restarting it can initialize the status of multiple modules, reduce abnormal conditions, and eliminate some fault conditions of the electronic device.

[0107] Combine Figure 1 and Figure 2 It can be found that some modules in electronic devices will not be powered off during shutdown or restart, for example, Figure 1 The RTC module 11, CMOS module 12, or EC module 104 shown in the figure. When the status of these modules is abnormal (for example, the register capacitance is abnormal, etc.), the fault status may not be eliminated by shutting down or restarting the device, which may cause the electronic device to be unable to start up.

[0108] In view of this, embodiments of the present application provide a power supply circuit, a reset circuit, and an electronic device. The power supply circuit is provided with a reset circuit. Under the control of a normally-on module in the electronic device, the reset circuit can interrupt the power supply path of the normally-on module for a period of time, causing the normally-on module to be powered off for a period of time, thereby initializing the normally-on module, clearing abnormal states of the normally-on module, and reducing the possibility of the electronic device being unable to start up due to abnormal states of the normally-on module.

[0109] The following combination Figure 3 The power supply path and the reset circuit provided on the power supply path are described in detail. For example, Figure 3 A power supply circuit provided in an embodiment of the present application is shown.

[0110] like Figure 3 As shown, the power supply circuit includes a battery 301, a VRM 302, a normally-on module 303, and a reset circuit 304. Reset circuit 304 includes ports 1a, 1b, and 1c. Port 1a is connected to the enable terminal EN of VRM 302, port 1b is grounded, and port 1c is controlled by the normally-on module 303. Battery 301 is connected to the power input terminal Vin of VRM 302, and the power output terminal Vout of VRM 302 is connected to the normally-on module 303.

[0111] It should be noted that in the embodiment of the present application, the enable terminal EN is used to control the enable and disable states of the module, the power input terminal Vin is used to receive the power supply voltage outside the module to provide the operating voltage of the module; and the power output terminal Vout is used to provide the output voltage.

[0112] In the embodiment of the present application, the battery 301 is used to power the normally-on module 303 through the VRM 302 .

[0113] The VRM 302 is used to adjust the voltage output by the battery 301 so that the normally-on module 303 obtains a stable voltage.

[0114] It should be noted that the enable terminal EN of the VRM 302 is used to control the enabling or disabling of the VRM (which can also be called turning on or off, powering on or off, etc.); the power input terminal Vin of the VRM 302 is used to receive the voltage of the battery 301 to adjust the voltage output by the battery 301; and the power output terminal Vout of the VRM 302 is used to output voltage to power the normally-on module 303.

[0115] In some embodiments, the resistor unit 305 is connected in series between the enable terminal EN of the VRM 302 and the power input terminal Vin of the VRM 302 to provide circuit protection. The resistor unit 305 may include one or more resistors, which are not specifically limited herein.

[0116] The normally-on module 303 is used to maintain the operation of the electronic device. The normally-on module 303 can also be understood as a module that the battery 301 continues to supply power to when the electronic device is in a shut-down state.

[0117] In the embodiment of the present application, the normally-on module 303 may include one or more of the following: an RTC module, a CMOS module, or an EC module, etc. The embodiment of the present application does not limit the specific structure and function of the normally-on module 303.

[0118] In this embodiment of the present application, the normally-on module 303 is further configured to output a control signal to the reset circuit 304 to control the charging or discharging of the reset circuit 304. Specifically, when the control signal is at level A, the reset circuit 304 stores electrical energy (charges); when the control signal is at level B, the reset circuit 304 releases electrical energy (discharges).

[0119] In the embodiment of the present application, the absolute value of level A is greater than or equal to the absolute value of the voltage required when port 1a and port 1b in the reset circuit 304 are turned on; the absolute value of level B is less than the absolute value of the voltage required when port 1a and port 1b in the reset circuit 304 are turned on.

[0120] It is understood that if level A is greater than level B, level A can be called a high level; level B can be called a low level, and the reset circuit 304 is turned on when the level is high. If level A is less than level B, level A can be called a low level; level B can be called a high level, and the reset circuit 304 is turned on when the level is low.

[0121] The reset circuit 304 is used to charge to turn on the port 1 a and the port 1 b , or discharge to turn off the port 1 a and the port 1 b , under the control of a control signal.

[0122] Specifically, when the control signal is at level A, the reset circuit 304 charges and stores electrical energy. When the electrical energy stored in the reset circuit 304 reaches level A, ports 1a and 1b in the reset circuit 304 are turned on, causing the enable terminal EN of the VRM 302 to be at level C. The VRM 302 is disabled (also called turned off), the power supply path of the normally-on module 303 is interrupted, and the normally-on module 303 is powered off and turned off.

[0123] Since the normally-open module 303 is powered off, the control signal switches from level A to level B, and the reset circuit 304 begins to release power. When the power stored in the reset circuit 304 is greater than or equal to power B, ports 1a and 1b are connected, and the power supply path of the normally-open module 303 continues to be interrupted.

[0124] In this way, after the control signal switches from level A to level B, the reset circuit 304 can interrupt the power supply path between the battery 301 and the normally open module 303 for a period of time, so that the normally open module 303 is powered off for a period of time and reset to the initial state.

[0125] When the energy stored in reset circuit 304 is less than energy B, ports 1a and 1b are shut down, causing the enable terminal EN of VRM 302 to reach level D. VRM 302 is enabled (also called turned on), and the power supply path to normally-on module 303 is connected, powering on normally-on module 303. This restores the power supply path between battery 301 and normally-on module 303, allowing normally-on module 303 to automatically power on after a period of power-off. Resetting normally-on module 303 can reduce the risk of power-up failures caused by abnormal status of normally-on module 303.

[0126] The following combination Figure 3 and Figure 4 The structure of the reset circuit provided in the embodiment of the present application is described. Figure 3 As shown, reset circuit 304 may include a switch unit 21 and a control unit 22. Switch unit 21 may include port 2a, port 2b, and control terminal 2c. Port 2a is connected to the enable terminal EN of VRM 302, port 2b is grounded, and control terminal 2c is connected to one end of control unit 22. The other end of control unit 22 is connected to normally open module 303.

[0127] The switch unit 21 is configured to be turned on or off under the control of a drive signal output by the control unit 22. Specifically, when the absolute value of the voltage of the drive signal is greater than or equal to the absolute value of the voltage D, the switch unit 21 is turned on, so that the ports 1a and 1b are turned on, the enable terminal EN of the VRM 302 is grounded, and the power supply path is interrupted. When the voltage of the drive signal is less than the voltage D, the switch unit 21 is turned off, so that the ports 1a and 1b are turned off and the power supply path is turned on.

[0128] The control unit 22 is configured to output a driving signal to control the switch unit 21 to be turned on or off.

[0129] When the control signal is at level A and the electric energy stored in the control unit 22 does not reach electric energy A, the level of the drive signal is less than the voltage D. When the control signal switches from level A to level B and the stored electric energy is greater than or equal to electric energy B, the absolute value of the level of the drive signal is greater than or equal to the absolute value of the voltage D. When the stored electric energy is less than electric energy B, the absolute value of the level of the drive signal is less than the absolute value of the voltage D.

[0130] It is understood that in the above embodiment, the switch unit 21 is described as being in the off state when the voltage at its control terminal is equal to the voltage D. In some embodiments, the switch unit 21 may also be in the on state when the voltage at its control terminal is equal to the voltage D. The embodiments of the present application do not specifically limit the case of being equal.

[0131] The following combination Figure 4 The specific structures of the switch unit 21 and the control unit 22 will be described.

[0132] For example, Figure 4 Schematic diagram of a reset circuit 304 provided in an embodiment of the present application. Figure 4 As shown, the switch unit 21 may include: one or more switch tubes 31, or any device with a turn-on or turn-off function.

[0133] In the embodiment of the present application, the switch 31 may be a field-effect transistor (FET), a metal oxide semiconductor field-effect transistor (MOSFET), an insulated gate bipolar transistor (IGBT), a power transistor, a gallium nitride (GaN) transistor, or another type of switch. The switch 31 may be an N-type switch, such as an NMOS, or a P-type switch, such as a PMOS. This embodiment of the present application does not specifically limit this.

[0134] When the switch tube 31 is an N-type switch tube, level A is a high level and level B is a low level; when the switch tube 31 is a P-type switch tube, level A is a low level and level B is a high level.

[0135] Taking the switch tube 31 as an NMOS tube as an example, the source (S pole) of the NMOS tube is port 2a, which is connected to the output terminal of the VRM 302, the drain (D pole) of the NMOS tube is port 2b, which is grounded, and the gate (G pole) of the NMOS tube is control terminal 2c, which is connected to the control unit 22.

[0136] Taking the switch tube 31 as a PMOS tube as an example, the source (S pole) of the PMOS tube is port 2a, which is connected to the output terminal of the VRM 302. The drain (D pole) of the PMOS tube is port 2b, which is grounded. The gate (G pole) of the NMOS tube is control terminal 2c, which is connected to the control unit 22.

[0137] In the embodiment of the present application, the switch unit 21 controls the interruption or conduction of the power supply path by turning on and off the switch tube 31. The switch tube 31 can also be replaced by any other device with on-off functions, which is not specifically limited here.

[0138] In some embodiments, the switch unit 21 further includes a resistor unit 32. One end of the resistor unit 32 is connected to the control terminal of the switch 31, and the other end of the resistor unit 32 is grounded. Thus, when there is no drive signal, the resistor unit 32 can lower the voltage at the control terminal of the switch 31, thereby turning off the switch 31 and reducing the risk of mis-conduction of the switch 31.

[0139] The resistance of resistor unit 32 can be 100 kilo-ohms, 1 megohm, 4.7 megohms, or any other value, not specifically limited herein. Resistor unit 32 may include one or more resistors, and the present embodiment does not limit the number of resistors in resistor unit 32. In this way, mis-conduction of switch tube 31 is reduced by using resistors, resulting in a simple and low-cost solution.

[0140] For example, Figure 4 As shown, the control unit 22 includes a delay unit 41 and a continuous output unit 42. One end of the delay unit 41 is connected to the control end of the switch unit 21, the other end of the delay unit 41 is connected to one end of the continuous output unit 42, and the other end of the continuous output unit 42 is connected to the normally open module 303.

[0141] The delay unit 41 is configured to charge when the control signal is at level A, thereby controlling the switch unit 21 to delay turning on, thereby extending the time during which the continuous output unit 42 stores electrical energy. When the stored electrical energy reaches a certain level, the delay unit 41 is configured to output a drive signal whose absolute value is greater than or equal to the absolute value of voltage D, thereby controlling the switch unit 21 to turn on. When the stored electrical energy does not reach the certain level, the delay unit 41 is configured to output a drive signal whose absolute value is less than the absolute value of voltage D, thereby controlling the switch unit 21 to turn off.

[0142] For example, Figure 4 As shown, the delay unit 41 may include: a capacitor unit 411 and a resistor unit 412. One end of the resistor unit 412 is connected to the control end 2c of the switch unit 21, and the other end of the resistor unit 412 is connected to the continuous output unit 42;

[0143] Resistor unit 412 is used to slow down the rate at which capacitor unit 411 stores electrical energy. The resistance of resistor unit 412 can be 220 kilo-ohms or any other value, which is not specifically limited here. Resistor unit 412 can include one or more capacitors, and the embodiment of the present application does not limit the number of resistors in resistor unit 412. In this way, energy storage or release is achieved through capacitors, which is a simple and low-cost solution.

[0144] The capacitor unit 411 is used to store electrical energy through the resistor unit 412 when the control signal is level A, and the voltage across the capacitor unit 411 increases; when the voltage across the capacitor unit 411 reaches voltage A, the switch unit 21 is turned on.

[0145] The capacitance of capacitor unit 411 can be 220 nanofarads or any other value, which is not specifically limited here. Capacitor unit 411 can include one or more capacitors, and the embodiment of the present application does not limit the number of capacitors in capacitor unit 411. In this way, energy storage or release is achieved through capacitors, which is a simple solution with low cost.

[0146] The continuous output unit 42 is used to store (charge) electrical energy when the control signal is at level A. When the control signal switches from level A to level B, the continuous output unit 42 is used to release (discharge) the electrical energy, thereby supplying power to the delay unit 41, allowing the delay unit 41 to control the switch unit 21 to remain on for a period of time. This prolongs the on-time of the switch unit 21, reducing the possibility of a short power-off state in the normally-open module 303 caused by a short on-time of the switch unit 21, which could prevent the abnormal state from being effectively cleared.

[0147] For example, Figure 4 As shown, the continuous output unit 42 may include: a capacitor unit 421 and a diode unit 422. One end of the diode unit 422 is connected to the other end of the delay unit 41, and the other end of the diode unit 422 is connected to the normally open module 303; one end of the capacitor unit 421 is connected to one end of the diode unit 422, and the other end of the capacitor unit 421 is grounded.

[0148] The capacitor unit 421 is used to store electrical energy when the control signal is at level A; or to release electrical energy when the control signal is at level B, so that the switch unit 21 is continuously turned on for a period of time.

[0149] The capacitance of the capacitor unit 421 can be 2.2 microfarads or any other value, which is not specifically limited here. The capacitor unit 421 can include: one or more capacitors. The embodiment of the present application does not limit the number of capacitors in the capacitor unit 421. In this way, energy storage or release is achieved through capacitance, which is simple and low in cost. It is understandable that the duration of power-off of the normally open module 303 is related to the capacitance of the capacitor unit 411 and the capacitance of the capacitor unit 421, which is not specifically limited here.

[0150] In some embodiments, the control unit 22 further includes a diode unit 422 . The diode unit 422 is used to reduce the electrical energy released from the capacitor unit 421 to the normally-on module 303 .

[0151] The diode unit 422 may include one or more diodes, and the embodiment of the present application does not limit the number of diodes in the diode unit 422. In this way, the diodes are used to reduce the electrical energy released by the capacitor unit 421 to the normally-on module 303, which is simple and low-cost.

[0152] The following describes the working process of the delay unit 41 and the continuous output unit 42.

[0153] The working process is as follows: when the control signal is level A, the delay unit 41 and the continuous output unit 42 both store electrical energy; when the electrical energy stored in the delay unit 41 reaches a certain level, the absolute value of the voltage of the output drive signal is greater than or equal to the absolute value of the voltage D, so as to control the switch unit 21 to be turned on; since the switch unit 21 is turned on, the control signal switches from level A to level B, and the continuous output unit 42 starts to release electrical energy to supply power to the delay unit 41, and the electrical energy of the delay unit 41 continues to increase.

[0154] As the continuous output unit 42 releases electrical energy, the voltage output by the continuous output unit 42 gradually decreases, and the voltage across the delay unit 41 gradually increases. When the voltage output by the delay unit 41 equals the voltage output by the delay unit 41, the delay unit 41 begins to discharge, and the voltage output by the delay unit 41 begins to decrease. When the voltage output by the delay unit 41 is less than the voltage D, the switch unit 21 is controlled to be turned off.

[0155] For ease of understanding, the following Figure 5 The timing diagram shown is for Figure 4 For example, the switching unit 21 includes: N-type switch tube Q1 and resistor R1; the control unit 22 includes: capacitor C1, capacitor C2, resistor R2 and diode D1. Figure 5 As shown,

[0156] At time T1, the level (voltage) of the control signal output by the normally-open module 404 is 3.0 V; capacitors C1 and C2 begin to store electrical energy, and the voltage across capacitors C1 and C2 both begin to increase. However, due to the influence of resistor R2, the voltage across capacitor C1 increases less rapidly than the voltage across capacitor C2.

[0157] At time T2, the voltage across capacitor C1 reaches 2.5V, and the gate voltage of switch Q1 reaches 2.5V, reaching the turn-on voltage, turning on switch Q1. As switch Q1 turns on, the input of the LDO is grounded, and the voltage at the input of VRM 302 begins to drop. Normally-on module 303 begins to power down, and the level of the control signal output by normally-on module 404 drops to 0V.

[0158] Since the level of the control signal output by the normally open module 303 is 0V, capacitor C2 begins to discharge and the voltage of capacitor C2 begins to drop. Since the voltage of capacitor C2 is higher than the voltage of capacitor C1, capacitor C2 begins to discharge and capacitor C1 continues to charge. The voltage of capacitor C1 continues to increase.

[0159] At time T3, capacitor C1 begins to discharge, and the voltage of capacitor C1 begins to drop.

[0160] At time T4, the voltage on capacitor C1 is less than 2.5V, and the gate voltage on switch Q1 is less than 2.5V, failing to reach the on-state voltage. Switch Q1 is turned off. Because switch Q1 is turned off, the input of VRM 302 is disconnected from ground. The voltage at the input of VRM 302 begins to rise, supplying power to normally-on module 303. Normally-on module 303 begins to power on.

[0161] Based on the above embodiment, the reset circuit further includes a current limiting unit (not shown). The current limiting unit is used to limit the current flowing through the switch unit 21 to less than a preset current when the switch unit 21 is turned on. This can reduce the risk of excessive current flowing through the switch unit 21, which could damage the switch unit 21.

[0162] In an embodiment of the present application, the current limiting unit can be located between the power supply path and the port 2a. Specifically, one end of the current limiting unit is connected to the power supply path, and one end of the current limiting unit is connected to the switch unit 21. In some embodiments, the current limiting unit can also be located between the switch unit 21 and the ground line. Exemplarily, one end of the current limiting unit is connected to the switch unit 21, and the other end of the current limiting unit is grounded. The current limiting unit may include: one or more resistors. In this way, current limiting is achieved through resistors, which is simple to implement. In some embodiments, the reset circuit 204 can also reuse the resistor in the power supply path as a current limiting unit. In this way, the area occupied by the reset circuit 204 can be reduced, which is conducive to the miniaturization of the device.

[0163] It is understandable that the current limiting unit has a current limiting function when the switch unit 21 is turned on. At this time, the normally open module 303 is in a power-off state, and therefore will not affect the power-on of the normally open module 303 .

[0164] above Figures 3 to 5 In the illustrated embodiment, the reset circuit 304 is connected to the enable terminal EN of the VRM 302. In some embodiments, the reset circuit 304 can be connected to the enable terminal EN of any module in the power supply path, for example, the enable terminal EN of the normally-on module 303.

[0165] It is understood that the normally-on module 303 may also include an enable terminal EN and a power input terminal Vin. The enable terminal EN of the normally-on module 303 is used to control the enabled and disabled states of the normally-on module 303. The power input terminal Vin of the normally-on module 303 is used to receive the voltage of the power supply path (for example, the voltage of the power output terminal Vout of the VRM 302) to provide an operating voltage for the normally-on module 303.

[0166] It is understood that if the reset circuit 304 is provided at the enable terminal of the normally-on module 303, the electronic device can independently control the power-off of a normally-on module for a period of time, reducing the impact on other normally-on modules 303. If the reset circuit 304 is provided at the enable terminal of the VRM 302, then since multiple normally-on modules 303 reuse the same VRM 302, the electronic device can control the power-off of multiple normally-on modules 303 for a period of time simultaneously, which simplifies the control method.

[0167] In the above embodiment, the electronic device is powered by the battery 301. In some embodiments, the electronic device can also be connected to a charger to power various components in the electronic device.

[0168] For example, Figure 6 As shown, the power supply circuit may further include a charging chip (charger chip). The charger chip 601 is provided between the battery 301 and the VRM 302 (as shown in FIG. Figure 6 shown).

[0169] The charger chip 601 is used to receive charging input from a charger (or adapter) to charge the battery 301. In some embodiments, the charger chip 601 can also power the normally-on module 303 through the VRM 302 while charging the battery 301.

[0170] It is understood that if the charger chip 601 also includes an enable terminal EN, the reset circuit 304 can also be provided at the enable terminal of the charger chip 601. In this way, the charger chip can be controlled to be turned on or off, thereby powering on or off the normally-on module 303. The specific location of the reset circuit 304 is not limited in the present embodiment.

[0171] In some embodiments, the electronic device may include a charger chip 601 but not a battery 301 .

[0172] above Figures 3 to 6 The embodiment shown in the figure explains the power supply circuit. Figure 7 A method for controlling the power supply circuit will be described.

[0173] For example, Figure 7 This is a flowchart of a process for powering on an electronic device provided by an embodiment of the present application. Taking the EC module outputting a control signal for a reset circuit and the EC module controlling the electronic device to shut down as an example, Figure 7 As shown, the process includes: the electronic device detects a power-on operation, the EC module starts to execute the power-on process, and controls some peripheral devices in the electronic device to power on.

[0174] S701. The EC module monitors whether a timeout occurs during the startup process.

[0175] The boot process may include one or more of the following processes: processor initialization, BIOS / UEFI startup, memory detection and initialization, hard disk and other storage device detection, peripheral initialization, display output initialization, and operating system loading.

[0176] If any process in the startup process exceeds its corresponding preset time, the EC module executes S202. If all processes in the startup process do not exceed their corresponding preset time, the electronic device is successfully started.

[0177] S702: When any process exceeds its corresponding preset duration, determine the number of restart times.

[0178] If the number of restarts is less than N, execute S703; if the number of restarts is greater than N, execute S704. N is an integer greater than zero.

[0179] S703: When the restart times are less than N, the EC module records the restart times of the electronic device plus 1, and controls the electronic device to restart.

[0180] S704: When the number of restarts is greater than or equal to N, control the electronic device to shut down.

[0181] During the process of shutting down the electronic device, the electronic device executes S704 - 1 and S704 - 2 .

[0182] S704-1. The EC module can output a control signal of level A. S704-2. The reset circuit 403 controls the normally open module 303 to power off and then power on again after a period of time. Adaptively, the normally open module is reset.

[0183] In this way, during the shutdown process of the electronic device, the electronic device can control the reset of the normally open module through the reset circuit to reduce the abnormal state of the normally open module when starting up and reduce the situation where the electronic device cannot start up.

[0184] It is understandable that the above Figure 7 In the illustrated process, the electronic device triggers the reset circuit to operate when the power-on timeout occurs multiple times. The electronic device may also trigger the reset circuit to operate each time the device is shut down. The triggering conditions for the reset circuit are not specifically limited.

[0185] It will be appreciated that the reset circuit in the above embodiment is used to control the interruption or conduction of the power supply path of the normally-open module 303 to achieve the reset of the normally-open module 303. This reset circuit can also be provided in the power supply path of other power-consuming modules (e.g., fingerprint module, camera, etc.) in the electronic device to achieve self-controlled reset of these other power-consuming modules, thereby reducing abnormal phenomena caused by abnormal status of these other power-consuming modules. The specific principle is similar to the reset principle of the normally-open module 303 described above and will not be further described here.

[0186] For example, Figure 8 This is a schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 8 As shown, the electronic device may include: a charging chip (charge chip) 601, a VRM 302, a processor 310, an EC module 320, a reset circuit 304 provided in the power supply path, a battery 301, and peripheral devices 340. The peripheral devices 340 may include one or more of the following: a communication module 3401, an audio module 3402, a sensor module 3403, a motor 3404, an indicator 3405, a camera 3406, a display screen 3407, etc.

[0187] The sensor module 3403 may include one or more of the following: a pressure sensor, a gyroscope sensor, an air pressure sensor, a magnetic sensor, an acceleration sensor, a distance sensor, a proximity light sensor, a fingerprint sensor, a temperature sensor, a touch sensor, an ambient light sensor, a bone conduction sensor, etc.

[0188] It is understood that the structures illustrated in the embodiments of the present application do not constitute specific limitations on the electronic device. In other embodiments of the present application, the electronic device may include more or fewer components than shown, or may combine or separate certain components, or arrange the components differently. The illustrated components may be implemented in hardware, software, or a combination of software and hardware.

[0189] The charger chip 601 can also be understood as a charging management module, which is used to receive charging input from a charger (or adapter). The charger can be a wireless charger or a wired charger. In some wired charging embodiments, the charger chip 601 can receive charging input from a wired charger via a USB port. In some wireless charging embodiments, the charger chip 601 can receive wireless charging input via a wireless charging coil in the terminal device.

[0190] While charging the battery 301, the charger chip 601 can also power various normally-on modules in the electronic device through the VRM 302. The normally-on modules may include one or more of the following: the EC module 320, the RTC module in the processor 310, the CMOS module in the processor 310, etc.

[0191] In some embodiments, the charger chip 601 can charge the battery 301 while also supplying power to various power-consuming modules in the electronic device through other VRMs 330. The power-consuming modules may include: the above-mentioned normally-on modules, and peripheral devices 340 in the electronic device.

[0192] The VRM 302 is used to stabilize the voltage of the electronic device, ensuring that the normally-on modules 303 within the electronic device receive a stable voltage. The other VRMs 330 are used to adjust the voltage output by the charger chip 601 to an appropriate level to power the various power-consuming modules within the electronic device. The voltage output by the other VRMs 330 can be different from or the same as the voltage output by the VRM 302. It should be noted that in the S5 state, the other VRMs 330 are in a disabled state (powered off).

[0193] In some embodiments, other VRMs 330 may be independently configured or may be configured in the VRM 302 .

[0194] The processor 310 includes one or more processing units. For example, the processor 310 may include an application processor (AP), a modem processor, a graphics processing unit (GPU), an image signal processor (ISP), a controller, a video codec, a digital signal processor (DSP), a baseband processor, and / or a neural-network processing unit (NPU). The different processing units may be independent devices or integrated into one or more processors.

[0195] The processor 310 may also be provided with a storage module for storing instructions and data. In some embodiments, the storage module in the processor 310 may include a cache memory. This memory may store instructions or data that have just been used or are being recycled by the processor 310. If the processor 310 needs to use the instruction or data again, it can directly call it from the memory, reducing repeated accesses and reducing the waiting time of the processor 310, thereby improving system efficiency. In some embodiments, the storage module may also exist independently of the processor 310, which is not specifically limited here.

[0196] The EC module 320 is used to execute the power-on process of the electronic device. In some embodiments, the EC module 320 is connected to the reset circuit 304. The EC module 320 is used to transmit a control signal to the reset circuit 304.

[0197] The reset circuit 304 is used to interrupt the battery power supply path for each normally-on module when the electronic device is turned off, and restore the power supply path after a preset time. In some embodiments, the reset circuit 304 is used to interrupt the battery power supply path for each normally-on module when the electronic device times out, and restore the power supply path after a preset time. The reset circuit 304 can refer to the corresponding description above and will not be described in detail here.

[0198] It should be noted that the reset circuit 304 is provided in the power supply path of the normally-on module. A normally-on module can be understood as a module that continues to be powered by the battery when the electronic device is turned off. In some embodiments, if the reset circuit 304 is provided in the power supply path of the power-consuming module, the reset circuit can achieve adaptive reset of the power-consuming module.

[0199] In some embodiments, the electronic device may further include a power management unit (PMU). The PMU, also known as a power management module, is used to connect the battery 301, the charger chip 601, and the processor 310. The PMU receives input from the battery 301 and / or the charger chip 601 to power the processor 310, internal memory, display screen, and wireless communication module. The PMU may also be used to monitor parameters such as battery capacity, battery cycle count, and battery health status (leakage, impedance). In other embodiments, the PMU may also be provided in the processor 310. In still other embodiments, the PMU and the charger chip 601 may also be provided in the same device.

[0200] In summary, the embodiment of the present application sets a reset circuit 304 on the power supply path of the normally-on module 303. The reset circuit 304 can interrupt the battery's power supply path for the normally-on module 303 and restore the power supply path after a preset period of time, so that the state of the normally-on module 303 is reset, thereby reducing the phenomenon that the normally-on module 303 cannot be turned on due to abnormal state.

[0201] In the above embodiment, the electronic device controls the power state of the electronic device through the EC module 320. The EC module 320 may also be provided in the processor 310, which is not specifically limited here.

[0202] It should be understood that in the embodiment of the present application, the connection of two devices is used to indicate that electricity can be supplied between the two devices; the connection of two devices can indicate that the two devices are directly connected, or can indicate that the two devices can be connected through other devices, which is not specifically limited here.

[0203] It should be noted that the module names involved in the embodiments of the present application can be defined as other names as long as the functions of each module can be achieved, and there is no specific restriction on the names of the modules.

[0204] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in the embodiments of this application are all information and data authorized by the user or fully authorized by all parties, and the collection, use and processing of relevant data must comply with the relevant laws, regulations and standards of relevant countries and regions, and provide corresponding operation entrances for users to choose to authorize or refuse.

[0205] The embodiments of the present application are described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processing unit of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable device to produce a machine, so that the instructions executed by the processing unit of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 a process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0206] The above specific implementation methods further illustrate the objectives, technical solutions and beneficial effects of the present invention in detail. It should be understood that the above are only specific implementation methods of the present invention and are not intended to limit the scope of protection of the present invention. Any modifications, equivalent replacements, improvements, etc. made on the basis of the technical solutions of the present invention should be included in the scope of protection of the present invention.

Claims

1. A power supply circuit, characterized in that: include: A power supply path, a first module, a second module and a reset circuit; One end of the power supply path is used to connect to the power supply module, and the first module and the second module are both connected to the other end of the power supply path; The reset circuit includes: a first port, a second port and a control port, the first port is used to control the interruption or conduction of the power supply path, the second port is grounded, and the control port is controlled by the first module; When both the first module and the second module are in a powered-on state and the first module is restarted multiple times and the power-on timeout occurs, the first module is configured to switch the output control signal from the second level to the first level; When the control signal is switched to the first level, the reset circuit stores electrical energy; When the stored electric energy reaches the first electric energy, the reset circuit is used to control the interruption of the power supply path so that both the first module and the second module are switched from a power-on state to a power-off state; When the first module is switched to the power-off state, the first module is configured to switch the output control signal from the first level to the second level; When the control signal is switched to the second level, the reset circuit releases electric energy; During the period when the stored electric energy decreases from the first electric energy to the second electric energy, the reset circuit is used to control the interruption of the power supply path so that the first module is continuously powered off; When the stored electric energy is less than the second electric energy, the reset circuit is used to control the power supply path to be turned on, so that both the first module and the second module are switched from the power-off state to the power-on state.

2. The power supply circuit according to claim 1, wherein: The reset circuit includes: a switch unit and a control unit; the switch unit includes: a third port, a fourth port, and a fifth port; the third port is connected to the power supply path, the fourth port is grounded, the fifth port is connected to the output end of the control unit, and the input end of the control unit is connected to the sixth port in the first module, and the sixth port is a port for outputting the control signal; The switch unit is configured to be turned on when the absolute value of the voltage at the output terminal of the control unit is greater than or equal to the absolute value of the first voltage, thereby interrupting the power supply path; or to be turned off when the absolute value of the voltage at the output terminal of the control unit is less than the absolute value of the first voltage, thereby connecting the power supply path; The control unit is configured to store electric energy when the control signal switches from the second level to the first level; and the control unit is configured to release electric energy when the control signal switches from the first level to the second level; When the electric energy stored in the control unit reaches the first electric energy, the absolute value of the voltage at the output terminal of the control unit is greater than or equal to the absolute value of the first voltage, so that the switch unit is turned on; During a period in which the electric energy stored in the control unit decreases from the first electric energy to the second electric energy, the absolute value of the voltage at the output terminal of the control unit is greater than or equal to the absolute value of the first voltage, so that the switch unit is turned on; When the electric energy stored in the control unit is less than the second electric energy, the absolute value of the voltage at the output terminal of the control unit is less than the absolute value of the first voltage, so that the switch unit is turned off.

3. The power supply circuit according to claim 2, wherein: The control unit includes: a first unit and a second unit; The first unit is configured to store electric energy when the control signal switches from the second level to the first level, so that the switch unit is delayed in being turned on, thereby extending the time for the second unit to store electric energy; The second unit is configured to store electric energy when the control signal switches from the first level to the second level; the second unit is configured to release electric energy to supply power to the first unit when the control signal switches from the first level to the second level; The first unit is further configured to continue to be turned on when the control signal is switched from the first level to the second level until the absolute value of the voltage output by the first unit is smaller than the absolute value of the first voltage.

4. The power supply circuit according to claim 3, characterized in that: The first unit includes: a first capacitor unit and a first resistor unit; One end of the first resistance unit is connected to the control end of the switch unit, the other end of the first resistance unit is connected to the second unit, the first capacitor unit is connected to the other end of the first resistance unit, and the other end of the first capacitor unit is grounded; The first resistor unit is used to slow down the speed of storing electrical energy in the first capacitor unit; the first capacitor unit is configured to store electrical energy through the first resistor unit when the control signal switches from the second level to the first level, so that an absolute value of a voltage across the first capacitor unit increases; Among them, when the absolute value of the voltage across the first capacitor unit reaches the absolute value of the first voltage, the switch unit is controlled to be turned on; when the absolute value of the voltage across the first capacitor unit does not reach the absolute value of the first voltage, the switch unit is controlled to be turned off.

5. The power supply circuit according to claim 3 or 4, characterized in that: The second unit includes: a second capacitor unit, one end of the second capacitor unit is connected to one end of the sixth port, and the other end of the second capacitor unit is grounded; The second capacitor unit is configured to store electrical energy when the control signal switches from the second level to the first level; Alternatively, the second capacitor unit is configured to release electrical energy to supply power to the first unit when the control signal switches from the first level to the second level.

6. The power supply circuit according to claim 5, characterized in that: The second unit further includes: a diode unit; one end of the diode unit is connected to one end of the second capacitor unit, and the other end of the diode unit is connected to the first module; The diode unit is used to reduce the electric energy released by the second capacitor unit to the first module.

7. The power supply circuit according to any one of claims 2 to 4, characterized in that: The switch unit includes: a switch tube unit and a second resistance unit; The switch tube unit includes a sixth port, a seventh port, and an eighth port, the sixth port being used to connect to the power supply path; the seventh port being grounded, and the eighth port being connected to the control unit; one end of the second resistor unit being connected to the eighth port, and the other end of the second resistor unit being grounded; The switch tube unit is configured to be turned on to interrupt the power supply path when the absolute value of the voltage output by the control unit is greater than or equal to the absolute value of the first voltage; The switch tube unit is further configured to shut down the power supply path so that the power supply path is turned on when the absolute value of the voltage output by the control unit is less than the absolute value of the first voltage; The second resistance unit is used to control the switch tube unit to remain in an off state when the control unit does not output a voltage.

8. The power supply circuit according to any one of claims 1 to 4, characterized in that: The power supply path includes: a voltage regulating module, the voltage regulating module is used to adjust the voltage output by the power supply module so that the first module obtains a stable voltage; The voltage regulation module includes: a first enabling terminal, a first power input terminal, and a first power output terminal; The first enable terminal and the first power input terminal are both connected to the power supply module, the first enable terminal is connected to the first port of the reset circuit, and the first power output terminal is connected to the first module; The first enabling terminal is used to enable the voltage regulating module to be turned on or off when the reset circuit is turned on; The first power input terminal is used to input the voltage output by the power supply module; The first power output terminal is used to output voltage to supply power to the first module.

9. The power supply circuit according to any one of claims 1 to 4, characterized in that: The first module includes: a second power input terminal and a second enable terminal; the second power input terminal is used to input the operating voltage of the first module, and the second enable terminal is used to control the power on or off of the first module; The second enable terminal and the second power input terminal are both connected to the power supply module, and the second enable terminal is connected to the first port of the reset circuit.

10. A reset circuit, characterized in that: include: A reset circuit in a power supply circuit according to any one of claims 1 to 9.

11. An electronic device, characterized in that: include: The power supply circuit according to any one of claims 1 to 9.

12. The electronic device according to claim 11, wherein: The first module in the power supply circuit is configured to switch the output control signal from the second level to the first level when the electronic device executes a shutdown process.

13. The electronic device according to claim 12, wherein: The first module is configured to switch the output control signal from the second level to the first level when the electronic device detects a power-on timeout for the Nth time, where N is an integer greater than zero.

14. The electronic device according to claim 13, wherein: The first module is used to detect whether the electronic device has timed out from being powered on.

15. The electronic device according to claim 12, wherein: The power supply circuit further includes: a third module; The third module is used to detect a timeout condition when the electronic device is turned on; The third module is further configured to control the first module to switch the output control signal from the second level to the first level when a power-on timeout is detected for the Nth time, where N is an integer greater than zero.

Citation Information

Patent Citations

  • Power-enabled power-off delay automatic recovery circuit

    CN212063829U

  • Power supply circuit, movable platform and terminal equipment

    CN213341724U