Power supply management method, device and system
By using sensors to determine the power lock status and controlling the power-off and unlocking states, the problem of electrical surges during power-on and power-off processes is solved, improving the safety of power supply management and extending the lifespan of the devices.
Patent Information
- Application Number
- CN202511233025.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2025-09-01
- Publication Date
- 2025-12-30
- Estimated Expiration
- 2045-09-01
AI Technical Summary
Existing power management technologies lack effective feedback mechanisms, which makes devices prone to electrical surges during power-on and power-off processes, potentially leading to performance degradation or damage, especially since the current is small during power-on and power-off processes but feedback is difficult to obtain in a timely manner.
The power lock is controlled by a sensor to determine its locking status and to control the power-off and unlocking status. This ensures that the target device is powered off before being powered on and is unlocked when the current and voltage are less than the threshold during power-off. This achieves a unified state transition between the power lock and the target device and avoids electrical shocks.
It improves the safety of device power supply, reduces electrical surges during power-on and power-off processes, extends device lifespan, and reduces the probability of performance being affected or damaged.
Smart Images

Figure CN120749964B_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of laser technology, specifically to a power supply management method, device, and system. Background Technology
[0002] In the field of lasers, many important components, such as chips in semiconductor lasers, are highly sensitive to changes in electrical parameters, especially electrical surges. When powering such devices, it is usually necessary to control them, such as through power management integrated circuits (PMICs) to precisely regulate parameters such as power supply current and voltage. However, existing power management technologies mostly rely on preset control logic triggers for regulation, lacking effective feedback to verify in real time whether the state of the powered device (electrical device) is consistent with the preset result of the control logic. Especially during the power-on and power-off processes, the extremely short duration of power-on and power-off makes timely feedback difficult. Moreover, for such devices, although the current is relatively small during power-on and power-off, it may still cause electrical surges. The lack of real-time feedback on the device status during power management may lead to the failure of control logic execution, and in severe cases, it may lead to performance degradation or direct damage to the device. Summary of the Invention
[0003] This application provides a power supply management method, device, and system, which aims to solve the problem of electrical surges encountered in the power supply management of devices.
[0004] In a first aspect, this application provides a power supply management method, at least for managing the power supply status of a first power input target device, wherein the first power supply supplies power to the target device based on its own connection interface, and the connection interface includes at least a power lock, comprising:
[0005] In response to a target instruction, the target state of the target device is determined, wherein the target state is either a powered-on state or a powered-off state.
[0006] If the target state is powered on, the first power supply is powered off. A first signal is acquired based on the first sensor. If the power lock is determined to be in a locked state based on the first signal, the target device is powered on.
[0007] If the target state is a power-off state, a second signal is obtained based on the second sensor, and if the current and / or voltage of the target device is determined to be no greater than a first preset threshold based on the second signal, the power lock is controlled to switch to the unlocked state, thereby powering off the target device.
[0008] In one possible implementation of this application, determining the target state of the target device includes at least one of the following:
[0009] The target state is determined based on the current state of the target device, wherein the current state is either a powered-on state or a powered-off state, and the target state is different from the current state.
[0010] The target instruction includes at least a first instruction and a second instruction. If the target instruction is the first instruction, the target state is determined to be a power-on state. If the target instruction is the second instruction, the target state is determined to be a power-off state.
[0011] In one possible implementation of this application, after the first power supply is de-energized, the method further includes:
[0012] When the first sensor determines that the power lock is in the unlocked state, the power lock is switched to the locked state, thereby powering on the target device.
[0013] In one possible implementation of this application, energizing the target device includes:
[0014] The number of energizing steps corresponding to the target device is determined based on the electrical characteristics and / or electrical parameters of the target device, and the target current of the target device is determined. The electrical characteristics include at least the surge withstand value of the target device.
[0015] The target device is energized based on the energizing stage and the target current.
[0016] In one possible implementation of this application, energizing the target device based on the energizing stage and the target current includes:
[0017] The energizing duration and current threshold of each energizing stage are determined based on the number of energizing stages and the target current.
[0018] According to the order of the power-on stages, for each power-on stage, the first power supply is controlled to supply power to the target device based on the current threshold of the power-on stage during the power-on duration of that power-on stage.
[0019] After supplying power to the target device for the duration of the current-carrying step, it is detected whether the current of the target device meets the matching condition with the current threshold of the current-carrying step.
[0020] If so, then for the next power-on stage of the current-on stage, the first power source is controlled to supply power to the target device based on the current threshold of the next power-on stage during the power-on duration of the next power-on stage, until the current of the target device and the current threshold of the last power-on stage meet the matching condition.
[0021] In one possible implementation of this application, if the target state is a power-off state, after acquiring the second signal based on the second sensor, the method further includes:
[0022] If the second signal indicates that the current and / or voltage of the target device is greater than the first preset threshold, the current of the target device is controlled to decrease until the current and / or voltage of the target device is not greater than the first preset threshold.
[0023] Control the power lock to switch to the unlocked state and de-energize the target device.
[0024] In one possible implementation of this application, the step of controlling the current of the target device to decrease until the current and / or voltage of the target device is no greater than the first preset threshold if the second signal indicates that the current and / or voltage of the target device is greater than the first preset threshold includes:
[0025] The power-off level and a first preset threshold corresponding to the target device are determined based on the electrical characteristics and / or electrical parameters of the target device, wherein the electrical characteristics include at least the surge withstand value of the target device;
[0026] Based on the power-off stage number and the first preset threshold, the current of the target device is controlled to decrease until the current and / or voltage of the target device are not greater than the first preset threshold.
[0027] In one possible implementation of this application, controlling the current of the target device to decrease based on the power-off stage number and the first preset threshold until the current and / or voltage of the target device is not greater than the first preset threshold includes:
[0028] The current reduction duration and current threshold of each power outage stage are determined based on the number of power outage stages and the first preset threshold.
[0029] In accordance with the order of the power-off stages, for each power-off stage, during the current reduction duration of that power-off stage, the current supplied to the target device is reduced based on the current threshold of that power-off stage.
[0030] After reducing the current supplied to the target device until the current reduction time of the power-off stage, it is detected whether the current and / or voltage of the target device is not greater than the current threshold of the power-off stage.
[0031] If so, then for the next power outage level of the power outage level, during the current reduction duration of the next power outage level of the power outage level, the current supplied to the target device is reduced based on the current threshold of the next power outage level of the power outage level, until the current of the target device is not greater than the current threshold of the last power outage level.
[0032] Secondly, this application also provides a power supply management device, the power supply management device comprising:
[0033] First sensor;
[0034] Second sensor;
[0035] One or more processors;
[0036] The memory; and one or more applications, wherein the one or more applications are stored in the memory and configured to be executed by the processor to implement any of the power management methods described herein.
[0037] Thirdly, this application also provides a power supply management system, including:
[0038] First power source;
[0039] Power lock;
[0040] Target device;
[0041] Third device; and
[0042] The power management device as described above.
[0043] Fourthly, this application also provides a computer-readable storage medium having a computer program stored thereon, the computer program being loaded by a processor to perform the steps in any of the power management methods described herein.
[0044] The power supply management method, device, and system provided in this application are at least used to manage the power supply status of a first power input target device. The first power supply supplies power to the target device through its own connection interface, which includes at least a power lock. The method responds to a target command and determines the target state of the target device. If the target state is energized, the first power supply is de-energized. Based on a first sensor, if the power lock is locked, the target device is energized. If the target state is de-energized, based on a second sensor, if the current and / or voltage of the target device is not greater than a first preset threshold, the power lock is unlocked, causing the target device to de-energize. This application uses sensor signals to characterize the locking state of the power lock. During power supply, power de-energization and power lock locking are prerequisites for energizing the target device, and the unlocking of the power lock and the de-energization of the target device are kept consistent, avoiding electrical surges during the power-on and power-off process of the target device and improving the safety of powering the target device. Attached Figure Description
[0045] To more clearly illustrate the technical solutions in the embodiments of this application, the drawings used in the description of the embodiments will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative effort.
[0046] Figure 1 This is a schematic diagram of a scenario for the power supply management method provided in an embodiment of this application;
[0047] Figure 2 This is a schematic flowchart of an embodiment of the power supply management method provided in this application.
[0048] Figure 3 A flowchart illustrating one implementation scheme of the power supply management method provided in this application;
[0049] Figure 4 A flowchart illustrating one implementation scheme of the power supply management method provided in this application;
[0050] Figure 5 A schematic diagram of another implementation scheme of the power supply management method provided in this application;
[0051] Figure 6 A schematic flowchart of one implementation scheme of the power supply management method provided in this application;
[0052] Figure 7 This is a schematic diagram of an embodiment of the power supply management device provided in this application.
[0053] Figure 8 This is a schematic diagram of an embodiment of the power supply management device provided in this application. Detailed Implementation
[0054] 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 the present invention, and not all embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of the present invention.
[0055] In the description of this invention, it should be understood that the terms "center," "longitudinal," "lateral," "length," "width," "thickness," "upper," "lower," "front," "rear," "left," "right," "vertical," "horizontal," "top," "bottom," "inner," and "outer," etc., indicating orientation or positional relationships based on the orientation or positional relationships shown in the accompanying drawings, are only for the convenience of describing the invention and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, or be constructed and operated in a specific orientation, and therefore should not be construed as a limitation of the invention. Furthermore, the terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of indicated technical features. Thus, features defined with "first" and "second" may explicitly or implicitly include one or more of the stated features. In the description of this invention, "a plurality of" means two or more, unless otherwise explicitly specified.
[0056] In this embodiment, "and / or" describes the relationship between associated objects, indicating that three relationships can exist. For example, A and / or B can represent three cases: A alone, A and B simultaneously, and B alone. Additionally, the character " / ", unless otherwise specified, generally indicates that the preceding and following associated objects have an "or" relationship.
[0057] In this application, the term "exemplary" is used to mean "serving as an example, illustration, or description." Any embodiment described as "exemplary" in this application is not necessarily to be construed as being more preferred or advantageous than other embodiments. The following description is provided to enable any person skilled in the art to make and use the invention. Details are set forth in the following description for purposes of explanation. It should be understood that those skilled in the art will recognize that the invention can be made without using these specific details. In other instances, well-known structures and processes will not be described in detail to avoid obscuring the description of the invention with unnecessary detail. Therefore, the invention is not intended to be limited to the embodiments shown, but is consistent with the broadest scope of the principles and features disclosed in this application.
[0058] This application provides a power management method, apparatus, device, and computer-readable storage medium, which will be described in detail below.
[0059] The power supply management method in this embodiment of the invention is applied to a power supply management device, which manages the power parameters and supply status of the first power input target device. The first power supply can power various electronic components, including one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other components. The first power supply supplies power to the target device through its own connection interface, and a power lock is provided outside this connection interface. The target device is the device that requires power (the device that receives power from the first power supply), such as a chip in a semiconductor laser. For ease of description, it will be referred to as the target device below. During the process of supplying power to the target device based on the power supply management device, the power supply management device can regulate parameters such as the supply current and voltage to ensure the normal operation of the target device.
[0060] In this application, the integration relationship between the power supply management device used to perform the power supply management method described in this application, the first power supply, and the target device can include the following, which are not limited herein:
[0061] (1) The power management equipment is integrated into the target device, such as a chip that integrates a PMIC or a power management unit (PMU), and the target device is independent of the first power supply;
[0062] (2) The first power supply is integrated in the target device and is independent of the power management equipment.
[0063] (3) The three are independent of each other.
[0064] In this application, the first power supply itself has a connection interface for supplying power to the target device. The first power supply can be directly connected to the target device through this interface. In this case, the power management device can control the maintenance and disconnection of the connection between the first power supply and the target device through a switch or other means. Alternatively, the first power supply can be indirectly connected to the target device through the power management device via the aforementioned interface. That is, the first power supply is sequentially electrically connected to the power management device and the target device based on the aforementioned interface. The power management device disconnects its connection with the first power supply, or disconnects its connection with the target device to disconnect the power supply from the first power supply to the target device. The power management device maintains its connection with both the first power supply and the target device to maintain the power supply from the first power supply to the target device. During the power-on process of the target device, the power lock is usually in a locked state to ensure a stable connection between the first power supply and the target device or the power management device, and to avoid accidental plugging and unplugging.
[0065] In one possible embodiment of this application, the line connecting the first power source and the power management device is referred to as a hardwired line. The power management device is provided with one or more processors, a memory, and one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the power management method; the power management device can be a terminal with computing capabilities, such as a mobile phone, computer, or host computer, and the power management device can also be a server or a service cluster composed of multiple servers.
[0066] like Figure 1 As shown, Figure 1 This is a schematic diagram of a power management method according to one embodiment of the present application. In this scenario, the power management device and the target device are independent of each other. The power management scenario in this embodiment includes a power management device 100, and the power management device 100 runs a computer-readable storage medium corresponding to the power management method to execute the steps of the power management method.
[0067] Understandable Figure 1 The power management equipment in the scenario of the power management method shown, or the devices included in the power management equipment, do not constitute a limitation on the embodiments of the present invention. That is, the number or type of equipment included in the scenario of the power management method, or the number or type of devices included in each equipment, do not affect the overall implementation of the technical solution in the embodiments of the present invention, and can all be considered as equivalent substitutions or derivatives of the technical solutions claimed in the embodiments of the present invention.
[0068] See Figure 1 In this application scenario, the target device 200 is also included. The target device 200 can be a chip or other electronic components that are sensitive to electrical parameters, such as laser diodes, high-voltage capacitors, and precision resistor networks. This application does not impose specific restrictions.
[0069] Specifically, the target device 200 can be a temperature control chip. The temperature control chip is a critical component for high-power solid-state lasers, maintaining a constant temperature for the laser crystal by controlling the operation of the cooler. Its temperature control accuracy and response speed directly affect the wavelength stability and output power stability of the laser. During the power-on and power-off process of the laser, instantaneous voltage drops, current surges, and other changes in electrical parameters may cause malfunctions in the feedback regulation circuit of the temperature control chip, leading to abnormal cooler operation, significant fluctuations in laser crystal temperature, and consequently, laser output wavelength drift and power attenuation. If the changes in electrical parameters exceed the tolerance range of the temperature control chip, it may also damage the internal logic circuitry of the chip, causing complete failure of the cooling system, and the laser crystal to explode due to overheating, rendering the high-power solid-state laser completely unusable.
[0070] See Figure 1In this application scenario, a first power supply 300 is also included, wherein the first power supply 300 is at least used to supply power to the target device 200.
[0071] In this embodiment of the invention, the power management device 100 is mainly used to: respond to a target command and determine the target state of the power management device, wherein the target state is a power-on state or a power-off state; if the target state is a power-on state, acquire a first signal based on a first sensor, and if the first signal indicates that the power lock is in a locked state, then power on the target device; if the target state is a power-off state, acquire a second signal based on a second sensor, and if the second signal indicates that the current and / or voltage at the first power source is not greater than a first preset threshold, control the power lock to switch to an unlocked state, and then power off the target device.
[0072] In this embodiment of the invention, the power management device 100 can be an independent power management device, or a network or cluster of power management devices. For example, the power management device 100 described in this embodiment includes, but is not limited to, a computer, a network host, a single network power management device, a set of multiple network power management devices, or a cloud power management device composed of multiple power management devices. The cloud power management device consists of a large number of computers or network power management devices based on cloud computing. Alternatively, the power management device can be a control circuit board, etc.
[0073] Those skilled in the art will understand that Figure 1 The application environment shown is merely one application scenario of the solution in this application and does not constitute a limitation on the application scenario of the solution in this application. Other application environments may include those that are more specific to this application. Figure 1 The diagram shows more power management devices 100, target devices 200, and first power supplies 300, or more network connections between power management devices 100, target devices 200, and first power supplies 300, for example... Figure 1 Only one power management device 100, one target device 200, and one first power supply 300 are shown in the diagram. It is understood that the scenario of this power management method may also include one or more other power management devices 100, multiple other target devices 200, and multiple other first power supplies 300, which are not specifically limited here. The power management device 100 may also include a memory for storing data, such as storing the state of the power management device.
[0074] Furthermore, in the power supply management method scenario of this application, the power supply management device 100 may be equipped with a display device, or the power supply management device 100 may not have a display device but may communicate with an external display device. The display device is used to output feedback or results during the execution of the power supply management method in the power supply management device. The power supply management device 100 can access a background database (the background database may be located in the local storage of the power supply management device or it may be located in the cloud), and the background database stores power supply management-related information.
[0075] In addition, the power management device 100 may also be equipped with a control board, or connected to an external control board, for the purpose of moving the power lock.
[0076] It should be noted that, Figure 1 The schematic diagram of the power supply management method shown is merely an example. The scenarios of the power supply management method described in the embodiments of the present invention are intended to more clearly illustrate the technical solutions of the embodiments of the present invention and do not constitute a limitation on the technical solutions provided in the embodiments of the present invention.
[0077] Based on the above-mentioned power supply management method scenario, an embodiment of the power supply management method is proposed. In this embodiment, the power supply management method is applied to a power supply management system, which includes a power lock, a first power supply, a target device, and a third device for detecting the power-on status of the first power supply.
[0078] like Figure 2 The diagram shown is a flowchart of an embodiment of the power supply management method in this application. The power supply management method includes steps S201 to S203:
[0079] S201. Responding to the target instruction, the target state of the target device is determined, wherein the target state is either a powered-on state or a powered-off state.
[0080] The target instruction can be a manually triggered instruction, i.e., a command from the user of the power management device. The user can trigger the target instruction by pressing a button, through voice control, or via keyboard / mouse, etc. This application does not specifically limit the method of triggering the target instruction. The target instruction can also be set to trigger automatically at preset intervals. For example, if it is determined based on actual needs that the target device needs to be powered on at 8:00 AM every weekday and powered off at 6:00 PM on the same day, then the target instruction can be set to trigger once at 8:00 AM and again at 6:00 PM every weekday. This application does not limit the triggering method, triggering time, or triggering conditions of the target instruction. The target instruction can be a command that changes the current state of the target device (there are two types: powered on and powered off) to a different state; it can also be a command that changes the target device to a specified state, i.e., regardless of the current state of the target device, the target instruction represents a command to switch the target device to a powered-on state, or a command that represents a command to switch the target device to a powered-off state. This application does not specifically limit this.
[0081] Specifically, the target state of the aforementioned target device can be determined based on either of the following two methods: The first method is to determine the target state based on the current state of the target device. Since the target device only has two states—power-on and power-off—and the target state differs from its current state in this method, it is first necessary to determine whether the current state is power-on or power-off, and then the target state can be determined to be a different state. The second method is to determine the target state based on a target instruction. In this method, the target instruction includes a first instruction and a second instruction. The first instruction represents a command to switch the target device's state to power-on, and the second instruction represents a command to switch the target device's state to power-off. If the target instruction is the first instruction, the target state is determined to be power-on; if the target instruction is the second instruction, the target state is determined to be power-off.
[0082] Furthermore, in the second method for determining the target state of the target device described above, if the target state determined based on the target instruction is the same as the current state of the target device, no further action needs to be taken to avoid interfering with the current normal operation of the target device.
[0083] In one possible embodiment of the above method for determining the target device, the current and / or voltage of the target device can be measured to determine the current state of the target device. Alternatively, other methods can be used, such as if the target device includes an indicator light, a flashing / constantly lit indicator light can be considered as the target device being powered on, and a constantly dim indicator light can be considered as the target device being powered off. Alternatively, a signal can be sent to the target device, and the current state of the target device can be determined based on whether a feedback signal is received. In summary, this application does not limit the specific method for determining the current state of the target device, as long as it can determine whether the target device is currently powered on or powered off.
[0084] If the target state is determined to be powered on, then execute S202; if the target state is powered off, then execute S203.
[0085] S202. Control the first power supply to turn off, acquire the first signal based on the first sensor, and determine that the power lock is in a locked state based on the first signal, then power on the target device.
[0086] Considering the potential for a "pseudo-power-off" issue due to a high voltage on the hardwire connecting the first power supply and the target device, it is necessary to ensure the first power supply is de-energized (i.e., the hardwire is de-energized) before powering on the target device. Specifically, before de-energizing the first power supply, a first voltage from the first power supply can be received from a third device; it is then determined whether the first voltage is not greater than a second preset threshold. The third device can be a voltage sensor installed near the first power supply, measuring the first and second voltage data. Alternatively, the third device can be a safety relay, which not only determines the voltage of the first power supply but also de-energizes the hardwire connecting the first power supply and the power supply manager.
[0087] Specifically, based on the data collected by the third device, the voltage of the first power supply or the hardwire connecting the first power supply to the target device is determined, i.e., the first voltage. Then, it is determined whether the first voltage is not greater than a second preset threshold. The second preset threshold can be an extremely small voltage value close to 0 (such as 0.5V). If it is not greater than the second preset threshold, it means that the first power supply or the aforementioned hardwire can be considered to be in a power-off state. At this time, it is further determined whether the power lock is in a locked state. After double verification, the target device can be powered on. Because powering on the target device in this state will not cause surge problems caused by the initial voltage of the target device not being zero before powering on, it also avoids the problem caused by "pseudo-power-off" (i.e., the target device is powered off, but the hardwire connecting the first power supply to the target device or power management equipment is not powered off, and powering on again may still cause damage to the target device or affect its performance). If the first voltage is greater than the second preset threshold, it means that the first power supply or the aforementioned hard wire cannot be considered as a power-off state. Before powering on the target device, the first power supply needs to be powered off first. Then, the second voltage of the first power supply sent by the third device is received again, and it is determined whether the second voltage is less than or equal to the second preset threshold, i.e. whether it can be considered as a power-off state. If so, it can be determined whether the power lock is in a locked state. If so, the target device can be powered on.
[0088] Among them, controlling the first power supply to power off can be done by cutting off the hard wire connection between the first power supply and the target device or power management device. That is, the first power supply itself is still in a powered state (such as normal 220V input or working based on the internal power module), but the hard wire connection (such as wires, connectors) between the output terminal of the first power supply and the target device / power management unit is cut off by mechanical or electronic switch, so that the current cannot be transmitted to the target device; or the first power supply itself can be de-energized by directly cutting off the input energy of the first power supply (such as cutting off the AC220V mains input or disconnecting the battery power supply circuit), so that the first power supply stops working internally and there is no voltage output at the output terminal.
[0089] The first sensor is designed to determine whether the power lock is locked. It can be a position sensor. The core of a power lock is to achieve locking by driving movable mechanical parts into position. Common types of power locks include electromagnetic locks, pneumatic locks, electromechanical locks, and magnetic locking locks, all relying on movable parts such as pistons and latches for locking. Position sensors, such as proximity sensors (e.g., infrared proximity sensors, ultrasonic proximity sensors, capacitive proximity sensors, or capacitive proximity sensors), can determine the locked state by detecting whether these movable parts have reached the locked position. Specifically, the proximity sensor can also be placed near the connection interface of the first power source. When the movable parts of the power lock are locked, they are closer to the connection interface than when they are unlocked. Based on this, the signal from the proximity sensor can also determine whether the power lock is locked.
[0090] If the current state is a power-off state and the power lock is in a locked state, it means that the target device has been de-energized before. Therefore, if the target state is a power-on state, it is relatively safe to power on the target device under this condition. If the current state is a power-on state and the target state is also a power-on state, no operation is performed.
[0091] The power supply management method provided in this application ensures the safety of the target device at the moment of power-on, can increase the service life of the target device, and reduce the probability of performance being affected or damaged.
[0092] S203. Based on the second sensor, a second signal is obtained. When it is determined based on the second signal that the current and / or voltage of the target device is not greater than a first preset threshold, the power lock is switched to the unlocked state, thereby de-energizing the target device.
[0093] The second sensor is a current sensor and / or a voltage sensor, and the second signal is a signal characterizing the voltage or current magnitude of the input target device. The first preset threshold can be related to the operating current of the target device. For example, the first preset threshold can be a value where the target device's operating current / current is reduced by a preset ratio, such as 5% or 1% of the current current. For example, if the operating current is 5A and the reduction factor is 5%, then the first preset threshold is 0.25A. The first preset threshold can also be a fixed value close to 0; this application does not impose any particular limitation here. If the second signal indicates that the current and / or voltage of the target device is not greater than the first preset threshold, it means that the current of the target device is already very small. At this time, the change in power-off current is small, and the impact on the target device is small. In this case, if the target state is power-off, the power lock can be switched to the unlocked state to de-energize the target device. Meanwhile, since the power-off of the target device and the unlocking of the power lock are synchronized—that is, the target device must be powered off after the power lock is unlocked—when the target is powered on, the power lock can be locked based on the first signal from the first sensor to determine whether the target device has been powered off before. If the power lock is locked and the current state is powered on, no operation is performed because the target state is the same as the current state. If the power lock is locked and the current state is powered off, since the power-off state and the locked state are synchronized, it means that the power lock was previously unlocked and then locked, and the target device was powered off before. In this case, it is less likely to cause surge problems due to the initial voltage of the target device not being zero when power is applied. This application uses sensor signals to characterize the locked state of the power lock. During power supply management, the unlocking state of the power lock and the power-on / off state of the target device are comprehensively considered, and the synchronization of unlocking and power-off is maintained. This avoids the problem of voltage or current surges during power-on / off caused by the inconsistency between the two, thus improving the safety of power supply management.
[0094] In one embodiment of this application, the power lock can be linked with the connection interface of the first power supply used to supply power to the target device. That is, unlocking the power lock can disconnect the connection interface of the first power supply used to supply power (from the power management device or the target device), thereby achieving a further unification of power lock unlocking and target device power-off, so as to achieve the above-mentioned technical effect.
[0095] In another embodiment of this application, after the first power supply is de-energized as described in step S202, if the power lock is determined to be in an unlocked state based on the first sensor, the power lock can be switched to a locked state to power on the target device.
[0096] The power supply management method described in this application can not only be used to manage the power supply status of the first power input target device, but also to manage the parameters of the power input target device, such as current and voltage. In one embodiment of this application, the power supply management device described in the application is used to regulate and manage the power parameters of the input target device.
[0097] Furthermore, based on any of the above embodiments, considering that the target device may require a large current during the power-on process, directly increasing the current from the power-off state (initial voltage of 0) to the required current may also lead to surge problems. Therefore, this application also provides an embodiment that powers on the target device as described in step S202 above. This can be achieved through the following steps, such as... Figure 3 As shown:
[0098] S301: Determine the energizing level of the target device based on its electrical characteristics and / or electrical parameters, and determine the target current of the target device, wherein the electrical characteristics include at least the surge withstand value of the target device.
[0099] During the process of powering on the target device (such as chip 1), a graded current ramp-up scheme can be adopted. For example, if the target current of the chip is 5A, it can be divided into five current ramp-up stages, with each stage increasing the current by 1A and each stage lasting for 100ms. That is, the non-graded current ramp-up scheme increases the current of the target device to 5A all at once, while the graded current ramp-up scheme increases the current by 1A every 100ms, taking 500ms to reach the current of 5A. Steps S301~S302 are based on this method. Considering that different target devices have different sensitivities to electrical shocks, before ramping up the current, the corresponding number of power ramp-up stages and the target current of the target device are determined based on the electrical characteristics of the target device. For target devices with poor electrical shock tolerance, the corresponding number of power ramp-up stages can be larger to protect them from damage caused by current changes during the current ramp-up process.
[0100] The aforementioned electrical characteristics include at least the surge withstand value of the target device. The surge withstand value can be the surge current withstand value (or surge current rating) and / or the surge voltage withstand value (or surge voltage rating). These electrical characteristics may also include current rate of change withstand capability (di / dt) and voltage rate of change withstand capability (dv / dt), avalanche energy rating, and characteristics characterizing impact buffering capabilities such as thermal capacity, clamping characteristics, and parasitic parameter suppression. These electrical parameters are the fundamental electrical parameters, physical quantities used to describe the inherent electrical properties of a device. They are the "underlying data" that determines its electrical behavior and are usually determined by material composition, crystal structure, or microstructure. For example, in silicon-based devices, the crystal structure of silicon determines its bandgap and carrier mobility; similarly, the molecular packing structure inside organic semiconductors determines their low mobility. Common fundamental electrical parameters include at least bandgap, carrier mobility, conductivity, breakdown electric field, and thermal conductivity.
[0101] For different types of target devices, the type with better adaptability to instantaneous electrical surges during power-on and power-off (e.g., under the same power-on and power-off conditions, the type with fewer damaged devices in an electrical surge test has better adaptability) will have fewer current-carrying stages as described in S301. Conversely, the type with worse adaptability to instantaneous electrical surges during power-on and power-off will have more current-carrying stages as described in S301. For example, target devices with higher surge withstand values can have fewer current-carrying stages. Wide-bandgap target devices are less prone to breakdown than narrow-bandgap target devices, so their corresponding current-carrying stages can be smaller. If the target current and the time consumed per stage are the same, then target devices with fewer current-carrying stages will have a faster current ramp-up rate.
[0102] Specifically, the current-carrying level of the target device is determined based on its electrical characteristics and / or electrical parameters. This can be based on a pre-set mapping table between electrical characteristics and basic chemical parameters, which can be determined based on the aforementioned principles and / or actual experiments. For example, a target device with a surge voltage withstand value in the first range (e.g., 800~975V) can be assigned a current-carrying level of 8, while a target device with a surge voltage withstand value in the second range (e.g., <5V) can be assigned a current-carrying level of 4. The above experiments can be conducted by setting different current-carrying levels for target devices with different electrical characteristics, observing the performance of the target devices, and ultimately determining the appropriate current-carrying level.
[0103] The target current can be determined based on the factory parameters of the target device, such as the rated current / voltage and actual production requirements.
[0104] S302: The target device is energized based on the energizing stage and the target current.
[0105] Specifically, as described in step S302, the target device is energized based on the energizing stage and the target current. Figure 4 As shown, this can be achieved through the following steps:
[0106] S401: Determine the energizing duration of each energizing stage and the current threshold of each energizing stage based on the number of energizing stages and the target current.
[0107] S402: In accordance with the order of the energizing stages, for each energizing stage, control the first power supply to supply power to the target device based on the current threshold of that energizing stage during the energizing duration of that energizing stage.
[0108] S403: After supplying power to the target device for the duration of the current-carrying step, detect whether the current of the target device meets the matching condition with the current threshold of the current-carrying step.
[0109] S404: If so, then for the next power-on stage of the current-on stage, control the first power supply to supply power to the target device based on the current threshold of the next power-on stage during the power-on duration of the next power-on stage, until the current of the target device and the current threshold of the last power-on stage meet the matching condition.
[0110] If not, then repeat steps S402 to S403 until the conditions for executing step S404 are met. The conditions for executing step S404 are that the current of the target device and the current threshold of the current-carrying stage meet the matching conditions.
[0111] Based on the electrical characteristics of the target device, determine its corresponding number of energizing stages. Once the target current is determined, the energizing duration and current threshold of each stage can be determined based on the number of energizing stages and the target current. The energizing duration and current threshold of each stage can be the same. For example, if the target current is 5A and there are 5 energizing stages, then the current threshold of each stage is 1A, and the energizing duration of each stage is 100ms. It should be noted that the energizing duration of different energizing stages corresponding to the same target device can be different. Similarly, even if the current thresholds of different energizing stages corresponding to the same target device are the same, the energizing durations of different energizing stages corresponding to the same target device can still be different.
[0112] For ease of description, the power-on stages are ordered from the first stage (where the target device's initial current or initial voltage is 0) to the last stage (where the target device's current rises to the target current after the power-on time of this stage ends). For example, if the target device is chip 2, and chip 2 corresponds to three power-on stages with a target current of 12A, the first stage has a power-on time of 100ms and a current threshold of 2A, the second stage has a power-on time of 80ms and a current threshold of 6A, and the third stage has a power-on time of 80ms and a current threshold of 12A, then the current-boosting operation for the first stage involves increasing the current from 0 (or infinitely close to 0) to 2A within 100ms. The second stage requires increasing the current from 2A to 6A within 80ms, and the third stage requires increasing the current from 6A to 12A within 80ms, as described in steps S402-S404, following the above order. The first-level current boosting operation is executed. When 100ms have elapsed, the current of the target device is determined to be 2A. Then, the second-level (the next level after the first) current boosting operation is executed. If, after the second-level current boosting operation is completed (i.e., the duration reaches the second-level energizing time of 80ms), the current of the circuit containing the target device is determined to be 6A, then the current of the target device is considered to meet the matching condition with the current threshold of the energizing stage, and the third-level current boosting operation is executed. If, after the second-level current boosting operation is executed, the current of the target device is determined to be less than 6A, then the current of the target device is considered to not meet the matching condition with the current threshold of the energizing stage, and the current boosting operation of that level continues to be executed until the current of the target device reaches 6A (i.e., the current of the target device meets the matching condition with the current threshold of the energizing stage), and the third-level current boosting operation is executed. In practical use, when determining whether the current has been increased to the corresponding current threshold after the current-increasing operation of a certain level, the current threshold can be a range, allowing for a certain percentage of fluctuation, such as 10%. That is, if the current of the target device is between 90% and 110% of the corresponding current threshold when the energizing time of that level is reached, it can be considered that the condition for executing the next level's current-increasing operation has been met. It should be noted that if, after executing a current-increasing operation of a certain level and reaching the corresponding energizing time, the current of the target device is significantly greater than the corresponding current threshold (e.g., exceeding 110% or more of the aforementioned current threshold), it is also considered that the current of the target device does not meet the matching condition with the current threshold of that energizing level. In this case, to protect the target device, a current-deceleration scheme can be used to de-energize the target device and then re-execute steps S401 to S404.
[0113] In another embodiment, detecting whether the current of the target device meets the matching condition with the current threshold of the energized level can also be done as follows: Figure 5 As shown, an emergency power outage is initiated to protect the target device.
[0114] Specifically, such as Figure 5 The flowchart shown is one embodiment of the power supply management provided in this application. In this example, the electromechanical module is a module controlled by the power supply management device that is responsible for receiving target instructions and executing actions such as hard-wired power cut-off, causing the power lock to lock or unlock. The operator can press a button to trigger the target command. The power management device responds to the target command, and in this example, the target state is the energized state. After controlling the first power supply to be de-energized, the first voltage of the first power supply is verified to be ≤0.5V. Then, it is considered that the first power supply (or hard wire) is in the de-energized state. Then, based on the first sensor, it is determined whether the power lock is in the locked state. If so, the method described in steps S301~S302 is executed (when executing step S302, the method described in steps S401~S404 can be executed) to energize the target device. Otherwise, the power lock is controlled to lock. After confirming that the power lock is locked, the method described in steps S301~S302 is executed (when executing step S302, the method described in steps S401~S404 can be executed). Specifically, after executing step S404, it is detected whether the current of the target device meets the matching condition with the current threshold of the energized stage. In order to prevent the device from being damaged due to excessive current, as shown in 5, an emergency power cut-off can be initiated to protect the target device.
[0115] Based on the power supply management method provided in this application, the power-off of the target device and the hard wire is fully considered before power-on, avoiding surge problems caused by "pseudo-power-off". At the same time, the gradual current increase scheme reduces the electrical changes during the power-on process. It also fully considers the electrical characteristics of different target devices, such as different surge tolerance values, instead of using the default classification method. For target devices that are more sensitive to changes in electrical characteristics, there can be more classifications, so that they are better protected during the current increase process. For target devices with relatively high tolerance to changes in electrical characteristics, there can be fewer classifications, so that the current increase time is shorter and the efficiency is higher. It fully considers the performance issues during operation. In summary, the power supply management method provided in this application avoids surge problems during the power-on process and adopts different gradual current increase schemes for different target devices, thus balancing the safety and efficiency of the power-on process.
[0116] In one embodiment provided in this application, as described in step S203, if the target state is a power-off state, after acquiring the second signal based on the second sensor, the method further includes:
[0117] S501: If the second signal indicates that the current and / or voltage of the target device is greater than the first preset threshold, control the current of the target device to decrease until the current and / or voltage of the target device is not greater than the first preset threshold.
[0118] S502: Controls the power lock to switch to the unlocked state and de-energizes the target device.
[0119] The power cut here means disconnecting the target device from the first power source (or hard wire). For example, if the target device is connected in series with the power management device and the power management device is connected to the first power source through a connection interface, the power cut can refer to disconnecting the connection interface of the power management device, thus achieving the power cut of the target device.
[0120] Similarly, considering that the current change of the target device may be large during the power outage, a direct drop from the current to a smaller current or close to zero may also cause an electrical shock. Therefore, this application also provides an embodiment, as described in step S501 above: if the second signal indicates that the current and / or voltage of the target device is greater than a first preset threshold, the current of the target device is controlled to decrease until the current and / or voltage of the target device is not greater than the first preset threshold. Specifically, this can be achieved through the following method:
[0121] S601: Determine the power-off level and first preset threshold corresponding to the target device based on the electrical characteristics and / or electrical parameters of the target device, wherein the electrical characteristics include at least the surge tolerance value of the target device.
[0122] The principle for determining the number of power-off stages of the target device based on its electrical characteristics in step S601 is similar to that in step S301. It is determined based on the electrical characteristics and / or electrical parameters of the target device. A wider bandgap, one of the electrical parameters of the target device, indicates a higher ability to withstand electrical shocks, thus allowing for a smaller number of power-off stages. Conversely, a narrower bandgap allows for a larger number of power-off stages. The method for determining the first preset threshold is consistent with that in step S203.
[0123] The current reduction duration and current threshold of each power-off stage can be the same. For example, if the first preset threshold is 0.5A and there are 5 power-off stages, then the current threshold of each stage is 0.9A, and the current reduction duration of each stage is 100ms. It should be noted that the current reduction duration of different power-off stages corresponding to the same / type of target device can be different. Similarly, even if the current thresholds of different power-off stages corresponding to the same / type of target device are the same, the current reduction duration of different power-off stages corresponding to the same target device can also be different. Likewise, even if the current reduction durations of different power-off stages corresponding to the same target device are the same, the current thresholds of different power-off stages corresponding to the same target device can also be different.
[0124] For the same type or target device, the number of power-off stages and the number of power-on stages can be the same or different. If the number of power-off stages and the number of power-on stages are the same, the duration and threshold of each stage can also be different.
[0125] S602: Based on the power-off stage number and the first preset threshold, control the current of the target device to decrease until the current and / or voltage of the target device are not greater than the first preset threshold.
[0126] In the above embodiments described in this application, after the method described in step S602 is completed, step S502 is continued.
[0127] Furthermore, step S602 can be specifically achieved through methods such as... Figure 6 The method shown is implemented as follows:
[0128] S701: Determine the current reduction duration of each power outage stage and the current threshold of each power outage stage based on the number of power outage stages and the first preset threshold.
[0129] S702: In accordance with the order of the power-off stages, for each power-off stage, during the current reduction duration of that power-off stage, the current supplied to the target device is reduced based on the current threshold of that power-off stage.
[0130] S703: After reducing the current supplied to the target device until the current reduction time of the power-off stage, detect whether the current and / or voltage of the target device is not greater than the current threshold of the power-off stage.
[0131] S704: If so, then for the next power-off stage of the power-off stage, during the current reduction duration of the next power-off stage of the power-off stage, the current supplied to the target device is reduced based on the current threshold of the next power-off stage of the power-off stage until the current of the target device is not greater than the current threshold of the last power-off stage.
[0132] If not, then repeat steps S702 to S703 until the current and / or voltage of the target device in the power-off stage is not greater than the current threshold of the power-off stage, then proceed to step S704.
[0133] For ease of description, the power-off stages are ordered from the first stage (where the target device's current / voltage is the current / voltage in its current state) to the last stage (where the target device's current is less than a first preset threshold). For example, if the target device is chip 2, and chip 2 corresponds to stage 3 of power-off stages, with a current of 12A, the power-off duration for stage 1 is 90ms and the current threshold is 8A, the power-off duration for stage 2 is 80ms and the current threshold is 4A, and the power-off duration for stage 3 is 100ms and the current threshold is 0.6A, then the current reduction operation for stage 1 is to reduce the target device's current from 12A to 8A within 90ms, the current reduction operation for stage 2 is to reduce the target device's current from 8A to 4A within 80ms, and the current reduction operation for stage 3 is to reduce the target device's current from 4A to 0.6A within 100ms. As described in steps S7-7, following the above sequence, the first-level current reduction operation is executed. If, after 90ms, the target device current is determined to be 8A, the second-level (the next level after the first) current reduction operation is executed. If, after the second-level current reduction operation (i.e., after the second-level energizing time reaches 80ms), the target device current is determined to have dropped to 4A or less, the third-level current reduction operation is executed. If, after the second-level current reduction operation, the target device current has not dropped to 4A, the current reduction operation for that level continues until the target device current drops to 4A, at which point the third-level current reduction operation is executed. In actual use, when determining whether the current has been reduced to the current threshold for that level after the current reduction operation, the current threshold can be a range.
[0134] The power supply management method provided in this application solves the problem of electrical surges during power supply and power disconnection by three innovations: hardware forced protection (i.e., first power supply failure or hard wire failure), software dynamic adjustment (gradual current increase when powered on and gradual current decrease before power failure), and bidirectional interlock verification (hard wire failure and power supply lockout). Specifically, it can solve the long-standing problem of hot-plug damage in the semiconductor testing field.
[0135] Specifically, during the software dynamic adjustment process, the number of gradual current increase / decrease steps and the required duration are innovatively determined based on the electrical characteristics and / or electrical parameters of the target device. For target devices with weak electrical shock tolerance, a slower current increase / decrease scheme is adopted, while for target devices with strong electrical shock tolerance, a faster current increase / decrease scheme is adopted. This achieves the purpose of protecting the target device while also taking into account the efficiency of power supply management. It should be noted that the same technical effect can be achieved by adjusting other electrical parameters of the target device, such as voltage, and this application does not impose any restrictions on this.
[0136] Specifically, in another embodiment provided in this application, energizing the target device based on the number of energizing stages and the target current includes: determining the energizing duration of each energizing stage and the voltage threshold of each energizing stage based on the number of energizing stages and the target voltage; according to the order of the energizing stages, for each energizing stage, controlling the first power supply to supply power to the target device based on the voltage threshold of the energizing stage during the energizing duration of that energizing stage; after supplying power to the target device for the energizing duration of that energizing stage, detecting whether the voltage of the target device meets the matching condition with the current threshold of that energizing stage; if so, then for the next energizing stage, controlling the first power supply to supply power to the target device based on the voltage threshold of the next energizing stage during the energizing duration of that energizing stage, until the voltage of the target device meets the matching condition with the voltage threshold of the last energizing stage.
[0137] Similarly, regarding the power-off process, in another embodiment provided in this application, if the target state is a power-off state, after obtaining the second signal, if the second signal indicates that the current and / or voltage of the target device is greater than the first preset threshold, the voltage of the target device is controlled to decrease until the current and / or voltage of the target device is not greater than the first preset threshold; the power lock is controlled to switch to the unlocked state, and the target device is powered off.
[0138] Specifically, if the second signal indicates that the current and / or voltage of the target device is greater than a first preset threshold, the voltage of the target device is controlled to decrease until the current and / or voltage of the target device is not greater than the first preset threshold. Specifically, the following steps are taken: the power-off stage number corresponding to the target device and the first preset threshold are determined based on the electrical characteristics of the target device, wherein the electrical characteristics include at least the surge withstand value of the target device; based on the power-off stage number and the first preset threshold, the voltage of the target device is controlled to decrease until the current and / or voltage of the target device is not greater than the first preset threshold.
[0139] Based on the number of power-off stages and a first preset threshold, the current of the target device is controlled to decrease until the current and / or voltage of the target device is not greater than the first preset threshold. This includes: determining the current reduction duration and voltage threshold of each power-off stage based on the number of power-off stages and the first preset threshold; according to the order of the power-off stages, for each power-off stage, within the current reduction duration of that power-off stage, reducing the current supplied to the target device based on the voltage threshold of that power-off stage; reducing the voltage supplied to the target device until the current reduction duration of that power-off stage, and then detecting whether the voltage of the target device is not greater than the current threshold of that power-off stage; if so, for the next power-off stage, within the voltage reduction duration of the next power-off stage, reducing the voltage supplied to the target device based on the voltage threshold of the next power-off stage, until the current of the target device is not greater than the current threshold of the last power-off stage.
[0140] The aforementioned "current boosting," "current decreasing," or "voltage reduction" can also be replaced with boosting / decreasing the electrical parameters of other target devices, enabling different granularities of control to be applied to different target devices, thus balancing protection and efficiency in power supply management.
[0141] To better implement the power supply management method in the embodiments of this application, a power supply management device is also provided in the embodiments of this application, such as... Figure 7 As shown, the power supply management device includes a determining module 801 and an execution module 802:
[0142] The determining module 801 is configured to respond to a target instruction and determine the target state of the target device, wherein the target state is at least one of a power-on state or a power-off state.
[0143] The execution module 802 is used to perform the following steps based on the determination result of the determination module 801: if the target state is a powered-on state, a first signal is acquired based on a first sensor; if the first signal indicates that the power lock is in a locked state, the target device is powered on; if the target state is a powered-off state, a second signal is acquired based on a second sensor; if the second signal indicates that the current and / or voltage of the target device is not greater than a first preset threshold, the power lock is controlled to switch to an unlocked state, and the target device is powered off.
[0144] Furthermore, in some other embodiments of this application, a power management device is also provided, which integrates the power management device provided in the embodiments of the present invention, the power management device comprising:
[0145] First sensor;
[0146] Second sensor;
[0147] One or more processors;
[0148] The processor includes a memory and one or more applications, wherein the one or more applications are stored in the memory and configured to execute the steps of the power management method described in any of the embodiments of the power management method described above.
[0149] It is understood that in some other embodiments of this application, the power management device may also be a separate structure, that is, the processor and the memory are respectively disposed in the power management device as components of the power management device.
[0150] like Figure 8 As shown, Figure 8 This is a schematic diagram of an embodiment of the power supply management device provided in this application.
[0151] Specifically, the power supply management device may include components such as a processor 901 with one or more processing cores, a memory 902 with one or more computer-readable storage media, a second power supply 903, and an input unit 904. Those skilled in the art will understand that... Figure 8 The power management equipment structure shown does not constitute a limitation on the power management equipment. It may include more or fewer components than shown, or combine certain components, or have different component arrangements. Wherein:
[0152] The processor 901 is the central component of the power management device. It connects various parts of the device via interfaces and lines, and performs various functions and processes data by running or executing software programs and / or modules stored in the memory 902, and by calling data stored in the memory 902, thereby providing overall monitoring of the power management device. It is understood that the processor 901 communicates with the controller via signal transmission. Optionally, the processor 901 may include one or more processing cores; preferably, the processor 901 may integrate an application processor and a modem processor. The application processor primarily handles the operating system, user interface, and applications, while the modem processor primarily handles wireless communication. It is understood that the modem processor may not be integrated into the processor 901.
[0153] The memory 902 can be used to store software programs and modules. The processor 901 executes various functional applications and data processing by running the software programs and modules stored in the memory 902. The memory 902 may mainly include a program storage area and a data storage area. The program storage area may store the operating system, application programs required for at least one function (such as sound playback function, image playback function, etc.), etc.; the data storage area may store data created based on the use of the power management device, etc. In addition, the memory 902 may include high-speed random access memory, and may also include non-volatile memory, such as at least one disk storage device, flash memory device, or other volatile solid-state storage device. Accordingly, the memory 902 may also include a memory controller to provide the processor 901 with access to the memory 902.
[0154] In some embodiments of this application, the power management device can be implemented as a computer program, which can be implemented as follows: Figure 8 The power management device shown operates on this device. The memory of the power management device can store the various program modules that make up the power management device, for example, storing... Figure 7 The determination module 801 and execution module 802 are shown. The computer program, composed of the various program modules, causes the processor to execute the steps in the power management methods of the various embodiments of this application described in this specification.
[0155] For example, Figure 8 The power management device shown can be used as follows Figure 7 The determination module 801 in the power management device executes step S201 of the power management method of this application, and the execution module 802 executes step S202 or S203 of the power management method of this application. The power management device includes a processor, memory, and network interface connected via a system bus. The processor of the power management device provides computing and control capabilities. The memory of the power management device includes a non-volatile storage medium and internal memory. The non-volatile storage medium stores an operating system and computer programs. The internal memory provides an environment for the operation of the operating system and computer programs in the non-volatile storage medium. The network interface of the power management device is used for communication with external power management devices via a network connection. When the computer program is executed by the processor, it implements a power management method.
[0156] The power management device also includes a second power supply 903 that supplies power to the various components of the power management device. Preferably, the second power supply 903 can be logically connected to the processor 901 through the power management system, thereby enabling functions such as charging, discharging, and power consumption management through the power management system. The second power supply 903 may also include one or more DC or AC power supplies, recharging systems, power fault detection circuits, power converters or inverters, power status indicators, and other arbitrary components.
[0157] It should be noted that the second power supply 903 is different from the first power supply 300. The second power supply 903 is used to supply power to the power management device, while the first power supply 300 is used to supply power to the target chip.
[0158] The power management device may also include an input unit 904, which can be used to receive input digital or character information and generate keyboard, mouse, joystick, optical or trackball signal inputs related to user settings and function control.
[0159] Although not shown, the power management device may also include a display unit, etc., which will not be described in detail here. Specifically, in this embodiment, the processor 901 in the power management device loads the executable files corresponding to the processes of one or more application programs into the memory 902 according to the following instructions, and the processor 901 runs the application programs stored in the memory 902 to realize various functions.
[0160] Those skilled in the art will understand that all or part of the steps in the various methods of the above embodiments can be performed by instructions, or by instructions controlling related hardware. These instructions can be stored in a computer-readable storage medium and loaded and executed by a processor.
[0161] Therefore, embodiments of the present invention provide a computer-readable storage medium, which may include: read-only memory (ROM), random access memory (RAM), magnetic disk or optical disk, etc. A computer program is stored thereon, which is loaded by a processor to execute the steps of any of the power management methods provided in the embodiments of the present invention.
[0162] Furthermore, this application also provides an embodiment of a power supply management system, specifically, the power supply management system includes: a first power source; a power lock; a target device; a third device; and the aforementioned power supply management equipment.
[0163] In the above embodiments, the descriptions of each embodiment have different focuses. For parts not described in detail in a certain embodiment, please refer to the detailed descriptions of other embodiments above, which will not be repeated here.
[0164] In practice, each of the above units or structures can be implemented as an independent entity or can be arbitrarily combined to be implemented as the same or several entities. For the specific implementation of each of the above units or structures, please refer to the previous method embodiments, which will not be repeated here.
[0165] For details on the implementation of each of the above operations, please refer to the previous examples, which will not be repeated here.
[0166] The above provides a detailed description of a power supply management method, device, and system provided in the embodiments of this application. Specific examples have been used to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only for the purpose of helping to understand the method and core ideas of the present invention. At the same time, for those skilled in the art, there will be changes in the specific implementation methods and application scope based on the ideas of the present invention. Therefore, the content of this specification should not be construed as a limitation of the present invention.
Claims
1. A power management method, at least for managing the power supply state of a first power input target device, the first power supply supplying power to the target device based on its own connection interface, the connection interface comprising at least a power lock, characterized in that, The method comprises: in response to a target instruction, and determining a target state of the target device, the target state being a power-on state or a power-off state; if the target state is the power-on state, controlling the first power supply to be powered off, acquiring a first signal based on a first sensor, and if the power supply lock is determined to be in a locked state based on the first signal, then causing the target device to be powered on; if the target state is the power-off state, acquiring a second signal based on a second sensor, and if the current and / or voltage of the target device is determined to be not greater than a first preset threshold based on the second signal, then controlling the power supply lock to switch to an unlocked state, and causing the target device to be powered off.
2. The power supply management method of claim 1, wherein, The determination of the target state of the target device comprises at least one of: determining the target state based on a current state of the target device, the current state being one of a power-on state and a power-off state, and the target state being different from the current state; the target instruction comprises at least a first instruction and a second instruction, if the target instruction is the first instruction, then the target state is determined to be the power-on state, and if the target instruction is the second instruction, then the target state is determined to be the power-off state.
3. The power supply management method of claim 1, wherein, After controlling the first power supply to be powered off, the method further comprises: if the power supply lock is determined to be in an unlocked state based on a first sensor, then controlling the power supply lock to switch to a locked state, and causing the target device to be powered on.
4. The power supply management method according to claim 1 or 3, wherein The causing of the target device to be powered on comprises: determining a power-on step number corresponding to the target device based on electrical characteristics and / or electrical parameters of the target device, the electrical characteristics comprising at least a surge withstand value of the target device; causing the target device to be powered on based on the power-on step number and the target current.
5. The power supply management method of claim 4, wherein, The causing of the target device to be powered on based on the power-on step number and the target current comprises: determining a power-on duration of each power-on step and a current threshold of each power-on step based on the power-on step number and the target current; controlling the first power supply to supply power to the target device based on the current threshold of the power-on step for a power-on duration of the power-on step in sequence of the power-on steps; after supplying power to the target device for the power-on duration of the power-on step, detecting whether the current of the target device meets a matching condition with the current threshold of the power-on step; if yes, then for a next power-on step of the power-on step, controlling the first power supply to supply power to the target device based on a current threshold of the next power-on step of the power-on step for a power-on duration of the next power-on step of the power-on step, until the current of the target device meets a matching condition with the current threshold of the last power-on step.
6. The power management method of claim 1, wherein, After the target state is determined to be the power-off state based on the second signal acquired by the second sensor, the method further comprises: if the second signal represents that the current and / or voltage of the target device is greater than a first preset threshold, then controlling the current of the target device to decrease until the current and / or voltage of the target device is not greater than the first preset threshold; controlling the power supply lock to switch to an unlocked state, and causing the target device to be powered off.
7. The power supply management method of claim 6, wherein, if the second signal represents that the current and / or voltage of the target device is greater than a first preset threshold, controlling the current of the target device to decrease until the current and / or voltage of the target device is not greater than the first preset threshold, comprising: determining a power-off step number corresponding to the target device and a first preset threshold based on electrical characteristics and / or electrical parameters of the target device, the electrical characteristics at least including a surge withstand value of the target device; controlling the current of the target device to decrease based on the power-off step number and the first preset threshold until the current and / or voltage of the target device is not greater than the first preset threshold.
8. The power supply management method of claim 7, wherein, The controlling the current of the target device to decrease based on the power-off step number and the first preset threshold until the current and / or voltage of the target device is not greater than the first preset threshold, comprising: determining a current threshold of each power-off step and a current decreasing time length of each power-off step based on the power-off step number and the first preset threshold; in accordance with the order of the power-off steps, for each power-off step, decreasing the current supplied to the target device based on the current threshold of the power-off step within the current decreasing time length of the power-off step; decreasing the current supplied to the target device until the current decreasing time length of the power-off step, and detecting whether the current and / or voltage of the target device is not greater than the current threshold of the power-off step; if yes, for a next power-off step of the power-off step, decreasing the current supplied to the target device based on the current threshold of the next power-off step of the power-off step within the current decreasing time length of the next power-off step of the power-off step until the current of the target device is not greater than the current threshold of the last power-off step.
9. A power supply management device, characterized by comprising: comprising: a first sensor; a second sensor; one or more processors; a memory; and one or more application programs, wherein the one or more application programs are stored in the memory and configured to be executed by the processor to implement the power supply management method of any one of claims 1 to 8.
10. A power management system, characterized by, comprising: a first power supply; a power supply lock; a target device; a third device for detecting a power-on state of the first power supply, the third device being a voltage sensor or a safety relay; and the power supply management device of claim 9.
Citation Information
Patent Citations
Power supply unit and controlling method thereof
CN101385215A
Management system, method and device of mobile power supply and tool
CN108725230A