Power supply control method and electronic device

CN122844418APending Publication Date: 2026-09-29LENOVO (BEIJING) LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202610969461.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2026-06-30
Publication Date
2026-09-29

AI Technical Summary

Technical Problem

[0003]该锁存保护模式无法区分保护触发源的属性,即无法识别保护是由真实硬件故障引起,还是由临时性环境因素引起

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN122844418A_ABST
    Figure CN122844418A_ABST
Patent Text Reader

Abstract

The application discloses a power supply control method and an electronic device. The power supply control method acquires an electrical parameter of an output end of a power supply chip configured to maintain part of a circuit of the electronic device in a constant power-on state. The power supply chip is configured to a first mode or a second mode according to a comparison result of the electrical parameter and a reference value. In the first mode, the power supply chip can automatically restore power-on in response to a target trigger signal after power-off. In the second mode, the power supply chip is in a power-off lock state and stops supplying power to the part of the circuit of the electronic device.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of power management technology, and more specifically to a power supply control method and electronic device. Background Technology

[0002] In high-temperature and high-humidity environment storage tests of electronic devices, moisture condensation can easily occur on the internal circuit boards. When moisture adheres to the area around the power management circuitry on the motherboard, which is constantly powered, it can cause abnormal leakage at the feedback pins of the power management chip, triggering overvoltage or short-circuit protection. Currently, such power management chips generally employ a latching protection mode, meaning that once protection is triggered, the chip will lock the output and stop supplying power until the input power is completely disconnected.

[0003] This latching protection mode cannot distinguish the attributes of the protection trigger source; that is, it cannot identify whether the protection is caused by a real hardware failure or by temporary environmental factors. For protections triggered by temporary environmental factors, the latching mode will keep the power supply circuit locked, preventing it from automatically returning to normal operating status. This results in the equipment being unable to start and operate for an extended period, affecting the equipment's startup reliability. Summary of the Invention

[0004] In view of the above, this application provides the following technical solution:

[0005] A power supply control method, comprising:

[0006] Obtain the electrical parameters of the output terminal of the power chip, which is configured to maintain a portion of the electronic device in a constantly powered state;

[0007] Based on the comparison results between the electrical parameters and the reference values, the power chip is configured to either a first mode or a second mode;

[0008] In the first mode, after the power chip is powered off, it can automatically resume power-on in response to the target trigger signal; in the second mode, the power chip is in a power-off locked state and stops supplying power to some circuits of the electronic device.

[0009] Optionally, obtaining the electrical parameters of the power chip output includes:

[0010] Obtain the first electrical parameters of the first detection point of the power chip;

[0011] Obtain the second electrical parameters of the second detection point of the power chip;

[0012] The first electrical parameter is used to trigger an electrical anomaly detection, and the second electrical parameter is used to identify whether the electrical anomaly is caused by moisture interference.

[0013] Optionally, configuring the power chip to a first mode or a second mode based on the comparison result of the electrical parameters and the reference value includes:

[0014] Compare the first electrical parameter with the first reference value;

[0015] When the deviation between the first electrical parameter and the first reference value exceeds a preset range, the second electrical parameter is compared with the second reference value.

[0016] If the deviation between the second electrical parameter and the second reference value does not conform to the preset water vapor interference characteristics, the power chip will be configured to the second mode;

[0017] If the deviation between the second electrical parameter and the second reference value conforms to the preset water vapor interference characteristics, the power chip is configured to either the first mode or the second mode based on the amount of deviation between the second electrical parameter and the second reference value.

[0018] Optionally, determining whether to configure the power chip in the first mode or the second mode based on the deviation between the second electrical parameter and the second reference value includes:

[0019] Obtain the deviation between the second electrical parameter and the second reference value;

[0020] The deviation is compared with a preset deviation threshold.

[0021] In response to the comparison result indicating that the deviation is less than the preset deviation threshold, the power chip is configured to the first mode;

[0022] In response to the comparison result indicating that the deviation is not less than the preset deviation threshold, the power chip is configured to the second mode.

[0023] Optionally, in the first mode, the power chip, after being powered off, is able to automatically restore power in response to a target trigger signal, including:

[0024] The status signal of the power chip is detected by an embedded controller, wherein the power supply of the embedded controller is independent of the power chip, and the status signal is used to indicate whether the output voltage of the power chip is normal.

[0025] If the status signal is not received within a preset time, the embedded controller resets the enable pin of the power chip to power it back on.

[0026] Record the number of times the enable terminal is reset;

[0027] If the status signal is not received after a preset number of consecutive resets, the embedded controller stops resetting the enable terminal.

[0028] Optionally, it also includes:

[0029] Detect the load current of the power chip;

[0030] If the load current is less than a preset current threshold, the first power supply module of the power chip is controlled to supply power to a portion of the circuitry of the electronic device.

[0031] If the load current is not less than the preset current threshold, control the second power supply module of the power chip to supply power to a part of the circuit of the electronic device;

[0032] The first power supply module has a lower static power consumption under low load current conditions than the second power supply module, while the second power supply module has a higher conversion efficiency under high load current conditions than the first power supply module.

[0033] An electronic device, comprising:

[0034] A power chip is configured to keep a portion of the electronic device constantly powered.

[0035] The power chip includes a detection terminal, a comparison module, and a configuration module;

[0036] The detection terminal is used to acquire the electrical parameters of the output terminal of the power chip.

[0037] The comparison module is connected to the detection end and is used to compare the electrical parameters with reference values ​​and output the comparison results.

[0038] The configuration module is connected to the comparison module and is used to configure the power chip to a first mode or a second mode according to the comparison result.

[0039] In the first mode, after the power chip is powered off, it can automatically resume power-on in response to the target trigger signal; in the second mode, the power chip is in a power-off locked state and stops supplying power to some circuits of the electronic device.

[0040] Optionally, the detection end includes:

[0041] The first detection pin is used to obtain the first electrical parameters of the first detection point of the power chip.

[0042] The second detection pin is used to obtain the second electrical parameters of the second detection point of the power chip.

[0043] The first electrical parameter is used to trigger an electrical anomaly detection, and the second electrical parameter is used to identify whether the electrical anomaly is caused by moisture interference.

[0044] Optionally, the power chip further includes:

[0045] A current detection module is used to detect the load current of the power supply chip;

[0046] First power supply module and second power supply module;

[0047] When the load current is less than a preset current threshold, the first power supply module supplies power to a portion of the circuitry of the electronic device.

[0048] When the load current is not less than the preset current threshold, the second power supply module supplies power to a portion of the circuitry of the electronic device.

[0049] The first power supply module has a lower static power consumption under low load current conditions than the second power supply module, while the second power supply module has a higher conversion efficiency under high load current conditions than the first power supply module.

[0050] Optionally, the electronic device further includes:

[0051] An embedded controller is connected to the power chip, and the power supply of the embedded controller is independent of the power chip;

[0052] The embedded controller is used to detect the status signal of the power chip. If the status signal is not received within a preset time, the enable terminal of the power chip is reset so that the power chip is powered on again. The status signal is used to indicate whether the output voltage of the power chip is normal. Attached Figure Description

[0053] To more clearly illustrate the technical solutions in the embodiments of this application, the accompanying drawings used in the description of the embodiments will be briefly introduced below. Obviously, the accompanying drawings described below are only embodiments of this application. For those skilled in the art, other drawings can be obtained based on the provided drawings without creative effort.

[0054] Figure 1 A flowchart illustrating a power supply control method provided in an embodiment of this application.

[0055] Figure 2 A partial schematic diagram of a power supply circuit for a power chip provided in an embodiment of this application;

[0056] Figure 3 An oscilloscope waveform view provided in an embodiment of this application;

[0057] Figure 4 This application provides a schematic diagram of a power supply module switching for a power chip.

[0058] Figure 5 This is a schematic diagram of the structure of an electronic device provided in an embodiment of this application. Detailed Implementation

[0059] The technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, and not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.

[0060] The terms "first" and "second," etc., used in this application are used to distinguish different objects, not to describe a specific order. Furthermore, the terms "comprising" and "having," and any variations thereof, are intended to cover non-exclusive inclusion. For example, a process, method, system, product, or device that includes a series of steps or units may include steps or units not listed, but may include steps or units not listed.

[0061] The power supply control method provided in this application can be applied to electronic devices such as laptops and tablets. It is suitable for reliability testing scenarios in high-temperature and high-humidity environments before these devices leave the factory, as well as scenarios where users may encounter situations where changes in ambient temperature and humidity prevent the devices from powering on normally during actual use. Taking high-temperature and high-humidity storage testing as an example, after assembly, the device needs to be stored in a high-temperature and high-humidity environment for a certain period of time to verify its reliability under extreme conditions. In this application, the power chip can be configured to a first mode or a second mode based on the detection results of electrical parameters, thereby automatically restoring power when temporary environmental factors trigger protection, without user intervention. This solves the problem of needing to disassemble the device and disconnect the battery to restore power when the device cannot power on due to latching protection, thus improving the startup reliability of electronic devices.

[0062] See Figure 1 The illustration shows a flowchart of a power supply control method provided in an embodiment of this application. This power supply control method can be applied to electronic devices such as laptops, tablets, and mobile terminals. A power chip is installed inside the electronic device. This power chip is configured to maintain certain circuits of the electronic device in a constantly powered state. The constantly powered state means that even when the electronic device is in a powered-off or standby state, the power chip continues to supply power to certain circuits, such as a real-time clock circuit and a power button detection circuit, to ensure that these circuits can respond and activate the corresponding processing components after being triggered.

[0063] The power supply control method may include the following steps:

[0064] S101. Obtain the electrical parameters of the power chip output terminal.

[0065] The power chip acquires the electrical parameters of its output terminal through its detection terminal. Electrical parameters are physical quantities that reflect the electrical state of the power chip's output terminal. For example, an electrical parameter can be at least one of voltage, current, or impedance values. In some embodiments of this application, the electrical parameter includes a voltage value. The output terminal of the power chip refers to the port where the power chip outputs a supply voltage to the load; this output terminal is connected to a circuit in the electronic device that needs to be constantly powered. The power chip acquires the voltage value of its output terminal in real time or periodically through its detection terminal.

[0066] S102. Based on the comparison results between the electrical parameters and the reference values, configure the power supply chip to either the first mode or the second mode.

[0067] The reference value is a pre-set benchmark value used to determine whether electrical parameters are within the normal range. When the power chip is operating normally, the electrical parameters at its output terminal will stabilize within a preset range. The upper and lower limits of this preset range can be defined as the reference values. When the acquired electrical parameters deviate from this preset range, it indicates an abnormality at the power chip's output terminal. For example, assuming the normal output voltage of the power chip is 3.3V, the reference value can be set to ±5% of 3.3V, i.e., 3.135V to 3.465V. When the output voltage acquired at the power chip's detection terminal is 3.0V, this voltage value is lower than the lower limit of the reference value, and a comparison result indicating an abnormal electrical parameter is output. The specific value of the reference value can be set according to the specifications of the power chip and the design requirements of the electronic device for different power chips and application scenarios; this embodiment does not impose specific limitations on this.

[0068] Based on the comparison result, the power chip is configured to either a first mode or a second mode. The power chip can implement mode configuration internally through various hardware methods. For example, the power chip can have latch protection circuitry and non-latch protection circuitry internally, and the first or second mode configuration can be achieved by selecting and enabling different protection circuits. Alternatively, different register states can be set internally, and the power chip can enter the corresponding mode by writing different register values.

[0069] In the first mode, after a power outage, the power chip can automatically resume power-on in response to a target trigger signal. This first mode can be an automatically recoverable protection mode. When the power chip triggers a protective power-off due to a temporary anomaly (such as leakage caused by condensation), it will not remain locked but can restart the power-on process upon receiving a target trigger signal. The target trigger signal could be, for example, a power-on trigger signal generated by the user pressing the power button, or other trigger signals used to wake up the electronic device. This automatic power-on recovery process can be implemented by the power chip's internal circuitry in conjunction with an embedded controller, as will be described in more detail in subsequent embodiments.

[0070] In the second mode, the power chip is in a power-off lockout state, ceasing to supply power to certain circuits of the electronic device. The second mode can be a power-off lockout protection mode. When the power chip triggers a protective power-off due to a serious abnormality (such as a real short-circuit fault), the power chip will remain locked out of power until the external power supply is completely disconnected (such as removing the battery or disconnecting the adapter), at which point the power chip can be unlocked and resume normal operation.

[0071] This application provides a power supply control method. By acquiring the electrical parameters of the power chip output terminal and configuring the power chip to a first mode or a second mode based on the comparison result of the electrical parameters and reference values, the power chip can automatically resume power-on in response to the target trigger signal after power failure in the first mode. In the second mode, the power chip is in a power failure lockout state and stops supplying power to some circuits of the electronic device. This realizes that the power chip executes differentiated protection strategies according to different attributes of the protection trigger source. For protection triggered by temporary environmental factors such as water vapor interference, the power chip can automatically resume power-on without the user having to disassemble the device and disconnect the battery. This avoids the problem of the device being unable to start for a long time due to latching protection, and improves the starting reliability and ease of use of electronic devices in complex environments such as high temperature and high humidity.

[0072] In some embodiments of this application, obtaining the electrical parameters of the power chip output includes:

[0073] S201. Obtain the first electrical parameters of the first detection point of the power chip.

[0074] S202, Obtain the second electrical parameters of the second detection point of the power chip.

[0075] The power supply chip's output terminal is connected to an output voltage sampling terminal, which serves as the first detection point. This first detection point is typically located on the power supply chip's output voltage feedback path. For example, in practical circuit design, the first detection point can be located at the power supply chip's output pin, a voltage sampling point near the load, or a feedback pin. The first detection point is used to sample the power supply chip's output voltage.

[0076] For details, please see [link / reference] Figure 2 This illustration shows a partial schematic diagram of the power supply circuit of a power chip according to an embodiment of this application. Figure 2 In this diagram, Vout represents the output terminal of the power supply chip IC. This output terminal is grounded to GND through a voltage divider network composed of a first resistor R1 and a second resistor R2. The first detection point is set at the common node of the first resistor R1 and the second resistor R2, i.e., at the feedback pin FB of the power supply chip. The power supply chip obtains a first electrical parameter through the first detection point. The first electrical parameter is the sampled value of the power supply chip's output voltage Vout after being divided by the first resistor R1 and the second resistor R2, and its magnitude is proportional to the output voltage Vout. The first electrical parameter is used to trigger an electrical anomaly judgment. When the first electrical parameter deviates from the normal range, it indicates that there is an anomaly in the output voltage of the power supply chip.

[0077] The power chip also has a second detection point, which is connected to the common node of the first and second resistors via a third resistor, i.e., connected to the first detection point. The second detection point is connected to a constant current source inside the power chip. During normal operation, the internal constant current source flows through the third resistor, generating a stable voltage value at the second detection point; this voltage value is the second electrical parameter. The second detection point is used to identify whether electrical abnormalities are caused by moisture interference. Specifically, when moisture condenses on the first, second, or third resistor, it creates an additional leakage path between the resistors. This leakage path alters the voltage value at the second detection point, causing it to deviate from the normal operating voltage range. Therefore, by detecting whether the second electrical parameter deviates from the normal range, it can be determined whether the electrical abnormality is caused by moisture interference.

[0078] like Figure 2 As shown, the second detection point is the detection pin, which is connected to the feedback pin FB through the third resistor R3. The detection pin is also internally connected to a constant current source. During normal operation, the constant current source flows through the third resistor R3, generating a stable voltage at the detection pin. This voltage is the second electrical parameter. Figure 2 In the diagram, numbers 1 to 18 represent the pin numbers of the power chip IC, used to schematically indicate the pin sequence of the chip. The specific correspondence between the pin numbers is subject to the actual chip design.

[0079] It should be noted that in this embodiment, the first detection point and the second detection point can each correspond to two physical pins of the power supply chip. For example, the first detection point corresponds to the feedback pin of the power supply chip, and the second detection point corresponds to a newly added detection pin of the power supply chip. The first detection point and the second detection point can also adopt different physical implementation methods, which are not specifically limited in this embodiment.

[0080] The power supply control method provided in this embodiment acquires the first electrical parameters of the first detection point and the second electrical parameters of the second detection point, which are used to trigger electrical anomaly judgment and identify whether the electrical anomaly is caused by moisture interference, respectively. This allows the power chip to obtain detection information from two different dimensions, providing a basis for distinguishing between moisture interference and actual faults, and improving the accuracy of anomaly detection. Furthermore, the circuit structure of the first and second detection points is simple, requiring only the addition of a resistor and a detection pin to the existing feedback voltage divider network, making it low-cost and easy to implement.

[0081] In some embodiments of this application, after obtaining the first electrical parameter and the second electrical parameter, the process of configuring the power supply chip to a first mode or a second mode based on the comparison result of the electrical parameter and the reference value includes:

[0082] S301. Compare the first electrical parameter with the first reference value.

[0083] S302. When the deviation between the first electrical parameter and the first reference value exceeds a preset range, the second electrical parameter is compared with the second reference value.

[0084] S303. If the deviation between the second electrical parameter and the second reference value does not conform to the preset water vapor interference characteristics, configure the power chip to the second mode.

[0085] S304. If the deviation between the second electrical parameter and the second reference value conforms to the preset water vapor interference characteristics, determine whether to configure the power chip to the first mode or the second mode based on the amount of deviation between the second electrical parameter and the second reference value.

[0086] The first reference value in step S301 is a preset benchmark value used to determine whether the output voltage of the power chip is normal. When the deviation between the first electrical parameter and the first reference value does not exceed a preset range, it indicates that the output voltage of the power chip is normal, and the power chip maintains its current operating state and continues monitoring. When the deviation between the first electrical parameter and the first reference value exceeds a preset range, it indicates that the output voltage of the power chip is abnormal, triggering further detection.

[0087] When an abnormality is detected in the first electrical parameter, the second electrical parameter is compared with a second reference value. The second reference value is a pre-set benchmark value used to determine whether the second detection point is in a normal state. For example... Figure 2 As shown, under normal dry conditions, the voltage value at the second detection point is determined by the internal constant current source and the third resistor, and remains within a stable and normal range. The second electrical parameter is compared with the second reference value to determine whether the current value of the second electrical parameter deviates from its normal range.

[0088] Still with Figure 2 For example, when water vapor condenses on the surface of a circuit board, it may adhere to the first resistor R1, the second resistor R2, and the third resistor R3. Because water has a certain degree of conductivity, the water vapor will create additional leakage paths between the resistors, causing a change in the voltage at the first detection point and also causing the voltage at the second detection point to deviate from its normal value. Therefore, by comparing the second electrical parameter with the second reference value, it can be determined whether the abnormality of the first electrical parameter is related to water vapor interference.

[0089] In step S303, the preset water vapor interference feature is used to distinguish anomalies caused by water vapor interference from other types of anomalies. Anomalies caused by water vapor interference are usually manifested as slight deviations in electrical parameters, slow changes, and the ability to recover on their own after a certain period of time. In contrast, anomalies caused by actual hardware faults (such as continuous output short circuits) are usually manifested as drastic deviations in electrical parameters and rapid changes.

[0090] For example, the deviation of the second electrical parameter from the second reference value is compared with a preset water vapor characteristic threshold. If the deviation falls within the water vapor characteristic threshold range, it is determined to meet the water vapor interference characteristic. Alternatively, the rate of change of the second electrical parameter over time is monitored. If the rate of change meets a preset slow change characteristic, it is determined to meet the water vapor interference characteristic. Another approach is to sample the second electrical parameter multiple times within a preset time window. If the sampled values ​​exhibit recoverable fluctuations (i.e., tend to stabilize after fluctuations), it is determined to meet the water vapor interference characteristic.

[0091] If the deviation between the second electrical parameter and the second reference value does not conform to the preset moisture interference characteristics, it indicates that the abnormality of the first electrical parameter is not caused by moisture interference, but by a real hardware failure. For example, if the first electrical parameter experiences a sudden and significant jump, while the second electrical parameter shows no obvious change or the change does not conform to the gradual change characteristics of moisture, it is judged to be a real hardware failure. In this case, the power chip is configured to the second mode, namely the power-off lockout mode. In the second mode, the power chip is in a power-off lockout state, stopping the supply of power to some circuits of the electronic device. The power chip can only be unlocked after the external power supply is completely disconnected.

[0092] If the deviation between the second electrical parameter and the second reference value matches the preset water vapor interference characteristics, it indicates that the abnormality of the first electrical parameter is caused by water vapor interference. For example, if the first electrical parameter shows a slow drift, and the second electrical parameter also shows a corresponding slow change, and the change pattern matches the slow change characteristics of water vapor condensation and volatilization, then it is determined to be water vapor interference. In this case, the power chip is configured to either the first mode or the second mode based on the deviation between the second electrical parameter and the second reference value.

[0093] It should be noted that the specific criteria for judging water vapor interference characteristics can be set according to the actual application scenario and circuit parameters. For example, for different power chips and different circuit layouts, the specific value and preset range of the second reference value can be adjusted according to the actual test results.

[0094] The power supply control method provided in this embodiment implements a two-level judgment logic by first comparing a first electrical parameter with a first reference value, and only initiating the comparison of the second electrical parameter when the first electrical parameter is abnormal. This judgment logic can accurately distinguish between temporary anomalies caused by moisture interference and serious anomalies caused by actual hardware failures. Specifically, when the second electrical parameter does not meet the characteristics of moisture interference, it is configured to the second mode to ensure equipment safety in the event of a real fault; when the second electrical parameter meets the characteristics of moisture interference, the mode is further determined based on the deviation, avoiding misjudging moisture interference as a real fault and causing unnecessary power outages. This improves the accuracy of protection mode configuration.

[0095] Furthermore, in the embodiments of this application, the process of determining whether to configure the power chip in a first mode or a second mode based on the deviation between the second electrical parameter and the second reference value includes:

[0096] S401, Obtain the deviation between the second electrical parameter and the second reference value.

[0097] The difference between the second electrical parameter and the second reference value can be obtained through the calculation circuit inside the power chip; this difference is the deviation. The magnitude of the deviation reflects the degree to which the voltage at the second detection point deviates from its normal value. A larger deviation indicates more severe moisture interference; a smaller deviation indicates less moisture interference.

[0098] S402. Compare the deviation with the preset deviation threshold.

[0099] The preset deviation threshold is a pre-set cutoff value used to determine the severity of moisture interference. When the deviation is less than the preset deviation threshold, it indicates that the moisture interference is relatively minor; when the deviation is greater than or equal to the preset deviation threshold, it indicates that the moisture interference is relatively severe, or there may be water accumulation.

[0100] The preset deviation threshold can be set according to the actual circuit parameters and the results of the moisture interference test. For example, for an application scenario where the normal voltage at the second detection point is 1.0V, the preset deviation threshold can be set to 0.1V. When the deviation is less than 0.1V, it indicates that the moisture interference is slight; when the deviation is greater than or equal to 0.1V, it indicates that the moisture interference is severe.

[0101] S403. In response to the comparison result indicating that the deviation is less than a preset deviation threshold, the power chip is configured to the first mode.

[0102] S404. In response to the comparison result indicating that the deviation is not less than a preset deviation threshold, the power chip is configured to the second mode.

[0103] When the deviation is less than the preset deviation threshold, it indicates that the moisture interference is relatively minor and belongs to a recoverable temporary anomaly. At this time, the configuration module configures the power chip to the first mode. In the first mode, after the power chip is powered off, it can automatically resume power-on in response to the target trigger signal. That is to say, after a minor moisture interference causes the power chip to trigger protection, the power chip will not lock, but can automatically resume power-on when the user presses the power button.

[0104] In the first mode, the automatic power-on process of the power chip can be synchronized with the physical dehumidification process. Specifically, when the power chip re-energizes in response to the target trigger signal, its output supplies power to the load circuit. The current flowing through the conductive lines on the circuit board generates heat, which helps dissipate trace amounts of moisture adhering to the circuit board surface and around the electronic components. As the moisture dissipates, the second electrical parameter at the second detection point gradually returns to its normal range, meaning the detection impedance returns to normal. The embedded controller continuously monitors the status signal after each reset attempt. When the status signal is normal, it indicates that the power chip's output voltage has returned to normal, and the power chip powers on normally. If the moisture is not completely dissipated during the power-on process after a reset, the power chip may trigger protection again. In this case, the embedded controller performs another reset operation and continues dehumidification through the heat generated by the supply current during the re-power-on process until the status signal is normal and the power chip powers on normally. This process can be repeated multiple times until the moisture is completely dissipated and the power chip resumes normal output.

[0105] When the deviation is greater than or equal to the preset deviation threshold, it indicates that the moisture interference is severe (e.g., there is a large amount of moisture or water film), or that the abnormal electrical parameters may be caused by other reasons. In this case, the configuration module configures the power chip to the second mode. In the second mode, the power chip is in a power-off locked state, stopping power supply to some circuits of the electronic device. The power chip can only be unlocked after the external power supply is completely disconnected.

[0106] In this embodiment, the preset deviation threshold is used to classify the severity of water vapor interference. In practical applications, high-temperature and high-humidity storage tests can be conducted on electronic devices to obtain second electrical parameter data under different water vapor condensation levels, and the specific value of the preset deviation threshold can be set based on the test results. Different electronic devices or different power chip designs may correspond to different preset deviation thresholds, and this embodiment does not specifically limit this.

[0107] In this embodiment, by obtaining the deviation between the second electrical parameter and the second reference value, and comparing this deviation with a preset deviation threshold, a first mode or a second mode is configured based on the comparison result, thus achieving a graded judgment of the severity of moisture interference. When the moisture level is slight, the first mode is configured, and the power chip can automatically restore power, avoiding the device's inability to start due to slight moisture interference. When the moisture level is severe, the second mode is configured, and the power chip is powered off and locked, ensuring the safety of the device under severe moisture or water accumulation conditions. This graded protection strategy enables the power chip to implement differentiated protection measures according to the actual severity of moisture interference, ensuring device reliability while minimizing the possibility of device failure to start due to temporary environmental factors.

[0108] Once the power chip is configured to the first mode, it can automatically resume power-on in response to the target trigger signal after a power outage in the first mode. This process is mainly implemented through the embedded controller (EC) in the electronic device. The embedded controller is a microcontroller in the electronic device that is independent of the main processor and is used to manage the device's power timing, button response, temperature monitoring and other low-level functions.

[0109] It should be noted that the embedded controller's power supply is independent of the power chip in this embodiment. That is, the embedded controller is directly powered by another standby power supply or battery in the electronic device, and this power source belongs to a different power rail than the power chip being monitored. Even if the power chip in this embodiment stops outputting due to protection triggering, the embedded controller can still maintain normal operation.

[0110] The implementation method for automatically restoring power to the power chip in the first mode may include the following steps:

[0111] S501 detects the status signal of the power chip through an embedded controller.

[0112] Status signals are used to indicate whether the output voltage of the power supply chip is normal. For example, the power supply chip has a status signal output pin, which is used to output a status signal. The status signal can be a Power Good Signal (Pgood). When the power supply chip's output voltage is normal, the status signal is at an active level (e.g., high level), indicating that the power supply chip's output voltage has stabilized within the normal range and the system can be safely started. When the power supply chip's output voltage is abnormal or not ready, the status signal is at an inactive level (e.g., low level), indicating that the power supply chip's output voltage has not reached the normal value.

[0113] The embedded controller's status detection pin is connected to the status signal output pin of the power supply chip. The embedded controller uses this connection to monitor the level of the status signal in real time.

[0114] S502. If no transfer signal is received within a preset time, the embedded controller resets the enable pin of the power chip to power it back on.

[0115] When the electronic device is in standby mode or the user presses the power button, the embedded controller will detect the status signal. If the embedded controller does not receive the status signal within a preset time (i.e., the status signal remains at an invalid level), it indicates that the output voltage of the power supply chip is abnormal and the power supply chip is not working properly.

[0116] The preset time can be set according to the actual application scenario. For example, the preset time can be from 50 milliseconds to 500 milliseconds.

[0117] At this point, the embedded controller sends a reset signal to the enable input of the power supply chip via its enable output. Specifically, the embedded controller pulls the enable pin of the power supply chip low and then high, causing the power supply chip to restart its internal power-on process. The pulse width of this reset signal can be from 5 milliseconds to 50 milliseconds, for example, 10 milliseconds.

[0118] S503, record the number of times the reset enable pin is pressed.

[0119] The embedded controller has an internal counter that records the reset count for each reset operation. The reset count is used to determine whether further resets are needed.

[0120] S504. If no status signal is received after a preset number of consecutive resets, the embedded controller stops resetting the enable pin.

[0121] The preset number of resets can be set according to the actual application scenario. Specifically, if the embedded controller still does not receive a status signal after a preset number of consecutive resets (e.g., 5 times), it indicates that the power chip malfunction cannot be recovered by the reset operation, which may be a real hardware failure. At this time, the embedded controller stops resetting the enable pin and will not continue to attempt resets.

[0122] See Figure 3Figure 3 shows an oscilloscope waveform view, used to display the timing comparison waveforms of the power chip's normal signal Pgood and the power button signal under normal long-press power-on / off conditions of an electronic device. A horizontal time axis is set at the bottom of the waveform view, with a scale range covering -800ms to 400ms. The horizontal axis scale is marked sequentially as -800ms, -600ms, -400ms, -200ms, 0s, 200ms, and 400ms. Uniformly spaced dotted lines are arranged inside the view for timing reference. Two observation channels are set on the left side of the view. Channel C2 outputs a cyan waveform, corresponding to the power chip's power-ready signal, i.e., the status signal Pgood; channel C3 outputs a red waveform, corresponding to the power button signal.

[0123] The Pgood waveform of channel C2 remains at a constant high level throughout, without any level drops or jumps, indicating that the power chip's output voltage is always stable and normal, and the embedded controller EC can continuously acquire valid status signals. The powerbutton waveform of channel C3 normally remains high, then jumps to a low level at t=-557.826ms corresponding to cursor A, simulating a button press; it then rises back to a high level at t=-158.741ms corresponding to cursor B, simulating a button release. The time difference between the two cursor positions, Δt=399.085ms, represents the duration of the button press, with an equivalent frequency of 1 / Δt=2.51Hz.

[0124] When the power button is pressed, the embedded controller EC continuously monitors the Pgood signal corresponding to the power chip. If no valid Pgood signal is received within a preset time, it is determined that the power chip has an output abnormality, and the EC will reset the enable pin En of the power chip to control the power chip to power on again. If no valid Pgood signal is detected after 5 consecutive reset retries, the EC will stop the reset operation.

[0125] In the embodiments of this application, the power chip can configure different protection modes according to the comparison results of electrical parameters, and can also switch different power supply modules to supply power to some circuits of electronic devices according to the magnitude of the load current.

[0126] In one application scenario of this application, when an electronic device is placed in a humid environment, a small amount of condensation accumulates between the pins of the components on its standby power rail. This condensation creates abnormal impedance between adjacent lines. At this time, the user presses the power button to attempt to turn on the device.

[0127] When the user presses the power button, the embedded controller EC detects the level change on the power button pin and recognizes the user's intention to power on. The embedded controller EC wakes up from low-power standby mode and prepares to execute the system power-on sequence. The embedded controller EC outputs a high-level enable signal to the power chip via the enable output pin, instructing the power chip to start working.

[0128] The moment the power supply IC receives the enable signal and begins outputting voltage, a trace amount of moisture in the corresponding circuit on the motherboard creates abnormal impedance between adjacent lines, causing the electrical parameters at the power supply chip's output to deviate from the normal range. Since this abnormal impedance matches the preset moisture interference characteristics, the configuration module inside the power supply chip determines this state as an anomaly caused by moisture interference. It then configures the power supply chip to its first mode (non-latch protection mode), shuts off the voltage output, and simultaneously forces its status signal output pin low, i.e., the Pgood signal becomes low.

[0129] At this time, because the electronic device cannot obtain normal standby power, the system cannot continue to load other hardware. The electronic device will exhibit a lack of response upon power-on, such as indicator lights not illuminating or the screen not displaying anything. The embedded controller EC continuously monitors the status signal of the power chip (e.g., the Pgood signal). If the Pgood signal remains low for a preset time, the embedded controller EC determines that the standby power-on has failed and performs a reset operation.

[0130] The embedded controller's EC resets the power chip's enable pin, controlling the chip to power on again. During each reset and power-on process, the power chip's output supplies power to the load circuit. The current flowing through the conductive lines on the circuit board generates localized micro-heat. With each power-on attempt, this localized micro-heat gradually evaporates and dries the trace amounts of moisture in the pin gaps, gradually restoring the impedance to normal. If the moisture is not completely dissipated during a subsequent power-on process, the power chip may trigger protection again, causing the embedded controller to execute the reset operation once more. During the next power-on, it continues to dehumidify through the micro-heat generated by the supply current. This process can be repeated multiple times until the moisture is completely dissipated and the impedance returns to normal.

[0131] The embedded controller records the number of times the reset enable pin is pressed. When the Pgood signal goes high, it indicates that the power chip's output voltage has returned to normal. The embedded controller then allows the system power sequence to continue executing, sequentially activating the power supplies for memory, CPU core, and other components. Indicator lights on electronic devices illuminate, the screen lights up, and the system successfully boots into the operating system.

[0132] For users, the device only experienced a slight delay of a few hundred milliseconds after pressing the power button, which was perceived as a brief pause, before starting normally, successfully resolving the problem of not being able to power on due to water vapor condensation.

[0133] If the status signal remains low after the embedded controller has been reset a preset number of times (e.g., 5 times), it indicates severe moisture interference or a genuine hardware fault, and the embedded controller will stop resetting the enable pin. At this point, the user will observe that the device cannot be powered on and needs to be sent to after-sales service for further inspection.

[0134] In this application scenario, this application addresses non-permanent transient anomalies such as water vapor condensation. The system does not require users to manually insert or remove the battery or send it for repair. Instead, it autonomously completes the detection, reset, and self-healing process by using power-on micro-heating to drive away moisture within a very short time after detecting no response when powered on. This improves the power-on success rate and startup reliability of electronic devices in humid environments with large temperature differences.

[0135] In the embodiments of this application, the power chip can configure different protection modes based on the comparison results of electrical parameters, and can also switch different power supply modules to supply power to parts of the electronic device's circuitry based on the magnitude of the load current. The corresponding processing may include:

[0136] S601, detect the load current of the power supply chip.

[0137] The power supply chip may contain a current detection module connected in series in the output path of the power supply chip to detect the current output by the power supply chip to the load. Load current refers to the current supplied by the power supply chip's output to circuits in electronic devices that require continuous power.

[0138] The load current varies depending on the operating state of the electronic device. For example, when the electronic device is in S5 power-off storage mode, only some circuits (such as the real-time clock circuit and the power button detection circuit) need to be powered, and the load current is extremely small, typically in the microamp to milliamp range. When the electronic device is in standby or normal operating mode, more circuits need to be powered, and the load current is larger.

[0139] S602. If the load current is less than the preset current threshold, control the first power supply module of the power supply chip to supply power to part of the circuit of the electronic device.

[0140] The power chip internally includes a first power supply module and a second power supply module. The first power supply module has low quiescent power consumption under low load current conditions, making it suitable for scenarios with small load current. The first power supply module can be a low dropout regulator (LDO). The LDO module consumes very little power under low load current conditions and can maintain a stable output voltage without exposed feedback pins, thus it is less susceptible to interference from water vapor condensation in high temperature and high humidity environments.

[0141] When the current detection module detects that the load current is less than a preset current threshold, the power supply switching module couples the output of the first power supply module (i.e., the LDO module) to the output of the power chip, allowing the first power supply module to supply power to a portion of the electronic device's circuitry. The preset current threshold can be set according to the actual application scenario. For example, the preset current threshold can be set to 1mA. When the load current is less than 1mA, the first power supply module provides power. The static power consumption of the first power supply module is less than that of the second power supply module under low load current conditions; therefore, using the first power supply module in low-load scenarios helps reduce the overall power consumption of the power chip.

[0142] S603. If the load current is not less than the preset current threshold, control the second power supply module of the power supply chip to supply power to part of the circuit of the electronic device.

[0143] The second power supply module exhibits high conversion efficiency under high load current conditions, making it suitable for scenarios with large load currents. This second power supply module can be a DC-DC converter (DCDC). DCDC modules offer high energy conversion efficiency under high load current conditions, meeting the demands of high current output.

[0144] When the current detection module detects a load current greater than or equal to a preset current threshold, the power supply switching module couples the output of the second power supply module (i.e., the DC-DC module) to the output of the power chip, allowing the second power supply module to supply power to a portion of the electronic device's circuitry. For example, when the load current is greater than or equal to 1mA, the second power supply module provides power. The second power supply module has a higher conversion efficiency than the first power supply module under high load current conditions; therefore, using the second power supply module in high-load scenarios is beneficial for improving the power chip's energy conversion efficiency.

[0145] See Figure 4 This is a schematic diagram of the power supply module switching of a power chip provided in an embodiment of this application. Figure 4In this configuration, the current sensing module is connected in series in the output path of the power supply chip to detect the load current. The LDO module and the DC-DC module are two power supply modules within the power supply chip. The power switching module is connected to the current sensing module, the LDO module, and the DC-DC module respectively, and is used to select whether to couple the output of the LDO module or the output of the DC-DC module to the load based on the detection result of the current sensing module. Figure 4 The connection relationship between the modules is illustrative. The current detection module, LDO module, DC-DC module and power supply switching module are all integrated inside the same power chip.

[0146] like Figure 4 As shown, the current detection module monitors the output current of the power supply chip in real time. When the load current is less than a preset current threshold (e.g., 1mA), the power supply switching module couples the LDO module (first power supply module) to the load, supplying power to a portion of the electronic device's circuitry. When the load current is greater than or equal to the preset current threshold, the power supply switching module couples the DC-DC module (second power supply module) to the load, supplying power to a portion of the electronic device's circuitry. Through this switching mechanism, the power supply chip can select the most suitable power supply module under different load conditions.

[0147] The following explanation uses an electronic device in S5 power-off storage mode as an example. In this state, some circuits of the electronic device (such as the real-time clock circuit and the power button detection circuit) need to maintain power supply, and the load current is usually less than a preset current threshold (e.g., less than 1mA). At this time, the power switching module couples the LDO module to the load, and the LDO module supplies power to these circuits that need to be constantly powered. Since the LDO module does not require exposed feedback pins to maintain a stable output voltage, it is not easily affected by water vapor condensation in high temperature and high humidity environments, ensuring a stable output of the standby power supply. When the electronic device is in standby or normal operation mode, the load current increases, usually greater than or equal to the preset current threshold (e.g., greater than or equal to 1mA). At this time, the power switching module couples the DC-DC module to the load, and the DC-DC module supplies power to the load. The DC-DC module has high conversion efficiency under high load current conditions, which can reduce energy loss.

[0148] Through the above switching mechanism, the power chip can use the LDO module in low-load scenarios to ensure resistance to water vapor interference and low static power consumption, and use the DCDC module in high-load scenarios to ensure high conversion efficiency, thereby achieving optimized configuration of power consumption and anti-interference performance under different load conditions.

[0149] This embodiment detects the load current of the power chip and supplies power via a first power supply module when the load current is less than a preset current threshold, and via a second power supply module when the load current is not less than the preset current threshold. This allows the power chip to select the appropriate power supply module based on the actual load conditions. The first power supply module has low static power consumption under low load current conditions, making it suitable for standby scenarios; the second power supply module has high conversion efficiency under high load current conditions, making it suitable for high current output scenarios. This avoids both the problem of excessive static power consumption caused by using the second power supply module under low load scenarios and the problem of excessively low conversion efficiency caused by using the first power supply module under high load scenarios, thus achieving power consumption optimization under different load conditions.

[0150] See Figure 5 In another embodiment of this application, an electronic device is also provided, which includes a power chip 50 configured to maintain a portion of the electronic device’s circuitry in a constantly powered state.

[0151] The power chip 50 includes a detection terminal 501, a comparison module 502, and a configuration module 503.

[0152] The detection terminal 501 is used to acquire the electrical parameters of the power chip output terminal; the comparison module 502 is connected to the detection terminal 501 and is used to compare the electrical parameters with the reference value and output the comparison result; the configuration module 503 is connected to the comparison module 502 and is used to configure the power chip to a first mode or a second mode according to the comparison result; in the first mode, after the power chip is powered off, it can automatically resume power-on in response to the target trigger signal; in the second mode, the power chip is in a power-off locked state and stops supplying power to some circuits of the electronic device.

[0153] In one embodiment, the detection end includes:

[0154] The first detection pin is used to obtain the first electrical parameters of the first detection point of the power chip.

[0155] The second detection pin is used to obtain the second electrical parameters of the second detection point of the power chip.

[0156] The first electrical parameter is used to trigger an electrical anomaly detection, and the second electrical parameter is used to identify whether the electrical anomaly is caused by moisture interference.

[0157] In one embodiment, the power chip further includes:

[0158] A current detection module is used to detect the load current of the power supply chip;

[0159] First power supply module and second power supply module;

[0160] When the load current is less than a preset current threshold, the first power supply module supplies power to a portion of the circuitry of the electronic device.

[0161] When the load current is not less than the preset current threshold, the second power supply module supplies power to a portion of the circuitry of the electronic device.

[0162] The first power supply module has a lower static power consumption under low load current conditions than the second power supply module, while the second power supply module has a higher conversion efficiency under high load current conditions than the first power supply module.

[0163] In one embodiment, the electronic device further includes:

[0164] An embedded controller is connected to the power chip, and the power supply of the embedded controller is independent of the power chip;

[0165] The embedded controller is used to detect the status signal of the power chip. If the status signal is not received within a preset time, the enable terminal of the power chip is reset so that the power chip is powered on again. The status signal is used to indicate whether the output voltage of the power chip is normal.

[0166] It should be noted that the specific implementation of the power chip in this embodiment can be found in the corresponding content above, and will not be described in detail here.

[0167] The various embodiments in this specification are described in a progressive manner, with each embodiment focusing on its differences from other embodiments. Similar or identical parts between embodiments can be referred to interchangeably. For the apparatus disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple; relevant parts can be referred to the method section.

[0168] Those skilled in the art will further recognize that the units and algorithm steps of the various examples described in conjunction with the embodiments disclosed herein can be implemented in electronic hardware, computer software, or a combination of both. To clearly illustrate the interchangeability of hardware and software, the components and steps of the various examples have been generally described in terms of functionality in the foregoing description. Whether these functions are implemented in hardware or software depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to implement the described functions for each specific application, but such implementation should not be considered beyond the scope of this application.

[0169] The steps of the methods or algorithms described in conjunction with the embodiments disclosed herein can be implemented directly by hardware, a software module executed by a processor, or a combination of both. The software module can be located in random access memory (RAM), main memory, read-only memory (ROM), electrically programmable ROM, electrically erasable programmable ROM, registers, hard disk, removable disk, CD-ROM, or any other form of storage medium known in the art.

[0170] The above description of the disclosed embodiments enables those skilled in the art to make or use this application. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of this application. Therefore, this application is not to be limited to the embodiments shown herein, but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A power supply control method, comprising: Obtain the electrical parameters of the output terminal of the power chip, which is configured to maintain a portion of the electronic device in a constantly powered state; Based on the comparison results between the electrical parameters and the reference values, the power chip is configured to either a first mode or a second mode; In the first mode, after the power chip is powered off, it can automatically resume power-on in response to the target trigger signal; in the second mode, the power chip is in a power-off locked state and stops supplying power to some circuits of the electronic device.

2. The method according to claim 1, wherein obtaining the electrical parameters of the power chip output terminal includes: Obtain the first electrical parameters of the first detection point of the power chip; Obtain the second electrical parameters of the second detection point of the power chip; The first electrical parameter is used to trigger an electrical anomaly detection, and the second electrical parameter is used to identify whether the electrical anomaly is caused by moisture interference.

3. The method according to claim 2, wherein configuring the power chip to a first mode or a second mode based on the comparison result of the electrical parameters and the reference value includes: Compare the first electrical parameter with the first reference value; When the deviation between the first electrical parameter and the first reference value exceeds a preset range, the second electrical parameter is compared with the second reference value; If the deviation between the second electrical parameter and the second reference value does not conform to the preset water vapor interference characteristics, the power chip will be configured to the second mode; If the deviation between the second electrical parameter and the second reference value conforms to the preset water vapor interference characteristics, the power chip is configured to either the first mode or the second mode based on the amount of deviation between the second electrical parameter and the second reference value.

4. The method according to claim 3, wherein determining whether to configure the power chip to the first mode or the second mode based on the deviation between the second electrical parameter and the second reference value comprises: Obtain the deviation between the second electrical parameter and the second reference value; The deviation is compared with a preset deviation threshold. In response to the comparison result indicating that the deviation is less than the preset deviation threshold, the power chip is configured to the first mode; In response to the comparison result indicating that the deviation is not less than the preset deviation threshold, the power chip is configured to the second mode.

5. The method according to claim 1, wherein in the first mode, after the power chip is powered off, it is able to automatically restore power in response to a target trigger signal, comprising: The status signal of the power chip is detected by an embedded controller, wherein the power supply of the embedded controller is independent of the power chip, and the status signal is used to indicate whether the output voltage of the power chip is normal. If the status signal is not received within a preset time, the embedded controller resets the enable pin of the power chip to power it back on. Record the number of times the enable terminal is reset; If the status signal is not received after a preset number of consecutive resets, the embedded controller stops resetting the enable terminal.

6. The method according to claim 1, further comprising: Detect the load current of the power chip; If the load current is less than a preset current threshold, the first power supply module of the power chip is controlled to supply power to a portion of the circuitry of the electronic device. If the load current is not less than the preset current threshold, control the second power supply module of the power chip to supply power to a part of the circuit of the electronic device; The first power supply module has a lower static power consumption under low load current conditions than the second power supply module, while the second power supply module has a higher conversion efficiency under high load current conditions than the first power supply module.

7. An electronic device, comprising: A power chip is configured to keep a portion of the electronic device constantly powered. The power chip includes a detection terminal, a comparison module, and a configuration module; The detection terminal is used to acquire the electrical parameters of the output terminal of the power chip. The comparison module is connected to the detection end and is used to compare the electrical parameters with reference values ​​and output the comparison results. The configuration module is connected to the comparison module and is used to configure the power chip to a first mode or a second mode according to the comparison result. In the first mode, after the power chip is powered off, it can automatically resume power-on in response to the target trigger signal; in the second mode, the power chip is in a power-off locked state and stops supplying power to some circuits of the electronic device.

8. The electronic device according to claim 7, wherein the detection end comprises: The first detection pin is used to obtain the first electrical parameters of the first detection point of the power chip. The second detection pin is used to obtain the second electrical parameters of the second detection point of the power chip. The first electrical parameter is used to trigger an electrical anomaly detection, and the second electrical parameter is used to identify whether the electrical anomaly is caused by moisture interference.

9. The electronic device according to claim 7, wherein the power chip further comprises: A current detection module is used to detect the load current of the power supply chip; First power supply module and second power supply module; When the load current is less than a preset current threshold, the first power supply module supplies power to a portion of the circuitry of the electronic device. When the load current is not less than the preset current threshold, the second power supply module supplies power to a portion of the circuitry of the electronic device. The first power supply module has a lower static power consumption under low load current conditions than the second power supply module, while the second power supply module has a higher conversion efficiency under high load current conditions than the first power supply module.

10. The electronic device according to claim 7, further comprising: An embedded controller is connected to the power chip, and the power supply of the embedded controller is independent of the power chip; The embedded controller is used to detect the status signal of the power chip. If the status signal is not received within a preset time, the enable terminal of the power chip is reset so that the power chip is powered on again. The status signal is used to indicate whether the output voltage of the power chip is normal.