CN113629654B - Power supply control method, circuit, device and readable storage medium - Google Patents

Power supply control method, circuit, device and readable storage medium Download PDF

Info

Publication number
CN113629654B
CN113629654B CN202110890647.6A CN202110890647A CN113629654B CN 113629654 B CN113629654 B CN 113629654B CN 202110890647 A CN202110890647 A CN 202110890647A CN 113629654 B CN113629654 B CN 113629654B
Authority
CN
China
Prior art keywords
power supply
branch
voltage
load
load detection
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN202110890647.6A
Other languages
Chinese (zh)
Other versions
CN113629654A (en
Inventor
马仕豪
汤庆佳
洪瑞仁
彭佳
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Yingruien Technology Co ltd
Original Assignee
Shenzhen Yingruien Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Yingruien Technology Co ltd filed Critical Shenzhen Yingruien Technology Co ltd
Priority to CN202110890647.6A priority Critical patent/CN113629654B/en
Publication of CN113629654A publication Critical patent/CN113629654A/en
Application granted granted Critical
Publication of CN113629654B publication Critical patent/CN113629654B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H9/00Emergency protective circuit arrangements for limiting excess current or voltage without disconnection
    • H02H9/005Emergency protective circuit arrangements for limiting excess current or voltage without disconnection avoiding undesired transient conditions
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H1/00Details of emergency protective circuit arrangements
    • H02H1/0007Details of emergency protective circuit arrangements concerning the detecting means
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H1/00Details of emergency protective circuit arrangements
    • H02H1/04Arrangements for preventing response to transient abnormal conditions, e.g. to lightning or to short duration over voltage or oscillations; Damping the influence of dc component by short circuits in ac networks

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The invention discloses a power supply control method, a circuit, a device and a readable storage medium, wherein when a weak current power supply branch is turned off, a weak current power supply voltage is output by a weak current power supply branch; the load detection branch circuit collects a first load detection voltage under the application of weak current supply voltage; the control branch compares the first load detection voltage with a preset first voltage threshold value, and generates a power supply instruction when the first load detection voltage is higher than the first voltage threshold value; the power supply branch is conducted according to the power supply instruction, and the power supply voltage is output to the load. By the implementation of the invention, after the power supply is turned off, the weak voltage is continuously output by the weak current power supply circuit to detect whether an external load is connected, and the power supply is turned on to output when the load connection is detected, so that the instantaneous current at the moment of load connection is effectively reduced, and the power supply safety is improved.

Description

Power supply control method, circuit, device and readable storage medium
Technical Field
The present invention relates to the field of power control technologies, and in particular, to a power control method, a circuit, a device, and a readable storage medium.
Background
The output of the direct current power supply on the market is mainly normally open, and can continuously output higher working voltage, namely, the output voltage of the power supply still exists even if the power supply is not loaded, and typical products such as a charger of a notebook computer still output relatively higher voltage under the condition that the charger is not connected with a notebook load, and when the charger is in contact with the load, a larger instantaneous current is easily generated, so that the condition that a contact point is in spark is caused, the potential safety hazard in the power supply process is larger, and the power utilization safety of a user cannot be ensured.
Disclosure of Invention
The embodiment of the invention mainly aims to provide a power supply control method, a circuit, a device and a readable storage medium, which at least can solve the problem of low power supply safety caused by the fact that a power supply circuit provided in the related technology is kept in a normally-open state.
In order to achieve the above objective, a first aspect of the present invention provides a power control method, which is applied to a power control circuit, where the power control circuit includes a power supply branch, a weak current supply branch, a load detection branch, and a control branch, where output ends of the weak current supply branch are connected to output ends of the power supply branch and the load detection branch, respectively, and output ends of the weak current supply branch are load positive connection nodes, and input ends of the load detection branch are load negative connection nodes; the method comprises the following steps:
the weak current power supply branch outputs weak current power supply voltage when the power supply branch is turned off;
the load detection branch circuit collects a first load detection voltage under the application of the weak current supply voltage;
the control branch compares the first load detection voltage with a preset first voltage threshold value, and generates a power supply instruction when the first load detection voltage is higher than the first voltage threshold value;
the power supply branch is conducted according to the power supply instruction, and the power supply voltage is output to the load; wherein the power supply voltage is higher than the weak current supply voltage.
To achieve the above object, a second aspect of an embodiment of the present invention provides a power supply control circuit, including: the device comprises a power supply branch, a weak current power supply branch, a load detection branch and a control branch, wherein the output end of the weak current power supply branch is respectively connected with the output ends of the power supply branch and the load detection branch, the output end of the weak current power supply branch is a load positive electrode connection node, and the input end of the load detection branch is a load negative electrode connection node;
the weak current power supply branch circuit is used for outputting weak current power supply voltage when the power supply branch circuit is turned off;
the load detection branch is used for collecting a first load detection voltage under the application of the weak current supply voltage;
the control branch is used for comparing the first load detection voltage with a preset first voltage threshold value and generating a power supply instruction when the first load detection voltage is higher than the first voltage threshold value;
the power supply branch circuit is used for conducting according to the power supply instruction and outputting power supply voltage to a load; wherein the power supply voltage is higher than the weak current supply voltage.
To achieve the above object, a third aspect of an embodiment of the present invention provides an electronic device, including: a processor, a memory, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of any one of the power control methods described above.
To achieve the above object, a fourth aspect of the embodiments of the present invention provides a computer-readable storage medium storing one or more programs executable by one or more processors to implement the steps of any one of the above-described power supply control methods.
According to the power supply control method, the circuit, the device and the readable storage medium provided by the embodiment of the invention, when the weak current power supply branch is turned off, the weak current power supply voltage is output; the load detection branch circuit collects a first load detection voltage under the application of weak current supply voltage; the control branch compares the first load detection voltage with a preset first voltage threshold value, and generates a power supply instruction when the first load detection voltage is higher than the first voltage threshold value; the power supply branch is conducted according to the power supply instruction, and the power supply voltage is output to the load. By the implementation of the invention, after the power supply is turned off, the weak voltage is continuously output by the weak current power supply circuit to detect whether an external load is connected, and the power supply is turned on to output when the load connection is detected, so that the instantaneous current at the moment of load connection is effectively reduced, and the power supply safety is improved.
Additional features and corresponding effects of the invention will be set forth in part in the description which follows, and in part will be obvious from the description, or may be learned by practice of the invention.
Drawings
In order to more clearly illustrate the embodiments of the invention or the technical solutions in the prior art, the drawings that are necessary for the description of the embodiments or the prior art will be briefly described, it being obvious that the drawings in the following description are only some embodiments of the invention and that other drawings may be obtained from them without inventive effort for a person skilled in the art.
Fig. 1 is a flowchart of a power control method according to a first embodiment of the present invention;
fig. 2 is a schematic circuit diagram of a power control circuit according to a first embodiment of the present invention;
fig. 3 is a schematic structural diagram of a power control circuit according to a second embodiment of the present invention;
fig. 4 is a schematic structural diagram of an electronic device according to a third embodiment of the present invention.
Detailed Description
In order to make the objects, features and advantages of the present invention more comprehensible, the technical solutions in the embodiments of the present invention will be clearly described in conjunction with the accompanying drawings in the embodiments of the present invention, and it is apparent that the described embodiments are only some embodiments of the present invention, but not all embodiments of the present invention. All other embodiments, which can be made by those skilled in the art based on the embodiments of the invention without making any inventive effort, are intended to be within the scope of the invention.
First embodiment:
in order to solve the problem of low power supply safety caused by the fact that a power supply circuit provided in the related art is kept in a normally open state, the embodiment provides a power supply control method, which is applied to a power supply control circuit.
As shown in fig. 1, which is a basic flow chart of a power control method provided in this embodiment, the power control method provided in this embodiment includes the following steps:
step 101, when the weak current power supply branch is turned off, outputting weak current power supply voltage.
Fig. 2 is a schematic circuit diagram of a power supply control circuit according to the present embodiment, where an output end of a power supply branch circuit 10 may be connected to an anode of a load 60 for performing normal power supply output to the load; the weak current power supply branch 20 is connected with the power supply branch 10, and an output end of the weak current power supply branch 20 is connected with an anode of the load 60, so as to output a weak current signal to the load 60 when the power supply branch 10 is closed. In this embodiment, after the power control circuit 10 is disconnected from the load 60, the power supply branch 10 is turned off to turn off the power supply output, and at this time, only the weak current power supply branch 20 configured in the circuit is kept outputting a lower voltage for detecting whether the external load 60 is connected.
It should be noted that, the weak current supply branch 20 shown in fig. 2 of this embodiment includes a diode D2 disposed at an output end thereof, and the diode D2 is in an off state when the power supply branch 10 is turned on.
Step 102, a load detection branch circuit collects a first load detection voltage under the application of weak current supply voltage.
With continued reference to fig. 2, in this embodiment, a load detection branch 40 is connected to the control branch 30, and has an output connectable to the positive terminal of the load 60 and an input connectable to the negative terminal of the load, the branch being configured to provide a detection node external to the load 60.
It should be noted that, in the present embodiment, the load detection branch 40 shown in fig. 2 includes a resistor R5 and a resistor R6 electrically connected to the positive electrode of the load 60 in sequence, and a resistor R7 electrically connected to the negative electrode of the load 60, where the other ends of the resistors R6 and R7 are grounded, and a node between the resistor R5 and the resistor R6 is connected to an ADV pin on the control circuit.
Step 103, the control branch compares the first load detection voltage with a preset first voltage threshold, and generates a power supply instruction when the first load detection voltage is higher than the first voltage threshold.
With continued reference to fig. 2, in the present embodiment, the control branch 30 is connected to the power supply branch 10, compares the load detection voltage with a preset threshold value through the control branch 30, determines whether the load is connected according to the comparison result, and controls on and off of the power supply branch 10 accordingly. In practical application, when the circuit is in idle load, the detected voltage value is relatively low, and if the load detection voltage obtained in real time is higher than the voltage threshold value, the current connected load of the circuit is indicated, and the current connected load has the power supply requirement, so that a power supply instruction is generated.
Step 104, the power supply branch is conducted according to the power supply instruction, and the power supply voltage is output to the load.
Specifically, in this embodiment, the power supply branch is used for normal power supply in the load work engineering to provide a voltage meeting the load work, and the power supply voltage provided by the power supply branch is higher than the weak current supply voltage.
In an alternative implementation of the present embodiment, the power supply control circuit further includes: a current detection branch. Correspondingly, after the step of conducting the power supply branch according to the power supply instruction and outputting the power supply voltage to the load, the method further comprises the following steps: the load detection branch circuit collects a second load detection voltage applied by a power supply voltage; the current detection branch circuit collects load detection current corresponding to the second load detection voltage; the control branch circuit judges whether the load is charged or not based on the load detection current, and generates a power supply outage instruction when the load is charged; the power supply branch circuit is turned off according to the power supply outage instruction.
With continued reference to fig. 2, in the present embodiment, an input end of the current detection branch 50 is connected to the load detection branch 40, an output end is connected to the control branch 30, current detection is performed by the current detection branch 50, and then a current detection result is transmitted to the control branch, and the control branch 30 performs load charging stage judgment based on the current detection result, where when the load detection current is smaller than a first current threshold value, it indicates that the load is in a charging completion state, and when the load detection current is greater than a second current threshold value, it indicates that the load is in a charging in-progress state, and the first current threshold value in the present embodiment is lower than the second current threshold value. In this embodiment, when the load is charged, the control branch 30 controls the power supply branch to be turned off, so as to stop power supply output and ensure the power supply safety after the load is powered.
It should be noted that, the current detection branch 50 shown in fig. 2 of this embodiment may be a signal amplifying circuit for amplifying the collected signal. The circuit comprises an operational amplifier U2, wherein the input end of the operational amplifier U2 is connected with the high voltage side of a resistor R7, and the output end of the operational amplifier U2 is connected with an ADC pin of a control branch 30. In this embodiment, after the power supply branch 10 is turned off, whether the load 60 is turned off is detected, if yes, the load detection voltage is continuously output through the weak current power supply branch 20, and the next round of load connection detection is continuously performed.
In an optional implementation manner of this embodiment, after the step of outputting the power supply voltage to the load, the power supply branch is turned on according to the power supply instruction, the method further includes: the load detection branch circuit collects a second load detection voltage applied by a power supply voltage; the control branch compares the second load detection voltage with a preset load rated working voltage range, and generates a voltage limiting protection instruction when the second load detection voltage exceeds the load rated working voltage range; the power supply branch circuit correspondingly adjusts the power supply voltage of the power supply according to the voltage limiting protection instruction.
Specifically, in practical application, the power grid where the power supply control circuit is located may have unstable power supply due to objective factors, and then the voltage output to the load by the power supply control circuit may have overvoltage or undervoltage, so that the power supply security is threatened. Based on this, in the process that the power supply branch supplies power to the load, the load detection branch is used for continuously collecting the load detection voltage, then the control branch is used for judging whether the power supply voltage meets the rated working voltage range of the load or not based on the collected load detection voltage, if the power supply voltage exceeds the rated working voltage range, a voltage limiting protection instruction is generated, and the power supply branch is controlled to adjust the power supply voltage of the power supply so as to limit the power supply voltage within a reasonable range and ensure the power supply safety.
In an optional implementation manner of this embodiment, before the step of generating the power supply command, the method further includes: the control branch compares the first load detection voltage with a preset second voltage threshold, when the first load detection voltage is lower than the second voltage threshold, the control branch keeps the weak current power supply branch to supply power for a preset period of time, and then the step of generating a power supply instruction is executed; wherein the second voltage threshold is higher than the first voltage threshold.
Specifically, when the load is determined to be connected, the embodiment also determines whether the load is in an overdischarge state based on the detected load voltage, if so, which means that when the load is powered, a small current is needed to perform restorative charging on the load first, so that the load voltage is restored to a normal voltage level. In this embodiment, the weak current power supply branch designed in the circuit is multiplexed, that is, the weak current power supply branch may be used to output a load detection voltage with a lower voltage level before load connection, and may also be used to output a restorative charging voltage with a lower voltage level for a period of time after load connection. By means of the embodiment, the starting of the power supply branch is delayed after the load is connected, and the power supply branch is triggered to be started when the load voltage reaches a normal voltage level under the power supply of the weak current power supply branch, so that the battery performance of the load is protected.
In an optional implementation manner of this embodiment, after the step of collecting the first load detection voltage under the application of the weak power supply voltage by the load detection branch, the method further includes: the load detection branch circuit obtains a level jump duration between a high level and a low level of the first load detection voltage. Correspondingly, after the step of generating the power supply instruction, the method further comprises the following steps: the control branch circuit determines the load power type according to the level jump time length, and generates a corresponding weak current power supply branch circuit control instruction according to the load power type; the weak current power supply branch is turned off or kept on according to the weak current power supply branch control instruction.
Specifically, after the load detection branch circuit acquires the load detection voltage in the power supply branch circuit off state, the load detection branch circuit further acquires the high-low level jump time length of the voltage, then determines the load power type based on the level jump time length, namely determines whether the load is a large load or a small load, and sequentially generates corresponding weak current power supply branch circuit control instructions so as to control the weak current power supply branch circuit switch. And if the load is a heavy load, the weak current power supply branch is controlled to be turned on, namely, the weak current power supply branch is maintained to be turned on when the power supply branch is turned on, so that the combined power supply of the two power supply branches is realized, and if the load is a light load, the weak current power supply branch is turned off when the power supply branch is turned on, and the current reverse-charging of a parallel power supply or the output of the power supply branch is abnormal is avoided.
In an optional implementation manner of this embodiment, after the step of collecting the first load detection voltage under the application of the weak power supply voltage by the load detection branch, the method further includes: the load detection branch circuit obtains the level jump time length between the high level and the low level of the first load detection voltage; correspondingly, before the step of generating the power supply instruction, the control branch circuit judges whether the preset power supply condition is met or not according to the level jump time length; and executing the step of generating a power supply instruction of the power supply when the power supply condition is met.
The specific implementation manner of the control branch circuit for judging whether the preset power supply condition is met according to the level jump time length in this embodiment may include the following steps:
in the first mode, the control branch circuit judges whether the rated power of the load accords with the power range supported by the power supply branch circuit of the power supply according to the level jump time length;
and in a second mode, the control branch circuit judges whether the positive connection node of the load and the negative connection node of the load are in a non-short circuit state according to the level jump time.
Specifically, in this embodiment, when the load detection voltage acquired under the condition that the power supply branch is turned off is higher than the first voltage threshold, the power supply branch is not directly controlled to be turned on, the high-low level jump time length is further obtained, and whether the safety power supply condition is currently met is judged according to the high-low level jump time length, on one hand, whether the rated power of the load is matched with the power supply branch or not can be judged through the high-low level jump time length, if yes, the power supply branch is triggered to supply power, and the load or the power damage caused by blind triggering of the power supply branch to supply power is avoided; on the other hand, whether the load connection node is short-circuited or not can be judged through the high-low level jump time length, if the load connection node is short-circuited, a false load connection behavior occurs when the load detection voltage is higher than the first voltage threshold value, and in this case, the power supply safety can be improved by maintaining the power supply branch off.
According to the power supply control method provided by the embodiment of the invention, when the weak current power supply branch is turned off, the weak current power supply voltage is output; the load detection branch circuit collects a first load detection voltage under the application of weak current supply voltage; the control branch compares the first load detection voltage with a preset first voltage threshold value, and generates a power supply instruction when the first load detection voltage is higher than the first voltage threshold value; the power supply branch is conducted according to the power supply instruction, and the power supply voltage is output to the load. By the implementation of the invention, after the power supply is turned off, the weak voltage is continuously output by the weak current power supply circuit to detect whether an external load is connected, and the power supply is turned on to output when the load connection is detected, so that the instantaneous current at the moment of load connection is effectively reduced, and the power supply safety is improved.
Second embodiment:
in order to solve the problem of low power supply safety caused by the power supply circuit in the related art maintaining a normally open state, the present embodiment shows a power supply control circuit, and specifically please refer to fig. 3, the power supply control circuit of the present embodiment includes: the power supply branch 301, the weak current power supply branch 302, the load detection branch 303 and the control branch 304 are connected with the output ends of the power supply branch 301 and the load detection branch 303 respectively, the output end of the weak current power supply branch 302 is a load positive electrode connection node, and the input end of the load detection branch 303 is a load negative electrode connection node. Wherein,,
a weak current supply branch 302, configured to output a weak current supply voltage when the power supply branch is turned off;
a load detection branch 303, configured to collect a first load detection voltage applied by the weak current supply voltage;
a control branch 304, configured to compare the first load detection voltage with a preset first voltage threshold, and generate a power supply instruction when the first load detection voltage is higher than the first voltage threshold;
the power supply branch 301 is configured to conduct according to a power supply instruction and output a power supply voltage to a load; wherein the power supply voltage is higher than the weak power supply voltage.
In some implementations of the present embodiment, the power control circuit further includes: a current detection branch. Correspondingly, the load detection branch is also used for: the power supply branch is conducted according to a power supply instruction, and after the power supply voltage is output to the load, a second load detection voltage applied by the power supply voltage is acquired; the current detection branch is also for: collecting a load detection current corresponding to the second load detection voltage; the control branch is also used for: judging whether the load is charged or not based on the load detection current, and generating a power supply outage instruction when the load is charged; the power supply branch is also used for: and switching off according to the power supply outage instruction.
In some implementations of this embodiment, the load detection branch is further configured to: the power supply branch is conducted according to a power supply instruction, and after the power supply voltage is output to the load, a second load detection voltage applied by the power supply voltage is acquired; the control branch is also used for: comparing the second load detection voltage with a preset load rated working voltage range, and generating a voltage limiting protection instruction when the second load detection voltage exceeds the load rated working voltage range; the power supply branch is also used for: and correspondingly adjusting the power supply voltage of the power supply according to the voltage limiting protection instruction.
In some implementations of this embodiment, the control branch is specifically configured to: comparing the first load detection voltage with a preset first voltage threshold, comparing the first load detection voltage with a preset second voltage threshold when the first load detection voltage is higher than the first voltage threshold, keeping the weak current power supply branch power supply for a preset period when the first load detection voltage is lower than the second voltage threshold, and then generating a power supply instruction; wherein the second voltage threshold is higher than the first voltage threshold.
In some implementations of this embodiment, the load detection branch is further configured to: acquiring the level jump time length between the high level and the low level of the first load detection voltage; the control branch is also used for: after the power supply branch generates a power supply instruction, determining a load power type according to the level jump time length, and generating a corresponding weak current power supply branch control instruction according to the load power type; the weak current power supply branch is also used for: and turning off or maintaining on according to the weak current power supply branch control instruction.
In other implementations of this embodiment, the load detection branch is further configured to: acquiring the level jump time length between the high level and the low level of the first load detection voltage; the control branch is specifically used for: comparing the first load detection voltage with a preset first voltage threshold, judging whether a preset power supply condition is met according to the level jump time length when the first load detection voltage is higher than the first voltage threshold, and generating a power supply instruction when the power supply condition is met.
Further, in some implementations of the present embodiment, when executing the above function of determining whether the preset power supply condition is met according to the level jump duration, the control branch is specifically configured to: judging whether the rated power of the load accords with the power range supported by the power supply branch circuit or not according to the level jump time length; or judging whether the positive connection node of the load and the negative connection node of the load are in a non-short circuit state according to the level jump time length.
It should be noted that, the power control method in the foregoing embodiments may be implemented based on the power control circuit provided in the present embodiment, and those skilled in the art can clearly understand that, for convenience and brevity of description, the specific working process of the power control circuit described in the present embodiment may refer to the corresponding process in the foregoing method embodiment, which is not repeated herein.
By adopting the power supply control circuit provided by the embodiment, when the weak current power supply branch is turned off, the weak current power supply voltage is output; the load detection branch circuit collects a first load detection voltage under the application of weak current supply voltage; the control branch compares the first load detection voltage with a preset first voltage threshold value, and generates a power supply instruction when the first load detection voltage is higher than the first voltage threshold value; the power supply branch is conducted according to the power supply instruction, and the power supply voltage is output to the load. By the implementation of the invention, after the power supply is turned off, the weak voltage is continuously output by the weak current power supply circuit to detect whether an external load is connected, and the power supply is turned on to output when the load connection is detected, so that the instantaneous current at the moment of load connection is effectively reduced, and the power supply safety is improved.
Third embodiment:
the present embodiment provides an electronic device, referring to fig. 4, which includes a processor 401, a memory 402, and a communication bus 403, wherein: a communication bus 403 is used to enable connection communication between the processor 401 and the memory 402; the processor 401 is configured to execute one or more computer programs stored in the memory 402 to implement at least one step of the power control method in the above-described embodiment.
The present embodiments also provide a computer-readable storage medium including volatile or nonvolatile, removable or non-removable media implemented in any method or technology for storage of information, such as computer-readable instructions, data structures, computer program modules or other data. Computer-readable storage media includes, but is not limited to, RAM (Random Access Memory ), ROM (Read-Only Memory), EEPROM (Electrically Erasable Programmable Read Only Memory, charged erasable programmable Read-Only Memory), flash Memory or other Memory technology, CD-ROM (Compact Disc Read-Only Memory), digital Versatile Disks (DVD) or other optical disk storage, magnetic cassettes, magnetic tape, magnetic disk storage or other magnetic storage devices, or any other medium which can be used to store the desired information and which can be accessed by a computer.
The computer readable storage medium in this embodiment may be used to store one or more computer programs, where the stored one or more computer programs may be executed by a processor to implement at least one step of the method in the first embodiment.
The present embodiment also provides a computer program which can be distributed on a computer readable medium and executed by a computable device to implement at least one step of the method of the above embodiment; and in some cases at least one of the steps shown or described may be performed in a different order than that described in the above embodiments.
The present embodiment also provides a computer program product comprising computer readable means having stored thereon a computer program as shown above. The computer readable means in this embodiment may comprise a computer readable storage medium as shown above.
It will be apparent to one skilled in the art that all or some of the steps of the methods, systems, functional modules/units in the apparatus disclosed above may be implemented as software (which may be implemented in computer program code executable by a computing apparatus), firmware, hardware, and suitable combinations thereof. In a hardware implementation, the division between the functional modules/units mentioned in the above description does not necessarily correspond to the division of physical components; for example, one physical component may have multiple functions, or one function or step may be performed cooperatively by several physical components. Some or all of the physical components may be implemented as software executed by a processor, such as a central processing unit, digital signal processor, or microprocessor, or as hardware, or as an integrated circuit, such as an application specific integrated circuit.
Furthermore, as is well known to those of ordinary skill in the art, communication media typically embodies computer readable instructions, data structures, computer program modules or other data in a modulated data signal such as a carrier wave or other transport mechanism and may include any information delivery media. Therefore, the present invention is not limited to any specific combination of hardware and software.
The foregoing is a further detailed description of embodiments of the invention in connection with the specific embodiments, and it is not intended that the invention be limited to the specific embodiments described. It will be apparent to those skilled in the art that several simple deductions or substitutions may be made without departing from the spirit of the invention, and these should be considered to be within the scope of the invention.

Claims (9)

1. The power supply control method is characterized by being applied to a power supply control circuit, wherein the power supply control circuit comprises a power supply branch, a weak current power supply branch, a load detection branch and a control branch, the output end of the weak current power supply branch is respectively connected with the output ends of the power supply branch and the load detection branch, the output end of the weak current power supply branch is a load positive electrode connection node, and the input end of the load detection branch is a load negative electrode connection node; the power supply control method comprises the following steps:
the weak current power supply branch outputs weak current power supply voltage when the power supply branch is turned off;
the load detection branch circuit collects a first load detection voltage under the application of the weak current supply voltage;
the load detection branch circuit obtains the level jump time length between the high level and the low level of the first load detection voltage;
the control branch compares the first load detection voltage with a preset first voltage threshold value, and generates a power supply instruction when the first load detection voltage is higher than the first voltage threshold value;
the control branch circuit determines a load power type according to the level jump time length, and generates a corresponding weak current power supply branch circuit control instruction according to the load power type;
the weak current power supply branch is turned off or kept on according to the weak current power supply branch control instruction;
the power supply branch is conducted according to the power supply instruction, and the power supply voltage is output to the load; wherein the power supply voltage is higher than the weak current supply voltage.
2. The power supply control method according to claim 1, wherein the power supply control circuit further comprises: a current detection branch;
the power supply branch is conducted according to the power supply instruction, and after the step of outputting the power supply voltage to the load, the method further comprises the following steps:
the load detection branch circuit collects a second load detection voltage applied by the power supply voltage of the power supply;
the current detection branch circuit collects load detection current corresponding to the second load detection voltage;
the control branch circuit judges whether the load is charged or not based on the load detection current, and generates a power supply outage instruction when the load is charged;
and the power supply branch circuit is turned off according to the power supply outage instruction.
3. The power control method according to claim 1, wherein the power supply branch is turned on according to the power supply command, and further comprising, after the step of outputting the power supply voltage to the load:
the load detection branch circuit collects a second load detection voltage applied by the power supply voltage of the power supply;
the control branch compares the second load detection voltage with a preset load rated working voltage range, and generates a voltage limiting protection instruction when the second load detection voltage exceeds the load rated working voltage range;
and the power supply branch circuit correspondingly adjusts the power supply voltage of the power supply according to the voltage limiting protection instruction.
4. A power supply control method according to any one of claims 1 to 3, characterized in that, before the step of generating the power supply instruction, it further comprises:
the control branch compares the first load detection voltage with a preset second voltage threshold, and when the first load detection voltage is lower than the second voltage threshold, the control branch keeps the weak current power supply branch to supply power for a preset period of time, and then the step of generating a power supply instruction is executed; wherein the second voltage threshold is higher than the first voltage threshold.
5. A power supply control method according to any one of claims 1 to 3, wherein after the step of the load detection branch collecting the first load detection voltage under the weak supply voltage application, further comprising:
the load detection branch circuit obtains the level jump time length between the high level and the low level of the first load detection voltage;
before the step of generating the power supply instruction, the method further comprises the following steps:
the control branch circuit judges whether a preset power supply condition is met or not according to the level jump time length; and executing the step of generating a power supply instruction of the power supply when the power supply condition is met.
6. The power control method according to claim 5, wherein the step of the control branch judging whether a preset power supply condition is satisfied according to the level jump duration comprises:
the control branch circuit judges whether the rated power of the load accords with the power range supported by the power supply branch circuit of the power supply according to the level jump time length;
or the control branch circuit judges whether the positive load connection node and the negative load connection node are in a non-short circuit state according to the level jump time length.
7. A power supply control circuit, comprising: the device comprises a power supply branch, a weak current power supply branch, a load detection branch and a control branch, wherein the output end of the weak current power supply branch is respectively connected with the output ends of the power supply branch and the load detection branch, the output end of the weak current power supply branch is a load positive electrode connection node, and the input end of the load detection branch is a load negative electrode connection node;
the weak current power supply branch circuit is used for outputting weak current power supply voltage when the power supply branch circuit is turned off;
the load detection branch is used for collecting a first load detection voltage under the application of the weak current supply voltage;
the load detection branch is further configured to obtain a level jump duration between a high level and a low level of the first load detection voltage;
the control branch is used for comparing the first load detection voltage with a preset first voltage threshold value and generating a power supply instruction when the first load detection voltage is higher than the first voltage threshold value;
the control branch is further used for determining a load power type according to the level jump time length and generating a corresponding weak current power supply branch control instruction according to the load power type;
the weak current power supply branch is also used for being turned off or kept on according to the weak current power supply branch control instruction;
the power supply branch circuit is used for conducting according to the power supply instruction and outputting power supply voltage to a load; wherein the power supply voltage is higher than the weak current supply voltage.
8. An electronic device, comprising: a processor, a memory, and a communication bus;
the communication bus is used for realizing connection communication between the processor and the memory;
the processor is configured to execute one or more programs stored in the memory to implement the steps of the power supply control method according to any one of claims 1 to 6.
9. A computer-readable storage medium storing one or more programs executable by one or more processors to implement the steps of the power control method of any one of claims 1 to 6.
CN202110890647.6A 2021-08-04 2021-08-04 Power supply control method, circuit, device and readable storage medium Active CN113629654B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202110890647.6A CN113629654B (en) 2021-08-04 2021-08-04 Power supply control method, circuit, device and readable storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202110890647.6A CN113629654B (en) 2021-08-04 2021-08-04 Power supply control method, circuit, device and readable storage medium

Publications (2)

Publication Number Publication Date
CN113629654A CN113629654A (en) 2021-11-09
CN113629654B true CN113629654B (en) 2023-09-15

Family

ID=78382681

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202110890647.6A Active CN113629654B (en) 2021-08-04 2021-08-04 Power supply control method, circuit, device and readable storage medium

Country Status (1)

Country Link
CN (1) CN113629654B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN114512958A (en) * 2022-03-10 2022-05-17 群联电子股份有限公司 Overvoltage protection device, memory storage device and overvoltage protection method

Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003169419A (en) * 2001-11-30 2003-06-13 Toshiba Corp Power supply circuit of electronic apparatus
CN1726631A (en) * 2002-12-24 2006-01-25 三垦电气株式会社 Switching power supply device and method for controlling switching power supply device
CN102156498A (en) * 2009-12-23 2011-08-17 英特尔公司 Power management system and method
CN103187738A (en) * 2011-12-28 2013-07-03 海洋王照明科技股份有限公司 Charging circuit and charger
CN108808774A (en) * 2018-06-08 2018-11-13 苏州舜唐新能源电控设备有限公司 On-board high-voltage switching device, method, electronic equipment, storage medium
CN208334512U (en) * 2017-09-28 2019-01-04 深圳和而泰数据资源与云技术有限公司 A kind of load detecting circuit and its device, electronic equipment
WO2019148688A1 (en) * 2018-02-01 2019-08-08 大全集团有限公司 Method for controlling stability when microgrid grid connection switches to island operation mode
CN110752741A (en) * 2019-09-27 2020-02-04 深圳市汇川技术股份有限公司 Method, system, equipment and medium for controlling high-voltage and low-voltage power supply driving circuit to be powered on and powered off

Patent Citations (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2003169419A (en) * 2001-11-30 2003-06-13 Toshiba Corp Power supply circuit of electronic apparatus
CN1726631A (en) * 2002-12-24 2006-01-25 三垦电气株式会社 Switching power supply device and method for controlling switching power supply device
CN102156498A (en) * 2009-12-23 2011-08-17 英特尔公司 Power management system and method
CN103187738A (en) * 2011-12-28 2013-07-03 海洋王照明科技股份有限公司 Charging circuit and charger
CN208334512U (en) * 2017-09-28 2019-01-04 深圳和而泰数据资源与云技术有限公司 A kind of load detecting circuit and its device, electronic equipment
WO2019148688A1 (en) * 2018-02-01 2019-08-08 大全集团有限公司 Method for controlling stability when microgrid grid connection switches to island operation mode
CN108808774A (en) * 2018-06-08 2018-11-13 苏州舜唐新能源电控设备有限公司 On-board high-voltage switching device, method, electronic equipment, storage medium
CN110752741A (en) * 2019-09-27 2020-02-04 深圳市汇川技术股份有限公司 Method, system, equipment and medium for controlling high-voltage and low-voltage power supply driving circuit to be powered on and powered off

Also Published As

Publication number Publication date
CN113629654A (en) 2021-11-09

Similar Documents

Publication Publication Date Title
US20220043067A1 (en) Charging method and device, charging system, electronic equipment and storage medium
US5457377A (en) Method of monitoring the internal impedance of an accumulator battery in an uninterruptible power supply, and an uninterruptible power supply
CN105790348B (en) Overcurrent protection in battery charger
US8248259B2 (en) Protection circuit with timer
CN105577152B (en) Protection circuit in load switch
US10978891B2 (en) Methods and apparatus for extending discharge over-current trip time in a battery protection circuit
CN113629654B (en) Power supply control method, circuit, device and readable storage medium
US20090096428A1 (en) Battery charging method and device thereof
US11201490B2 (en) Charging method, terminal, and non-transitory computer readable storage medium
CN114714948B (en) Method and device for controlling charge overcurrent of battery system and storage medium
WO2023202128A1 (en) Overcurrent protection circuit, control method, dc-dc converter, and electronic device
CN109450016B (en) Discharging method, mobile power supply and computer storage medium
CN112670948A (en) Board card protection method, system and device
CN116436122A (en) Power supply equipment identification method, identification circuit and electronic equipment
CN114725893A (en) Battery short-circuit protection system and method and electronic equipment
CN111030249B (en) Cut-off voltage control method and electronic equipment
CN112666477B (en) Method for determining short circuit in battery, electronic device, and storage medium
CN110112805B (en) Battery charging and discharging control method and system, mobile terminal and storage medium
CN113447773A (en) Arc detection method and device and energy storage battery system
CN110932379A (en) Redundant power management system and method
CN112723074B (en) Contact detection method, storage medium and elevator
KR20200059546A (en) Overcharge prevention apparatus of battery
CN118336649A (en) Lithium battery tool power-on protection method and system
CN113270848B (en) Trigger control method and device for fault protection of target circuit, controller and power supply
CN110138056B (en) Emergency power supply protection method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant