PLC cabinet dual-power-supply redundancy transformation method

By monitoring the main power supply voltage in the PLC cabinet in real time and analyzing the change curve, the problem of short dual power switching time is solved, and the prediction and adjustment of dual power switching time is realized to ensure timely switching.

CN119519094AActive Publication Date: 2025-02-25JIANGSU SHAGANG STEEL CO LTD +1
View PDF 7 Cites 0 Cited by

Patent Information

Application Number
CN202411546125.4
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-01
Publication Date
2025-02-25
Estimated Expiration
2044-11-01

AI Technical Summary

Technical Problem

In the prior art, the short switching time of the dual power supply is caused by the problem of untimely switching, making it difficult to effectively adjust the switching time of the dual power supply.

Method used

By monitoring the main power supply voltage in the PLC cabinet in real time, analyzing the change curve, obtaining the curve type and switching aging value. If the switching aging value is less than the threshold, a switching signal will be generated and the dual power switching time will be adjusted according to the formula.

Benefits of technology

It realizes prediction and adjustment of the switching time of dual power supply, ensuring timely switching between dual power supply, and solving the problem of short switching time of dual power supply, resulting in untimely switching.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119519094A_ABST
    Figure CN119519094A_ABST
Patent Text Reader

Abstract

The invention belongs to the technical field of automation control, and provides a PLC cabinet dual power supply redundancy transformation method, in a monitoring period, main power supply voltage in a PLC cabinet is monitored in real time to obtain main power supply voltage data, the main power supply voltage data comprises a main voltage value, the main voltage value is analyzed and processed to obtain a monitoring signal, and the monitoring signal is sent to the PLC cabinet. When a monitoring signal is generated, an analysis change curve is obtained, the analysis change curve is processed, a curve type value is obtained, the curve change value is compared with a curve change threshold value, whether the curve change type is a growth change type or not is evaluated, and if a growth curve judgment value is larger than or equal to a growth curve judgment threshold value, a curve growth signal is generated; if the increase curve judgment value is smaller than the increase curve judgment threshold value, a curve non-increase signal is generated, so that the future change of the voltage of the main power supply is predicted by evaluating the curve change type, and data support is provided for the process of switching the main power supply to the standby power supply in the PLC cabinet.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The invention belongs to the technical field of automatic control, in particular to a method for reconstructing a PLC cabinet with dual power supply redundancy. Background Art

[0002] As the core component of industrial automation control systems, PLC is responsible for executing various control tasks. In order to ensure the stability and efficiency of the industrial production process, the system needs to have a high degree of reliability. Therefore, dual power supply redundancy technology is widely used in the transformation of PLC cabinets. Dual power supply redundancy technology ensures that when the main power supply fails, the backup power supply can immediately take over the power supply task.

[0003] In the prior art, power redundancy technology is to configure two or more independent power supplies to ensure that when the main power fails, the backup power supply can immediately take over the power supply task. However, it is necessary to perform analysis and prediction before the main power fails. By predicting the future changes in the main power voltage, data support is provided for the operation of switching the main power supply to the backup power supply in the PLC cabinet, and further analysis is performed to determine whether the dual power switching time is timely. If not, the required adjustment of the dual power switching time is calculated, thereby solving the problem of untimely dual power switching when the dual power switching time is short, and realizing the transformation of the dual power switching time strategy.

[0004] To this end, the present invention provides a method for reconstructing a PLC cabinet with dual power supply redundancy. Summary of the invention

[0005] In order to make up for the shortcomings of the prior art, the problem of untimely dual power switching caused by a short dual power switching time as mentioned in the background art is solved.

[0006] The technical solution adopted by the present invention to solve its technical problem is:

[0007] A method for remodeling dual power supply redundancy of a PLC cabinet, comprising:

[0008] Step 1: During the monitoring period, the main power supply voltage in the PLC cabinet is monitored in real time to obtain the main power supply voltage data, wherein the main power supply voltage data includes the main voltage value, and the main voltage value is analyzed and processed to obtain the monitoring signal;

[0009] Step 2: Based on the monitoring signal, obtain the analysis change curve, process the analysis change curve, obtain the growth curve determination value, compare the growth curve determination value with the growth curve determination threshold, evaluate whether the curve change type is a growth change type, if the growth curve determination value is greater than or equal to the growth curve determination threshold, then determine that the analysis change curve is a growth change curve, and generate a curve growth signal;

[0010] Step 3: Based on the curve growth signal, the overlap length coefficient and the deviation degree coefficient are obtained, the overlap length coefficient and the deviation degree coefficient are analyzed and processed to obtain the growth type value, and compared with the threshold value to obtain a growth linear curve or a growth nonlinear curve, and the growth linear curve or the growth nonlinear curve is analyzed and processed respectively to obtain a switching timeliness value, and compared with the threshold value. If the switching timeliness value is less than the switching timeliness threshold value, a switching untimely signal is generated;

[0011] Step 4: Based on the untimely switching signal, the power switching time is modified to complete the modification work of the power switching.

[0012] As a further solution of the present invention: the voltage deviation value is obtained in the following manner:

[0013] The main voltage value obtained by real-time monitoring is compared with the set main voltage value. The comparison process is as follows:

[0014] If the main voltage value obtained by real-time monitoring is equal to the set main voltage value, it means that the main power supply voltage is normal and a voltage non-deviation signal is generated;

[0015] If the main voltage value obtained by real-time monitoring is not equal to the set main voltage value, it means that the main voltage is abnormal and a voltage deviation signal is generated;

[0016] Based on the voltage deviation signal, the main voltage value obtained by real-time monitoring is subtracted from the set main voltage value to obtain the voltage deviation value.

[0017] As a further solution of the present invention: the voltage deviation value is compared with the voltage deviation interval, and the comparison process is as follows:

[0018] If the voltage deviation value is within the voltage deviation interval, it means that the main voltage value obtained by real-time monitoring has deviated but has not exceeded the voltage deviation interval, and a monitoring signal is generated;

[0019] If the voltage deviation value is not within the voltage deviation interval, it means that the main voltage value obtained by real-time monitoring exceeds the voltage deviation interval, and a non-monitoring signal is generated.

[0020] As a further solution of the present invention: the growth curve determination value is obtained by:

[0021] Obtain the number of growth sub-curves, add up the numbers of all growth sub-curves, and calculate the ratio with the number of all sub-curves in the analysis change curve to obtain the growth sub-curve number ratio;

[0022] Obtain the length of the growth sub-curve, add up the lengths of all growth sub-curves, and calculate the ratio with the length of the analysis change curve to obtain the growth sub-curve length ratio;

[0023] The growth curve determination value is obtained by adding the growth sub-curve number ratio and the growth sub-curve length ratio.

[0024] As a further solution of the present invention: the growth sub-curve is obtained in the following manner:

[0025] Divide the analysis change curve into several sub-curves;

[0026] Get the main voltage value corresponding to the initial endpoint of the sub-curve, and mark it as the initial voltage value;

[0027] Get the main voltage value corresponding to the end point of the sub-curve, and mark it as the end voltage value;

[0028] Subtract the ending voltage value from the initial voltage value to obtain the voltage change value of the sub-curve;

[0029] If the voltage change value of the sub-curve is positive, it means that the sub-curve is in an increasing trend and is marked as an increasing sub-curve.

[0030] As a further solution of the present invention: the method for obtaining the growth type value is:

[0031] Based on the growth-type change curve, an initial endpoint and an end endpoint of the growth-type change curve are obtained, and the initial endpoint and the end endpoint of the growth-type change curve are connected to fit into a straight line, which is marked as a fitted growth straight line;

[0032] Obtain all the main voltage values ​​in the growth-type change curve, and mark the distance between each main voltage value and the fitting straight line as a data deviation value;

[0033] Calculate the standard deviation of all data deviation values ​​to obtain the deviation degree value;

[0034] Select the maximum value and the minimum value of the main voltage in the growth change curve, and make a difference between the maximum value and the minimum value to obtain the data point range value;

[0035] Calculate the ratio of the deviation degree value to the data point range value to obtain the deviation degree coefficient;

[0036] Obtain the curve segment where the growth-type change curve coincides with the fitted growth straight line, and mark it as the coincident curve segment;

[0037] The length of the overlapped curve segment is obtained, and the ratio of the length of the overlapped curve segment to the length of the fitted growth straight line is calculated to obtain the overlapped length coefficient;

[0038] The ratio of the overlap length coefficient to the deviation degree coefficient is calculated to obtain the growth type value.

[0039] As a further solution of the present invention: the growth type value is compared with the growth type threshold, and the comparison process is as follows:

[0040] If the growth type value is greater than or equal to the growth type threshold, a growth linear signal is generated;

[0041] If the curve type is less than the curve type threshold, a growing nonlinear signal is generated.

[0042] As a further solution of the present invention: based on the growth nonlinear signal, the slope values ​​in all the growth sub-curves are obtained, the slope values ​​in all the growth sub-curves are compared, the main voltage change value corresponding to the maximum slope value and the corresponding time length are selected, and the main voltage change value corresponding to the maximum slope value and the corresponding time length are calculated by ratio, so as to obtain the maximum growth rate value;

[0043] Obtaining a main voltage value corresponding to when the monitoring signal is generated, subtracting the main voltage value corresponding to when the monitoring signal is generated from the main voltage threshold, taking the absolute value, and obtaining a main voltage difference;

[0044] The switching time value is obtained by calculating the ratio of the main voltage difference to the maximum growth rate value.

[0045] As a further scheme of the present invention: based on the growth linear signal, in the coordinate system where the analysis change curve is located, the main voltage threshold is punctuated on the Y-axis, and a straight line parallel to the X-axis is made and marked as the voltage threshold line, and a number of main voltage data are obtained on the analysis change curve, and fitted by the least squares method to obtain a fitting straight line, and the fitting straight line is extended to make it intersect with the voltage threshold line, and the time point corresponding to the intersection is obtained, and it is marked as the critical time point of the main voltage change, and the switching effectiveness value is obtained by difference calculation according to the critical time point of the main voltage change and the time point when the monitoring signal appears.

[0046] As a further solution of the present invention: the adjustment process of the power switching time is as follows:

[0047] Substitute the switching time value and switching time threshold into the formula: K = SX y -SX, calculate the required adjustment of the dual power switching time, where SX represents the switching time value, SX y It is expressed as the switching time threshold.

[0048] The beneficial effects of the present invention are as follows:

[0049] (1) During the monitoring period, the present invention monitors the main power supply voltage in the PLC cabinet in real time to obtain the main power supply voltage data, wherein the main power supply voltage data includes the main voltage value, the main voltage value is analyzed and processed to obtain a monitoring signal, when the monitoring signal is generated, an analysis change curve is obtained, the analysis change curve is processed to obtain a curve type value, the curve change value is compared with the curve change threshold, and it is evaluated whether the curve change type is a growth change type. If the growth curve judgment value is greater than or equal to the growth curve judgment threshold, a curve growth signal is generated; if the growth curve judgment value is less than the growth curve judgment threshold, a curve non-growth signal is generated, thereby predicting the future change of the main power supply voltage by evaluating the curve change type, and providing data support for the process of switching the main power supply in the PLC cabinet to the backup power supply;

[0050] (2) The present invention obtains the overlap length coefficient and the deviation degree coefficient based on the curve growth signal, analyzes and processes the overlap length coefficient and the deviation degree coefficient to obtain the growth type value, and compares them with the threshold to obtain a growth linear curve or a growth nonlinear curve, and analyzes and processes the growth linear curve or the growth nonlinear curve respectively to obtain a switching time value, and compares it with the threshold. If the switching time value is less than the switching time threshold, a switching untimely signal is generated. Based on the switching untimely signal, the switching time value and the switching time threshold are substituted into the formula to calculate the dual power switching time that needs to be adjusted, thereby predicting the actual dual power switching time by analyzing the type of the growth curve, and comparing it with the set dual power switching time to determine whether the dual power switching time is timely. If not, the dual power switching time that needs to be adjusted is obtained, thereby solving the problem of untimely dual power switching when the dual power switching time is short, and realizing the transformation of the dual power switching time strategy. BRIEF DESCRIPTION OF THE DRAWINGS

[0051] The present invention will be further described below in conjunction with the accompanying drawings.

[0052] Figure 1 is a flowchart of the steps of Embodiment 1 of the present invention;

[0053] Figure 2 It is a flow chart of the steps of the dual power supply redundancy transformation method of the present invention. DETAILED DESCRIPTION

[0054] In order to make the technical means, creative features, objectives and effects achieved by the present invention easy to understand, the present invention is further explained below in conjunction with specific implementation methods.

[0055] Example 1

[0056] like Figure 1 As shown, a PLC cabinet dual power supply redundancy reconstruction method according to an embodiment of the present invention includes:

[0057] Step 1: During the monitoring period, the main power supply voltage in the PLC cabinet is monitored in real time to obtain the main power supply voltage data, wherein the main power supply voltage data includes the main voltage value, and the main voltage value is analyzed and processed to obtain the monitoring signal;

[0058] In some embodiments, the main voltage value obtained by real-time monitoring is compared with the set main voltage value, and the comparison process is as follows:

[0059] If the main voltage value obtained by real-time monitoring is equal to the set main voltage value, it means that the main power supply voltage is normal and a voltage non-deviation signal is generated;

[0060] If the main voltage value obtained by real-time monitoring is not equal to the set main voltage value, it means that the main voltage is abnormal and a voltage deviation signal is generated;

[0061] Based on the voltage deviation signal, the main voltage value obtained by real-time monitoring is subtracted from the set main voltage value to obtain the voltage deviation value;

[0062] The voltage deviation value is compared with the voltage deviation interval. The comparison process is as follows:

[0063] If the voltage deviation value is within the voltage deviation interval, it means that the main voltage value obtained by real-time monitoring has deviated but has not exceeded the voltage deviation interval, and a monitoring signal is generated;

[0064] If the voltage deviation value is not within the voltage deviation interval, it means that the main voltage value obtained by real-time monitoring exceeds the voltage deviation interval, and a non-monitoring signal is generated;

[0065] Step 2: Based on the monitoring signal, obtain the analysis change curve, process the analysis change curve, obtain the curve type value, compare the curve change value with the curve change threshold, evaluate whether the curve change type is a growth change type, and generate a curve growth signal;

[0066] Wherein, whether the growth is a linear signal includes a growth linear signal or a growth nonlinear signal;

[0067] In some embodiments, based on the monitoring signal, the main voltage value obtained by real-time monitoring is marked as the target voltage value, and the period between the target voltage value and the corresponding voltage value when the monitoring signal is generated is marked as the analysis period;

[0068] Establish an XY axis, where the X axis represents time and the Y axis represents voltage, obtain all main voltage values ​​within the analysis period, and substitute all main voltage values ​​within the analysis period into the XY axis coordinate system to draw an analysis change curve;

[0069] Based on the analysis change curve, the analysis change curve is divided into several sub-curves, the growth sub-curve number ratio and the growth sub-curve length ratio are obtained, and the growth sub-curve number ratio and the growth sub-curve length ratio are processed to obtain the growth curve judgment value. The specific process is as follows:

[0070] It should be noted that: the analysis change curve is divided in a manner of: dividing the analysis change curve in a manner of equal time length to obtain sub-curves, wherein the time period corresponding to each sub-curve is the analysis sub-time period;

[0071] Get the main voltage value corresponding to the initial endpoint of the sub-curve, and mark it as the initial voltage value;

[0072] Get the main voltage value corresponding to the end point of the sub-curve, and mark it as the end voltage value;

[0073] Subtract the ending voltage value from the initial voltage value to obtain the voltage change value of the sub-curve;

[0074] If the voltage change value of the sub-curve is positive, it means that the sub-curve is increasing and is marked as an increasing sub-curve;

[0075] Obtain the number of growth sub-curves, add up the numbers of all growth sub-curves, and calculate the ratio with the number of all sub-curves in the analysis change curve to obtain the growth sub-curve number ratio;

[0076] Obtain the length of the growth sub-curve, add up the lengths of all growth sub-curves, and calculate the ratio with the length of the analysis change curve to obtain the growth sub-curve length ratio;

[0077] The growth curve determination value is obtained by adding the growth sub-curve number ratio and the growth sub-curve length ratio;

[0078] It can be understood that: the method of obtaining the growth curve determination value is: by calculating the growth sub-curve number ratio and the growth sub-curve length ratio, comprehensively reflecting the degree of change trend of the analysis change curve in the analysis period. Specifically, if the growth curve determination value is larger, it means that in the analysis period, the number of sub-curves showing a growth trend of the main voltage value is larger, and the length ratio of these growth sub-curves in the overall analysis change curve is larger, which means that the main voltage value shows a more obvious growth trend as a whole in the entire analysis period. On the contrary, if the growth curve determination value is smaller, it means that in the analysis period, the number of sub-curves showing a growth trend of the main voltage value is smaller, and the length ratio of these growth sub-curves in the overall analysis change curve is smaller, which means that the main voltage value shows a less obvious growth trend as a whole in the entire analysis period.

[0079] The growth curve determination value is compared with the growth curve determination threshold. The comparison process is as follows:

[0080] If the growth curve determination value is greater than or equal to the growth curve determination threshold, it means that in the analysis change curve, there are more sub-curves with positive slopes and the growth sub-curve length accounts for a larger proportion, then the analysis change curve is determined to be a growth type change curve, and a curve growth signal is generated;

[0081] If the growth curve judgment value is less than the growth curve judgment threshold, it means that within the analysis change curve, the number of sub-curves with positive slopes is small, and the growth sub-curve length accounts for a small proportion, then the analysis change curve is judged to be a non-growth change curve, and a curve non-growth signal is generated;

[0082] The specific implementation scheme of the embodiment of the present invention is: within the monitoring period, the main power supply voltage in the PLC cabinet is monitored in real time to obtain the main power supply voltage data, wherein the main power supply voltage data includes the main voltage value, the main voltage value is analyzed and processed to obtain a monitoring signal, when the monitoring signal is generated, an analysis change curve is obtained, the analysis change curve is processed to obtain a curve type value, the curve change value is compared with the curve change threshold, and it is evaluated whether the curve change type is a growth change type, if the growth curve judgment value is greater than or equal to the growth curve judgment threshold, a curve growth signal is generated, if the growth curve judgment value is less than the growth curve judgment threshold, a curve non-growth signal is generated, thereby predicting the future changes of the main power supply voltage by evaluating the curve change type, and providing data support for the process of switching the main power supply in the PLC cabinet to the backup power supply.

[0083] Example 2

[0084] like Figure 1-2 As shown, based on Example 1, a PLC cabinet dual power supply redundancy reconstruction method described in an embodiment of the present invention includes:

[0085] Step 3: Based on the curve growth signal, the overlap length coefficient and the deviation degree coefficient are obtained, and the overlap length coefficient and the deviation degree coefficient are analyzed and processed to obtain the growth type value, and compared with the threshold value to obtain the growth linear curve or the growth nonlinear curve, and the growth linear curve or the growth nonlinear curve is analyzed and processed respectively to obtain the switching timeliness value, and compared with the threshold value to generate a signal whether the switching is timely;

[0086] The switching timely signal includes a switching timely signal and a switching untimely signal;

[0087] In some embodiments, when a curve growth signal is generated, a growth type value is obtained, and the specific acquisition method is as follows:

[0088] Based on the growth-type change curve, an initial endpoint and an end endpoint of the growth-type change curve are obtained, and the initial endpoint and the end endpoint of the growth-type change curve are connected to fit into a straight line, which is marked as a fitted growth straight line;

[0089] Obtain all the main voltage values ​​in the growth-type change curve, and mark the distance between each main voltage value and the fitting straight line as a data deviation value;

[0090] Calculate the standard deviation of all data deviation values ​​to obtain the deviation degree value;

[0091] Select the maximum value and the minimum value of the main voltage in the growth change curve, and make a difference between the maximum value and the minimum value to obtain the data point range value;

[0092] Calculate the ratio of the deviation degree value to the data point range value to obtain the deviation degree coefficient;

[0093] Obtain the curve segment where the growth-type change curve coincides with the fitted growth straight line, and mark it as the coincident curve segment;

[0094] The length of the overlapped curve segment is obtained, and the ratio of the length of the overlapped curve segment to the length of the fitted growth straight line is calculated to obtain the overlapped length coefficient;

[0095] Calculate the ratio of the overlap length coefficient to the deviation degree coefficient to obtain the growth type value;

[0096] It can be understood that the growth type value is obtained by a comprehensive quantitative evaluation of the degree of deviation and overlap of the growth type change curve relative to its fitting straight line. This value reflects the linearity of the growth type change curve. Specifically, the larger the curve type value, the higher the degree of overlap between the growth type change curve and its fitting growth straight line, and all voltage values ​​in the growth type change curve are more concentrated than its fitting growth straight line. Conversely, the smaller the curve type value, the lower the degree of overlap between the growth type change curve and its fitting straight line, and all voltage values ​​in the growth type change curve are more dispersed than its fitting growth straight line.

[0097] The growth type value is compared with the growth type threshold. The comparison process is as follows:

[0098] If the growth type value is greater than or equal to the growth type threshold, it means that the growth type change curve has a higher degree of overlap with its fitted growth straight line, and all voltage values ​​in the growth type change curve are more concentrated than its fitted growth straight line, generating a growth linear signal;

[0099] If the curve type is less than the curve type threshold, it means that the degree of coincidence between the growth-type change curve and its fitting straight line is lower, and all voltage values ​​in the growth-type change curve are more dispersed than its fitting growth straight line, generating a growth nonlinear signal;

[0100] Based on the growth nonlinear signal, the slope values ​​in all growth sub-curves are obtained, the slope values ​​in all growth sub-curves are compared, the main voltage change value corresponding to the maximum slope value and the corresponding time length are selected, and the main voltage change value corresponding to the maximum slope value and the corresponding time length are calculated by ratio, so as to obtain the maximum growth rate value;

[0101] Obtaining a main voltage value corresponding to when the monitoring signal is generated, subtracting the main voltage value corresponding to when the monitoring signal is generated from the main voltage threshold, taking the absolute value, and obtaining a main voltage difference;

[0102] The ratio of the main voltage difference to the maximum growth rate is calculated to obtain the switching time value;

[0103] Based on the growth linear signal, in the coordinate system where the analysis change curve is located, the main voltage threshold is marked on the Y axis, and a straight line parallel to the X axis is made and marked as the voltage threshold line. A number of main voltage data are obtained on the analysis change curve, and the fitting is performed by the least square method to obtain a fitting straight line. The fitting straight line is extended to intersect with the voltage threshold line, and the time point corresponding to the intersection is obtained and marked as the critical time point of the main voltage change. According to the critical time point of the main voltage change and the time point when the monitoring signal appears, the difference calculation is performed to obtain the switching time value;

[0104] It can be understood that the switching time value means: reflecting the time from the main voltage value corresponding to the generation of the current monitoring signal to the main voltage threshold in the process of analyzing the voltage change. Specifically, the larger the value, the longer the time from the main voltage value corresponding to the generation of the current monitoring signal to the main voltage threshold. Conversely, the smaller the value, the shorter the time from the main voltage value corresponding to the generation of the current monitoring signal to the main voltage threshold.

[0105] The switching time effectiveness value is compared with the switching time effectiveness threshold. The comparison process is as follows:

[0106] If the switching timeliness value is greater than or equal to the switching timeliness threshold, it means that the longer the time from the main voltage value corresponding to the time when the current monitoring signal is generated to the main voltage threshold, the more likely it is that a switching timely signal will be generated;

[0107] If the switching time-to-effect value is less than the switching time-to-effect threshold, it means that the time from the main voltage value corresponding to the generation of the current monitoring signal to the main voltage threshold is shorter, and a switching untimely signal is generated;

[0108] Step 4: Based on the untimely switching signal, the power switching time is modified to complete the modification of the power switching;

[0109] In some embodiments, when a switching untimely signal is generated, the power switching time is modified, and the specific adjustment process is as follows:

[0110] The adjustment process of power switching time is as follows:

[0111] Substitute the switching time value and switching time threshold into the formula: K = SX y -SX, calculate the required adjustment of the dual power switching time, where SX represents the switching time value, SX y It is expressed as the switching time threshold;

[0112] The specific implementation scheme of the embodiment of the present invention is: based on the curve growth signal, the overlap length coefficient and the deviation degree coefficient are obtained, the overlap length coefficient and the deviation degree coefficient are analyzed and processed to obtain the growth type value, and compared with the threshold value to obtain a growth linear curve or a growth nonlinear curve, and the growth linear curve or the growth nonlinear curve is analyzed and processed respectively to obtain a switching time value, and compared with the threshold value, if the switching time value is less than the switching time threshold value, then a switching untimely signal is generated, based on the switching untimely signal, the switching time value and the switching time threshold value are substituted into the formula, and the dual power switching time required to be adjusted is calculated, thereby predicting the actual dual power switching time by analyzing the type of the growth curve, and comparing it with the set dual power switching time to determine whether the dual power switching time is timely, if not timely, the dual power switching time required to be adjusted is obtained, thereby solving the problem of untimely dual power switching when the dual power switching time is short, and realizing the transformation of the dual power switching time strategy.

[0113] The above shows and describes the basic principles, main features and advantages of the present invention. It should be understood by those skilled in the art that the present invention is not limited to the above embodiments. The above embodiments and descriptions are only for explaining the principles of the present invention. Without departing from the spirit and scope of the present invention, the present invention may have various changes and improvements, which fall within the scope of the present invention. The scope of protection of the present invention is defined by the attached claims and their equivalents.

Claims

1. A method for remodeling a PLC cabinet with dual power supply redundancy, characterized in that: include: Step 1: During the monitoring period, the main power supply voltage in the PLC cabinet is monitored in real time to obtain the main power supply voltage data, wherein the main power supply voltage data includes the main voltage value, and the main voltage value is analyzed and processed to obtain the monitoring signal; Step 2: Based on the monitoring signal, obtain the analysis change curve, process the analysis change curve, obtain the growth curve determination value, compare the growth curve determination value with the growth curve determination threshold, evaluate whether the curve change type is a growth change type, if the growth curve determination value is greater than or equal to the growth curve determination threshold, then determine that the analysis change curve is a growth change curve, and generate a curve growth signal; Step 3: Based on the curve growth signal, the overlap length coefficient and the deviation degree coefficient are obtained, the overlap length coefficient and the deviation degree coefficient are analyzed and processed to obtain the growth type value, and compared with the threshold value to obtain a growth linear curve or a growth nonlinear curve, and the growth linear curve or the growth nonlinear curve is analyzed and processed respectively to obtain a switching timeliness value, and compared with the threshold value. If the switching timeliness value is less than the switching timeliness threshold value, a switching untimely signal is generated; Step 4: Based on the untimely switching signal, the power switching time is modified to complete the modification work of the power switching.

2. A PLC cabinet dual power supply redundancy transformation method according to claim 1, characterized in that: The voltage deviation value is obtained as follows: The main voltage value obtained by real-time monitoring is compared with the set main voltage value. The comparison process is as follows: If the main voltage value obtained by real-time monitoring is equal to the set main voltage value, it means that the main power supply voltage is normal and a voltage non-deviation signal is generated; If the main voltage value obtained by real-time monitoring is not equal to the set main voltage value, it means that the main voltage is abnormal and a voltage deviation signal is generated; Based on the voltage deviation signal, the main voltage value obtained by real-time monitoring is subtracted from the set main voltage value to obtain the voltage deviation value.

3. A PLC cabinet dual power supply redundancy reconstruction method according to claim 2, characterized in that: The voltage deviation value is compared with the voltage deviation interval. The comparison process is as follows: If the voltage deviation value is within the voltage deviation interval, it means that the main voltage value obtained by real-time monitoring has deviated but has not exceeded the voltage deviation interval, and a monitoring signal is generated; If the voltage deviation value is not within the voltage deviation interval, it means that the main voltage value obtained by real-time monitoring exceeds the voltage deviation interval, and a non-monitoring signal is generated.

4. A PLC cabinet dual power supply redundancy reconstruction method according to claim 1, characterized in that: The growth curve determination value is obtained as follows: Obtain the number of growth sub-curves, add up the numbers of all growth sub-curves, and calculate the ratio with the number of all sub-curves in the analysis change curve to obtain the growth sub-curve number ratio; Obtain the length of the growth sub-curve, add up the lengths of all growth sub-curves, and calculate the ratio with the length of the analysis change curve to obtain the growth sub-curve length ratio; The growth curve determination value is obtained by adding the growth sub-curve number ratio and the growth sub-curve length ratio.

5. A PLC cabinet dual power supply redundancy reconstruction method according to claim 1, characterized in that: The growth sub-curve is obtained as follows: Divide the analysis change curve into several sub-curves; Get the main voltage value corresponding to the initial endpoint of the sub-curve, and mark it as the initial voltage value; Get the main voltage value corresponding to the end point of the sub-curve, and mark it as the end voltage value; Subtract the ending voltage value from the initial voltage value to obtain the voltage change value of the sub-curve; If the voltage change value of the sub-curve is positive, it means that the sub-curve is in an increasing trend and is marked as an increasing sub-curve.

6. A PLC cabinet dual power supply redundancy reconstruction method according to claim 1, characterized in that: The way to obtain the growth type value is: Based on the growth-type change curve, an initial endpoint and an end endpoint of the growth-type change curve are obtained, and the initial endpoint and the end endpoint of the growth-type change curve are connected to fit into a straight line, which is marked as a fitted growth straight line; Obtain all the main voltage values ​​in the growth-type change curve, and mark the distance between each main voltage value and the fitting straight line as a data deviation value; Calculate the standard deviation of all data deviation values ​​to obtain the deviation degree value; Select the maximum value and the minimum value of the main voltage in the growth change curve, and make a difference between the maximum value and the minimum value to obtain the data point range value; Calculate the ratio of the deviation degree value to the data point range value to obtain the deviation degree coefficient; Obtain the curve segment where the growth-type change curve coincides with the fitted growth straight line, and mark it as the coincident curve segment; The length of the overlapped curve segment is obtained, and the ratio of the length of the overlapped curve segment to the length of the fitted growth straight line is calculated to obtain the overlapped length coefficient; The ratio of the overlap length coefficient to the deviation degree coefficient is calculated to obtain the growth type value.

7. A PLC cabinet dual power supply redundancy reconstruction method according to claim 6, characterized in that: The growth type value is compared with the growth type threshold. The comparison process is as follows: If the growth type value is greater than or equal to the growth type threshold, a growth linear signal is generated; If the curve type is less than the curve type threshold, a growing nonlinear signal is generated.

8. A PLC cabinet dual power supply redundancy reconstruction method according to claim 7, characterized in that: Based on the growth nonlinear signal, the slope values ​​in all growth sub-curves are obtained, the slope values ​​in all growth sub-curves are compared, the main voltage change value corresponding to the maximum slope value and the corresponding time length are selected, and the main voltage change value corresponding to the maximum slope value and the corresponding time length are calculated by ratio, so as to obtain the maximum growth rate value; Obtaining a main voltage value corresponding to when the monitoring signal is generated, subtracting the main voltage value corresponding to when the monitoring signal is generated from the main voltage threshold, taking the absolute value, and obtaining a main voltage difference; The switching time value is obtained by calculating the ratio of the main voltage difference to the maximum growth rate value.

9. A PLC cabinet dual power supply redundancy reconstruction method according to claim 7, characterized in that: Based on the growth linear signal, in the coordinate system of the analysis change curve, the main voltage threshold is punctuated on the Y-axis, and a straight line parallel to the X-axis is made and marked as the voltage threshold line. Several main voltage data are obtained on the analysis change curve, and the fitting is performed by the least squares method to obtain a fitting straight line. The fitting straight line is extended to intersect with the voltage threshold line, and the time point corresponding to the intersection is obtained, and it is marked as the critical time point of the main voltage change. According to the critical time point of the main voltage change and the time point when the monitoring signal appears, the difference calculation is performed to obtain the switching effectiveness value.

10. A PLC cabinet dual power supply redundancy reconstruction method according to claim 1, characterized in that: The adjustment process of power switching time is as follows: Substitute the switching time value and switching time threshold into the formula: K = SX y -SX, calculate the required adjustment of the dual power switching time, where SX represents the switching time value, SX y It is expressed as the switching time threshold.

Citation Information

Patent Citations

  • Voltage drop generation method based on contactor logic sequential control

    CN108469539A

  • Method and system for measuring running state of power line of power distribution network

    CN117233541A

  • Remote calibration system and method for digital electric energy metering equipment

    CN118642036A

  • Tomato fruit vinegar beverage and production method thereof

    CN118648659A

  • Management method for power distribution network containing large-scale distributed energy

    CN118783435A