CN116316401A - Overvoltage protection method, system and storage medium - Google Patents

Overvoltage protection method, system and storage medium Download PDF

Info

Publication number
CN116316401A
CN116316401A CN202310263244.8A CN202310263244A CN116316401A CN 116316401 A CN116316401 A CN 116316401A CN 202310263244 A CN202310263244 A CN 202310263244A CN 116316401 A CN116316401 A CN 116316401A
Authority
CN
China
Prior art keywords
power supply
array
actual voltage
voltage value
power
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.)
Pending
Application number
CN202310263244.8A
Other languages
Chinese (zh)
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.)
Ssd Technology Co ltd
Original Assignee
Ssd 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 Ssd Technology Co ltd filed Critical Ssd Technology Co ltd
Priority to CN202310263244.8A priority Critical patent/CN116316401A/en
Publication of CN116316401A publication Critical patent/CN116316401A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H1/00Details of emergency protective circuit arrangements
    • H02H1/0092Details of emergency protective circuit arrangements concerning the data processing means, e.g. expert systems, neural networks
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H3/00Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection
    • H02H3/20Emergency protective circuit arrangements for automatic disconnection directly responsive to an undesired change from normal electric working condition with or without subsequent reconnection ; integrated protection responsive to excess voltage
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02HEMERGENCY PROTECTIVE CIRCUIT ARRANGEMENTS
    • H02H7/00Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions
    • H02H7/22Emergency protective circuit arrangements specially adapted for specific types of electric machines or apparatus or for sectionalised protection of cable or line systems, and effecting automatic switching in the event of an undesired change from normal working conditions for distribution gear, e.g. bus-bar systems; for switching devices

Landscapes

  • Engineering & Computer Science (AREA)
  • Artificial Intelligence (AREA)
  • Evolutionary Computation (AREA)
  • Protection Of Static Devices (AREA)

Abstract

The invention provides an overvoltage protection method, an overvoltage protection system and a storage medium, wherein the overvoltage protection method comprises the following steps: acquiring a plurality of actual voltage values output by all power supplies, and power supply numbers corresponding to the actual voltage values one by one, and forming a voltage array from the actual voltage values according to the power supply numbers; acquiring preset safety conditions corresponding to the power supply numbers one by one, judging whether each actual voltage value in the voltage array accords with the corresponding preset safety condition, if so, generating a normal working array according to the power supply numbers, and controlling all power supplies to work normally according to the normal working array; if at least one of the power supply numbers does not accord with the actual voltage values of the corresponding preset safety conditions, marking the power supply number corresponding to the actual voltage values which do not accord with the corresponding preset safety conditions as a problem number, and generating an abnormal work array based on the problem number and the power supply number; and controlling the working states of all the power supplies according to the abnormal working array. The method and the device can improve timeliness of overvoltage protection on the basis of considering cost.

Description

Overvoltage protection method, system and storage medium
Technical Field
The present disclosure relates to the field of functional module protection technologies, and in particular, to an overvoltage protection method, system, and storage medium.
Background
While industrial manufacturing is now rapidly moving to intelligence, products are intended to achieve a richer intelligence, and support for various integrated circuit boards is needed, all intelligent production is just a matter of choice once the integrated circuit board is determined. The integrated circuit board is provided with a plurality of functional units, and the power supply module provides proper power supply voltage for each functional unit, which is a precondition for the operation of each functional unit. However, each functional unit on the integrated circuit board corresponds to a preset safety condition, and different functional units may correspond to different preset safety conditions, if the power supply voltage provided by the power supply module does not meet the preset safety condition of the functional unit, the functional unit is damaged and cannot work, so that the work of the whole integrated circuit board is affected.
At present, in order to protect the functional units from damage caused by that the actually received power supply voltage does not meet the corresponding preset safety conditions, each functional unit is generally provided with a power supply module independently, so that the power supply module provides the corresponding power supply voltage for the functional unit, and each power supply module is provided with an overvoltage detection device, so that the power supply module, the functional unit and the overvoltage detection device are in one-to-one correspondence. Each overvoltage detection device is used for detecting whether the actual voltage value output by the corresponding power supply module accords with the preset safety condition of the corresponding functional unit, and if not, the power supply module is turned off in time to protect the functional unit. However, each functional unit is matched with an overvoltage detection device, and although overvoltage protection can be performed in time, the cost is obviously increased, and particularly, a plurality of functional units are arranged in an integrated circuit board.
In order to reduce the costs associated with the overvoltage detection device, a control chip may alternatively be used instead of a plurality of overvoltage detection devices. However, the input/output ports of one control chip are limited, if the functional units on the integrated circuit board are too many, the actual voltage values output by the power modules can only be sequentially used as the input of the control chip, so that the cost can be saved, but the actual voltage output by each power module cannot be subjected to overvoltage protection in real time, and the timeliness of the overvoltage protection is reduced.
Disclosure of Invention
In order to improve timeliness of overvoltage protection on the basis of considering cost, the embodiment of the application provides an overvoltage protection method, an overvoltage protection system and a storage medium.
In a first aspect, the present embodiment provides an overvoltage protection method, including:
acquiring a plurality of actual voltage values output by all power supplies, and power supply numbers corresponding to the actual voltage values one by one, and forming a voltage array from the actual voltage values according to the power supply numbers;
acquiring preset safety conditions corresponding to each power supply number one by one, judging whether each actual voltage value in the voltage array accords with the corresponding preset safety conditions, if so, generating a normal working array according to the power supply numbers, and controlling all power supplies to work normally according to the normal working array;
If at least one of the power supply numbers does not accord with the actual voltage values of the corresponding preset safety conditions, marking the power supply number corresponding to the actual voltage values which do not accord with the corresponding preset safety conditions as a problem number, and generating an abnormal work array based on the problem number and the power supply number, wherein the number of signals in the abnormal work array is the same as the number of the actual voltage values in the voltage array;
and controlling the working states of all the power supplies according to the abnormal working array.
In some embodiments, all power supply numbers are different, and forming the plurality of actual voltage values into a voltage array according to the power supply numbers includes:
the method comprises the steps of obtaining the number of all power supply numbers, and generating a first blank array according to the number, wherein the first blank array can allow the number of actual voltage values to be stored to be the same as the number;
according to the sequence from the small number to the large number of the power supply, the actual voltage values are correspondingly sequenced to determine the voltage relative position of each actual voltage value in all the actual voltage values;
and according to the voltage relative position of each actual voltage value, sequentially storing all the actual voltage values in the positions corresponding to the voltage relative positions in the first blank array to obtain a voltage array.
In some embodiments, determining whether each actual voltage value in the voltage array meets a corresponding preset safety condition includes:
judging whether each actual voltage value in the voltage array falls into a corresponding preset voltage range, and if so, conforming to a corresponding preset safety condition;
if not, acquiring an actual voltage value which does not fall into a corresponding preset voltage range and a historical voltage value which corresponds to the same power supply number with the actual voltage value, wherein the historical voltage value represents the actual voltage value output by the power supply last time;
judging whether the historical voltage values fall into corresponding preset voltage ranges, if not, each actual voltage value in the voltage array does not meet corresponding preset safety conditions;
otherwise, each actual voltage value in the voltage array accords with the corresponding preset safety condition.
In some embodiments, the abnormal work array stores the number of signals, the signals include at least one of a first abnormal signal, a second abnormal signal, and a normal signal, and generating the abnormal work array based on the problem number and the power supply number includes:
Sequentially judging whether the number corresponding to each actual voltage value is a problem number, if so, acquiring a minimum voltage value in a preset voltage range corresponding to the problem number, judging whether the actual voltage value is larger than the minimum voltage value, and if so, generating a corresponding first abnormal signal according to the problem number;
if not, generating a corresponding second abnormal signal according to the problem number;
if not, generating a corresponding normal signal according to the power supply number;
generating a second blank array according to the number, wherein the number of signals which can be allowed to be stored in the second blank array is the same as the number;
obtaining the signal relative positions of each of the first abnormal signal, the second abnormal signal and the normal signal in all signals according to the voltage relative position of each actual voltage value;
and according to the relative positions of the signals, sequentially storing all the signals in the positions corresponding to the relative positions of the signals in the second blank array to generate an abnormal work array.
In some embodiments, the operating states include a power-off state and a power-on state, and controlling the operating states of all power supplies according to the abnormal operation array includes:
Generating an energizing instruction according to the normal signal so as to enable the power supply corresponding to the power supply number to be in an energizing state continuously;
generating a turn-off instruction according to the first abnormal signal so as to enable the power supply corresponding to the problem number to be in a power-off state;
obtaining an intermediate voltage value in a preset voltage range corresponding to the problem number, subtracting the actual voltage value from the intermediate voltage value to obtain an adjustment voltage value, and generating a pressurizing instruction according to the second abnormal signal to enable the power supply corresponding to the problem number to be in a power-on state, wherein the actual voltage value output by the power supply corresponding to the problem number is adjusted to the adjustment voltage value.
In some of these embodiments, the method further comprises:
judging whether a power-off signal sent by a power supply is received or not, if so, acquiring the current time and the historical time of last acquiring the actual voltage value output by the power supply corresponding to the problem number;
subtracting the historical time from the current time to obtain a time difference, judging whether the time difference is not less than a preset time, if not, generating a corresponding energizing signal according to the problem number so that a power supply corresponding to the problem number is in an energizing state, and re-marking the problem number as a power supply number;
If the time is smaller than the current time, continuing to acquire the current time corresponding to the current time.
In some embodiments, generating the abnormal work array according to the problem number and the power supply further includes:
and generating a first alarm signal according to the first abnormal signal, and generating a second alarm signal according to the second abnormal signal.
In a second aspect, the present embodiment provides an overvoltage protection system, the system comprising: the system comprises a preprocessing module and an overvoltage protection module, wherein the preprocessing module comprises an acquisition unit and a first arrangement unit, and the overvoltage protection module comprises a first judgment unit, a protection unit and a second arrangement unit; wherein,,
the acquisition unit is used for acquiring a plurality of actual voltage values output by all the power supplies and power supply numbers corresponding to the actual voltage values one by one;
the first sorting unit is used for forming a voltage array from the actual voltage values according to the power supply number;
the first judging unit is used for acquiring preset safety conditions corresponding to the power supply numbers one by one and judging whether each actual voltage value in the voltage array accords with the corresponding preset safety conditions or not;
The protection unit is used for generating a normal work array according to the power supply numbers if the power supply numbers are all met, and controlling all power supplies to work normally according to the normal work array;
the second sorting unit is configured to, if at least one of the signal numbers does not meet the preset safety condition, mark a power supply number corresponding to an actual voltage value that does not meet the preset safety condition as a problem number, and generate an abnormal work array based on the problem number and the power supply number, where the number of signals in the abnormal work array is the same as the number of actual voltage values in the voltage array;
the protection unit is also used for controlling the working states of all the power supplies according to the abnormal working array.
In some embodiments, the preprocessing module further includes a second judging unit; wherein,,
the second judging unit is used for judging whether a power-off signal sent by the power supply is received or not;
the acquisition unit is further used for acquiring the current time and the historical time of the actual voltage value output by the power supply corresponding to the problem number if the current time is received; subtracting the historical time from the current time to obtain a time difference;
The second judging unit is further used for judging whether the time difference is not smaller than a preset time;
the protection unit is further configured to generate a corresponding power-on signal according to the problem number if the power-on signal is not smaller than the problem number, so that the power supply corresponding to the problem number is in a power-on state, and re-mark the problem number as a power supply number;
the obtaining unit is further configured to continuously obtain the current time corresponding to the current time if the obtained time is smaller than the current time.
In a third aspect, embodiments of the present application provide a storage medium having stored thereon a computer program executable on a processor, the computer program implementing an overvoltage protection method according to the first aspect when executed by the processor.
By adopting the method, after the actual voltage values output by all the power supplies at a certain moment are obtained, all the actual voltage values can be sequenced correspondingly according to the power supply numbers corresponding to the actual voltage values, so that a group of sequences formed by the sequenced actual voltage values are sequentially stored in the first blank array to obtain a voltage array. In this way, the voltage array is only required to be transmitted as an input to the relevant overvoltage protection device, i.e. only one input port of the relevant overvoltage protection device is required to be occupied, and all actual voltage values can be transmitted to the relevant overvoltage protection device at the same time. There is no case where the number of actual voltage values exceeds the number of input ports inherent to the overvoltage protection device itself, and all the actual voltage values cannot be received at the same time. On the basis of considering the cost, the timeliness of overvoltage protection can be improved.
In addition, considering the number of inherent output ports of the related overvoltage protection device, all instructions are still stored in a normal work array or an abnormal work array, so that all instructions can be simultaneously sent to all power supplies by only occupying one output port of the related overvoltage protection device, and the timeliness of overvoltage protection can be improved on the basis of considering the cost.
Drawings
Fig. 1 is a schematic diagram of the operation of overvoltage protection provided in this embodiment.
Fig. 2 is a block diagram of an overvoltage protection method provided in this embodiment.
Fig. 3 is a block diagram of a voltage array formed by combining a plurality of actual voltage values according to a power supply number according to the present embodiment.
Fig. 4 is a block diagram of determining whether each actual voltage value in the voltage array meets a corresponding preset safety condition according to an embodiment of the present application.
Fig. 5 is a block diagram of generating an abnormal work array based on a problem number and a power supply number provided in an embodiment of the present application.
Fig. 6 is a block diagram of controlling the operation states of all power supplies according to an abnormal operation array according to an embodiment of the present application.
Fig. 7 is a diagram of an overvoltage protection system according to the present embodiment.
Detailed Description
For a clearer understanding of the objects, technical solutions and advantages of the present application, the present application is described and illustrated below with reference to the accompanying drawings and examples. However, it will be apparent to one of ordinary skill in the art that the present application may be practiced without these details. It will be apparent to those having ordinary skill in the art that various changes can be made to the embodiments disclosed herein and that the general principles defined herein may be applied to other embodiments and applications without departing from the principles and scope of the present application. Thus, the present application is not limited to the embodiments shown, but is to be accorded the widest scope consistent with the scope claimed herein.
Embodiments of the present application are described in further detail below with reference to the drawings attached hereto.
Overvoltage protection, also known as overvoltage protection, is a protection scheme that disconnects a power supply or reduces the voltage of a controlled device when the voltage exceeds a set maximum value. Fig. 1 is a schematic diagram of the operation of overvoltage protection provided in this embodiment. As shown in FIG. 1, a plurality of functional units are arranged on an integrated circuit board, each functional unit corresponds to a power supply, and a preprocessing module is further arranged between the power supply and the relevant overvoltage protection device on the basis that the original power supply directly sends the actual voltage value to the relevant overvoltage protection device, so that the actual voltage values output by the power supplies are preprocessed, all the actual voltage values are sent to the relevant overvoltage protection device one by one, and therefore, on the basis that the relevant overvoltage protection device is not added, the relevant overvoltage protection device performs overvoltage protection on all the functional units in real time. The related overvoltage protection device can be a chip or a PLC, the input ports of the chip or the PLC are limited, and if the number of the power supplies is larger than that of the input ports, the voltage values output by all the power supplies cannot be input into the chip or the PLC at the same time.
Fig. 2 is a block diagram of an overvoltage protection method provided in this embodiment. As shown in fig. 2, an overvoltage protection method includes the steps of:
step S100, a plurality of actual voltage values output by all power supplies and power supply numbers corresponding to the actual voltage values one by one are obtained, and the actual voltage values are formed into a voltage array according to the power supply numbers.
Each power supply is corresponding to a power supply number representing the specific identity of the power supply, and all power supply numbers are different. Each power supply can output respective actual voltage values in real time, and communication connection with all the power supplies can be realized by using connecting devices such as wires or wireless transmission parts, so that a plurality of actual voltage values output by all the power supplies are obtained. The number of the actual voltage values is the same as the number of the power supplies and the number of the power supplies. The actual voltage value comprises two parts, one part is used for representing the size of the actual voltage value, and the other part is used for representing the power supply number corresponding to the actual voltage value, so that the actual voltage value can be known by looking at the actual voltage value, and the power supply number corresponding to each actual voltage value one by one can be obtained.
The power supply numbers may start from 0 and increase by 1 in turn to obtain the power supply numbers of all power supplies. For example, the power supply number of the first power supply is 0, the power supply number of the second power supply is 1, and the power supply numbers in the nth power supply are N-1 sequentially. In addition, the power supply numbers of the power supplies can be determined according to other rules, for example, the power supply numbers start from 1, and the power supply numbers of all the power supplies are obtained by sequentially increasing 2, so that the power supply numbers of all the power supplies are only required to be ensured to be different. The present application does not limit the rule according to which the power supply number of the power supply is. Considering that the power supply number is consistent with the subscript of the array related later, the possibility of matching errors is reduced, and the power supply numbers of all power supplies are obtained by sequentially increasing 1 according to the rule that the power supply number starts from 0 in the embodiment.
Fig. 3 is a block diagram of a voltage array formed by combining a plurality of actual voltage values according to a power supply number according to the present embodiment. As shown in fig. 3, the steps of forming a voltage array from a plurality of actual voltage values according to the power supply number include the following steps:
Step S101, the number of all power supply numbers is obtained, and a first blank array is generated according to the number, wherein the number and the number of the first blank array which can allow the actual voltage values to be stored are the same.
Step S102, according to the sequence of the power supply numbers from small to large, the actual voltage values are correspondingly ordered to determine the voltage relative position of each actual voltage value in all the actual voltage values.
Step S103, according to the voltage relative position of each actual voltage value, all the actual voltage values are sequentially stored in the positions corresponding to the voltage relative positions in the first blank array, so as to obtain a voltage array.
And adding one to the maximum value in all the power supply numbers to obtain the number of all the power supply numbers. And automatically generating a generating array instruction according to the number to obtain a blank array, wherein the blank array is used for storing all actual voltage values acquired at the same moment, and the last subscript in the blank array is the same as the maximum power supply number in all power supply numbers.
Because the power supply numbers are in one-to-one correspondence with the actual voltage values, after the actual voltage values are sequenced correspondingly according to the sequence from the small power supply numbers to the large power supply numbers, the actual voltage value sequence after sequencing is in one-to-one correspondence with the sequenced power supply numbers, namely, the first actual voltage value is the actual voltage value corresponding to the power supply number 0, the second actual voltage value is the actual voltage value corresponding to the power supply number 1, and the Nth actual voltage value is the actual voltage value corresponding to the power supply number N-1. The power supply number in each actual voltage value is thus the voltage relative position of that actual voltage value. And finding the index which is the same as the voltage relative position in the first blank array according to the voltage relative position, wherein the position corresponding to the index is the position where the actual voltage value corresponding to the voltage relative position is stored. All actual voltage values are found in this way and stored in the corresponding locations, so that a voltage array is obtained.
After the actual voltage values output by all the power supplies at a certain moment are obtained, all the actual voltage values can be correspondingly sequenced according to the power supply numbers corresponding to the actual voltage values, so that a group of sequences formed by the sequenced actual voltage values are sequentially stored in the first blank array to obtain a voltage array. In this way, the voltage array is only required to be transmitted as an input to the relevant overvoltage protection device, i.e. only one input port of the relevant overvoltage protection device is required to be occupied, and all actual voltage values can be transmitted to the relevant overvoltage protection device at the same time. There is no case where the number of actual voltage values exceeds the number of input ports inherent to the overvoltage protection device itself, and all the actual voltage values cannot be received at the same time. On the basis of considering the cost, the timeliness of overvoltage protection can be improved. In addition, when the next batch of all actual voltage values are obtained again, the new batch of all actual voltage values is replaced by the original actual voltage values.
Step S200, obtaining preset safety conditions corresponding to each power supply number one by one, judging whether each actual voltage value in the voltage array accords with the corresponding preset safety conditions, if so, generating a normal working array according to the power supply numbers, and controlling all power supplies to work normally according to the normal working array.
The preset safety condition is that the preset voltage range cannot be reached twice in succession. Wherein, the difference of power supply serial numbers indicates that the power supply is also different. Each power supply needs to supply voltage to a certain functional unit independently, and each functional unit is different, so that the voltage required by each functional unit is determined according to the accessory of the functional unit. Each power supply number has a preset voltage range corresponding to each other, and each preset voltage range is a voltage range required by the corresponding functional unit to work normally. The preset safety conditions are stored in the related overvoltage protection devices in advance, and the preset safety conditions corresponding to the power supply numbers one by one can be obtained through checking.
Fig. 4 is a block diagram of determining whether each actual voltage value in the voltage array meets a corresponding preset safety condition according to an embodiment of the present application. As shown in fig. 4, determining whether each actual voltage value in the voltage array meets the corresponding preset safety condition includes the following steps:
step S201, judging whether each actual voltage value in the voltage array falls within a corresponding preset voltage range, and if so, conforming to a corresponding preset safety condition.
Step S202, if not, acquiring an actual voltage value which does not fall into a corresponding preset voltage range and a historical voltage value corresponding to the same power supply number as the actual voltage value, wherein the historical voltage value represents the actual voltage value output by the power supply last time.
Step S203, judging whether the historical voltage value falls within a corresponding preset voltage range, if not, each actual voltage value in the voltage array does not meet a corresponding preset safety condition.
Step S204, otherwise, each actual voltage value in the voltage array accords with the corresponding preset safety condition.
Because each actual voltage value in the voltage array is stored according to the sequence from the small power supply number to the large power supply number, all preset voltage ranges are arranged according to the sequence from the small power supply number to the large power supply number, one actual voltage value corresponds to one preset voltage range, the corresponding actual voltage value and the preset voltage range are compared, and if the actual voltage value is not smaller than the minimum value of the preset voltage range and not larger than the maximum value of the preset voltage range, the actual voltage value is indicated to fall into the preset voltage range. Therefore, by comparing all the actual voltage values with the preset voltage ranges according to the comparison method, it can be determined whether each actual voltage value in the voltage array falls within the corresponding preset voltage range.
If each actual voltage value in the voltage array falls within the corresponding preset voltage range, the actual voltage value is indicated to fall into the preset voltage range, and the fact that the actual voltage value does not fall into the preset voltage range twice in succession does not exist. Therefore, each actual voltage value in the voltage array accords with the corresponding preset safety condition.
If at least one actual voltage value in the voltage array does not fall into the corresponding preset voltage range, the fact that the actual voltage value does not meet the corresponding preset safety condition is indicated. In order to further determine whether the actual voltage value meets the corresponding preset safety condition, it is also required to determine the power supply number corresponding to the actual voltage value which does not fall within the corresponding preset voltage range, obtain the historical voltage value of the power supply which corresponds to the power supply number and is output last time, if the historical voltage value also does not fall within the corresponding preset voltage range, it is indicated that the continuous two times do not fall within the preset safety range, and then each actual voltage value in the voltage array does not meet the corresponding preset safety condition. If the historical voltage value falls into the corresponding preset voltage range, the fact that the historical voltage value does not fall into the preset safety range twice continuously is indicated, and each actual voltage value in the array accords with the corresponding preset safety condition.
The preset safety conditions are set to be incapable of continuously falling into the preset voltage range twice, so that under the condition that the actual voltage values do not fall into the preset voltage range due to noise but are not caused by the problem of the power supply, each actual voltage value in the voltage array can be considered to be in accordance with the corresponding preset safety conditions, the power supply is in a power-off state without a draft rate, the stability of the functional unit is enhanced, and after all, the stability of the functional unit can be influenced by the fact that the power supply frequently switches the working state.
If each actual voltage value in the voltage array accords with the corresponding preset safety condition, the power supply can work normally. At this time, a normal signal is generated according to each power supply number, and all the normal signals are stored in another blank array to obtain a normal working array, wherein the normal working array comprises a plurality of normal signals, the normal signals indicate that the working power supply is in an electrified state, and the number of the normal signals are the same. In order to control all power supplies according to the normal work array, corresponding power-on instructions are generated according to all normal signals in the normal work array, and the corresponding normal signals are replaced by all power-on instructions to be stored in the normal work array, so that the normal work array outputs a result to all power supplies, and the power supplies still work normally.
After the power-on instructions for controlling the power supplies are obtained, all the power-on instructions are still stored in a normal working array in consideration of the number of inherent output ports of the related overvoltage protection devices, so that all the power-on instructions can be simultaneously sent to all the power supplies only by occupying one output port of the related overvoltage protection devices, and the timeliness of overvoltage protection can be improved on the basis of considering the cost.
And step S300, if at least one of the power supply numbers does not accord with the actual voltage values of the corresponding preset safety conditions, marking the power supply number corresponding to the actual voltage values which do not accord with the corresponding preset safety conditions as a problem number, and generating an abnormal work array based on the problem number and the power supply number, wherein the number of signals in the abnormal work array is the same as the number of the actual voltage values in the voltage array.
If all the actual voltage values in the voltage array do not meet the corresponding preset safety conditions, indicating that at least one actual voltage value in the voltage array does not meet the corresponding preset safety conditions. The key is added into the power supply number corresponding to the actual voltage value which does not meet the corresponding preset safety condition, so that the power supply number added with the key is marked as a problem number. The key may be of any sign.
The abnormal work array stores signals with the same number as the number of the power supply numbers, and the signals at least comprise one of a first abnormal signal, a second abnormal signal and a normal signal. Fig. 5 is a block diagram of generating an abnormal work array based on a problem number and a power supply number provided in an embodiment of the present application. As shown in fig. 5, generating the abnormal work array based on the problem number and the power supply number includes the steps of:
step S301, judging whether the number corresponding to each actual voltage value is a problem number in sequence, if so, acquiring the minimum voltage value in the preset voltage range corresponding to the problem number, judging whether the actual voltage value is larger than the minimum voltage value, and if so, generating a corresponding first abnormal signal according to the problem number.
Step S302, if not, generating a corresponding second abnormal signal according to the problem number.
Step S303, if the number is not the problem number, generating a corresponding normal signal according to the power supply number.
Step S304, a second blank array is generated according to the number, wherein the number and the number of the signals which can be allowed to be stored in the second blank array are the same.
Step S305, obtaining the signal relative positions of each of the first abnormal signal, the second abnormal signal and the normal signal in all signals according to the voltage relative position of each of the actual voltage values.
Step S306, according to the relative positions of the signals, all the signals are sequentially stored in the positions corresponding to the relative positions of the signals in the second blank array, so as to generate an abnormal work array.
By checking whether each power supply number is marked with a keyword, whether the number corresponding to the actual voltage value is a problem number can be judged. If the number corresponding to the actual voltage value is determined to be the problem number, a minimum value and a maximum value of the preset voltage range are obtained according to each preset voltage range. And comparing the actual voltage value corresponding to the problem number with the minimum value of the corresponding preset voltage range in sequence, and when the actual voltage value is larger than the minimum value of the corresponding preset voltage range, indicating that the actual voltage value is larger than or equal to the maximum value of the preset voltage range, wherein the voltage value output by the power supply corresponding to the problem number does not fall into the corresponding preset voltage range because of being larger, so as to generate a first abnormal signal.
When the actual voltage value is not greater than the minimum value of the corresponding preset voltage range, the actual voltage value is smaller than or equal to the minimum value of the preset voltage range, and at the moment, the voltage value output by the power supply corresponding to the problem number does not fall into the corresponding preset voltage range because of being smaller, and a second abnormal signal is generated.
If the number corresponding to the actual voltage value is not the problem number, generating a normal signal. Thus, corresponding signals can be generated according to each number through twice judgment, and each number corresponds to one of the first abnormal signal, the second abnormal signal and the normal signal.
After the signals are generated, the signals are stored in a second blank array, so that an abnormal work array is obtained. The second blank array allows the same number of signals as the number of signals stored. Each signal corresponds to an actual voltage value, and the voltage relative position of each actual voltage value is used as the signal relative position of the signal corresponding to each actual voltage value, so that the signal relative positions of each first abnormal signal, each second abnormal signal and each normal signal in all signals can be obtained. And finding the index which is the same as the signal relative position in the second blank array according to the signal relative position, wherein the position corresponding to the index is the position where the signal corresponding to the signal relative position should be stored. All signals are found to be stored in this way, so that all signals can be stored in the corresponding locations to obtain an abnormal work array.
And sequentially storing all signals in a second blank array according to the relative positions of the signals to obtain an abnormal work array. Thus, only one output port of the relevant overvoltage protection device is occupied, and the situation that all signals cannot be simultaneously output when the number of signals exceeds the number of the inherent output ports of the relevant overvoltage protection device cannot exist. On the basis of considering the cost, the timeliness of overvoltage protection can be improved.
In addition, after generating the abnormal work array, the method further comprises: and generating a first alarm signal according to the first abnormal signal, and generating a second alarm signal according to the second abnormal signal. The first alarm signal and the second alarm signal are used as input quantities of the buzzer equipment, and the working condition of the integrated circuit board can be intuitively known in time by generating the alarm signals.
Step S400, controlling the working states of all power supplies according to the abnormal working array.
The operating states include a power-off state and a power-on state. Fig. 6 is a block diagram of controlling the operation states of all power supplies according to an abnormal operation array according to an embodiment of the present application. As shown in fig. 6, controlling the operation states of all the power supplies according to the abnormal operation array includes the following steps:
In step S401, an energizing instruction is generated according to the normal signal, so that the power supply corresponding to the power supply number is continuously in an energized state.
Step S402, according to the first abnormal signal, a turn-off instruction is generated to enable the power supply corresponding to the problem number to be in a power-off state.
Step S403, obtaining an intermediate voltage value in a preset voltage range corresponding to the problem number, subtracting the actual voltage value from the intermediate voltage value to obtain an adjustment voltage value, and generating a pressurizing instruction according to the second abnormal signal to enable the power supply corresponding to the problem number to be in a power-on state, wherein the actual voltage value output by the power supply corresponding to the problem number is adjusted to the adjustment voltage value.
In order to control all power supplies according to the abnormal work array, corresponding instructions are also required to be generated according to different signals in the abnormal work array. Wherein, the power-on instruction can be generated according to the normal signal; because the first abnormal signal indicates that the actual voltage value output by the power supply is not in the preset voltage range because of being larger, the power supply is in a power-off state at the moment, a turn-off instruction is generated according to the first abnormal signal, so that the power supply corresponding to the problem number is in the power-off state; because the second abnormal signal represents that the actual voltage value output by the power supply is not in the preset voltage range because of smaller value, the functional unit cannot work normally at the moment, the average of the corresponding maximum value and the minimum value can be used as the adjustment voltage value which is supposed to be output by the power supply, the pressurizing instruction is generated according to the second abnormal signal, and the power supply corresponding to the second abnormal signal is in the energized state.
After all the instructions are obtained, replacing the corresponding signals with all the instructions to be stored in the abnormal work array, so that the abnormal work array is output to all the power supplies with one result to control the working states of all the power supplies.
After the instructions of all the power supplies are obtained, the number of the inherent output ports of the related overvoltage protection devices is considered, all the instructions are still stored in the abnormal work array, so that all the instructions can be simultaneously sent to all the power supplies by only occupying one output port of the related overvoltage protection devices, and the timeliness of overvoltage protection can be improved on the basis of considering the cost.
In addition, the method also comprises the following steps: judging whether a power-off signal sent by a power supply is received or not, if so, acquiring the current time and the historical time of the last acquisition of the actual voltage value output by the power supply corresponding to the problem number; subtracting the historical time from the current time to obtain a time difference, judging whether the time difference is not less than a preset time, if not, generating a corresponding energizing signal according to the problem number so that the power supply corresponding to the problem number is in an energized state, and re-marking the problem number as the power supply number; if the time is smaller than the current time, continuing to acquire the current time corresponding to the current time.
After the power supply receives the abnormal work array, corresponding actions are performed according to commands in the abnormal work array. After the power supply performs the power-off action, a power-off signal is sent out at the same time, so that whether the power supply performs the power-off action can be known by judging whether the power-off signal sent by the power supply is received. If the power-off signal is received, in order that the power supply can continuously provide voltage for the power supply unit in the follow-up process, the power supply needs to be in the power-off state again after being in the power-on state for a period of time, wherein the period of time is a preset time, and the power supply can be adjusted according to actual conditions.
Obtaining a time difference by obtaining the current time and the historical time corresponding to the received power-off signal and subtracting the historical time from the current time, if the time difference is smaller than the preset time, indicating that the time of the power supply in the power-off state does not exceed the preset time, and continuously obtaining the current time corresponding to the current time when the power supply is in the power-off state; if the time difference is not smaller than the preset time, the time of the power supply in the power-off state exceeds the preset time, at the moment, the power supply can adjust the working state and is in the power-on state, and keywords of numbers corresponding to the power supply are removed, so that the problem numbers are re-marked as power supply numbers.
Fig. 7 is a diagram of an overvoltage protection system according to the present embodiment. As shown in fig. 7, an overvoltage protection system includes a preprocessing module and an overvoltage protection module, the preprocessing module includes an acquisition unit and a first finishing unit, and the overvoltage protection module includes a first judgment unit, a protection unit and a second finishing unit.
The acquisition unit is used for acquiring a plurality of actual voltage values output by all the power supplies and power supply numbers corresponding to the actual voltage values one by one. The first sorting unit is used for forming a voltage array from a plurality of actual voltage values according to the power supply number. The first judging unit is used for obtaining preset safety conditions corresponding to the power supply numbers one by one and judging whether each actual voltage value in the voltage array accords with the corresponding preset safety conditions. And the protection unit is used for generating a normal work array according to the power supply numbers if the power supply numbers are all in line, and controlling all the power supplies to work normally according to the normal work array. And the second sorting unit is used for marking the power supply number corresponding to the actual voltage value which does not meet the corresponding preset safety condition as a problem number and generating an abnormal work array based on the problem number and the power supply number if at least one of the power supply numbers does not meet the corresponding preset safety condition, wherein the number of signals in the abnormal work array is the same as the number of the actual voltage values in the voltage array. The protection unit is also used for controlling the working states of all the power supplies according to the abnormal working array.
The preprocessing module further comprises a second judging unit. The second judging unit is used for judging whether a power-off signal sent by the power supply is received or not. The acquisition unit is also used for acquiring the current time and the historical time of the actual voltage value output by the power supply corresponding to the last acquired problem number if the current time is received; subtracting the historical time from the current time to obtain a time difference. The second judging unit is further used for judging whether the time difference is not smaller than the preset time. And the protection unit is also used for generating a corresponding energizing signal according to the problem number if the number is not smaller than the preset number, so that the power supply corresponding to the problem number is in an energized state, and the problem number is re-marked as the power supply number. The acquisition unit is further used for continuously acquiring the current time corresponding to the current time if the current time is smaller than the current time.
The present application provides a computer readable storage medium having a computer program stored thereon, which when run on a computer, causes the computer to perform the relevant content of the foregoing method embodiments.
It should be understood that, although the steps in the flowcharts of the figures are shown in order as indicated by the arrows, these steps are not necessarily performed in order as indicated by the arrows. The steps are not strictly limited in order and may be performed in other orders, unless explicitly stated herein.
The foregoing is only a partial embodiment of the present application, and it should be noted that, for a person skilled in the art, several improvements and modifications can be made without departing from the principle of the present application, and these improvements and modifications should also be considered as the protection scope of the present application.

Claims (10)

1. A method of overvoltage protection, the method comprising:
acquiring a plurality of actual voltage values output by all power supplies, and power supply numbers corresponding to the actual voltage values one by one, and forming a voltage array from the actual voltage values according to the power supply numbers;
acquiring preset safety conditions corresponding to each power supply number one by one, judging whether each actual voltage value in the voltage array accords with the corresponding preset safety conditions, if so, generating a normal working array according to the power supply numbers, and controlling all power supplies to work normally according to the normal working array;
if at least one of the power supply numbers does not accord with the actual voltage values of the corresponding preset safety conditions, marking the power supply number corresponding to the actual voltage values which do not accord with the corresponding preset safety conditions as a problem number, and generating an abnormal work array based on the problem number and the power supply number, wherein the number of signals in the abnormal work array is the same as the number of the actual voltage values in the voltage array;
And controlling the working states of all the power supplies according to the abnormal working array.
2. The method of claim 1, wherein all power supply numbers are different from each other, and grouping the plurality of actual voltage values into a voltage array according to the power supply numbers comprises:
the method comprises the steps of obtaining the number of all power supply numbers, and generating a first blank array according to the number, wherein the first blank array can allow the number of actual voltage values to be stored to be the same as the number;
according to the sequence from the small number to the large number of the power supply, the actual voltage values are correspondingly sequenced to determine the voltage relative position of each actual voltage value in all the actual voltage values;
and according to the voltage relative position of each actual voltage value, sequentially storing all the actual voltage values in the positions corresponding to the voltage relative positions in the first blank array to obtain a voltage array.
3. The method of claim 2, wherein determining whether each actual voltage value in the voltage array meets a corresponding preset safety condition comprises:
judging whether each actual voltage value in the voltage array falls into a corresponding preset voltage range, and if so, conforming to a corresponding preset safety condition;
If not, acquiring an actual voltage value which does not fall into a corresponding preset voltage range and a historical voltage value which corresponds to the same power supply number with the actual voltage value, wherein the historical voltage value represents the actual voltage value output by the power supply last time;
judging whether the historical voltage values fall into corresponding preset voltage ranges, if not, each actual voltage value in the voltage array does not meet corresponding preset safety conditions;
otherwise, each actual voltage value in the voltage array accords with the corresponding preset safety condition.
4. The method of claim 3, wherein the number of signals stored in the abnormal work array, the signals including at least one of a first abnormal signal, a second abnormal signal, and a normal signal, the generating the abnormal work array based on the problem number and the power supply number comprising:
sequentially judging whether the number corresponding to each actual voltage value is a problem number, if so, acquiring a minimum voltage value in a preset voltage range corresponding to the problem number, judging whether the actual voltage value is larger than the minimum voltage value, and if so, generating a corresponding first abnormal signal according to the problem number;
If not, generating a corresponding second abnormal signal according to the problem number;
if not, generating a corresponding normal signal according to the power supply number;
generating a second blank array according to the number, wherein the number of signals which can be allowed to be stored in the second blank array is the same as the number;
obtaining the signal relative positions of each of the first abnormal signal, the second abnormal signal and the normal signal in all signals according to the voltage relative position of each actual voltage value;
and according to the relative positions of the signals, sequentially storing all the signals in the positions corresponding to the relative positions of the signals in the second blank array to generate an abnormal work array.
5. The method of claim 4, wherein the operating states include a power-off state and a power-on state, and wherein controlling the operating states of all power supplies according to the abnormal operation array comprises:
generating an energizing instruction according to the normal signal so as to enable the power supply corresponding to the power supply number to be in an energizing state continuously;
generating a turn-off instruction according to the first abnormal signal so as to enable the power supply corresponding to the problem number to be in a power-off state;
Obtaining an intermediate voltage value in a preset voltage range corresponding to the problem number, subtracting the actual voltage value from the intermediate voltage value to obtain an adjustment voltage value, and generating a pressurizing instruction according to the second abnormal signal to enable the power supply corresponding to the problem number to be in a power-on state, wherein the actual voltage value output by the power supply corresponding to the problem number is adjusted to the adjustment voltage value.
6. The method according to claim 1, wherein the method further comprises:
judging whether a power-off signal sent by a power supply is received or not, if so, acquiring the current time and the historical time of last acquiring the actual voltage value output by the power supply corresponding to the problem number;
subtracting the historical time from the current time to obtain a time difference, judging whether the time difference is not less than a preset time, if not, generating a corresponding energizing signal according to the problem number so that a power supply corresponding to the problem number is in an energizing state, and re-marking the problem number as a power supply number;
if the time is smaller than the current time, continuing to acquire the current time corresponding to the current time.
7. The method of claim 4, further comprising, after generating an abnormal working array based on the problem number and the power supply:
and generating a first alarm signal according to the first abnormal signal, and generating a second alarm signal according to the second abnormal signal.
8. An overvoltage protection system, said system comprising: the system comprises a preprocessing module and an overvoltage protection module, wherein the preprocessing module comprises an acquisition unit and a first arrangement unit, and the overvoltage protection module comprises a first judgment unit, a protection unit and a second arrangement unit; wherein,,
the acquisition unit is used for acquiring a plurality of actual voltage values output by all the power supplies and power supply numbers corresponding to the actual voltage values one by one;
the first sorting unit is used for forming a voltage array from the actual voltage values according to the power supply number;
the first judging unit is used for acquiring preset safety conditions corresponding to the power supply numbers one by one and judging whether each actual voltage value in the voltage array accords with the corresponding preset safety conditions or not;
the protection unit is used for generating a normal work array according to the power supply numbers if the power supply numbers are all met, and controlling all power supplies to work normally according to the normal work array;
The second sorting unit is configured to, if at least one of the signal numbers does not meet the preset safety condition, mark a power supply number corresponding to an actual voltage value that does not meet the preset safety condition as a problem number, and generate an abnormal work array based on the problem number and the power supply number, where the number of signals in the abnormal work array is the same as the number of actual voltage values in the voltage array;
the protection unit is also used for controlling the working states of all the power supplies according to the abnormal working array.
9. The system of claim 8, wherein the preprocessing module further comprises a second judging unit; wherein,,
the second judging unit is used for judging whether a power-off signal sent by the power supply is received or not;
the acquisition unit is further used for acquiring the current time and the historical time of the actual voltage value output by the power supply corresponding to the problem number if the current time is received; subtracting the historical time from the current time to obtain a time difference;
the second judging unit is further used for judging whether the time difference is not smaller than a preset time;
the protection unit is further configured to generate a corresponding power-on signal according to the problem number if the power-on signal is not smaller than the problem number, so that the power supply corresponding to the problem number is in a power-on state, and re-mark the problem number as a power supply number;
The obtaining unit is further configured to continuously obtain the current time corresponding to the current time if the obtained time is smaller than the current time.
10. A computer readable medium on which a computer program is stored which can be run on a processor, characterized in that the computer program, when executed by the processor, implements an overvoltage protection method according to any one of claims 1 to 7.
CN202310263244.8A 2023-03-17 2023-03-17 Overvoltage protection method, system and storage medium Pending CN116316401A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310263244.8A CN116316401A (en) 2023-03-17 2023-03-17 Overvoltage protection method, system and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310263244.8A CN116316401A (en) 2023-03-17 2023-03-17 Overvoltage protection method, system and storage medium

Publications (1)

Publication Number Publication Date
CN116316401A true CN116316401A (en) 2023-06-23

Family

ID=86781151

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310263244.8A Pending CN116316401A (en) 2023-03-17 2023-03-17 Overvoltage protection method, system and storage medium

Country Status (1)

Country Link
CN (1) CN116316401A (en)

Similar Documents

Publication Publication Date Title
US6636977B1 (en) Control device for use in a power supplying apparatus including multiple processors adapted to perform separate functions associated with status monitoring and load balancing
US20090082909A1 (en) Power supply control system and method of controlling power supply
WO2014002178A1 (en) Data collection device and data collection program
CN100511059C (en) Integrated system and system integration method
CN116316401A (en) Overvoltage protection method, system and storage medium
KR20020060328A (en) Computer peripheral apparatus consuming low-power and method for reducing power consumption thereof
CN103631199B (en) The numerical control device of maintenance function when possessing HMI exception
US8566630B2 (en) Apparatus, methods and computer program products supporting automatic network identification for power supplies
CN111289036A (en) Equipment fault early warning method, device, equipment and system
CN211478944U (en) Control device of accessory equipment
US20190121312A1 (en) Output unit, input unit, and input-output syetem
CA2090567A1 (en) Method of and apparatus for data distribution
US5339237A (en) Method for interlock tracing for discrete devices in a process control system
CN113465120B (en) Method and device for detecting indoor temperature and intelligent air conditioner
US10108216B2 (en) Power tap with adjustable configuration
CN115929604A (en) Electric oil pump control method and device for vehicle, storage medium and equipment
US7848855B2 (en) Method for operating a system of modular structure, in particular a process automation system
KR20180096041A (en) Advanced power management system and method for surface vessel
JP2023127500A (en) Plant operation assisting system, information processing device, program and plant operation assisting method
US20040008986A1 (en) Optical transmitter module and optical transmitter apparatus
US11507042B2 (en) High current and power limiting circuit for I/O modules with internal output power support
CN100428602C (en) Control circuit of electric power supplier with fixed current limiting mode
JP5971691B2 (en) Plant monitoring and control system
JP2011176904A (en) Distributed power supply system, control method, program, and recording medium
CN114006526B (en) Power-on method based on multiple chips and related products

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