A power-on timing control method and system
By acquiring the voltage status of the target power domain, selectively executing overall or sequential power-on control modes resolves the timing conflict problem during computer restarts, thereby improving the power-on stability and reliability of the device.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- 联想开天科技有限公司
- Filing Date
- 2026-02-28
- Publication Date
- 2026-06-12
Smart Images

Figure CN122195237A_ABST
Abstract
Description
Technical Field
[0001] This invention belongs to the field of power-on control technology, and particularly relates to a power-on timing control method and system. Background Technology
[0002] Currently, some computers fail to boot due to timing conflicts caused by improperly set reboot intervals or slow discharge of high-voltage power domains, resulting in some power domains on the board not being completely powered off before being powered on again. Summary of the Invention
[0003] In view of the above-mentioned problems existing in the prior art, the purpose of the present invention is to provide a power-on timing control method and system.
[0004] The technical solution adopted in the embodiments of the present invention is as follows: A power-on timing control method is provided for an electronic device, the electronic device comprising at least two target power domains, the power-on timing control method comprising: Obtain the voltage states of at least two target power domains; wherein the voltage states include a first state in which the voltage of the target power domain has dropped below a voltage safety threshold and a second state in which the voltage has not dropped below a voltage safety threshold; Based on the voltage state of the target power domain, one of the first power-on control mode and the second power-on control mode is selectively executed to perform a power-on operation. The first power-on control mode is to control all target power domains to power on as a whole when the voltage state of all target power domains switches from the second state to the first state. The second power-on control mode controls the sequential power-on of all target power domains based on the order in which the voltage states of all target power domains switch from the second state to the first state.
[0005] In some embodiments, based on the acquired pattern determination signal, it is determined to execute one of a first power-on control mode and a second power-on control mode to perform a power-on operation: When the mode determination signal is the first signal, the first power-on control mode is executed to perform the power-on operation; When the mode determination signal is the second signal, the second power-on control mode is executed to perform the power-on operation.
[0006] In some embodiments, it also includes: Obtain the system status of the electronic device; When the electronic device starts up, it selectively executes one of the first power-on control mode and the second power-on control mode to perform a power-on operation based on the voltage state of the target power domain. The power-on operation is disconnected when the electronic device is shut down.
[0007] In some embodiments, obtaining the voltage states of at least two target power domains includes: Perform logical operations on the target voltage of each target power domain and the corresponding voltage safety threshold to output a first logic level signal to characterize the first state and a second logic level signal to characterize the second state.
[0008] In some embodiments, performing a first power-on control mode to power on includes: When all target power domains output the first logic level signal, control all target power domains to power on as a whole.
[0009] In some embodiments, performing a second power-on control mode for power-on operation includes: Obtain the time sequence in which the output of all target power domains transitions from the second logic level signal to the first logic level signal. Based on the aforementioned time sequence, all target power domains are controlled to be powered on sequentially.
[0010] In some embodiments, performing a second power-on control mode for power-on operation includes: When the voltage status signals of two or more target power domains simultaneously switch from the second state to the first state, the corresponding target power domains are powered on simultaneously.
[0011] In some embodiments, performing a second power-on control mode for power-on operation further includes: When the voltage state of the first target power domain changes from the second state to the first state, determine whether the second target power domain, which changed to the first state earlier, has changed to the first state. If the second target power domain has switched to the first state, control to power on the first target power domain.
[0012] A power-on timing control system, comprising: The state acquisition module is configured to acquire the voltage states of at least two target power domains; wherein the voltage states include a first state in which the voltage of the target power domain has dropped below a voltage safety threshold and a second state in which the voltage has not dropped below a voltage safety threshold. The power-on control module is connected to the status acquisition module and is configured to selectively execute one of the first power-on control mode and the second power-on control mode to perform a power-on operation based on the acquired voltage status of the target power domain. The first power-on control mode is to control all target power domains to power on as a whole when the voltage state of all target power domains switches from the second state to the first state. The second power-on control mode controls the sequential power-on of all target power domains based on the order in which the voltage states of all target power domains switch from the second state to the first state.
[0013] In some embodiments, it also includes: The mode selection module is used to acquire a mode selection signal and, based on the mode selection signal, select to execute a first power-on control mode or a second power-on control mode to perform a power-on operation. When the mode determination signal is the first signal, the first power-on control mode is executed to perform the power-on operation; When the mode determination signal is the second signal, the second power-on control mode is executed to perform the power-on operation. Compared with the prior art, the beneficial effects of the embodiments of the present invention are as follows: The power-on timing control method and system of this embodiment can flexibly select the power-on mode according to the voltage state of the target power domain, effectively avoiding timing conflicts caused by power-on before the power is completely de-energized, and improving the stability and reliability of power-on of electronic devices.
[0014] It should be understood that the foregoing general description and the following detailed description are exemplary and illustrative only, and are not intended to limit the invention.
[0015] The overview of various implementations or examples of the technology described in this invention is not a complete disclosure of the full scope or all features of the disclosed technology. Attached Figure Description
[0016] In drawings that are not necessarily drawn to scale, the same reference numerals may describe similar parts in different views. The drawings generally illustrate various embodiments by way of example rather than limitation and, together with the description and claims, serve to explain embodiments of the invention. Where appropriate, the same reference numerals are used in all drawings to refer to the same or similar parts.
[0017] Figure 1 A flowchart of a power-on timing control method is provided for Embodiment 1 of the present invention; Figure 2 This is a flowchart of the power-on timing control method provided in Embodiment 2 of the present invention. Detailed Implementation
[0018] To make the objectives, technical solutions, and advantages of the embodiments of the present invention clearer, the technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some, not all, of the embodiments of the present invention. All other embodiments obtained by those skilled in the art based on the described embodiments of the present invention without creative effort are within the scope of protection of the present invention.
[0019] This application provides a power-on timing control method for use in electronic devices. The electronic devices can be computers, servers, industrial control equipment, etc., and these devices typically contain multiple power domains, with different power domains supplying power to different functional modules. During the operation of the electronic device, the power-on timing of the power domains is crucial; an unreasonable power-on timing may lead to device malfunctions or unstable operation.
[0020] like Figure 1 As shown, the power-on timing control method in this embodiment includes: Step S100: Obtain the voltage states of at least two target power domains; wherein the voltage states include a first state in which the voltage of the target power domain has dropped below a voltage safety threshold and a second state in which the voltage has not dropped below a voltage safety threshold. In step S100, the voltage safety threshold for each target power domain is different, depending on the characteristics and requirements of the functional modules powered by that power domain. For example, for some modules that are more sensitive to voltage fluctuations, their corresponding voltage safety threshold may be set relatively high to ensure that the module operates within a suitable voltage range. Conversely, for some modules that are more tolerant to voltage fluctuations, their voltage safety threshold can be set relatively low.
[0021] When acquiring the voltage status of a target power domain, voltage sensors can be installed in each target power domain to monitor voltage values in real time. These voltage sensors transmit the monitored voltage data to the control unit, which then compares the target voltage of each target power domain with the corresponding voltage safety threshold to obtain the corresponding voltage status.
[0022] Step S200: Based on the voltage state of the target power domain, selectively execute one of the first power-on control mode and the second power-on control mode to perform a power-on operation. The first power-on control mode is to control all target power domains to power on as a whole when the voltage state of all target power domains switches from the second state to the first state. The second power-on control mode controls the sequential power-on of all target power domains based on the order in which the voltage states of all target power domains switch from the second state to the first state.
[0023] In step S200, it can be determined whether to execute the first power-on control mode or the second power-on control mode based on the specific operating conditions.
[0024] For example, when electronic devices require rapid startup, have high power-up speed requirements, and have minimal mutual influence between different power domains, the first power-up control mode can be selected to power up all target power domains as a whole, enabling the device to reach an operational state in the shortest possible time. However, when certain functional modules in an electronic device have strict requirements on the power-up sequence, or when there is strong mutual influence between different power domains, the second power-up control mode should be selected, powering up the power domains sequentially according to the order of voltage state switching to ensure stable operation of the device.
[0025] The power-on timing control method and system of this embodiment can flexibly select the power-on mode according to the voltage state of the target power domain, effectively avoiding timing conflicts caused by power-on before the power is completely de-energized, and improving the stability and reliability of power-on of electronic devices.
[0026] In some embodiments, the control method of this embodiment further includes: Step S201: Based on the acquired mode determination signal, determine to execute one of the first power-on control mode and the second power-on control mode to perform the power-on operation: Specifically, when the mode determination signal is the first signal, the first power-on control mode is executed to perform the power-on operation; when the mode determination signal is the second signal, the second power-on control mode is executed to perform the power-on operation.
[0027] The first and second signals can be provided via hardware switches or software commands. For example, a mode selection switch can be provided on the control panel of the electronic device, allowing the user to manually switch it to either "overall power-on" or "sequential power-on," corresponding to the first and second signals respectively. Alternatively, a setting option can be provided in the device's operating system, allowing the user to select the appropriate power-on mode through software operation.
[0028] The mode determination signal can also be automatically generated by the system based on the operating status of the equipment. For example, when the equipment detects that the system is in emergency start mode, it automatically generates a first signal to select the first power-on control mode, enabling the equipment to power on quickly; when the equipment detects that the system needs to be finely debugged or to run a program with strict requirements on the power-on sequence, it automatically generates a second signal to select the second power-on control mode, ensuring that the power domains are powered on in sequence.
[0029] Alternatively, users can set it manually. For example, if an electronic device is equipped with a toggle switch, the user can operate the toggle switch to send a first signal or a second signal, thereby selecting the corresponding power-on control mode. This manual setting method provides users with more autonomy, allowing them to flexibly decide which power-on mode to use based on actual usage needs and scenarios.
[0030] In some embodiments, the power-on timing control method further includes: Step S202: Obtain the system status of the electronic device; wherein, the system status of the electronic device can be an on state and an off state; Step S203: Real-time detection of the system status of the electronic device. When the electronic device is in the off state, even if multiple target power domains are in the second state, these target power domains will not be powered on. When the electronic device starts up, it can selectively execute one of the first power-on control mode and the second power-on control mode to perform a power-on operation based on the voltage state of the target power domain.
[0031] In this embodiment, the system status of the electronic device and the voltage status of the target power domain can be used to comprehensively determine whether to power on and what power-on mode to adopt.
[0032] For example, when the system is in the startup state and the voltage of all target power domains has dropped below the safety threshold, if the acquired mode determination signal is the first signal, the first power-on control mode is used to power on all target power domains as a whole, so that the equipment can start up quickly; if the mode determination signal is the second signal, the second power-on control mode is used to power on the power domains sequentially according to the order of voltage state switching, so as to ensure stable operation of the equipment.
[0033] When the system is in a shutdown state, it will not trigger a power-on operation regardless of the voltage state of the target power domain, thus avoiding unnecessary power consumption and potential equipment failure.
[0034] In some embodiments, the method for obtaining the voltage states of at least two target power domains may include: Step S101: Perform logical operations on the target voltage of each target power domain and the corresponding voltage safety threshold, and output a first logic level signal to characterize the first state and a second logic level signal to characterize the second state.
[0035] In step S101, each target power domain can be configured with a NOR gate circuit. One input of the NOR gate circuit is connected to the voltage signal of the target power domain, and the other input is connected to the voltage safety threshold signal corresponding to the power domain.
[0036] When the voltage of the target power domain drops below the voltage safety threshold, the NOR gate outputs a first logic level signal, representing the first state. When the voltage of the target power domain is higher than the voltage safety threshold, the NOR gate outputs a second logic level signal, representing the second state. In this way, the voltage state of each target power domain can be obtained quickly and accurately, providing a reliable basis for selecting the appropriate power-on mode.
[0037] In step S101, multiple voltage detection circuits can also be used, each corresponding to a target power domain. These voltage detection circuits can convert the analog voltage signal of the target power domain into a digital signal and transmit it to the microcontroller. The microcontroller pre-stores the voltage safety threshold corresponding to each target power domain, and upon receiving the digital voltage signal, it can quickly compare it with the corresponding voltage safety threshold.
[0038] In step S101, the voltage safety threshold corresponding to each target power domain can be obtained by dividing the system's standby power supply. The standby power supply refers to the power rail that continues to supply power even when the electronic device is powered off or in sleep mode. The standby power supply can provide 12V, 5V, etc.
[0039] In some embodiments, performing a first power-on control mode to power on includes: Step S204: When all target power domains output the first logic level signal, control all target power domains to power on as a whole.
[0040] In step S204, logic operations can be performed on logic level signals output to all target power domains, and third and fourth logic level signals can be output.
[0041] The third logic level signal is used to characterize that all target power domains output the first logic level signal; the fourth logic level signal is used to characterize that at least one target power domain outputs the second logic level signal.
[0042] For example, the above logical operation can also be implemented using NOR gates. The logic level signal output from each target power domain is used as the input to the NOR gate. When all inputs are at the first logic level, the NOR gate outputs the third logic level signal; if any input is at the second logic level, the NOR gate outputs the fourth logic level signal. When the microcontroller receives the third logic level signal, it controls all target power domains to power on.
[0043] In some embodiments, performing a second power-on control mode for power-on operation includes: Step S205: Obtain the time sequence in which the output of all target power domains transitions from the second logic level signal to the first logic level signal; Step S206: Based on the time sequence, control all target power domains to be powered on sequentially.
[0044] In this embodiment, when performing the power-on operation in the second power-on control mode, the control can be based on the order in which the first logic level signals output by the target power domains are executed. For example, a sequence detection circuit can be set up, which can monitor the logic level signals output by each target power domain in real time and record the time sequence of their state changes.
[0045] When a target power domain outputs the first logic level signal, the sequence detection circuit marks the power domain as power-on ready and triggers the corresponding power-on control signals in chronological order, thereby enabling all target power domains to be powered on sequentially.
[0046] In some embodiments, performing the power-on operation in the second power-on control mode further includes: Step S207: When the voltage status signals of two or more target power domains simultaneously switch from the second state to the first state, the corresponding target power domains are powered on simultaneously.
[0047] This method of simultaneously powering on target power domains that meet the power-on conditions takes into account both power-on efficiency and sequential requirements to a certain extent.
[0048] In some embodiments, performing the power-on operation in the second power-on control mode may further include: Step S208: When the voltage state of the first target power domain changes from the second state to the first state, determine whether the second target power domain, which changes to the first state earlier than the first target power domain, changes to the first state; where, "earlier than the first target power domain" can be understood as "earlier than the first target power domain".
[0049] Step S209: If the second target power domain has been switched to the first state, control the power supply to the first target power domain.
[0050] In this embodiment, the determination can be made based on the pre-recorded state change time of each target power domain. If the voltage state of the first target power domain has just switched to the first state, the control unit will quickly query the recorded information to see if there is a second target power domain that switched to the first state before it.
[0051] If the second target power domain has already switched to the first state, then during the power-on operation, the control unit will strictly follow the order of priority, powering on the second target power domain first, and then powering on the first target power domain. This ensures that the power-on sequence of the electronic equipment conforms to the predetermined rules, avoiding malfunctions caused by disordered power-on sequences.
[0052] The following is a detailed description of the solution of this application embodiment using a specific example, wherein Table 1 is the first power-on control mode and Table 2 is the second power-on control mode.
[0053] V1 is the first power domain, and V2 is the second power domain. V1 is logically compared with its corresponding voltage safety threshold and output as V1_ready. V2 is logically compared with its corresponding voltage safety threshold and output as V2_ready. V1_ready and V2_ready are logically compared and output as V_ready.
[0054] SUSB / SUSC is the system power-on control signal. When SUSB / SUSC is high (H), the system is in the running phase; when SUSB / SUSC is low (L), the system is in the power-off phase. A SUSB / SUSC_ready level of L indicates that some power domains are not fully discharged; a SUSB / SUSC_ready level of H indicates that all power domains are fully discharged.
[0055] As shown in Table 1, after the system is powered off, i.e., when SUSB / SUSC is at a low level (L), the system is in a shutdown state. The first power domain V1 and the second power domain V2 begin to gradually discharge.
[0056] When the SUSB / SUSC voltage level transitions from L to H, it indicates that the CPU is preparing to power on. At this time, the V1_ready voltage level is H, meaning it is not fully discharged, while the V2_ready voltage level is L, meaning it is fully discharged. Therefore, the V_ready output voltage is L. Consequently, a full power-on cannot be achieved, so the SUSB / SUSC_ready voltage level remains L, and the system does not power on.
[0057] As V1 gradually discharges, the level of V1_ready changes from H to L, and the level output of V_ready is H. Therefore, the entire system can be powered on. Thus, the level of SUSB / SUSC_ready is H, and the system can be powered on.
[0058] Table 1 shows the first power-on control mode.
[0059] As shown in Table 2, after the system is powered off, i.e., when SUSB / SUSC is at a low level (L), the system is in a shutdown state. The first power domain V1 and the second power domain V2 begin to gradually discharge.
[0060] When the SUSB / SUSC voltage level transitions from L to H, it indicates that the CPU is ready to power on. At this time, the connected V... Polling the _ready signal revealed that all values were "H", indicating that the adjustable timing voltage had not fully discharged, and the system could not boot. Subsequently, real-time monitoring of the access V The _ready signal is polled. When V1_ready is observed to be low (L), the device can be powered on, and V1 is powered on first, and then other voltages are polled. When V2_ready is observed to be low (L), and the upstream voltage V1_ready is checked to be low, V2 can be powered on.
[0061] Table 2 shows the second power-on control mode.
[0062] This application embodiment also provides a power-on timing control system, which may include: The state acquisition module is configured to acquire the voltage states of at least two target power domains; wherein the voltage states include a first state in which the voltage of the target power domain has dropped below a voltage safety threshold and a second state in which the voltage has not dropped below a voltage safety threshold. The voltage safety threshold varies for each target power domain, depending on the characteristics and requirements of the functional modules powered by that domain. For example, for modules that are more sensitive to voltage fluctuations, the corresponding voltage safety threshold may be set relatively high to ensure that the module operates within a suitable voltage range. Conversely, for modules that are more tolerant of voltage fluctuations, the voltage safety threshold can be set relatively low.
[0063] The power-on control module is connected to the status acquisition module and is configured to selectively execute one of the first power-on control mode and the second power-on control mode to perform a power-on operation based on the acquired voltage status of the target power domain. The first power-on control mode is to control all target power domains to power on as a whole when the voltage state of all target power domains switches from the second state to the first state. The second power-on control mode controls the sequential power-on of all target power domains based on the order in which the voltage states of all target power domains switch from the second state to the first state.
[0064] The power-on control module can be a microcontroller or other control component. It receives voltage status information of each target power domain from the status acquisition module. The microcontroller has pre-stored the program logic for executing the first power-on control mode and the second power-on control mode.
[0065] When the microcontroller receives a signal that all target power domains are in the first state, it outputs a control signal according to the logic of the first power-on control mode, so that all target power domains are powered on as a whole.
[0066] When the microcontroller receives signals indicating that each target power domain has sequentially switched to the first state, it triggers the corresponding power-on control signals according to the order in which they switched to the first state, following the logic of the second power-on control mode. In some embodiments, the power-on control module can also be used to obtain the system status of the electronic device and control whether to power on based on the status of the electronic device.
[0067] Specifically, when the electronic device is detected to be in a powered-off state, even if multiple target power domains are in the second state, these target power domains will not be powered on. When the system startup of the electronic device is detected, one of the first power-on control mode and the second power-on control mode can be selectively executed to perform a power-on operation based on the voltage state of the target power domain.
[0068] In some embodiments, the power-on timing control system may further include: The mode selection module is used to acquire a mode selection signal and, based on the mode selection signal, select to execute a first power-on control mode or a second power-on control mode to perform a power-on operation. When the mode determination signal is the first signal, the first power-on control mode is executed to perform the power-on operation. When the mode determination signal is the second signal, the second power-on control mode is executed to perform the power-on operation.
[0069] The above description is intended to be illustrative and not restrictive. Those skilled in the art can make variations, modifications, substitutions, and alterations to the above embodiments within the scope of this disclosure. Moreover, the above examples (or one or more of them) can be used in combination with each other, and these embodiments can be combined with each other in various combinations or arrangements.
Claims
1. A power-on timing control method for an electronic device, the electronic device comprising at least two target power domains, characterized in that, Power-on timing control methods include: Obtain the voltage states of at least two target power domains; wherein the voltage states include a first state in which the voltage of the target power domain has dropped below a voltage safety threshold and a second state in which the voltage has not dropped below a voltage safety threshold; Based on the voltage state of the target power domain, one of the first power-on control mode and the second power-on control mode is selectively executed to perform a power-on operation. The first power-on control mode is to control all target power domains to power on as a whole when the voltage state of all target power domains switches from the second state to the first state. The second power-on control mode controls the sequential power-on of all target power domains based on the order in which the voltage states of all target power domains switch from the second state to the first state.
2. The power-on timing control method as described in claim 1, characterized in that, Based on the acquired pattern determination signal, determine to execute one of the first power-on control mode and the second power-on control mode to perform the power-on operation: When the mode determination signal is the first signal, the first power-on control mode is executed to perform the power-on operation; When the mode determination signal is the second signal, the second power-on control mode is executed to perform the power-on operation.
3. The power-on timing control method as described in claim 1, characterized in that, Also includes: Obtain the system status of the electronic device; When the electronic device starts up, it selectively executes one of the first power-on control mode and the second power-on control mode to perform a power-on operation based on the voltage state of the target power domain. The power-on operation is disconnected when the electronic device is shut down.
4. The power-on timing control method as described in claim 1, characterized in that, The acquisition of the voltage states of at least two target power domains includes: Perform logical operations on the voltage of each target power domain and the corresponding voltage safety threshold to output a first logic level signal to characterize the first state and a second logic level signal to characterize the second state.
5. The power-on timing control method as described in claim 4, characterized in that, Perform the power-on operation using the first power-on control mode, including: When all target power domains output the first logic level signal, control all target power domains to power on as a whole.
6. The power-on timing control method as described in claim 4, characterized in that, Perform the power-on operation using the second power-on control mode, including: Obtain the time sequence in which the output of all target power domains transitions from the second logic level signal to the first logic level signal; Based on the aforementioned time sequence, all target power domains are controlled to be powered on sequentially.
7. The power-on timing control method as described in claim 1, characterized in that, Perform the power-on operation using the second power-on control mode, including: When the voltage status signals of two or more target power domains simultaneously switch from the second state to the first state, the corresponding target power domains are powered on simultaneously.
8. The power-on timing control method as described in claim 1, characterized in that, Executing the second power-on control mode for power-on operation also includes: When the voltage state of the first target power domain changes from the second state to the first state, determine whether the second target power domain, which changed to the first state earlier, has changed to the first state. If the second target power domain has switched to the first state, control to power on the first target power domain.
9. A power-on timing control system, characterized in that, include: The state acquisition module is configured to acquire the voltage states of at least two target power domains; wherein the voltage states include a first state in which the voltage of the target power domain has dropped below a voltage safety threshold and a second state in which the voltage has not dropped below a voltage safety threshold. The power-on control module is connected to the status acquisition module and is configured to selectively execute one of the first power-on control mode and the second power-on control mode to perform a power-on operation based on the acquired voltage status of the target power domain. The first power-on control mode is to control all target power domains to power on as a whole when the voltage state of all target power domains switches from the second state to the first state. The second power-on control mode controls the sequential power-on of all target power domains based on the order in which the voltage states of all target power domains switch from the second state to the first state.
10. The power-on timing control system as described in claim 9, characterized in that, Also includes: The mode selection module is used to acquire a mode selection signal and, based on the mode selection signal, select to execute a first power-on control mode or a second power-on control mode to perform a power-on operation. When the mode determination signal is the first signal, the first power-on control mode is executed to perform the power-on operation; When the mode determination signal is the second signal, the second power-on control mode is executed to perform the power-on operation.