CN116382449B - Power supply distribution method, system and storage medium - Google Patents

Power supply distribution method, system and storage medium Download PDF

Info

Publication number
CN116382449B
CN116382449B CN202310601239.3A CN202310601239A CN116382449B CN 116382449 B CN116382449 B CN 116382449B CN 202310601239 A CN202310601239 A CN 202310601239A CN 116382449 B CN116382449 B CN 116382449B
Authority
CN
China
Prior art keywords
abnormal
control unit
channel
protector
terminals
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
CN202310601239.3A
Other languages
Chinese (zh)
Other versions
CN116382449A (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 Eastway Integration Co ltd
Original Assignee
Shenzhen Eastway Integration 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 Eastway Integration Co ltd filed Critical Shenzhen Eastway Integration Co ltd
Priority to CN202310601239.3A priority Critical patent/CN116382449B/en
Publication of CN116382449A publication Critical patent/CN116382449A/en
Application granted granted Critical
Publication of CN116382449B publication Critical patent/CN116382449B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/28Supervision thereof, e.g. detecting power-supply failure by out of limits supervision
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F1/00Details not covered by groups G06F3/00 - G06F13/00 and G06F21/00
    • G06F1/26Power supply means, e.g. regulation thereof
    • G06F1/30Means for acting in the event of power-supply failure or interruption, e.g. power-supply fluctuations
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/30Monitoring
    • G06F11/3058Monitoring arrangements for monitoring environmental properties or parameters of the computing system or of the computing system component, e.g. monitoring of power, currents, temperature, humidity, position, vibrations

Landscapes

  • Engineering & Computer Science (AREA)
  • Theoretical Computer Science (AREA)
  • Physics & Mathematics (AREA)
  • General Engineering & Computer Science (AREA)
  • General Physics & Mathematics (AREA)
  • Computing Systems (AREA)
  • Quality & Reliability (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The present invention relates to the field of power distribution, and in particular, to a power distribution method, a system, and a storage medium. The method comprises the following steps: step S1: the main power supply sequentially inputs power to each channel through the hybrid protector to the channel control unit; step S2: the first or second state detection unit detects the electrical parameters of each channel, judges whether the first type and the second type of abnormality exist in each terminal based on the electrical parameters, and outputs an abnormality signal when the abnormality exists; step S3: the control unit receives the abnormal signal, identifies the abnormal terminal and feeds back a second control signal to the channel control unit based on the abnormal terminal and the abnormal terminal quantity; step S4: the switching unit switches the channel corresponding to the abnormal terminal to perform first switching based on the first control signal; the channel control unit pauses the output of the multiple channels based on the second control signal. The invention solves the problem that the power supply distribution can not be carried out again when the circuit is abnormal, and realizes the distribution of the power supply when the circuit is abnormal.

Description

Power supply distribution method, system and storage medium
Technical Field
The present invention relates to the field of power distribution, and in particular, to a power distribution method, a system, and a storage medium.
Background
With the development of computer network technology, the demands of key devices such as servers, switches, various electronic devices and the like are increasing, the services borne by the key devices are more and more critical, the requirements on the environment (such as a machine room, a cabinet and the like) where the devices are located are also higher, all facilities participating in the operation of the key devices must have high reliability and availability, once the power supply has electric leakage or surge, if the power supply does not perform effective treatment, the whole system is damaged irreversibly, which puts forward higher requirements on the power supply management module, and in the prior art, for example, chinese patent: CN104953694a, a power distribution system, which comprises at least one server and a power distribution unit coupled to the at least one server. The power distribution unit includes a power distribution controller, a power input unit coupled to the power distribution controller, a battery, and a power switch. The power distribution controller detects the voltage of the alternating current power supply received by the power input unit from the power supply, wherein if the voltage is larger than a first critical value and smaller than a second critical value, the power distribution controller switches the power switch to be coupled to the power input unit and provides the alternating current power supply to at least one server; otherwise, the power switch is switched to be coupled to the battery and provides the direct current power to at least one server. Based on the above, the power distribution system effectively reduces power consumption and waste during power supply. Also, for example, taiwan patent No. TWI540423B, a power distribution system, a power distribution controller detects a voltage of an ac power received by a power input unit from a power source, wherein if the voltage is greater than a first threshold and less than a second threshold, the power distribution controller switches a power switch to be coupled to the power input unit and provides the ac power to at least one server; otherwise, the power switch is switched to be coupled to the battery and provides the direct current power to at least one server. Therefore, the power distribution system effectively reduces the consumption and waste of power during power supply. The above two patents solve the problem of waste of power supply, but do not comprehensively judge the abnormal position and type, only directly turn off the power supply when abnormality occurs, the abnormal position cannot be judged to cause that whether the terminal has a restarting condition or not, automatic restarting cannot be realized, after power failure, the control unit and the transmission unit cannot work, even if the battery is matched, the battery capacity is limited, the restarting use of each module cannot be usually satisfied, even if the battery electric quantity cannot be maintained after short use, the using times are limited.
Disclosure of Invention
In order to better solve the above problems, the present invention provides a power distribution method, which includes the following steps:
step S1: the main power supply sequentially inputs power to each channel through the mixed protector to the channel control unit;
step S2: the first or second state detection unit detects the electrical parameters of each channel, judges whether the first type and/or the second type of abnormality exists in each terminal based on the electrical parameters, and outputs an abnormality signal when the abnormality occurs;
step S3: the control unit receives the abnormal signal and identifies the abnormal terminals and the number of the abnormal terminals; when the ratio of the number of the abnormal terminals to the total number of the terminals is smaller than or equal to a first threshold value, the control unit feeds back a first control signal to the switching unit; when the ratio of the number of abnormal terminals to the total number of terminals is greater than the first threshold, the control unit feeds back a second control signal to the channel control unit;
step S4: the switching unit performs first switching on a channel corresponding to the abnormal terminal based on the first control signal, the first switching enables the channel corresponding to the abnormal terminal to be connected to a charging channel and charges a battery, the charging channel is connected with the battery, and the battery supplies power for the control unit and the transmission module when a main power supply is disconnected; the channel control unit pauses the output of the multi-channel module based on the second control signal.
As a preferable technical solution of the present invention, the step S4 further includes a step S41 and a step S42;
the step S41 includes: the channel control unit further performs the following steps based on the first control signal: the second state detection module detects current or voltage of the multi-channel module and outputs a first detection result, the first detection result is fed back to the control unit, the control unit judges whether the abnormality occurs in the abnormal terminal based on the first detection result, when the abnormality occurs in the terminal, the switching unit stops the output of the channel where the terminal is located, and when the abnormality does not occur in the terminal, the step S42 is executed;
the step S42 includes: the control unit outputs an attempt signal including at least a reset signal and a disconnection signal, a time interval between the reset signal and the disconnection signal being set to avoid damage of the terminal by the reset signal, the attempt signal is output at the switching unit, the abnormal terminal executes the attempt signal, and the second detection unit detects a state of the abnormal terminal.
As a preferable technical scheme of the invention, the method further comprises a step S43 and a step S44 after the step S42;
the step S43 includes: the channel control unit pauses the output of the multi-channel module based on the second control signal, the control unit receives the state signals of the hybrid protector, the first type protector and the second type protector, judges whether the hybrid protector, the first type protector and the second type protector are abnormal based on the state signals, further judges whether the ratio of the number of abnormal terminals to the total number of terminals is smaller than a second threshold value when at least one of the hybrid protector, the first type protector and the second type protector is abnormal, the second threshold value is larger than the first threshold value, and executes step S42 again when the ratio of the number of abnormal terminals to the total number of terminals is smaller than or equal to the second threshold value, and executes step S44 when the ratio of the number of abnormal terminals to the total number of terminals is larger than the second threshold value;
the step S44: and judging which of the mixed protector or the first type protector and the second type protector is abnormal, and judging the type of the abnormality.
As a preferred embodiment of the present invention, the step S44 includes: when the type of the abnormality is electricity leakage, the main power supply is disconnected, the control unit and the transmission module are powered by a battery, the electricity leakage information is transmitted to the server or the user side, when the abnormality is only electricity surge, the control unit judges the position of the electricity surge based on the state information of the hybrid protector, the first type protector and the second type protector, if the hybrid protector and the first type protector are abnormal in the electricity surge, the main power supply is disconnected, if the electricity surge is only generated in the main power supply or the channel control unit, the main power supply and the channel control unit are reset after a first preset time interval, and the control unit resets the main power supply and the channel control unit and enters restarting based on a built-in reset program; and in a second preset time after restarting, if the same type of abnormality occurs again, the main power supply is disconnected, and meanwhile, a battery is used for supplying power to the control unit and the transmission module, so that the information transmission server or the user side cannot be recovered due to surge.
As a preferable technical scheme of the invention, the first detection result is the surge and/or the leakage.
As a preferred technical solution of the present invention, when it is determined in step S44 that the types of abnormalities occurring in the hybrid protector and the first type protector and the second type protector are different, step S45 is executed: resetting after a preset time interval, wherein the control unit resets the main power supply and the channel control unit based on a built-in reset program and enters a restarting state; and in a preset time after the reset, if the same type of abnormality occurs again, the main power supply is disconnected, and meanwhile, a battery is used for supplying power to the control unit and the transmission module, so that the main power supply is in surge so as to lead the information transmission server or the user side not to be recovered.
As a preferable technical scheme of the invention, when the control unit monitors that the first state detection module and the second state detection unit have the same type of abnormality at the same time, the control unit controls the channel control unit to suspend the multi-channel output, and when the second state detection unit has the abnormality and the first state detection module has no abnormality, the switching unit performs first switching on the channel corresponding to the abnormal terminal, and the first switching enables the channel corresponding to the abnormal terminal to be connected to a charging channel and charges a battery.
The invention also provides a power distribution system for realizing the power distribution method, which comprises the following steps:
a main power supply for sequentially inputting power to the channels through the hybrid protector to the channel control unit;
the first state detection module and the second state detection module are used for detecting the electrical parameters of each channel, judging whether the first type and the second type of abnormality exist in each terminal or not based on the electrical parameters, and outputting an abnormality signal when the first type and the second type of abnormality exist in each terminal;
the control unit is used for receiving the abnormal signal and identifying the terminals with the abnormality and the number of the abnormal terminals; when the ratio of the number of the abnormal terminals to the total number of the terminals is smaller than a first threshold value, feeding back a first control signal to the switching unit; when the ratio of the number of abnormal terminals to the total number of terminals is greater than the first threshold value, feeding back a second control signal to the channel control unit;
the switching unit is used for switching the channel corresponding to the abnormal terminal to perform first switching based on the first control signal, the first switching enables the channel corresponding to the abnormal terminal to be connected to a charging channel to charge the battery, and the charging channel is connected with the battery; the channel control unit pauses the output of the multiple channels based on the second control signal.
The invention also provides a storage medium which stores program instructions, wherein the program instructions control equipment where the storage medium is located to execute the power distribution method when running.
Compared with the prior art, the invention has the following beneficial effects:
the invention detects the electrical parameters of each channel by detecting the first state or the second state detecting unit to determine the abnormal state, confirms the approximate position of the abnormality by the number of the abnormal terminals, further detects whether the abnormality occurs in the abnormal terminals or not by the second detecting unit and the trial signal when the ratio of the number of the abnormal terminals to the total number of the terminals is smaller than a first threshold value, and if the condition of restarting is met, restarts the terminals when the condition of restarting is met, thereby avoiding the problem that the terminals cannot continue to work due to instantaneous abnormality, charges the channels of the abnormal terminals to the battery when the condition of restarting is not met, not only avoiding the damage of secondary power on the abnormal terminals, but also improving the utilization rate of the power supply, avoiding the waste of power supply resources, and further judging the states and the abnormality types of the mixed protector, the first type protector and the second type protector when the ratio of the number of the abnormal terminals is larger than the first threshold value, resetting and restarting the mixed protector in a preset time, and detecting whether the same abnormality occurs again when the condition of the mixed protector is met, and disconnecting the main power supply and transmitting the information to the user terminal or the user terminal in time when the condition of restarting is not met, and the information is transmitted to the user terminal.
Drawings
FIG. 1 is a flow chart of a power distribution method according to the present invention;
fig. 2 is a block diagram of a power distribution system according to the present invention.
Detailed Description
The present invention will be described in further detail with reference to the drawings and examples, in order to make the objects, technical solutions and advantages of the present invention more apparent. It should be understood that the specific embodiments described herein are for purposes of illustration only and are not intended to limit the scope of the invention.
The invention provides a power supply distribution method, as shown in fig. 1, which comprises the following steps:
step S1: the main power supply sequentially inputs power to each channel through the mixed protector to the channel control unit;
specifically, the main power supply supplies power to the whole circuit, the phenomenon of surge household or electric leakage can be caused in the main power supply when the power supply is abnormal, the connection between the main power supply and the rear-end circuit can be timely disconnected through the hybrid protector, the damage of the rear-end equipment is prevented from being further caused, and the protection effect is achieved.
Step S2: the first or second state detection unit detects the electrical parameters of each channel, judges whether the first type and/or the second type of abnormality exists in each terminal based on the electrical parameters, and outputs an abnormality signal when the abnormality occurs;
specifically, the first state detection module or the second state detection unit can detect electrical parameters of each channel, such as voltage, current or power; and judging whether each terminal has surge and electric leakage through the electric parameters, and sending the abnormal signal to the control unit when at least one of the surge and the electric leakage occurs, so that abnormal handling abnormality can be found in time.
Step S3: the control unit receives the abnormal signal and identifies the abnormal terminals and the number of the abnormal terminals; when the ratio of the number of the abnormal terminals to the total number of the terminals is smaller than or equal to a first threshold value, the control unit feeds back a first control signal to the switching unit; when the ratio of the number of abnormal terminals to the total number of terminals is greater than the first threshold, the control unit feeds back a second control signal to the channel control unit;
specifically, the abnormal channels and corresponding terminals are identified by the abnormal signals received by the control unit, the number of the abnormal channels and the corresponding terminals is calculated, the abnormal positions are estimated by the number of the abnormal terminals, and when the number of the abnormal terminals is small, that is, the ratio of the number of the abnormal terminals to the total number of the terminals is smaller than or equal to a first threshold, the method is exemplified: the first threshold is 1/5, which may be that the terminal is abnormal, and further determines that if the terminal is determined to be inside the terminal, the terminal is disconnected, if the terminal is not inside the terminal, whether the restarting condition is met is judged by the trial signal, and when the number of abnormal terminals is large, that is, the ratio of the number of abnormal terminals to the total number of terminals is less than or equal to the first threshold, the circuit before the power supply terminal may be problematic, and the output of each channel needs to be suspended to prevent the terminal from being damaged by the abnormality.
Step S4: the switching unit performs first switching on a channel corresponding to the abnormal terminal based on the first control signal, the first switching enables the channel corresponding to the abnormal terminal to be connected to a charging channel and charges a battery, the charging channel is connected with the battery, and the battery supplies power for the control unit and the transmission module when a main power supply is disconnected; the channel control unit pauses the output of the multi-channel module based on the second control signal.
Specifically, when the switching unit receives the first control signal, it is determined whether the abnormal terminal has a restarting condition, and when the switching unit does not have the restarting condition, the battery is charged by using the channel corresponding to the abnormal terminal, so that the utilization rate of the power supply is improved, meanwhile, the main power supply is abnormal, a basis is provided for supplying power to the control unit and the transmission module through the battery to transmit abnormal information, and meanwhile, when the channel control unit receives the second control signal, a problem may occur in a circuit in front of the terminal, so that the output of multiple channels needs to be stopped, and the terminal is prevented from being damaged.
Further, the step S4 further includes a step S41 and a step S42;
the step S41 includes: the channel control unit further performs the following steps based on the first control signal: the second state detection module detects current or voltage of the multi-channel module and outputs a first detection result, the first detection result is fed back to the control unit, the control unit judges whether the abnormality occurs in the abnormal terminal based on the first detection result, when the abnormality occurs in the terminal, the switching unit stops the output of the channel where the terminal is located, and when the abnormality does not occur in the terminal, the step S42 is executed;
specifically, the second state detection module detects the output current or voltage of each channel to determine whether the abnormality is in the terminal where the abnormality occurs, and when the output current or voltage of the channel corresponding to the abnormality terminal detected by the first detection result exceeds a set value, it may be determined that the abnormality occurs in the terminal where the abnormality occurs, otherwise, the abnormality does not occur in the terminal where the abnormality occurs.
The step S42 includes: the control unit outputs an attempt signal including at least a reset signal and a disconnection signal, a time interval between the reset signal and the disconnection signal being set to avoid damage of the terminal by the reset signal, the attempt signal is output at the switching unit, the abnormal terminal executes the attempt signal, and the second detection unit detects a state of the abnormal terminal.
Specifically, the terminal may be turned on by the reset signal, and may be turned off by the off signal, and the time interval is set to be within 1ms, preferably within 100 μs, for example, 10 μs, 5 μs; the second detection unit detects whether the abnormal terminal meets the restarting condition or not in the interval time, the switching unit reconnects the channel meeting the restarting condition to the corresponding terminal after the restarting condition is met, when the restarting condition is not met, the control unit outputs a disable signal to enable the channel of the terminal which does not meet the restarting condition to be connected to the charging channel, so that whether the abnormality occurs in the terminal or not can be accurately confirmed, and when the restarting condition is not met, the channel which the original terminal belongs to charges a battery, power resources are reasonably utilized, and the using times of the battery are increased.
Step S43 and step S44 are further included after the step S42;
the step S43 includes: the channel control unit pauses the output of the multi-channel module based on the second control signal, the control unit receives the state signals of the hybrid protector, the first type protector and the second type protector, judges whether the hybrid protector, the first type protector and the second type protector are abnormal based on the state signals, further judges whether the ratio of the number of abnormal terminals to the total number of terminals is smaller than a second threshold value when at least one of the hybrid protector, the first type protector and the second type protector is abnormal, the second threshold value is larger than the first threshold value, and executes step S42 again when the ratio of the number of abnormal terminals to the total number of terminals is smaller than or equal to the second threshold value, and executes step S44 when the ratio of the number of abnormal terminals to the total number of terminals is larger than the second threshold value;
specifically, the above transmission module is a wireless transmission module for performing signal connection, which protector is triggered can be determined according to state information of the hybrid protector, the first type protector and the second type protector, the abnormal value is determined according to the abnormal number of the terminals, and when the ratio of the abnormal number of the terminals to the total number of the terminals is less than or equal to a second threshold value, the initial determination is that the abnormal number of the terminals is caused by the hybrid protector and the first second protector, which is exemplary: the second threshold is 2/5, step S42 is further executed to further determine whether the terminal meets the restarting condition to determine whether the terminal is damaged, and when the ratio of the number of abnormal terminals to the total number of terminals is greater than the second threshold, it may be that the power supply is abnormal, so that the output needs to be stopped in time to prevent the terminal from being damaged.
The step S44: and judging which of the mixed protector or the first type protector and the second type protector is abnormal, and judging the type of the abnormality.
Specifically, which one of the abnormality has occurred is determined by the state of the hybrid protector or the first type protector, the second type protector, and the abnormality types include surge, leakage, and the like.
Further, the step S44 includes: when the type of the abnormality is electricity leakage, the main power supply is disconnected, the control unit and the transmission module are powered by a battery, the electricity leakage information is transmitted to the server or the user side, when the abnormality is only electricity surge, the control unit judges the position of the electricity surge based on the state information of the hybrid protector, the first type protector and the second type protector, if the hybrid protector and the first type protector are abnormal in the electricity surge, the main power supply is disconnected, if the electricity surge is only generated in the main power supply or the channel control unit, the main power supply and the channel control unit are reset after a first preset time interval, and the control unit resets the main power supply and the channel control unit and enters restarting based on a built-in reset program; and in a second preset time after restarting, if the same type of abnormality occurs again, the main power supply is disconnected, and meanwhile, a battery is used for supplying power to the control unit and the transmission module, so that the information transmission server or the user side cannot be recovered due to surge.
Specifically, in the hybrid protector or at least one of the first type protector and the second type protector is abnormal due to electric leakage, because the hazard of electric leakage is relatively large and the property is relatively bad, the main power supply needs to be disconnected, the electric leakage position is isolated, devices in a circuit are prevented from being broken down, when the main power supply is disconnected, the control unit and the transmission module are powered off, information cannot be continuously transmitted, the electric leakage information transmission needs to be completed through battery power, when the abnormality in the protector does not include electric leakage, the abnormality is considered to be surge, the surge has the characteristic of non-persistence, reset is performed after a predetermined time interval, the first predetermined time can be 10 seconds, whether the power supply needs to be switched or not is determined by detecting whether the surge occurs again, and when the power supply appears again, the main power supply is disconnected, the safety of the power source of the whole channel is ensured, and the safety of the terminal is ensured.
Further, the first detection result is a surge and/or leakage.
Further, when it is determined in the step S44 that the types of abnormalities occurring in the hybrid protector and the first-type protector and the second-type protector are different, step S45 is executed: resetting after a preset time interval, wherein the control unit resets the main power supply and the channel control unit based on a built-in reset program and enters a restarting state; and in a preset time after the reset, if the same type of abnormality occurs again, the main power supply is disconnected, and meanwhile, a battery is used for supplying power to the control unit and the transmission module, so that the main power supply is in surge so as to lead the information transmission server or the user side not to be recovered.
Specifically, if the types of abnormalities occurring in the hybrid protector and the first type protector and the second type protector are different, for example, the hybrid protector generates surge, the second type protector generates leakage, and it is possible that the surge causes the channel control unit to generate transient leakage, and the leakage is possible to recover after the surge is released, that is, the leakage is no longer generated, reset and restart after a predetermined interval time, for example, 10s, and within a predetermined time, for example, 10 minutes, and detect whether an abnormality occurs again, for example, surge, if the abnormality occurs again, the main power supply is disconnected, if the abnormality occurs again, normal operation can be continued, and the problem that the system cannot continue to operate even if the abnormality disappears accidentally is avoided.
Further, when the control unit monitors that the first state detection module and the second state detection unit are abnormal in the same type, the control unit controls the channel control unit to suspend multi-channel output, and when the second state detection unit is abnormal and the first state detection module is not abnormal, the switching unit performs first switching on a channel corresponding to the abnormal terminal, and the first switching enables the channel corresponding to the abnormal terminal to be connected to a charging channel and charges a battery.
Specifically, when the control unit monitors that the first state detection module and the second state detection unit have the same type of abnormality, it is possible that the channel control unit has an abnormality, the abnormality of the terminal is possibly caused by the abnormality of the channel control unit, so that the output of the multiple channels needs to be suspended, and when the second state detection unit has an abnormality and the first state detection module has no abnormality, it is possible that the terminal has an abnormality, so that the output channel corresponding to the abnormal terminal charges the battery, and the power source resource is reasonably used.
The invention also provides a power distribution system for implementing the power distribution method, as shown in fig. 2, the system comprises:
a main power supply for sequentially inputting power to the channels through the hybrid protector to the channel control unit;
the first state detection module and the second state detection module are used for detecting the electrical parameters of each channel, judging whether the first type and the second type of abnormality exist in each terminal or not based on the electrical parameters, and outputting an abnormality signal when the first type and the second type of abnormality exist in each terminal;
the control unit is used for receiving the abnormal signal and identifying the terminals with the abnormality and the number of the abnormal terminals; when the ratio of the number of the abnormal terminals to the total number of the terminals is smaller than a first threshold value, feeding back a first control signal to the switching unit; when the ratio of the number of abnormal terminals to the total number of terminals is greater than the first threshold value, feeding back a second control signal to the channel control unit;
the switching unit is used for switching the channel corresponding to the abnormal terminal to perform first switching based on the first control signal, the first switching enables the channel corresponding to the abnormal terminal to be connected to a charging channel to charge the battery, and the charging channel is connected with the battery; the channel control unit pauses the output of the multiple channels based on the second control signal.
The invention also provides a storage medium which stores program instructions, wherein the program instructions control equipment where the storage medium is located to execute the power distribution method when running.
In summary, the present invention determines the abnormal state by detecting the electrical parameters of each channel by the first state detection unit or the second state detection unit, and confirms the approximate position of the abnormality by the number of the abnormal terminals, when the ratio of the number of the abnormal terminals to the total number of the terminals is smaller than the first threshold, further detects whether the abnormality occurs inside the abnormal terminals by the second detection unit and the trial signal, and if the restart condition is satisfied, restarts the terminals when the restart condition is satisfied, thereby avoiding the problem that the terminals cannot continue to work due to the instantaneous abnormality, and when the restart condition is not satisfied, charges the channels of the abnormal terminals to the battery, thereby not only avoiding the damage of the abnormal terminals caused by the secondary energization, but also improving the utilization rate of the power supply, avoiding the waste of the power supply resources, and when the ratio of the number of the abnormal terminals to the total number of the terminals is larger than the first threshold, further judging the states and the abnormality types of the mixed protector, the first type protector and the second type protector, and when the abnormality is determined to be the abnormality of the mixed protector, detecting whether the same abnormality occurs again in a predetermined time by resetting, and restarting the same abnormality occurs in the predetermined time, and when the main power supply is disconnected again, and the power supply is disconnected to the user terminal and the user terminal or the user terminal is notified of the abnormal information.
The technical features of the foregoing embodiments may be arbitrarily combined, and for brevity, all of the possible combinations of the technical features of the foregoing embodiments are not described, however, they should be considered as the scope of the disclosure as long as there is no contradiction between the combinations of the technical features.
The foregoing examples illustrate only a few embodiments of the invention and are described in detail herein without thereby limiting the scope of the invention. It should be noted that it will be apparent to those skilled in the art that several variations and modifications can be made without departing from the spirit of the invention, which are all within the scope of the invention. Accordingly, the scope of protection of the present invention is to be determined by the appended claims.
The foregoing description of the preferred embodiments of the invention is not intended to be limiting, but rather is intended to cover all modifications, equivalents, and alternatives falling within the spirit and principles of the invention.

Claims (5)

1. A method of power distribution, the method comprising the steps of:
step S1: the main power supply sequentially inputs power to each channel through the mixed protector to the channel control unit;
step S2: the first or second state detection unit detects the electrical parameters of each channel, judges whether the first type and/or the second type of abnormality exists in each terminal based on the electrical parameters, and outputs an abnormality signal when the abnormality occurs;
step S3: the control unit receives the abnormal signal and identifies the abnormal terminals and the number of the abnormal terminals; when the ratio of the number of the abnormal terminals to the total number of the terminals is smaller than or equal to a first threshold value, the control unit feeds back a first control signal to the switching unit; when the ratio of the number of abnormal terminals to the total number of terminals is greater than the first threshold, the control unit feeds back a second control signal to the channel control unit;
step S4: the switching unit performs first switching on a channel corresponding to the abnormal terminal based on the first control signal, the first switching enables the channel corresponding to the abnormal terminal to be connected to a charging channel and charges a battery, the charging channel is connected with the battery, and the battery supplies power for the control unit and the transmission module when a main power supply is disconnected; the channel control unit pauses the output of the multi-channel module based on the second control signal;
wherein, the step S4 further includes a step S41 and a step S42;
the step S41 includes: the channel control unit further performs the following steps based on the first control signal: the second state detection unit detects current or voltage of the multi-channel module and outputs a first detection result, the first detection result is fed back to the control unit, the control unit judges whether the abnormality occurs in the abnormal terminal based on the first detection result, when the abnormality occurs in the terminal, the switching unit stops the output of the channel where the terminal is located, and when the abnormality does not occur in the terminal, the step S42 is executed;
the step S42 includes: the control unit outputs an attempt signal including at least a reset signal and a disconnection signal, a time interval between the reset signal and the disconnection signal being set to avoid damage of the terminal by the reset signal, the attempt signal is output at the switching unit, the abnormal terminal executes the attempt signal, and the second state detecting unit detects a state of the abnormal terminal;
wherein, step S43 and step S44 are further included after step S42;
the step S43 includes: the channel control unit pauses the output of the multi-channel module based on the second control signal, the control unit receives the state signals of the hybrid protector, the first type protector and the second type protector, judges whether the hybrid protector, the first type protector and the second type protector are abnormal based on the state signals, further judges whether the ratio of the number of abnormal terminals to the total number of terminals is smaller than a second threshold value when at least one of the hybrid protector, the first type protector and the second type protector is abnormal, the second threshold value is larger than the first threshold value, and executes step S42 again when the ratio of the number of abnormal terminals to the total number of terminals is smaller than or equal to the second threshold value, and executes step S44 when the ratio of the number of abnormal terminals to the total number of terminals is larger than the second threshold value;
the step S44: judging which of the mixed protector or the first type protector and the second type protector is abnormal, and judging the type of the abnormality; when the type of the abnormality is electricity leakage, the main power supply is disconnected, the control unit and the transmission module are powered by a battery, the electricity leakage information is transmitted to the server or the user side, when the abnormality is only electricity surge, the control unit judges the position of the electricity surge based on the state information of the hybrid protector, the first type protector and the second type protector, if the hybrid protector and the first type protector are abnormal in the electricity surge, the main power supply is disconnected, if the electricity surge is only generated in the main power supply or the channel control unit, the main power supply and the channel control unit are reset after a first preset time interval, and the control unit resets the main power supply and the channel control unit and enters restarting based on a built-in reset program; in a second preset time after restarting, if the same type of abnormality occurs again, the main power supply is disconnected, and meanwhile, a battery is used for supplying power to the control unit and the transmission module, so that the information transmission server or the user side cannot be recovered due to surge;
when it is determined in step S44 that the types of abnormality occurring in the hybrid protector and the first-type protector and the second-type protector are different, step S45 is executed: resetting after a preset time interval, wherein the control unit resets the main power supply and the channel control unit based on a built-in reset program and enters a restarting state; and in a preset time after the reset, if the same type of abnormality occurs again, the main power supply is disconnected, and meanwhile, a battery is used for supplying power to the control unit and the transmission module, so that the main power supply is in surge so as to lead the information transmission server or the user side not to be recovered.
2. The method of claim 1, wherein the first detection result is surge and/or leakage.
3. The power supply distribution method according to claim 1, wherein when the control unit monitors that the first state detection unit and the second state detection unit are abnormal in the same kind, the control unit controls the channel control unit to suspend the multi-channel output, and when the second state detection unit is abnormal and the first state detection unit is not abnormal, the switching unit performs a first switching on a channel corresponding to the abnormal terminal, and the first switching enables the channel corresponding to the abnormal terminal to be connected to a charging channel and charges a battery.
4. A power distribution system for implementing the power distribution method according to any one of claims 1-3, the system comprising:
a main power supply for sequentially inputting power to the channels through the hybrid protector to the channel control unit;
the first state detection module and the second state detection module are used for detecting the electrical parameters of each channel, judging whether the first type and the second type of abnormality exist in each terminal or not based on the electrical parameters, and outputting an abnormality signal when the first type and the second type of abnormality exist in each terminal;
the control unit is used for receiving the abnormal signal and identifying the terminals with the abnormality and the number of the abnormal terminals; when the ratio of the number of the abnormal terminals to the total number of the terminals is smaller than a first threshold value, feeding back a first control signal to the switching unit; when the ratio of the number of abnormal terminals to the total number of terminals is greater than the first threshold value, feeding back a second control signal to the channel control unit;
the switching unit is used for switching the channel corresponding to the abnormal terminal to perform first switching based on the first control signal, the first switching enables the channel corresponding to the abnormal terminal to be connected to a charging channel to charge the battery, and the charging channel is connected with the battery; the channel control unit pauses the output of the multiple channels based on the second control signal.
5. A storage medium storing program instructions which, when executed, control a device in which the storage medium is located to perform the power distribution method of any one of claims 1 to 3.
CN202310601239.3A 2023-05-26 2023-05-26 Power supply distribution method, system and storage medium Active CN116382449B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310601239.3A CN116382449B (en) 2023-05-26 2023-05-26 Power supply distribution method, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310601239.3A CN116382449B (en) 2023-05-26 2023-05-26 Power supply distribution method, system and storage medium

Publications (2)

Publication Number Publication Date
CN116382449A CN116382449A (en) 2023-07-04
CN116382449B true CN116382449B (en) 2023-08-25

Family

ID=86969657

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310601239.3A Active CN116382449B (en) 2023-05-26 2023-05-26 Power supply distribution method, system and storage medium

Country Status (1)

Country Link
CN (1) CN116382449B (en)

Families Citing this family (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN116761300B (en) * 2023-08-17 2023-11-03 深圳莱福德科技股份有限公司 Abnormality detection method based on multi-signal analysis and application of abnormality detection method in lighting system

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108052412A (en) * 2017-12-28 2018-05-18 努比亚技术有限公司 Restart Fault Locating Method, mobile terminal and computer readable storage medium
CN209088551U (en) * 2018-10-11 2019-07-09 福建星云电子股份有限公司 A kind of knockdown base station standby energy storage power
CN110954849A (en) * 2019-11-18 2020-04-03 珠海格力电器股份有限公司 Abnormity detection system and method for electrical equipment and monitoring terminal
CN114285149A (en) * 2021-12-22 2022-04-05 西安中诺通讯有限公司 Intelligent terminal and abnormal power-off protection control method and device thereof

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2005301476A (en) * 2004-04-08 2005-10-27 Hitachi Ltd Power supply control system and storage device
JP6638068B2 (en) * 2016-06-07 2020-01-29 ローム株式会社 System power supply circuit, electronic device, and protection method for electronic device

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108052412A (en) * 2017-12-28 2018-05-18 努比亚技术有限公司 Restart Fault Locating Method, mobile terminal and computer readable storage medium
CN209088551U (en) * 2018-10-11 2019-07-09 福建星云电子股份有限公司 A kind of knockdown base station standby energy storage power
CN110954849A (en) * 2019-11-18 2020-04-03 珠海格力电器股份有限公司 Abnormity detection system and method for electrical equipment and monitoring terminal
CN114285149A (en) * 2021-12-22 2022-04-05 西安中诺通讯有限公司 Intelligent terminal and abnormal power-off protection control method and device thereof

Non-Patent Citations (1)

* Cited by examiner, † Cited by third party
Title
高压断路器常见故障的原因分析;崔猛;;河北电力技术(第S1期);第52-54页 *

Also Published As

Publication number Publication date
CN116382449A (en) 2023-07-04

Similar Documents

Publication Publication Date Title
US8344546B2 (en) Power supply unit directly connected to backup direct current power source
US7734432B2 (en) Transmission of a power loss condition over a network
CN102882267B (en) Power supply device, electronic equipment and power supply method
CN116382449B (en) Power supply distribution method, system and storage medium
WO2016177214A1 (en) Power consumption control method and device, and mobile terminal
CN110120700B (en) Power supply system and control method thereof
CN114336815A (en) Multi-port charging control method
CN107817886B (en) Power supply control method and electronic equipment
US20190235600A1 (en) Computer system having at least one interface and method of restricting power output
CN110569074A (en) Computer shutdown method, system and storage medium
CN115117997A (en) Power supply management system, power change station and power supply management method and device thereof
CN113329286B (en) Wireless earphone and wireless earphone system
CN115528676A (en) Power supply system, monitoring method and device, electronic equipment and storage medium
CN114335764A (en) Control method and device, energy storage system and non-volatile computer readable storage medium
CN104272211B (en) Receive input electric power to measure with the controller managing rectifier, electric system and method thereof
CN111399620A (en) Backup power supply and backup method
CN214376313U (en) Self-service equipment power supply unit and self-service equipment
CN111273105B (en) Intelligent household appliance and power supply detection method thereof
CN112003362B (en) Control method of power supply system and related device
CN213124946U (en) Intelligent PDU
CN211321412U (en) Video recorder
CN214205058U (en) Tablet personal computer charging system
CN108304059A (en) A kind of computer abnormal power-down auto shutdown system and method
CN217508337U (en) Medical X-ray imaging equipment and power supply system thereof
CN113942411B (en) Charging detection fault tolerance system and method

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
PE01 Entry into force of the registration of the contract for pledge of patent right

Denomination of invention: A power distribution method, system, and storage medium

Granted publication date: 20230825

Pledgee: Shenzhen Branch of Guoren Property Insurance Co.,Ltd.

Pledgor: SHENZHEN EASTWAY INTEGRATION CO.,LTD.

Registration number: Y2024980018743

PE01 Entry into force of the registration of the contract for pledge of patent right