Power supply control method, system, storage medium and device

By setting the three stability thresholds A, B and C for power supply, and determining whether power is allowed based on the real-time voltage value of the chip, the impact of frequent power supply on chip stability is solved, and higher stability and use are achieved life.

CN113741671BActive Publication Date: 2024-12-10FUZHOU ROCKCHIP SEMICON
View PDF 5 Cites 0 Cited by

Patent Information

Application Number
CN202111192507.8
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-10-13
Publication Date
2024-12-10
Estimated Expiration
2041-10-13

AI Technical Summary

Technical Problem

Frequent power-up and down may cause the power supply to not be fully powered off and then powered on again, affecting the stability of the chip.

Method used

By obtaining the three stability thresholds A, B and C for power supply, determine whether to allow the chip to be powered on based on the real-time voltage value of the chip to ensure that the power supply is within the appropriate voltage range before powering on.

Benefits of technology

It effectively protects the stability of the chip, improves the service life of the chip, is highly applicable, and can customize the voltage stability interval according to actual needs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN113741671B_ABST
    Figure CN113741671B_ABST
Patent Text Reader

Abstract

The present invention provides a power supply power-on control method, system, storage medium and device, comprising the following steps: obtaining a first stable threshold value A, a second stable threshold value B and a third stable threshold value C for power-off, wherein A>B>C>0; when a power-on request is detected after a power-off request of a chip is detected, obtaining a real-time voltage value of the chip; when the real-time voltage value is in the interval [A, B], controlling a power supply management module to power on the chip; when the real-time voltage value is in the interval (B, C], continuing to monitor the real-time voltage value, and only when the real-time voltage value is less than C, controlling the power supply management module to power on the chip; when the real-time voltage value is in the interval (C, 0], controlling the power supply management module to power on the chip. The power supply power-on control method, system, storage medium and device of the present invention can automatically control the power-on request of the chip according to the current voltage interval, thereby protecting the stability of the chip.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power supply control, and in particular to a power supply power-on control method, system, storage medium and device. Background Art

[0002] During the operation of the chip, in order to reduce the power consumption of the chip, the power can be turned off when it is not working, and then powered on again when it needs to work. Both the power-on and power-off processes require a certain amount of stabilization time. Generally, the power-off stabilization time is much longer than the power-on stabilization time. Therefore, if the power is turned on and off frequently, the power may not be completely turned off and then powered on again, that is, it is powered on at an intermediate voltage. This will affect the stability of the chip. Summary of the invention

[0003] In view of the above-mentioned shortcomings of the prior art, an object of the present invention is to provide a power-on control method, system, storage medium and device, which can automatically control the power-on request of the chip according to the current voltage range, thereby protecting the stability of the chip.

[0004] To achieve the above-mentioned object and other related objects, the present invention provides a power supply power-on control method, comprising the following steps: obtaining a first stable threshold value A, a second stable threshold value B and a third stable threshold value C for power-off, wherein A>B>C>0; when a power-on request is detected after a power-off request of a chip is detected, obtaining a real-time voltage value of the chip; when the real-time voltage value is in the interval [A, B], controlling a power supply management module to power on the chip; when the real-time voltage value is in the interval (B, C], continuing to monitor the real-time voltage value, and only when the real-time voltage value is less than C, controlling the power supply management module to power on the chip; when the real-time voltage value is in the interval (C, 0], controlling the power supply management module to power on the chip.

[0005] In one embodiment of the present invention, the first stability threshold A, the second stability threshold B and the third stability threshold C are preset values ​​or user-defined values.

[0006] In one embodiment of the present invention, obtaining the real-time voltage value of the chip includes the following steps:

[0007] When a power-off request of the chip is detected, a power-off time counter is started and the power-off time counter is initialized to A;

[0008] Decrementing the power-off time counter;

[0009] When a power-on request is detected, a real-time count value of the power-off time counter is acquired, and the real-time voltage value is set as the real-time count value.

[0010] In an embodiment of the present invention, the power management module is further controlled to stop counting the power-off time counter after the chip is powered on.

[0011] In one embodiment of the present invention, the down counting speed of the power-off time counter is consistent with the decreasing speed of the real-time voltage value of the chip.

[0012] In one embodiment of the present invention, controlling the power management module to power on the chip includes the following steps:

[0013] The power-on request is sent to the power management module, so that the power management module powers on the chip.

[0014] The present invention provides a power supply power-on control system, comprising a threshold acquisition module, a voltage acquisition module, a first control module, a second control module and a third control module;

[0015] The threshold acquisition module is used to acquire a first stable threshold A, a second stable threshold B and a third stable threshold C when the power is turned off, where A>B>C>0;

[0016] The voltage acquisition module is used to acquire the real-time voltage value of the chip when a power-on request is detected after a power-off request of the chip is detected;

[0017] The first control module is used to control the power management module to power on the chip when the real-time voltage value is in the interval [A, B];

[0018] The second control module is used for continuing to monitor the real-time voltage value when the real-time voltage value is in the interval (B, C], and controlling the power management module to power on the chip only when the real-time voltage value is less than C;

[0019] The third control module is used to control the power management module to power on the chip when the real-time voltage value is in the interval (C, 0].

[0020] The present invention provides a storage medium on which a computer program is stored. The computer program is executed by a processor to implement the power-on control method.

[0021] The present invention provides a power supply power-on control device, comprising: a processor and a memory;

[0022] The memory is used to store computer programs;

[0023] The processor is connected to the memory and is used to execute the computer program stored in the memory so that the power supply control device executes the above-mentioned power supply control method.

[0024] The present invention provides a power supply power-on control system, comprising the above-mentioned power supply power-on control device and a power supply management module;

[0025] The power management module is used to power on the chip under the control of the power supply control device.

[0026] As described above, the power supply power-on control method, system, storage medium and device of the present invention have the following beneficial effects:

[0027] (1) It can automatically control the chip's power-on request according to the current voltage range, effectively protecting the chip's stability;

[0028] (2) The voltage stability range can be customized according to actual needs, which is flexible and applicable;

[0029] (3) When the chip is frequently powered on and off, the service life of the chip is effectively improved. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] Figure 1 Shown is a flow chart of a power supply power-on control method in one embodiment of the present invention;

[0031] Figure 2 Shown is a schematic diagram of the structure of a power supply control system in one embodiment of the present invention;

[0032] Figure 3 Shown is a schematic structural diagram of a power supply control device in one embodiment of the present invention;

[0033] Figure 4 It is a schematic structural diagram of another embodiment of the power-on control system of the present invention.

[0034] Component number description

[0035] 21 Get Module

[0036] 22 Voltage acquisition module

[0037] 23 First control module

[0038] 24 Second control module

[0039] 25 Third control module

[0040] 31 Processor

[0041] 32 Memory

[0042] 41 Power on control device

[0043] 42 Power Management Module DETAILED DESCRIPTION

[0044] The following describes the embodiments of the present invention by specific examples, and those skilled in the art can easily understand other advantages and effects of the present invention from the contents disclosed in this specification. The present invention can also be implemented or applied through other different specific embodiments, and the details in this specification can also be modified or changed in various ways based on different viewpoints and applications without departing from the spirit of the present invention. It should be noted that the following embodiments and features in the embodiments can be combined with each other without conflict.

[0045] It should be noted that the illustrations provided in the following embodiments are only schematic illustrations of the basic concept of the present invention, and thus the drawings only show components related to the present invention rather than being drawn according to the number, shape and size of components in actual implementation. In actual implementation, the type, quantity and proportion of each component may be changed arbitrarily, and the component layout may also be more complicated.

[0046] The power supply control method, system, storage medium and device of the present invention can determine whether the chip can be powered on directly within the voltage range of the real-time power supply of the chip, thereby realizing automatic chip power-on control, effectively protecting the stability of the chip and extending the service life of the chip.

[0047] like Figure 1 As shown, in one embodiment, the power supply power-on control method of the present invention includes the following steps:

[0048] Step S1, obtaining a first stable threshold value A, a second stable threshold value B, and a third stable threshold value C for powering off a power supply, wherein A>B>C>0.

[0049] Specifically, the first stable threshold A, the second stable threshold B and the third stable threshold C of the power-off are set by system preset or user customization, where A>B>C>0. The first stable threshold A, the second stable threshold B and the third stable threshold C are used to divide the state of the power-off. For the interval [A, B], it means that the current voltage is still in a high state and can be powered on directly. For the interval (B, C], it means that the current voltage is in an intermediate state and cannot be powered on directly. For the interval (C, 0], it means that the current voltage is in a low state and can be powered on directly.

[0050] Step S2: when a power-on request is detected after a power-off request of the chip is detected, a real-time voltage value of the chip is obtained.

[0051] Specifically, when the chip sends a power-off request and then sends a power-on request, it is necessary to determine the current voltage state and then determine whether it can be powered on directly. Therefore, when a power-off request and then a power-on request are detected, the real-time voltage value of the chip is first obtained.

[0052] In one embodiment of the present invention, obtaining the real-time voltage value of the chip includes the following steps:

[0053] 21) When a power-off request of the chip is detected, a power-off time counter is started and initialized to A.

[0054] Specifically, the present invention uses a power-off time counter to collect the real-time voltage value of the chip. Therefore, when a power-off request of the chip is detected, the power-off time counter is started at the same time, and the initial value of the power-off time counter is set to the first stable threshold A.

[0055] 22) Decrease the power-off time counter.

[0056] Specifically, since the real-time voltage value of the chip changes in a decreasing manner, the power-off time counter is made to count down. Preferably, the counting speed of the power-off time counter is consistent with the decreasing speed of the real-time voltage value of the chip.

[0057] 23) When a power-on request is detected, the real-time count value of the power-off time counter is obtained, and the real-time voltage value is set as the real-time count value.

[0058] Specifically, when the power-on request is detected, the real-time count value of the power-off time counter is read, and the real-time count value is the real-time voltage value of the chip.

[0059] Step S3: When the real-time voltage value is in the interval [A, B], control the power management module to power on the chip.

[0060] Specifically, when the real-time voltage value is in the interval [A, B], it indicates that the real-time voltage value is in a high state and can be powered on directly. Therefore, the power-on request is directly sent to the power management module so that the power management module powers on the chip. At the same time, the power-off time counter stops counting.

[0061] Step S4: When the real-time voltage value is in the interval (B, C), continue to monitor the real-time voltage value, and only when the real-time voltage value is less than C, control the power management module to power on the chip.

[0062] Specifically, when the real-time voltage value is in the interval (B, C], it indicates that the real-time voltage value is in an intermediate state and cannot be powered on directly. Therefore, it is necessary to continue waiting until the real-time voltage value is less than the third stable threshold C. When the real-time voltage value is less than the third stable threshold C, the power-on request is sent to the power management module so that the power management module powers on the chip. At the same time, the power-off time counter stops counting.

[0063] Step S5: When the real-time voltage value is in the interval (C, 0), control the power management module to power on the chip.

[0064] Specifically, when the real-time voltage value is in the interval (C, 0], it indicates that the real-time voltage value is in a low state and can be powered on directly. Therefore, the power-on request is directly sent to the power management module so that the power management module powers on the chip. At the same time, the power-off time counter stops counting.

[0065] It should be noted that the above steps S3-S5 are not executed in sequence, but are selectively executed according to the judgment conditions.

[0066] like Figure 2 As shown, in one embodiment, the power supply control system of the present invention includes a threshold acquisition module 21 , a voltage acquisition module 22 , a first control module 23 , a second control module 24 and a third control module 25 .

[0067] The threshold acquisition module 21 is used to acquire a first stable threshold A, a second stable threshold B and a third stable threshold C when the power is turned off, wherein A>B>C>0.

[0068] The voltage acquisition module 22 is used to acquire the real-time voltage value of the chip when a power-on request is detected after a power-off request of the chip is detected.

[0069] The first control module 23 is connected to the threshold acquisition module 21 and the voltage acquisition module 22, and is used to control the power management module to power on the chip when the real-time voltage value is in the interval [A, B].

[0070] The second control module 24 is connected to the threshold acquisition module 21 and the voltage acquisition module 22, and is used to continue monitoring the real-time voltage value when the real-time voltage value is in the interval (B, C], and control the power management module to power on the chip only when the real-time voltage value is less than C.

[0071] The third control module 25 is connected to the threshold acquisition module 21 and the voltage acquisition module 22, and is used to control the power management module to power on the chip when the real-time voltage value is in the interval (C, 0].

[0072] Among them, the structures and principles of the threshold acquisition module 21, the voltage acquisition module 22, the first control module 23, the second control module 24 and the third control module 25 correspond one to one with the steps in the above-mentioned power-on control method, so they are not repeated here.

[0073] It should be noted that it should be understood that the division of the various modules of the above device is only a division of logical functions. In actual implementation, they can be fully or partially integrated into one physical entity, or they can be physically separated. And these modules can all be implemented in the form of software called by processing elements, or they can all be implemented in the form of hardware, or some modules can be implemented in the form of software called by processing elements, and some modules can be implemented in the form of hardware. For example: the x module can be a separately established processing element, or it can be integrated in a certain chip of the above device. In addition, the x module can also be stored in the memory of the above device in the form of program code, and called and executed by a certain processing element of the above device. The implementation of other modules is similar. These modules can be integrated together in whole or in part, or they can be implemented independently. The processing element described here can be an integrated circuit with signal processing capabilities. In the implementation process, each step of the above method or each module above can be completed by an integrated logic circuit of hardware in the processor element or instructions in the form of software. The above modules may be one or more integrated circuits configured to implement the above methods, such as one or more application specific integrated circuits (ASIC), one or more microprocessors (DSP), one or more field programmable gate arrays (FPGA), etc. When a module is implemented in the form of a processing element scheduling program code, the processing element may be a general-purpose processor, such as a central processing unit (CPU) or other processor that can call program code. These modules may be integrated together and implemented in the form of a system-on-a-chip (SOC).

[0074] The storage medium of the present invention stores a computer program, which implements the above-mentioned power supply control method when executed by the processor. Preferably, the storage medium includes: ROM, RAM, disk, USB flash drive, memory card or optical disk and other media that can store program codes.

[0075] like Figure 3 As shown, in one embodiment, the power supply control device of the present invention includes: a processor 31 and a memory 32 .

[0076] The memory 32 is used to store computer programs.

[0077] The memory 32 includes: ROM, RAM, disk, USB flash drive, memory card or CD and other media that can store program codes.

[0078] The processor 31 is connected to the memory 32 and is used to execute the computer program stored in the memory 32 so that the power supply control device executes the above-mentioned power supply control method.

[0079] Preferably, the processor 31 can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gates or transistor logic devices, discrete hardware components.

[0080] like Figure 4 As shown, in one embodiment, the power supply control system of the present invention includes the above-mentioned power supply control device 41 and a power supply management module 42 .

[0081] The power management module 42 is connected to the power supply control device 41 and is used to power on the chip under the control of the power supply control device 41 .

[0082] In summary, the power supply power-on control method, system, storage medium and device of the present invention can automatically control the power-on request of the chip according to the current voltage range, effectively protecting the stability of the chip; can customize the voltage stability range according to actual needs, with good flexibility and strong applicability; in the case of frequent power on and off of the chip, the service life of the chip is effectively improved. Therefore, the present invention effectively overcomes various shortcomings in the prior art and has high industrial utilization value.

[0083] The above embodiments are merely illustrative of the principles and effects of the present invention, and are not intended to limit the present invention. Anyone familiar with the art may modify or alter the above embodiments without departing from the spirit and scope of the present invention. Therefore, all equivalent modifications or alterations made by a person of ordinary skill in the art without departing from the spirit and technical concept disclosed by the present invention shall still be covered by the claims of the present invention.

Claims

1. A power supply power-on control method, characterized in that: The following steps are involved: Obtain a first stable threshold value A, a second stable threshold value B, and a third stable threshold value C for powering off a power source, where A>B>C>0; When a power-on request is detected after a power-off request of the chip is detected, a real-time voltage value of the chip is obtained; When the real-time voltage value is in the interval [A, B], controlling the power management module to power on the chip; When the real-time voltage value is in the interval (B, C], continue to monitor the real-time voltage value, and only when the real-time voltage value is less than C, control the power management module to power on the chip; When the real-time voltage value is in the interval (C, 0], controlling the power management module to power on the chip, wherein obtaining the real-time voltage value of the chip includes: when a power-off request of the chip is detected, starting a power-off time counter and initializing the power-off time counter to A; making the power-off time counter count down; and When a power-on request is detected, a real-time count value of the power-off time counter is acquired, and the real-time count value is set as the real-time voltage value.

2. The power supply control method according to claim 1, characterized in that: The first stability threshold A, the second stability threshold B and the third stability threshold C are preset values ​​or user-defined values.

3. The power supply control method according to claim 1, characterized in that: It also includes controlling the power management module to stop counting the power-off time counter after the chip is powered on.

4. The power supply control method according to claim 1, characterized in that: The down counting speed of the power-off time counter is consistent with the decreasing speed of the real-time voltage value of the chip.

5. The power supply control method according to claim 1, characterized in that: Controlling the power management module to power on the chip includes the following steps: The power-on request is sent to the power management module, so that the power management module powers on the chip.

6. A power supply control system, characterized in that: It includes a threshold acquisition module, a voltage acquisition module, a first control module, a second control module and a third control module; The threshold acquisition module is used to acquire a first stable threshold A, a second stable threshold B and a third stable threshold C when the power is turned off, where A>B>C>0; The voltage acquisition module is used to acquire the real-time voltage value of the chip when a power-on request is detected after a power-off request of the chip is detected; The first control module is used to control the power management module to power on the chip when the real-time voltage value is in the interval [A, B]; The second control module is used for continuing to monitor the real-time voltage value when the real-time voltage value is in the interval (B, C], and controlling the power management module to power on the chip only when the real-time voltage value is less than C; The third control module is used to control the power management module to power on the chip when the real-time voltage value is in the interval (C, 0), The voltage acquisition module is used to start the power-off time counter when a power-off request of the chip is detected, initialize the power-off time counter to A, and make the power-off time counter count down, and when a power-on request is detected, obtain the real-time count value of the power-off time counter and set the real-time count value to the real-time voltage value.

7. A storage medium having a computer program stored thereon, characterized in that: The computer program is executed by a processor to implement the power-on control method according to any one of claims 1 to 5.

8. A power supply control device, characterized in that: include: Processor and memory; The memory is used to store computer programs; The processor is connected to the memory and is used to execute the computer program stored in the memory, so that the power supply control device executes the power supply control method according to any one of claims 1 to 5.

9. A power supply control system, characterized in that: It includes the power supply control device and the power supply management module as claimed in claim 8; The power management module is used to power on the chip under the control of the power supply control device.

Citation Information

Patent Citations

  • Signal count delay method and circuit in chip electrifying process

    CN102111127A

  • Microprocessor power protection circuit

    CN103645788A

  • Self-protection method for extremely-low-power SoC chip of lithium battery, and equipment

    CN112736301A

  • Chip enabling signal delay control circuit

    CN203368422U

  • Load management system for an electrical device

    US6608900B1