A method for automatic switching of power-off communication and production scheduling management for heat exchange station
By monitoring communication quality and power supply fluctuations in real time, and dynamically adjusting the backup method and production status, the problems of inflexible data backup and untargeted adjustment of power supply fluctuations in automatic switching of power supply communication in heat exchange stations are solved, and data synchronization and resource efficiency are improved , reducing the risk of equipment damage.
Patent Information
- Application Number
- CN202411129187.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-16
- Publication Date
- 2024-11-05
- Estimated Expiration
- 2044-08-16
AI Technical Summary
In the automatic switching of existing heat exchange stations, data backup is inflexible, data synchronization is not timely, and power supply fluctuations are not targeted, resulting in data integrity and resource efficiency impairment.
By monitoring the communication quality and power supply fluctuations between the main and backup controllers in real time, dynamically selecting the adaptive backup method, optimizing the data backup frequency, and analyzing the power supply fluctuations to adjust the production status to ensure data synchronization and resource utilization efficiency.
It realizes the flexibility and real-time nature of data backup, reduces the incidence of incomplete or outdated backups, optimizes the use of storage resources, reduces the risk of equipment damage, and improves the rationality of production status adjustment and resource utilization.
Smart Images

Figure CN118659963B_ABST
Abstract
Description
Technical Field
[0001] The present invention belongs to the technical field of communication switching management of heat exchange stations, and in particular relates to a method for automatic power failure communication switching and production scheduling management for heat exchange stations. Background Art
[0002] A heat exchange station is a device or system that can transfer heat between different fluids. It is usually used in the heating or cooling process to transfer heat from one fluid to another to achieve temperature control or energy transfer. It is widely used in heating systems and air conditioning systems.
[0003] Since there are electromagnetic interference sources in the environment where the heat exchange station is located, such as wireless devices and high-frequency devices, these interferences may affect the transmission stability of communication signals. At the same time, the aging of communication hardware equipment and extreme environmental conditions may also cause abnormal communication failures. Once a communication failure occurs, it will affect the transmission of control signals and may cause the heat exchange station to be unable to normally control parameters such as temperature and flow, thereby affecting the stability and efficiency of the production process. In order to cope with the impact of communication failures on the operation of the heat exchange station, most of the current heat exchange stations are equipped with automatic communication switching devices to ensure the continuity of operation.
[0004] However, the existing technology for automatic switching of heat exchange station power failure communication still has the following deficiencies: First, data loss or damage may occur during the power failure communication switching process, so it is necessary to back up the data in the main controller to ensure the integrity and continuity of the data before and after the switch. However, the existing technology ignores the communication quality consideration between the main and standby controllers when performing data backup, making the backup method selection not flexible and dynamic enough, which easily causes the data to be synchronized between the main and standby controllers in a timely manner, resulting in incomplete or outdated data backup, and may also cause unnecessary data redundancy or a large amount of backup data transmission, occupying too many communication and storage resources.
[0005] Second, since the power outage communication switch is switched from the current communication link to the backup communication link, the power supply fluctuation will be more or less caused during the switching process. In this case, it is necessary to adjust the production status of the heat exchange station to adapt to the backup controller and reduce the impact of the switching power supply fluctuation. However, the existing technology lacks analysis of the direction of power supply fluctuation when adjusting the production status of the heat exchange station, resulting in the adjustment means being too single or blind, which in turn reduces the rationality and pertinence of the adjustment, resulting in the gradualness of the adjustment being limited, affecting the adjustment effect to a certain extent, and may cause the equipment of the heat exchange station to face additional damage risks after the switch. At the same time, blind adjustment will also cause waste of resources. Summary of the invention
[0006] In view of this, the present invention aims to propose a method for automatic power outage communication switching and production scheduling management for a heat exchange station, which effectively solves the problems mentioned in the background technology by optimizing the data backup method during the power outage communication switching process of the heat exchange station and the production status adjustment based on the power supply fluctuations before and after the switching.
[0007] To achieve the above-mentioned purpose, the technical solution of the present invention is implemented as follows: a method for automatic power-off communication switching and production scheduling management for a heat exchange station, comprising the following steps: S1, installing a main controller and a backup controller in the heat exchange station, and equipping them with an automatic switching device, and connecting the main and backup controllers through a power-off communication device.
[0008] S2. During the operation of the heat exchange station, real-time monitoring of the operation abnormality of the main controller, power supply abnormality and communication quality between the main and standby controllers are performed.
[0009] S3. During the operation of the main controller, an adaptive backup mode is selected according to the communication quality between the main and standby controllers.
[0010] S4. When the selected adaptive backup mode is periodic backup, the adaptive backup frequency is determined based on the data generation frequency of the main controller and the remaining storage space of the storage device.
[0011] S5. Identify whether it is necessary to switch the controller based on the abnormal operation monitoring result and the abnormal power supply monitoring result of the main controller. When it is identified that the controller needs to be switched, use the automatic switching device to perform the main and standby switching.
[0012] S6. During the process of switching from the main controller to the backup controller, monitor the power supply fluctuations before and after the switching to determine whether the production status of the heat exchange station needs to be adjusted.
[0013] S7. When it is judged that the production status of the heat exchange station needs to be adjusted, the power supply fluctuation direction is analyzed, where the power supply fluctuation direction includes power supply amplitude fluctuation and power supply phase fluctuation, and the production status of the heat exchange station is adjusted accordingly.
[0014] In combination with all the above-mentioned technical solutions, the positive effects of the present invention are as follows: 1. The present invention realizes targeted and flexible selection of data backup by monitoring the communication quality between the primary and standby controllers in real time during the operation of the heat exchange station, thereby dynamically selecting an adaptive backup method. When the communication quality is good, a real-time data synchronization mechanism is adopted to ensure that the data between the primary and standby controllers can be synchronized in real time. When the communication quality is poor or fluctuates, it switches to a regular backup method, which can effectively reduce the incidence of incomplete or outdated backups, while avoiding excessive occupation of communication and storage resources, which is conducive to balancing the system's real-time performance, resource consumption and data integrity to the greatest extent.
[0015] 2. When the selected adaptive backup method is periodic backup, the present invention determines the adaptive backup frequency based on the data generation frequency of the main controller and the remaining storage space of the storage device. It can reduce the storage resource occupation required for backup while meeting the backup needs, thereby optimizing the utilization efficiency of storage resources to the greatest extent, avoiding excessive occupation of storage space or waste of resources caused by frequent backup, and at the same time helping to reduce the management complexity of the backup strategy. There is no need to perform backup at each time point, but dynamic adjustment can be performed according to actual needs, reducing the pressure of management and monitoring.
[0016] 3. In the process of switching from the main control to the backup controller, the present invention monitors the power supply fluctuations before and after the switching, analyzes the power supply fluctuation direction, and adjusts the production status of the heat exchange station accordingly, so that the adjustment of the production status of the heat exchange station is more reasonable and targeted, which can minimize the risk of equipment damage or system failure during the switching process, and at the same time help the heat exchange station to use resources more effectively. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] The present invention is further described using the accompanying drawings, but the embodiments in the accompanying drawings do not constitute any limitation to the present invention. A person skilled in the art can obtain other drawings based on the following drawings without creative work.
[0018] Figure 1 The present invention is a flowchart of the steps for implementing the method. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.
[0020] See also Figure 1 As shown, the present invention proposes a method for automatic power-off communication switching and production scheduling management for a heat exchange station, comprising the following steps: S1, installing a main controller and a backup controller in the heat exchange station, and equipping an automatic switching device, and connecting the main and backup controllers through a power-off communication device.
[0021] In the specific implementation of the above scheme, the main controller and the backup controller constitute a redundant design of the heat exchange station system. If the main controller fails due to a malfunction or other reasons, the backup controller can immediately take over and continue to operate, thereby ensuring the continuity and reliability of the entire system. The function of the automatic switching device is to automatically transfer control to the backup controller when the main controller fails.
[0022] S2. During the operation of the heat exchange station, real-time monitoring of the operation abnormality of the main controller, power supply abnormality and communication quality between the main and standby controllers are performed.
[0023] Applied to the above embodiment, the abnormal operation status of the main controller is monitored as follows: a receiver is provided for receiving signals sent by the main controller, and then the main controller sends a heartbeat signal to the receiver in real time during operation.
[0024] It is particularly important to note that when the main controller sends a heartbeat signal to the receiver in real time during operation, the transmission frequency interval needs to be determined in advance, which can usually be set to a few seconds to a few minutes, depending on the actual needs and performance of the system. This is because a shorter transmission frequency can provide faster fault detection and response time, but may increase communication load and power consumption. A longer transmission frequency can reduce communication load and power consumption, but may cause delays in fault detection and response time.
[0025] During the heartbeat signal sending process, the sending frequency is counted, and the sending time and receiving time of each signal are recorded.
[0026] Compare the sending time and receiving time of each signal transmission to calculate the main controller operation abnormality index , where , Respectively represent the sending time and receiving time of each signal transmission, Indicates the set transmission timeout threshold. Represents a natural constant, where the longer the interval between the sending time and the receiving time each time the main controller sends a signal, the greater the operation abnormality index.
[0027] The above-mentioned timeout transmission duration threshold is a system setting, which is usually determined based on the actual situation and performance requirements of the system. It can be a time interval several times the heartbeat signal sending frequency. For example, assuming that the heartbeat signal sending frequency interval is 3s, the timeout transmission duration threshold can be set to a time interval 3 times the heartbeat signal sending frequency, specifically 9s. The purpose of setting the timeout transmission duration threshold is to assist in the calculation and analysis of the main controller operation abnormality index.
[0028] The present invention uses heartbeat signal detection as a method for monitoring the operating status of the main controller in the automatic switching of power-off communication for the thermal station. On the one hand, this is because the heartbeat signal monitoring method is relatively simple and reliable. The main controller periodically sends heartbeat signals, and the monitoring system only needs to periodically check whether these signals are received to determine the operating status of the main controller. This simple monitoring method does not require complex equipment or algorithms, so it is low-cost and easy to implement; on the other hand, the heartbeat signal is usually a short information packet, and compared with other monitoring methods, it requires very low bandwidth consumption, which is particularly important for environments with limited communication resources or facilities that need to run for a long time; on the other hand, due to the real-time nature of the heartbeat signal, once the monitoring system fails to receive the expected heartbeat signal, it can immediately discover possible faults or communication problems in the main controller, which helps to take timely measures to prevent the problem from further expanding or affecting the normal operation of the system.
[0029] Further applied to the above embodiment, the power supply anomaly monitoring process is as follows: when the main controller is running, the power supply voltage and power supply current are collected in real time at the power supply end, and it is particularly pointed out that the power supply end is the power supply end of the heat exchange station, and compared with the rated voltage and rated current, wherein the rated voltage and rated current of the power supply end can be obtained from its technical manual, thereby adding the calculation result of the absolute value of the difference between the power supply voltage and the rated voltage divided by the rated voltage and the calculation result of the absolute value of the difference between the power supply current and the rated current divided by the rated current and divided by 2 to obtain the power supply anomaly index.
[0030] Further applied to the above embodiment, the communication quality monitoring between the primary and standby controllers refers to the following monitoring process: during the connection between the primary controller and the standby controller, the communication indicators of the powered-off communication device are collected in real time, specifically the network packet loss rate and the network delay duration.
[0031] Using analytical , the communication quality coefficient between the active and standby controllers is obtained by statistics , where , They represent the network packet loss rate and network delay time respectively. Respectively represent the normal network delay time, represents a set constant, and , illustratively, , wherein the normal network delay duration can be obtained based on the communication network bandwidth between the main controller and the backup controller. In a specific embodiment, the normal network delay duration corresponding to the communication network bandwidth of 10 Mbps is 10 ms.
[0032] It should be added that the reason for using network packet loss rate and network delay time as communication indicators between the main controller and the backup controller is that these indicators directly affect the reliability and efficiency of communication. Specifically, the network packet loss rate represents the proportion of data packets lost during data transmission. A high packet loss rate may mean incompleteness and unreliability of data transmission. Lost data packets may lead to misjudgment, operation delays or system instability.
[0033] Network delay is the time required for data to travel from the sender to the receiver. The delay directly affects the speed and real-time performance of the system response. Higher delays may lead to delays in control instructions or feedback information, thereby reducing the system's response speed and control accuracy.
[0034] Therefore, using the network packet loss rate and network delay time as communication indicators can comprehensively evaluate the communication quality between the main controller and the backup controller. By monitoring these indicators, communication problems can be discovered in a timely manner.
[0035] S3. During the operation of the main controller, an adaptive backup mode is selected based on the communication quality between the main and standby controllers. The specific implementation is as follows: During the operation of the main controller, the communication quality coefficient obtained by real-time collection statistics is compared with the previous collection time to obtain the absolute value of the communication quality coefficient comparison difference, and the absolute value is divided by the communication quality coefficient corresponding to the current collection time to obtain the communication quality change degree.
[0036] It is particularly important to note that, since the first collection of communication quality during the operation of the main controller does not have the previous collection time, the first collection of communication quality does not have a communication quality variation degree, but only a communication quality coefficient.
[0037] The communication quality coefficient collected in real time is combined with the communication quality change degree through the evaluation formula Get communication quality , It represents the communication quality variability, where the larger the communication quality coefficient is, the smaller the communication quality variability is and the higher the communication quality is.
[0038] The communication quality is compared with the set effective communication quality. If the communication quality is greater than or equal to the effective communication quality, where the effective communication quality is the initial setting, for example, the effective communication quality can be set to 0.8, and the setting purpose is to assist in the selection of the adaptation method. In this case, synchronous backup is selected as the adaptation backup method, otherwise, the periodic backup method is selected as the adaptation backup method, where the periodic backup method is to periodically back up the data of the main controller and store it in the storage device.
[0039] The present invention can automatically switch the backup strategy according to the current communication quality between the main and standby controllers, which can significantly improve the reliability and stability of the system. This intelligent backup strategy can not only ensure real-time data synchronization when the communication quality is good and improve the response speed of the system, but also ensure that the standby controller can obtain the latest valid data when the communication quality is poor, ensuring that the system will not suffer serious failures or misoperation due to communication problems.
[0040] Furthermore, when automatically switching the backup strategy according to the communication quality between the current primary and standby controllers, not only the communication quality at the current moment is taken into account, but also the change in communication quality between the current moment and the previous moment. Then, the backup switching is triggered based on the communication quality at the current moment and the change in communication quality. This can make the backup switching strategy more intelligent and adapt to complex actual operating environments, reduce the possibility of misjudgment, and improve the accuracy and reliability of switching decisions.
[0041] S4. When the selected adaptive backup mode is periodic backup, the adaptive backup frequency is determined based on the data generation frequency of the main controller and the remaining storage space of the storage device. For details, refer to the following process: Select the operating period during the operation of the main controller. Specifically, the operating period should not be too long or too short. If it is too long, it will affect the efficiency of the adaptive backup frequency determination. If it is too short, it will easily affect the accuracy of the adaptive backup frequency determination due to too few data generation logs retrieved. For example, the operating period can be 10 minutes, and then the data generation log is retrieved within the operating period, and the data generation frequency is calculated based on the interval between two adjacent data generation logs. The specific calculation is as follows: Step 1. For each log, record its generation timestamp. Then, calculate the time interval between two adjacent logs, that is, the generation timestamp of the current log minus the generation timestamp of the previous log.
[0042] Sum the time intervals between all two adjacent logs and divide it by the total number of logs minus one (because there is a time interval between two adjacent logs) to get the data generation frequency.
[0043] As an implementation example of the above solution (assuming that the timestamp is in seconds), assume that the following data are generated with timestamps: 10:00:00, 10:00:02, 10:00:05, 10:00:07. The time interval between two adjacent logs is calculated as follows: 10:00:02-10:00:00=2 seconds, 10:00:05-10:00:02=3 seconds, 10:00:07-10:00:05=2 seconds. The data generation frequency is calculated as follows: (2 seconds + 3 seconds + 2 seconds) / 3=2.33 seconds per log.
[0044] The required backup frequency is calculated based on the data generation frequency and communication quality. The specific calculation formula is: .
[0045] It should be noted that the backup frequency mentioned in the present invention refers to the time interval between each backup. Generally, the backup frequency must meet the data generation frequency. On this basis, the higher the communication quality, the shorter the time interval between each backup and the smaller the backup frequency.
[0046] The occupied space is statistically generated from the retrieved data generation log, and compared with the remaining storage space of the storage device to calculate the backup storage occupancy rate corresponding to each data generation log.
[0047] A two-dimensional coordinate system is constructed with the generation timestamp of the data generation log as the horizontal axis and the backup storage occupancy rate as the vertical axis. Then, several points are marked in the constructed two-dimensional coordinate system according to the backup storage occupancy rate corresponding to each data generation log to form a backup storage occupancy change curve, and the change rate of the change curve is obtained to calculate the backup storage growth trend. The specific calculation formula is: , where Indicates the rate of change of the backup storage usage change curve. If the backup storage usage change rate is larger in the positive direction, it means that the backup storage growth trend is greater, and the storage resources will be consumed more.
[0048] The rate of change of the above-mentioned change curve can be calculated by cumulatively calculating the slope of each point in the change curve.
[0049] The backup storage growth trend is compared with the set license growth trend. For example, the license growth trend can be 0.7, where the license growth trend is initially set to assist in determining the adaptive backup frequency. If the backup storage growth trend is less than or equal to the license growth trend, the required backup frequency is used as the adaptive backup frequency. Otherwise, it is less suitable to shorten the time interval between each backup. At this time, the data generated in the data generation log during the running period is compared, thereby dividing the generated data into the same data group and different data groups, and then counting the proportion of data volume in different data groups as the data generation variation degree. The smaller the data generation variation degree, the more incremental backup can be used to complete the backup according to the required backup frequency while reducing the consumption of storage resources, thereby achieving a balance between backup requirements and reducing storage resources.
[0050] The data generation change degree is compared with the preset limit value. For example, the preset limit value is 0.3, where the preset limit value is initially set. If the data generation change degree is less than or equal to the preset limit value, the required backup frequency is used as the adaptive backup frequency while performing incremental backup. Otherwise, the consumption of storage resources is emphasized to avoid excessive use of resources or increased costs. At this time, the adaptive backup frequency is calculated based on the comparison difference between the backup storage growth trend and the license growth trend combined with the required backup frequency. The specific calculation formula is: , where Indicates the required backup frequency. Indicates the backup storage growth trend, Indicates the license growth trend. Through this calculation, the time interval between each backup can be appropriately extended to reduce the consumption of storage resources.
[0051] When the adaptive backup method selected by the present invention is periodic backup, the backup frequency is further considered, which depends on the performance requirements of the system, the data generation speed and the communication quality. A lower backup frequency means that more data may be lost during switching, but the storage resource consumption required for backup will be reduced. A higher backup frequency can provide better data protection, but it will increase storage resource consumption.
[0052] S5. Identify whether it is necessary to switch the controller based on the abnormal operation monitoring result and the abnormal power supply monitoring result of the main controller. When it is identified that the controller needs to be switched, use the automatic switching device to perform the main and standby switching.
[0053] Preferably, identifying whether the controller needs to be switched is implemented as follows: comparing the main controller operation abnormality index and power supply abnormality index with the corresponding allowed values respectively. If the main controller operation abnormality index is greater than the allowed operation abnormality index or the power supply abnormality index is greater than the allowed power supply abnormality index, it is identified that the controller needs to be switched.
[0054] The above-mentioned allowable values are initially set. For example, the allowable abnormal values corresponding to the main controller operation abnormality index and the power supply abnormality index are 0.3 and 0.4.
[0055] It should be understood that when the power supply at the power supply end of the heat exchange station is abnormal, the power supply abnormality problem can be solved by switching to the backup controller. This is because the backup controller is usually equipped with a power switching function or a backup power interface. When the main controller detects power supply fluctuations or abnormalities, the system can automatically switch to the backup controller to use the backup power supply. This switching can quickly respond to power supply problems and prevent equipment failure or unstable system operation caused by power supply fluctuations.
[0056] The present invention not only uses the operating status of the main controller as a basis for judging whether it is necessary to switch the backup controller, but also adds the monitoring of the power supply status. When the power supply is abnormal, the backup controller also needs to be switched. This is done in consideration that the monitoring of the power supply status can provide additional information to help the system more accurately judge whether it is necessary to switch to the backup controller. Sometimes the operating status of the main controller may be normal, but the equipment cannot work normally or operate within the safety boundary due to power supply abnormalities. Monitoring the power supply status can detect such problems and make switching decisions accordingly to ensure the stable operation of the facility. In addition, power supply abnormalities may be one of the common problems encountered in system operation, such as power fluctuations. If the system only relies on the operating status of the main controller to determine the switch, these potential power supply problems may be ignored. By monitoring the power supply status, the system can more effectively deal with these interferences and ensure the stable operation of the equipment.
[0057] S6. During the process of switching from the main controller to the backup controller, monitor the power supply fluctuations before and after the switching to determine whether the production status of the heat exchange station needs to be adjusted.
[0058] In the specific optimization implementation, the power supply fluctuation before and after the switching is monitored, referring to the following process: in the process of switching from the main control to the backup controller, the power monitoring equipment is used to measure the voltage waveform and current waveform of the power supply end before the switching and the voltage waveform and current waveform of the power supply end after the switching.
[0059] The voltage waveform at the power supply end before switching is overlapped with the voltage waveform at the power supply end after switching, and the current waveform at the power supply end before switching is overlapped with the current waveform at the power supply end after switching to obtain the non-overlapping voltage waveform length and the non-overlapping current waveform length. Then, the result of dividing the non-overlapping voltage waveform length by the voltage waveform length at the power supply end before switching and the result of dividing the non-overlapping current waveform length by the current waveform length at the power supply end before switching are added and divided by 2 to obtain the power supply fluctuation before and after the switching.
[0060] The present invention determines the overlapping and non-overlapping parts of the two waveforms by comparing the voltage waveform and the current waveform at the power supply end before and after switching, thereby calculating the power supply fluctuation before and after switching. This calculation method provides an intuitive and quantitative method to help understand the degree and impact of the fluctuation, rather than just relying on subjective observation or empirical judgment.
[0061] Furthermore, the specific implementation of judging whether the production status of the heat exchange station needs to be adjusted is as follows: the number of power equipment in the heat exchange station is counted, and the corresponding load level is obtained based on the name of each power equipment, where the load level is the power load according to the The load can be divided into primary load, secondary load and tertiary load according to the requirements and the degree of loss or impact caused by power outage on politics and economy. The primary load is more important than the secondary load, and the secondary load is more important than the tertiary load. The larger the load level of the power equipment, the greater its sensitivity.
[0062] The load levels corresponding to each electrical equipment are arranged according to importance, and the load level ranked first is taken as the main load level of the power equipment of the heat exchange station.
[0063] The main load level of the heat exchange station power equipment is compared with the allowable power supply fluctuation range corresponding to various load levels in the power consumption reference library to obtain the allowable power supply fluctuation range corresponding to the heat exchange station power equipment.
[0064] In the above example, the allowable power supply fluctuation range corresponding to the first-level load is , the allowable power supply fluctuation range corresponding to the secondary load is , the allowable power supply fluctuation range corresponding to the third-level load is .
[0065] The power supply fluctuation is compared with the allowable power supply fluctuation range corresponding to the power equipment of the heat exchange station. If the power supply fluctuation is greater than the upper limit of the allowable power supply fluctuation range, it is judged that the production status needs to be adjusted, otherwise it is judged that the production status does not need to be adjusted.
[0066] It should be added that when judging whether the production status needs to be adjusted based on the power supply fluctuation before and after the switch, it is not necessary to set a fixed allowable power supply fluctuation, but to take into account that different types of equipment have different sensitivities to power supply fluctuations. For example, precision electronic equipment may be more sensitive to power supply fluctuations, while mechanical equipment may be relatively more resistant to interference. Therefore, it is more reasonable and targeted to set the allowable power supply fluctuation based on the load level of the power equipment in the heat exchange station, making the judgment on whether the production status needs to be adjusted more realistic and reliable.
[0067] S7. When it is judged that the production status of the heat exchange station needs to be adjusted, the power supply fluctuation direction is analyzed, where the power supply fluctuation direction includes power supply amplitude fluctuation and power supply phase fluctuation, and the production status of the heat exchange station is adjusted accordingly.
[0068] Optimally, the power supply fluctuation direction is analyzed by referring to the following process: the amplitude of the voltage waveform and the current waveform of the power supply end before the switching are compared with the amplitude of the voltage waveform and the current waveform of the power supply end after the switching to identify whether the power supply amplitude has changed. The specific operation is to calculate the similarity of the voltage and current amplitudes before and after the switching, which is specifically calculated as follows: Similarly, the current amplitude similarity before and after switching refers to the above formula. When any of the voltage and current amplitude similarity before and after switching is less than the initial effective similarity, exemplarily, the effective similarity is 90%, it is recognized that the power supply amplitude has changed.
[0069] The voltage waveform and current waveform of the power supply end before and after the switching are digitized, and the phase is extracted, for example, it can be obtained by Fourier transform method, thereby comparing the phase of the voltage waveform and the phase of the current waveform of the power supply end before the switching with the phase of the voltage waveform and the phase of the current waveform of the power supply end after the switching to identify whether there is a change in the power supply phase. Specifically, whether there is a change in the power supply phase can be determined by referring to the identification method of whether there is a change in the power supply amplitude.
[0070] The power supply fluctuation direction is determined based on the identification results of whether there is a change in the power supply amplitude and whether there is a change in the power supply phase. Specifically, when the power supply amplitude changes, the power supply fluctuation direction is the power supply amplitude fluctuation; when the power supply phase changes, the power supply fluctuation direction is the power supply phase fluctuation.
[0071] During the process of switching from the main control to the backup controller, the present invention monitors the power supply fluctuation before and after the switching, analyzes the power supply fluctuation direction, and adjusts the production status of the heat exchange station accordingly, so that the adjustment of the production status of the heat exchange station is more reasonable and targeted, which can minimize the risk of equipment damage or system failure during the switching process, and at the same time can help the heat exchange station to use resources more effectively.
[0072] It should be understood that changes in the amplitude and phase of the power supply system before and after the switch may have different impacts and responses on the adjustment of the operating parameters of the heat exchange station, which are specifically reflected in: 1. The impact of amplitude changes on the heat exchange station: (1) Voltage amplitude changes: If the voltage amplitude of the power supply system changes before and after the switch, it may affect the stability and performance of the heat exchange station. If the voltage amplitude increases, the heat exchange station may face the risk of overvoltage, and the operating parameters of the equipment need to be adjusted accordingly, such as reducing the operating load under the voltage level. If the voltage amplitude decreases, it may cause equipment performance to decline or work abnormally, and the parameters need to be adjusted to adapt to the new working conditions. (2) Current amplitude changes: Changes in current amplitude may affect the load conditions and equipment operating status of the heat exchange station. If the current amplitude increases, it may indicate an increase in load, and the power output or operating mode of the equipment needs to be adjusted to meet the new load requirements. If the current amplitude decreases, it may be necessary to adjust the control parameters of the equipment to ensure normal operation, and it may be necessary to consider reducing the power consumption of the equipment.
[0073] 2. Impact of phase change on heat exchange station: (1) Voltage phase change: Voltage phase change may affect the stability of the heat exchange station and the operating characteristics of the equipment. If the voltage phase changes, it may affect the response speed, power factor, harmonic content and other aspects of the equipment. The control strategy or parameters of the heat exchange station need to be adjusted according to the specific situation of the phase change to adapt to the new voltage phase conditions.
[0074] (2) Current phase change: Current phase change is usually closely related to voltage phase change, which may affect the power factor of the heat exchange station and the harmonic content of the power grid. If the current phase changes, the power factor correction device or harmonic filter of the heat exchange station may need to be adjusted to maintain stable operation of the equipment and meet the requirements of the power grid.
[0075] Therefore, when adjusting the production status of the heat exchange station based on power supply fluctuations, it is necessary to adjust the operating parameters according to the specific situation of the power supply system changes. For amplitude changes, the main consideration is to adjust the load and power output of the equipment; for phase changes, it mainly involves adjusting the control strategy of the equipment, power factor correction and harmonic filtering. Comprehensively consider the impact of amplitude and phase changes on the heat exchange station to ensure its stable and reliable operation.
[0076] The above contents are merely examples and explanations of the structure of the present invention. The technicians in this technical field may make various modifications or additions to the specific embodiments described or replace them in a similar manner. As long as they do not deviate from the structure of the invention or exceed the scope defined by the present invention, they should all fall within the protection scope of the present invention.
Claims
1. A method for automatic power failure communication switching and production scheduling management for a heat exchange station, characterized in that: The following steps are involved: S1. Install the main controller and standby controller in the heat exchange station and equip them with automatic switching devices. The main and standby controllers are connected through power-off communication equipment; S2. During the operation of the heat exchange station, real-time monitoring of the operation abnormality of the main controller, power supply abnormality and communication quality between the main and standby controllers is performed; S3, during the operation of the main controller, select an adaptive backup mode according to the communication quality between the main and standby controllers; S4. When the selected adaptive backup mode is periodic backup, the adaptive backup frequency is determined based on the data generation frequency of the main controller and the remaining storage space of the storage device; S5. Identify whether it is necessary to switch the controller according to the abnormal operation monitoring result and the abnormal power supply monitoring result of the main controller. If it is determined that the controller needs to be switched, use the automatic switching device to perform the main-standby switching; S6. During the process of switching from the main control to the standby controller, monitor the power supply fluctuation before and after the switching, and judge whether the production status of the heat exchange station needs to be adjusted; S7. When it is judged that the production state of the heat exchange station needs to be adjusted, the power supply fluctuation direction is analyzed, wherein the power supply fluctuation direction includes power supply amplitude fluctuation and power supply phase fluctuation, and the production state of the heat exchange station is adjusted accordingly; Collect network packet loss rate and network delay time in real time, and obtain the communication quality coefficient between the active and standby controllers based on the statistics. ; The selection of the adaptive backup mode according to the communication quality between the active and standby controllers refers to the following process: During the operation of the main controller, the communication quality coefficient obtained by real-time collection statistics is compared with the previous collection time to obtain the absolute value of the communication quality coefficient comparison difference, and the absolute value is divided by the communication quality coefficient corresponding to the current collection time to obtain the communication quality change degree; The communication quality coefficient collected in real time is combined with the communication quality change degree through the evaluation formula Get communication quality , Indicates the communication quality variation; The communication quality is compared with the set effective communication quality. If the communication quality is greater than or equal to the effective communication quality, synchronous backup is selected as the adaptive backup method. Otherwise, the periodic backup method is selected as the adaptive backup method. The determination of the adaptation backup frequency refers to the following process: During the operation of the main controller, a running time period is selected, and then a data generation log is retrieved within the running time period, and a data generation frequency is calculated based on the interval between two adjacent data generation logs; Calculate the required backup frequency based on data generation frequency and communication quality; Count the occupied space of the data generated from the retrieved data generation log, compare it with the remaining storage space of the storage device, and calculate the backup storage occupancy rate corresponding to each data generation log; A two-dimensional coordinate system is constructed with the generation timestamp of the data generation log as the horizontal axis and the backup storage occupancy rate as the vertical axis. Then, several points are marked in the constructed two-dimensional coordinate system according to the backup storage occupancy rate corresponding to each data generation log to form a backup storage occupancy change curve, and the change rate of the change curve is obtained to calculate the backup storage growth trend. The specific calculation formula is: , where Indicates the rate of change of the backup storage occupancy change curve; Compare the backup storage growth trend with the set license growth trend. If the backup storage growth trend is less than or equal to the license growth trend, the required backup frequency is used as the adaptive backup frequency. Otherwise, compare the data generated in each data generation log during the running period, thereby dividing the generated data into the same data group and different data groups, and then count the proportion of data volume in different data groups as the data generation change degree; The data generation change degree is compared with the preset limit value. If the data generation change degree is less than or equal to the preset limit value, the required backup frequency is used as the adaptive backup frequency and incremental backup is performed. Otherwise, the adaptive backup frequency is calculated based on the comparison difference between the backup storage growth trend and the license growth trend combined with the required backup frequency.
2. A method for automatic power failure communication switching and production scheduling management for a heat exchange station according to claim 1, characterized in that: The operation abnormality monitoring of the main controller is as follows: A receiver is provided for receiving a signal sent by the main controller, and then the main controller sends a heartbeat signal to the receiver in real time during operation; During the heartbeat signal sending process, the sending frequency is counted, and the sending time and receiving time of each signal are recorded; Compare the sending time and receiving time of each signal transmission to calculate the main controller operation abnormality index , where , Respectively represent the sending time and receiving time of each signal transmission, Indicates the set transmission timeout threshold. Represents a natural constant.
3. A method for automatic power failure communication switching and production scheduling management for a heat exchange station according to claim 2, characterized in that: The power supply abnormality monitoring process is as follows: When the main controller is running, the power supply voltage and power supply current are collected in real time at the power supply end and compared with the rated voltage and rated current. The power supply abnormality index is obtained by adding the absolute value of the difference between the power supply voltage and the rated voltage divided by the rated voltage and the absolute value of the difference between the power supply current and the rated current divided by the rated current and divided by 2.
4. The method for automatic power failure communication switching and production scheduling management for a heat exchange station according to claim 1, characterized in that: The communication quality monitoring between the active and standby controllers refers to the following process: During the connection between the main controller and the standby controller, the communication indicators of the power-off communication equipment are collected in real time, specifically the network packet loss rate and network delay duration; Using analytical , the communication quality coefficient between the active and standby controllers is obtained by statistics , where , They represent the network packet loss rate and network delay time respectively. Respectively represent the normal network delay time, represents a set constant, and .
5. The method for automatic power failure communication switching and production scheduling management for a heat exchange station according to claim 3, characterized in that: The identification of whether the controller needs to be switched is implemented as follows: The main controller operation abnormality index and power supply abnormality index are compared with the corresponding allowed values respectively. If the main controller operation abnormality index is greater than the allowed operation abnormality index or the power supply abnormality index is greater than the allowed power supply abnormality index, it is recognized that the controller needs to be switched.
6. A method for automatic power failure communication switching and production scheduling management for a heat exchange station according to claim 1, characterized in that: The power supply fluctuation before and after the monitoring switch is shown in the following process: In the process of switching from the main controller to the standby controller, the power monitoring device is used to measure the voltage waveform and current waveform of the power supply end before the switching and the voltage waveform and current waveform of the power supply end after the switching; The voltage waveform at the power supply end before switching is overlapped with the voltage waveform at the power supply end after switching, and the current waveform at the power supply end before switching is overlapped with the current waveform at the power supply end after switching to obtain the non-overlapping voltage waveform length and the non-overlapping current waveform length. Then, the result of dividing the non-overlapping voltage waveform length by the voltage waveform length at the power supply end before switching and the result of dividing the non-overlapping current waveform length by the current waveform length at the power supply end before switching are added and divided by 2 to obtain the power supply fluctuation before and after the switching.
7. The method for automatic power failure communication switching and production scheduling management for a heat exchange station according to claim 1, characterized in that: The specific implementation of judging whether the production status of the heat exchange station needs to be adjusted is as follows: Count the number of electrical equipment in the heat exchange station and obtain the corresponding load level based on the name of each electrical equipment; Arrange the load levels corresponding to each electrical equipment according to their importance, and then take the load level ranked first as the main load level of the electrical equipment of the heat exchange station; Compare the main load level of the heat exchange station power equipment with the allowable power supply fluctuation range corresponding to various load levels in the power reference library to obtain the allowable power supply fluctuation range corresponding to the heat exchange station power equipment; The power supply fluctuation is compared with the allowable power supply fluctuation range corresponding to the power equipment of the heat exchange station. If the power supply fluctuation is greater than the upper limit of the allowable power supply fluctuation range, it is judged that the production status needs to be adjusted, otherwise it is judged that the production status does not need to be adjusted.
8. A method for automatic power failure communication switching and production scheduling management for a heat exchange station according to claim 6, characterized in that: The analysis of power supply fluctuation direction refers to the following process: Compare the amplitude of the voltage waveform and the amplitude of the current waveform at the power supply end before the switching with the amplitude of the voltage waveform and the amplitude of the current waveform at the power supply end after the switching to identify whether there is a change in the power supply amplitude; The voltage waveform and the current waveform of the power supply end before and after the switching are digitized and the phase is extracted, thereby comparing the phase of the voltage waveform and the current waveform of the power supply end before the switching with the phase of the voltage waveform and the current waveform of the power supply end after the switching to identify whether there is a change in the power supply phase; The power supply fluctuation direction is determined based on the identification results of whether the power supply amplitude changes and whether the power supply phase changes.
