Small signal simulation test system and method suitable for power grid safety and stability control device

By setting up a small signal test volume addition channel and an experimental status hard pressure plate in the power grid safety and stability control device, the signal source switching and the consistency of the fault judgment data source are realized, which solves the heavy workload and risks in the debugging process in the existing technology. The problem of high and inaccurate fault judgment is improved, and the reliability of test results and the accuracy of fault judgment are improved.

CN114371684BActive Publication Date: 2024-09-10STATE GRID ELECTRIC POWER RES INST +4
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202111443603.5
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2021-11-30
Publication Date
2024-09-10
Estimated Expiration
2041-11-30

AI Technical Summary

Technical Problem

The existing power grid security and stability control device needs to frequently exit the protection device during the debugging process, resulting in heavy workload, increased risk and reduced system reliability. Moreover, the existing analog signal conversion method cannot effectively simulate the changeable fault dynamic process, which can easily lead to ADC board failure and electrostatic shock.

Method used

By setting up the small signal test volume addition channel, and using software to switch between the actual signal volume and the small signal test volume, the experimental state hard press plate and signal source configuration interface are used to realize the signal source between the ADC and the test signal board. Switching meets the simulation needs of dynamic fault processes, avoids the impact on the ADC board, and ensures the consistency of data sources for fault judgment through delay counters.

Benefits of technology

It improves the reliability of the debugging process, adapts to the simulation needs of changeable fault dynamic processes, avoids ADC board failure and electrostatic shock, ensures the accuracy of fault judgment results, and reminds the user to restore the scene through the inspection light.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114371684B
    Figure CN114371684B
Patent Text Reader

Abstract

The present invention discloses a small signal simulation adding test system and method applicable to a power grid safety and stability control device. The system includes a power grid safety and stability control device, a simulation signal conversion unit and a test signal conversion unit. The power grid safety and stability control device includes a host and a slave. The host receives an input signal or an exit signal of a hard pressure plate in an experimental state, and correspondingly sends a hard pressure plate state signal to the slave. The slave configures the value of a preset small signal state flag according to the received signal source configuration signal. The slave selects to obtain the actual operation signal of the power grid as a signal source, or selects to obtain the test signal as a signal source through a test signal conversion unit according to the value of the small signal state flag and the hard pressure plate state signal. The present invention can realize the switching between the actual signal quantity and the small signal test quantity, meet the requirements of simulating the variable fault dynamic process when debugging the stability control device on site, and avoid ADC board failure caused by debugging.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of power system and automation thereof, in particular to a small signal simulation addition test system and method suitable for a power grid safety and stability control device. Background Art

[0002] The power grid safety and stability control device (hereinafter referred to as the stability control device) is generally composed of a host and a slave. The host generally does not sample, but the slave does. The PT / CT acquisition circuit of the slave of the stability control device is generally taken from the same set of primary PT / CT as the protection device. If it is necessary to increase the amount from the PT / CT during on-site debugging of the stability control device, if there is no other testing method, it is necessary to exit the protection device and seal the CT before the CT acquisition circuit of the stability control device to prevent accidents during the debugging process.

[0003] Due to changes in the grid structure or coordination with other sites, the debugging of stabilization and control devices is relatively frequent. For example, when the function upgrade of the regional stabilization and control system engineering station requires coordination, a coordination may involve dozens or even hundreds of sites. If we have to wait until the installation measures are completed and the protection is withdrawn before starting, the workload on site will be too large, wasting a lot of manpower and material resources. Secondly, the risk points are increased in the process of investing and withdrawing protection devices. After one set of protection is withdrawn, the original double-set protection operation is converted into a single-set protection operation, which invisibly reduces the reliability of the system.

[0004] In the past, a switch was added to the acquisition circuit of the analog signal conversion (ADC) board, and the relay switched the signal from PT / CT to the experimental small signal or directly set the number in the software. The former method is generally to switch directly without outputting an alarm signal, and it is possible that part of the quantity entering the logic judgment during the switching process is the PT / CT data before the switch, and the other part is the small signal data after the switch; in addition, there is a problem that the device cannot alarm after the experiment is switched, especially when the component is originally zero power, and the PT / CT signal is forgotten after the small signal addition is cancelled. If the operator does not check this situation, it may not be found, especially in some new energy stations, there is a quantity when the wind is strong, and it is 0 when the wind is small. It is not easy to find, which brings hidden dangers to the actual production operation. In addition, the experimental interface is set on the ADC board used in formal operation. There may be electrostatic shock when plugging and unplugging the small signal interface. When the small signal addition instrument fails, it may also have an impact on the AD chip. These shocks may cause hidden faults in the acquisition circuit of the ADC board and reduce reliability. If the setting method is adopted, only a few fixed states set in advance can be simulated, and the variable fault dynamic process cannot be simulated. Summary of the invention

[0005] The purpose of the present invention is to provide a small signal simulation adding test system and method suitable for a power grid safety and stability control device, by additionally setting a small signal test adding channel, and using software to realize the switching between the actual signal quantity and the small signal test quantity, to meet the requirements of simulating the dynamic process of the fault changeable during the on-site debugging of the stability control device, avoid the ADC board failure that may be caused by switching the test quantity source using the existing ADC board, and improve the reliability of the test result. The technical solution adopted by the present invention is as follows.

[0006] On the one hand, the present invention provides a small signal simulation addition test system suitable for a power grid safety and stability control device, comprising a power grid safety and stability control device, an analog signal conversion unit, a test signal conversion unit and an experimental state hard pressure plate, the power grid safety and stability control device comprises a host and a slave, the host is connected to the experimental state hard pressure plate, and the slave is connected to the analog signal conversion unit and the test signal conversion unit for communication;

[0007] The host is used to receive the input signal or the exit signal of the experimental state hard pressing plate, and send the hard pressing plate state signal to the slave accordingly according to the received experimental state hard pressing plate input signal or the exit signal;

[0008] The slave is used to receive the external input signal source configuration signal and the hard pressure plate status signal sent by the host; the slave is configured to configure the preset value of the small signal status flag corresponding to the test signal as the signal source, or corresponding to the actual operation signal as the signal source according to the received signal source configuration signal;

[0009] The slave is configured to select, according to the value of the small signal state flag and the hard pressure plate state signal, to obtain the actual operation signal of the power grid as the signal source through the analog signal conversion unit, or to obtain the test signal as the signal source through the test signal conversion unit.

[0010] Optionally, the slave is configured to detect the hard pressure plate status signal sent by the host in real time. If the hard pressure plate status signal corresponds to the hard pressure plate being put into operation, it is detected whether the value of the small signal status flag corresponds to the test signal as the signal source. If so, the slave selects to obtain the test signal as the signal source through the test signal conversion unit. At this time, the slave can enter the debugging process, and the response operation of the stabilization device under different power grid operation simulation states can be realized by configuring the test signal source.

[0011] Optionally, the slave machine is configured to detect in real time the value of the small signal status flag and the hard pressure plate status signal issued by the host machine. If the hard pressure plate status signal corresponds to the exit of the hard pressure plate, or the value of the small signal status flag corresponds to the actual operation signal as the signal source, the slave machine selects to obtain the actual operation signal of the power grid as the signal source through the analog signal conversion unit.

[0012] Optionally, the host is also used to output a maintenance light alarm signal for controlling the lighting of the maintenance light according to the received experimental state hard pressure plate input signal. The maintenance light can be an existing device in the original stabilizing control device system.

[0013] Optionally, the hard pressure plate state signal includes a hard pressure plate state value, and the hard pressure plate state value is 0 or 1, wherein a value of 1 corresponds to a hard pressure plate input state, and a value of 0 corresponds to a hard pressure plate exit state;

[0014] The value of the small signal state flag is 1 or 0, wherein the value 1 corresponds to using the test signal as the signal source, and the value 0 corresponds to using the actual operation signal as the signal source.

[0015] Optionally, the slave is configured to send a test status notification signal to the host after configuring the value of the small signal status flag to 1 according to the signal source configuration signal;

[0016] The host is configured to output a maintenance light alarm signal for controlling the maintenance light to light up in response to receiving the test notification signal.

[0017] Optionally, the slave is configured to calculate in real time the value of the hard pressing plate status value and the value of the logic AND operation result Test_Status of the small signal status flag value;

[0018] The slave is configured to back up the real-time value of Test_Status each time it starts executing an interrupt task, and obtain the value of the backup Test_Status_Bak;

[0019] During the execution of the interrupt task, the slave is configured to perform a logical exclusive OR operation on the real-time value of Test_Status and the value of Test_Status_Bak in real time to obtain the value of the status change flag Test_Status_Changed;

[0020] During the execution of a single interrupt task, the slave is configured to respond to the value of Test_Status_Changed being 1, then reset the value of the preset delay counter BsCnt to the set duration and lock the fault judgment function; if the value of Test_Status_Changed is 0 and the value of BsCnt is not 0, then execute the command to reduce the value of BsCnt by 1; if the value of Test_Status_Changed is 0 and the value of BsCnt is 0, then the slave unlocks the fault judgment function.

[0021] In the above scheme, the value of Test_Status_Changed is 1, which means that the real-time value of Test_Status has changed compared with the state at the start of the interrupt task, that is, the signal source of the data used by the slave to execute the interrupt task has changed. In order to avoid the data window used for fault judgment containing both data before and after the change, thereby causing inaccurate fault judgment results, the present invention sets a delay counter BsCnt to lock the fault judgment function for a period of time until the data length of the new data collected can meet the data window length required for fault judgment, and then unlocks the fault judgment function again.

[0022] Optionally, the reset time of the delay counter BsCnt is Tbs=T*n, where T is the data window length used for fault judgment, and n is the number of interruption calculations and fault judgment tasks performed per second. It can be seen that in the present invention, after the data source changes and the fault judgment function is locked, if the data source no longer changes, the delay counter will be reduced by 1 for each interruption task, and then it will be reduced by n times per second. After T seconds, Tbs will be reduced to 0. At this time, all the new data in the data window length T are from a unified data source and can be used for fault judgment calculations, so the fault judgment function of the stabilization control device can be unlocked.

[0023] Optionally, the slave is configured to send a blocking notification to the master in response to the value of Test_Status_Changed being 1, so that the master blocks the master fault judgment function in response to receiving the blocking notification;

[0024] The slave is configured to send an unlock notification to the host in response to the value of the delay counter BsCnt being reduced to 0, so that the host unlocks the host fault judgment function in response to receiving the unlock notification.

[0025] In a second aspect, the present invention provides a small signal simulation addition test method applicable to a power grid safety and stability control device, the power grid safety and stability control device comprising a host and a slave, the slave collecting signal quantity through an analog signal conversion board or a test signal board; the method is executed by the slave, comprising:

[0026] Receiving a hard pressing plate state signal from the host, wherein the hard pressing plate state signal is sent by the host to all slaves accordingly after receiving an externally input experimental state hard pressing plate input signal or exit signal;

[0027] Receive an external input signal source configuration signal, and configure the preset value of the small signal state flag to correspond to the test signal as the signal source, or to correspond to the actual operation signal as the signal source according to the received signal source configuration signal;

[0028] According to the value of the small signal status flag and the hard pressure plate status signal, the actual operation signal of the power grid is obtained as the signal source through the analog signal conversion board, or the test signal is obtained as the signal source through the test signal board.

[0029] Optionally, in the method executed by the slave, the slave detects the hard pressure plate status signal sent by the host in real time. If the hard pressure plate status signal corresponds to the hard pressure plate being put into operation, it detects whether the value of the small signal status flag corresponds to the test signal as the signal source. If so, the slave selects to obtain the test signal through the test signal conversion unit as the signal source. At this time, the slave can enter the debugging process, and the response operation of the stabilization device under different power grid operation simulation states can be realized by configuring the test signal source.

[0030] Optionally, the slave machine detects in real time the value of the small signal status flag and the hard pressure plate status signal issued by the host machine. If the hard pressure plate status signal corresponds to the exit of the hard pressure plate, or the value of the small signal status flag corresponds to the actual operation signal as the signal source, the slave machine selects to obtain the actual operation signal of the power grid as the signal source through the analog signal conversion unit.

[0031] Optionally, the method also includes: after configuring the value of the small signal status flag to correspond to the test signal as the signal source according to the signal source configuration signal, sending a test status notification signal to the host, so that the host responds to receiving the test notification signal and outputs a maintenance light alarm signal for controlling the lighting of the maintenance light.

[0032] Optionally, the hard pressure plate state signal includes a hard pressure plate state value, and the hard pressure plate state value is 0 or 1, wherein a value of 1 corresponds to a hard pressure plate input state, and a value of 0 corresponds to a hard pressure plate exit state;

[0033] The value of the small signal state flag is 1 or 0, wherein the value 1 corresponds to using the test signal as the signal source, and the value 0 corresponds to using the actual operation signal as the signal source;

[0034] The method further comprises: calculating in real time the value of the hard pressing plate state value and the value of the logic AND operation result Test_Status of the small signal state flag value;

[0035] Each time the interrupt task is started, the real-time value of Test_Status is backed up to obtain the value of the backup Test_Status_Bak;

[0036] During the execution of the interrupt task, the slave performs a logical XOR operation on the real-time value of Test_Status and the value of Test_Status_Bak to obtain the value of the status change flag Test_Status_Changed;

[0037] During the execution of a single interrupt task, if the slave responds to the value of Test_Status_Changed being 1, the value of the preset delay counter BsCnt is reset to the set duration and the fault judgment function is locked; if the value of Test_Status_Changed is 0 and the value of BsCnt is not 0, the execution command decrements the value of BsCnt by 1; if the value of Test_Status_Changed is 0 and the value of BsCnt is 0, the slave unlocks the fault judgment function.

[0038] Optionally, the reset duration of the delay counter BsCnt is Tbs=T*n, where T is the length of the data window used for fault judgment, and n is the number of interrupt calculation and fault judgment tasks executed per second.

[0039] Optionally, the method further includes: in response to the value of Test_Status_Changed being 1, sending a fault judgment function locking notification to the host, so that the host locks the host fault judgment function in response to receiving the locking notification;

[0040] In response to the value of the delay counter BsCnt being reduced to 0, a fault judgment function unlocking notification is sent to the host, so that the host unlocks the host fault judgment function in response to receiving the unlocking notification.

[0041] In a third aspect, the present invention provides a small signal simulation addition test method applicable to a power grid safety and stability control device, the power grid safety and stability control device comprising a host and a slave, the host being connected to an experimental state hard pressure plate, and the slave collecting signal quantity through an analog signal conversion board or a test signal board; the method is executed by the host, comprising:

[0042] Receive the input signal or exit signal of the hard pressure plate in the experimental state, and send the hard pressure plate status signal to the slave machine accordingly based on the received input signal or exit signal of the hard pressure plate in the experimental state, so that the slave machine can choose to obtain the actual operation signal of the power grid as the signal source through the analog signal conversion board card, or choose to obtain the test signal as the signal source through the test signal board card according to the hard pressure plate status signal and the slave machine's small signal status flag value.

[0043] Optionally, the method performed by the host of the present invention further includes:

[0044] When receiving the experimental state hard pressure plate input signal, output the maintenance light alarm signal for controlling the maintenance light to light up;

[0045] Receive a test status notification signal sent by the slave, and in response to receiving the test notification signal, output a maintenance light alarm signal for controlling the lighting of the maintenance light; wherein the test status notification signal is sent by the slave to the host after configuring the value of the small signal state flag to correspond to the test signal as the signal source according to the signal source configuration signal;

[0046] receiving a fault judgment function blocking notification signal sent by a slave, and in response to receiving the fault judgment function blocking notification signal, blocking the fault judgment function of the local machine;

[0047] A fault judgment function unlocking notification signal is received from the slave, and in response to receiving the fault judgment function unlocking notification signal, the fault judgment function of the local machine is unlocked.

[0048] Beneficial Effects

[0049] The present invention sets a test signal board (TADC) that is independent of an original analog signal conversion (ADC) board, and sets an experimental state hard pressure plate and a signal source configuration interface on the host side and the slave side of a stabilizing control device respectively. When the stabilizing control device needs to be debugged, the slave can switch the signal source between the ADC and TADC boards according to the input state of the experimental state hard pressure plate and the signal source configuration state, thereby being able to adapt to the requirements of simulating the variable fault dynamic process during on-site debugging of the stabilizing control device, avoiding the influence of the debugging process on the ADC board, and improving the reliability of the test result.

[0050] At the same time, in order to avoid the mixing of old and new data in the data window used for fault judgment during signal source switching, which may lead to inaccurate fault judgment results, the present invention uses a delay counter to lock the fault judgment function for a period of time after the signal source is switched, thereby ensuring that the data in the data window based on each fault judgment are all derived from the same signal source, thereby ensuring the reliability of the fault judgment results.

[0051] In addition, the present invention enables on-site personnel to promptly learn the operating status of the stabilization device and remind users to restore the site after the experiment is completed by controlling the host to light up the inspection light when the hard pressure plate is put into use or the slave is configured to use the TADC signal as the signal source during the debugging process and in the experimental state. BRIEF DESCRIPTION OF THE DRAWINGS

[0052] Figure 1 The figure shows the principle diagram of realizing signal source switching on the slave side;

[0053] Figure 2 The figure is a flow chart of an embodiment of a small signal simulation addition test method executed by a slave device in the present invention;

[0054] Figure 3FIG. 2 is a flow chart of another embodiment of a small signal analog addition test method executed by a slave device according to the present invention. DETAILED DESCRIPTION

[0055] refer to Figure 1 The technical concept of the present invention is to set up a test-specific analog quantity conversion TADC board that is independent of the original ADC board, and respectively set up an experimental state hard pressure plate and a signal source configuration interface on the host side and the slave side of the stabilization control device, so that when the stabilization control device needs to be debugged, the slave can switch the signal source between the ADC and TADC boards according to the input state of the experimental state hard pressure plate and the signal source configuration state, thereby adapting to the changeable fault dynamic process simulation requirements during on-site debugging of the stabilization control device and avoiding the debugging process from affecting the ADC board.

[0056] The invention is further described below with reference to the accompanying drawings and specific embodiments.

[0057] Example 1

[0058] This embodiment introduces a small signal simulation addition test system suitable for a power grid safety and stability control device, including a power grid safety and stability control device, an analog signal conversion unit and a test signal conversion unit. The power grid safety and stability control device includes a host and a slave. An experimental state hard pressure plate is provided on the host side, and a signal port connected to the experimental state hard pressure plate is provided. The slave is connected to the analog signal conversion unit and the test signal conversion unit for communication respectively.

[0059] The host receives the input signal or the exit signal of the experimental state hard pressure plate, and sends the hard pressure plate state signal to the slave accordingly according to the received experimental state hard pressure plate input signal or the exit signal;

[0060] The slave receives the external input signal source configuration signal and the hard pressure plate status signal sent by the host; the slave configures the preset value of the small signal status flag corresponding to the test signal as the signal source, or corresponds to the actual operation signal as the signal source according to the received signal source configuration signal;

[0061] The slave selects to obtain the actual operation signal of the power grid as the signal source through the analog signal conversion unit, or selects to obtain the test signal as the signal source through the test signal conversion unit according to the value of the small signal state flag and the hard pressure plate state signal.

[0062] The specific working contents involved in the application of this embodiment are as follows.

[0063] 1. On the host side of the stabilization control device, the on-site staff operates the experimental state hard pressure plate to enter the test according to the test needs, and the host will receive the experimental state hard pressure plate entry signal. To exit the test, the on-site staff operates the experimental state hard pressure plate to exit, and the host will receive the experimental state hard pressure plate exit signal accordingly.

[0064] The host sends a hard pressure plate status signal to the slave according to the received test status hard pressure plate input or output signal. The hard pressure plate status signal includes a hard pressure plate status value. In this embodiment, the hard pressure plate status value is 0 or 1, wherein the value 1 corresponds to the hard pressure plate input state, and the value 0 corresponds to the hard pressure plate exit state.

[0065] 2. On the slave side of the stabilization control device, the staff can configure the signal source of the slave according to the test needs to mark whether the slave is allowed to take the test signal from the TADC board as the signal source. The slave configures the signal according to the external input signal source, and configures the preset value of the small signal state flag to correspond to the test signal as the signal source, or to the actual operation signal as the signal source. In this embodiment, the value of the small signal state flag is 1 or 0, where the value 1 corresponds to the test signal as the signal source, and the value 0 corresponds to the actual operation signal as the signal source.

[0066] 3. Switching of slave signal source

[0067] In this embodiment, the slave can detect the hard pressure plate state signal sent by the host in real time. If the hard pressure plate state value in the hard pressure plate state signal is 1, it detects whether the value of the small signal state flag is 1. If so, the slave selects to obtain the test signal through the test signal conversion unit as the signal source. At this time, the slave can enter the debugging process, and the response operation of the stabilization device under different power grid operation simulation states can be realized by configuring the test signal source. Otherwise, the ADC board data is still selected as the signal source.

[0068] Or Figure 2 As shown, the slave detects the value of the small signal status flag and the hard pressure plate status signal sent by the host in real time. If the hard pressure plate status value is 0, or the value of the small signal status flag is 0, the slave selects to obtain the actual operation signal of the power grid through the analog signal conversion unit as the signal source and performs the normal fault judgment process. If the hard pressure plate status value and the value of the small signal status flag are both 1, the slave selects to obtain the test signal through the test signal conversion unit as the signal source.

[0069] IV. Operations after signal source switching

[0070] Considering that the data required by the stabilization control device to perform fault judgment calculations is data covering a certain length of data window, in order to avoid the signal source switching causing the data in the data window required for fault judgment to contain both data before and after the switching (i.e., different signal sources), thereby making the fault judgment result impossible to refer to, this embodiment also carries out the following scheme design:

[0071] The slave calculates the value of Test_Status, the result of the logic AND operation of the hard pressure plate status value and the small signal status flag value, in real time;

[0072] Each time the slave starts to execute an interrupt task, it backs up the real-time value of Test_Status and obtains the value of the backup Test_Status_Bak;

[0073] During the execution of the interrupt task, the slave performs a logical XOR operation on the real-time value of Test_Status and the value of Test_Status_Bak to obtain the value of the status change flag Test_Status_Changed;

[0074] refer to Figure 3 As shown, during the execution of a single interrupt task, the slave responds to the value of Test_Status_Changed being 1, then resets the value of the preset delay counter BsCnt to the set duration, and locks the fault judgment function; if the value of Test_Status_Changed is 0, and the value of BsCnt is not 0, then the execution command BsCnt is decremented by 1; if the value of Test_Status_Changed is 0, and the value of BsCnt is 0, then the slave unlocks the fault judgment function. Each time the slave enters an interrupt, it checks whether BsCnt is 0, if not 0, then it decrements by 1; if it is 0, then the slave opens the fault judgment, and notifies the host to open the locked fault judgment.

[0075] In the above scheme, the value of Test_Status_Changed is 1, which means that the real-time value of Test_Status has changed compared with the state at the beginning of the interrupt task, that is, the signal source of the data used by the slave to execute the interrupt task has changed.

[0076] The following table shows the situations where the value of Test_Status_Changed is 1:

[0077]

[0078] In order to avoid the situation where the data window used for fault judgment contains both data before and after the change, thereby causing inaccurate fault judgment results, this embodiment sets a delay counter BsCnt to lock the fault judgment function for a period of time until the data length of the new data collected can meet the data window length required for fault judgment, and then unlocks the fault judgment function again.

[0079] The reset time of the delay counter BsCnt is Tbs=T*n, where T is the length of the data window used for fault judgment, and n is the number of interrupt calculation and fault judgment tasks performed per second. Assuming that 1200 interrupt calculation and fault judgment tasks are performed per second, and the data window for fault judgment is 5 seconds, Tbs is 5*1200=6000.

[0080] It can be seen from the above scheme design that after the data source changes and the fault judgment function is locked, if the data source no longer changes, the delay counter will be reduced by 1 for each interrupt task, and it will be reduced by n times per second. After T seconds, Tbs will be reduced to 0. At this time, the data window length T is all new data from the same data source, which can be used for fault judgment calculation, so the fault judgment function of the stabilization control device can be unlocked.

[0081] 5. In order to enable the on-site staff to clearly know whether the working status of the stabilization and control device is testing or normal operation, this embodiment also displays the test status through a maintenance light. The maintenance light is controlled by the main unit of the stabilization and control device to light up or go out, specifically including:

[0082] When the hard pressure plate is put into use in the test state, the host controls the maintenance light to light up; when the small signal state identification value of any slave of the stabilization control device is configured as 1, the slave sends a test notification signal to the host, and the host lights up the maintenance light after receiving the test notification signal from any slave;

[0083] When the test is completed, the test status hard pressure plate exits, and the small signal status identification values ​​of all slaves are configured to 0, and after sending a corresponding notification signal to the host, the host controls the maintenance light to go out, which can remind the staff to restore the site.

[0084] Example 2

[0085] Based on the same inventive concept as that of Example 1, this embodiment introduces a small signal simulation addition test method applicable to a power grid safety and stability control device, wherein the power grid safety and stability control device comprises a host and a slave, and the slave collects signal quantities through an analog signal conversion board or a test signal board; Figure 2 As shown, the method includes:

[0086] Receiving a hard pressing plate state signal from the host, wherein the hard pressing plate state signal is sent by the host to all slaves accordingly after receiving an externally input experimental state hard pressing plate input signal or exit signal;

[0087] Receive an external input signal source configuration signal, and configure the preset value of the small signal state flag to correspond to the test signal as the signal source, or to correspond to the actual operation signal as the signal source according to the received signal source configuration signal;

[0088] According to the value of the small signal status flag and the hard pressure plate status signal, the actual operation signal of the power grid is obtained as the signal source through the analog signal conversion board, or the test signal is obtained as the signal source through the test signal board.

[0089] In this embodiment, in the method executed by the slave, the slave detects the hard pressure plate state signal sent by the host in real time. If the hard pressure plate state signal corresponds to the hard pressure plate being put into operation, it detects whether the value of the small signal state flag corresponds to the test signal as the signal source. If so, the slave selects to obtain the test signal through the test signal conversion unit as the signal source. At this time, the slave can enter the debugging process, and the response operation of the stabilization device under different power grid operation simulation states can be realized by configuring the test signal source.

[0090] Alternatively, the slave machine detects in real time the value of the small signal status flag and the hard pressure plate status signal issued by the host machine. If the hard pressure plate status signal corresponds to the exit of the hard pressure plate, or the value of the small signal status flag corresponds to the actual operation signal as the signal source, the slave machine chooses to obtain the actual operation signal of the power grid as the signal source through the analog signal conversion unit.

[0091] In this embodiment, the hard pressure plate state signal includes a hard pressure plate state value, the hard pressure plate state value is 0 or 1, wherein the value 1 corresponds to the hard pressure plate input state, and the value 0 corresponds to the hard pressure plate exit state; the value of the small signal state flag is 1 or 0, wherein the value 1 corresponds to using the test signal as the signal source, and the value 0 corresponds to using the actual operation signal as the signal source;

[0092] In order to avoid the data sources covering a certain data window length that are used as the basis for fault judgment being different, resulting in unreliable fault judgment results, refer to Figure 3 , the method of this embodiment further includes: calculating in real time the value of the hard pressing plate state value and the value of the logic AND operation result Test_Status of the small signal state flag value;

[0093] Each time the interrupt task is started, the real-time value of Test_Status is backed up to obtain the value of the backup Test_Status_Bak;

[0094] During the execution of the interrupt task, the slave performs a logical XOR operation on the real-time value of Test_Status and the value of Test_Status_Bak to obtain the value of the status change flag Test_Status_Changed;

[0095] During the execution of a single interrupt task, if the slave responds to the value of Test_Status_Changed being 1, the value of the preset delay counter BsCnt is reset to the set duration and the fault judgment function is locked; if the value of Test_Status_Changed is 0 and the value of BsCnt is not 0, the execution command decrements the value of BsCnt by 1; if the value of Test_Status_Changed is 0 and the value of BsCnt is 0, the slave unlocks the fault judgment function.

[0096] The reset time of the above delay counter BsCnt is Tbs=T*n, where T is the data window length used for fault judgment, and n is the number of interrupt calculation and fault judgment tasks executed per second.

[0097] In this embodiment, the method further includes: in response to the value of Test_Status_Changed being 1, sending a fault judgment function locking notification to the host, so that the host locks the host fault judgment function in response to receiving the locking notification;

[0098] In response to the value of the delay counter BsCnt being reduced to 0, a fault judgment function unlocking notification is sent to the host, so that the host unlocks the host fault judgment function in response to receiving the unlocking notification.

[0099] Example 3

[0100] Based on the same inventive concept as Embodiment 1 and Embodiment 2, this embodiment introduces a small signal simulation addition test method applicable to a power grid safety and stability control device and executed by a stabilization control device host. The power grid safety and stability control device includes a host and a slave. The host is connected to an experimental state hard pressure plate, and the slave collects signal quantities through an analog signal conversion board or a test signal board. The method includes:

[0101] Receive the input signal or exit signal of the hard pressure plate in the experimental state, and send the hard pressure plate status signal to the slave machine accordingly based on the received input signal or exit signal of the hard pressure plate in the experimental state, so that the slave machine can choose to obtain the actual operation signal of the power grid as the signal source through the analog signal conversion board card, or choose to obtain the test signal as the signal source through the test signal board card according to the hard pressure plate status signal and the slave machine's small signal status flag value.

[0102] It also includes: when receiving the experimental state hard pressure plate input signal, outputting a maintenance light alarm signal for controlling the maintenance light to light up;

[0103] Receive a test status notification signal sent by the slave, and in response to receiving the test notification signal, output a maintenance light alarm signal for controlling the lighting of the maintenance light; wherein the test status notification signal is sent by the slave to the host after configuring the value of the small signal state flag to correspond to the test signal as the signal source according to the signal source configuration signal;

[0104] receiving a fault judgment function blocking notification signal sent by a slave, and in response to receiving the fault judgment function blocking notification signal, blocking the fault judgment function of the local machine;

[0105] A fault judgment function unlocking notification signal is received from the slave, and in response to receiving the fault judgment function unlocking notification signal, the fault judgment function of the local machine is unlocked.

[0106] In summary, according to the above embodiments, the signal source can be switched between the ADC and TADC boards according to the debugging requirements, which can adapt to the changing fault dynamic process simulation requirements during on-site debugging of the stabilization control device, avoid the debugging process from affecting the ADC board, and improve the reliability of the test results. At the same time, it can be ensured that the data in the data window based on each fault judgment are all data from the same signal source, thereby ensuring the reliability of the fault judgment results. In addition, during the debugging process and in the experimental state, when the hard pressure plate is put into use or the slave is configured to use the TADC signal as the signal source, the host controls the lighting of the maintenance light, so that the on-site personnel can be informed of the operating status of the stabilization control device in a timely manner, and remind the user to restore the site after the experiment is completed.

[0107] It will be appreciated by those skilled in the art that embodiments of the present invention may be provided as methods, systems, or computer program products. Therefore, the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Furthermore, the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0108] The present invention is described with reference to flowcharts and / or block diagrams of methods, devices (systems), and computer program products according to embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0109] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce an article of manufacture comprising an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0110] These computer program instructions can also be loaded onto a computer or other programmable data processing device so that a series of operating steps are executed on the computer or other programmable device to produce a computer-implemented process, thereby providing instructions for implementing the process. Figure 1 A process or multiple processes and / or boxes Figure 1 The steps for the functions specified in one or more boxes.

[0111] The embodiments of the present invention are described above in conjunction with the accompanying drawings, but the present invention is not limited to the above-mentioned specific implementation methods. The above-mentioned specific implementation methods are merely illustrative and not restrictive. Under the enlightenment of the present invention, ordinary technicians in this field can also make many forms without departing from the scope of protection of the purpose of the present invention and the claims, which all fall within the protection of the present invention.

Claims

1. A small signal simulation test system for power grid safety and stability control device, characterized in that: It includes a power grid safety and stability control device, an analog signal conversion unit, a test signal conversion unit and an experimental state hard pressure plate; the power grid safety and stability control device includes a host and a slave, the host is connected to the experimental state hard pressure plate, and the slave is connected to the analog signal conversion unit and the test signal conversion unit for communication respectively; The host is used to receive the input signal or the exit signal of the experimental state hard pressing plate, and send the hard pressing plate state signal to the slave accordingly according to the received experimental state hard pressing plate input signal or the exit signal; The slave is used to receive the external input signal source configuration signal and the hard pressure plate status signal sent by the host; the slave is configured to configure the preset value of the small signal status flag corresponding to the test signal as the signal source, or corresponding to the actual operation signal as the signal source according to the received signal source configuration signal; The slave is configured to select, according to the value of the small signal state flag and the hard pressure plate state signal, to obtain the actual operation signal of the power grid as the signal source through the analog signal conversion unit, or to obtain the test signal as the signal source through the test signal conversion unit.

2. The small signal simulation test system for power grid safety and stability control device according to claim 1 is characterized in that: The slave is configured to detect the hard pressure plate status signal sent by the host in real time. If the hard pressure plate status signal corresponds to the hard pressure plate being put into operation, it detects whether the value of the small signal status flag corresponds to the test signal as the signal source. If so, the slave selects to obtain the test signal as the signal source through the test signal conversion unit.

3. The small signal simulation test system for power grid safety and stability control device according to claim 1 is characterized in that: The slave is configured to detect in real time the value of the small signal status flag and the hard pressure plate status signal issued by the host. If the hard pressure plate status signal corresponds to the exit of the hard pressure plate, or the value of the small signal status flag corresponds to the actual operation signal as the signal source, the slave selects to obtain the actual operation signal of the power grid as the signal source through the analog signal conversion unit.

4. The small signal simulation test system for power grid safety and stability control device according to claim 1 is characterized in that: The host is also used to output a maintenance light alarm signal for controlling the lighting of the maintenance light according to the received experimental status hard pressure plate input signal.

5. The small signal simulation test system for power grid safety and stability control device according to claim 1 is characterized in that: The hard pressure plate state signal includes a hard pressure plate state value, the hard pressure plate state value is 0 or 1, wherein the value 1 corresponds to the hard pressure plate in-state, and the value 0 corresponds to the hard pressure plate out-state; The value of the small signal state flag is 1 or 0, wherein the value 1 corresponds to using the test signal as the signal source, and the value 0 corresponds to using the actual operation signal as the signal source.

6. The small signal simulation test system for power grid safety and stability control device according to claim 5 is characterized in that: The slave is configured to send a test status notification signal to the host after configuring the value of the small signal status flag to 1 according to the signal source configuration signal; The host is configured to output a maintenance light alarm signal for controlling the lighting of the maintenance light in response to receiving the test status notification signal.

7. The small signal simulation test system for power grid safety and stability control device according to claim 5 is characterized in that: The slave is configured to calculate in real time the value of the hard pressing plate status value and the value of the logic AND operation result Test_Status of the small signal status flag value; The slave is configured to back up the real-time value of Test_Status each time it starts executing an interrupt task, and obtain the value of the backup Test_Status_Bak; During the execution of the interrupt task, the slave is configured to perform a logical exclusive OR operation on the real-time value of Test_Status and the value of Test_Status_Bak in real time to obtain the value of the status change flag Test_Status_Changed; During the execution of a single interrupt task, the slave is configured to respond to the value of Test_Status_Changed being 1, then reset the value of the preset delay counter BsCnt to the set duration, and lock the fault judgment function; if the value of Test_Status_Changed is 0 and the value of BsCnt is not 0, then execute the value of BsCnt to decrease by 1; If the value of Test_Status_Changed is 0 and the value of BsCnt is 0, the slave unlocks the fault judgment function.

8. The small signal simulation test system for power grid safety and stability control device according to claim 7 is characterized in that: The reset time of the delay counter BsCnt is Tbs=T*n, where T is the data window length used for fault judgment, and n is the number of interrupt calculation and fault judgment tasks executed per second.

9. The small signal simulation test system for power grid safety and stability control device according to claim 7 is characterized in that: The slave is configured to respond to the value of Test_Status_Changed being 1 and also send a blocking notification to the master, so that the master blocks the master fault judgment function in response to receiving the blocking notification; The slave is configured to send an unlock notification to the host in response to the value of the delay counter BsCnt being reduced to 0, so that the host unlocks the host fault judgment function in response to receiving the unlock notification.

10. A small signal simulation addition test method suitable for a power grid safety and stability control device, characterized in that: The power grid safety and stability control device includes a host and a slave, and the slave collects signal quantities through an analog signal conversion board or a test signal board; The method is executed by the slave and includes: Receiving a hard pressing plate state signal from the host, wherein the hard pressing plate state signal is sent by the host to all slaves accordingly after receiving an externally input experimental state hard pressing plate input signal or exit signal; Receive an external input signal source configuration signal, and configure the preset value of the small signal state flag to correspond to the test signal as the signal source, or to correspond to the actual operation signal as the signal source according to the received signal source configuration signal; According to the value of the small signal status flag and the hard pressure plate status signal, the actual operation signal of the power grid is obtained as the signal source through the analog signal conversion board, or the test signal is obtained as the signal source through the test signal board.

11. The method according to claim 10, characterized in that: The slave detects the hard pressure plate status signal sent by the host in real time. If the hard pressure plate status signal corresponds to the hard pressure plate being put into operation, it detects whether the value of the small signal status flag corresponds to the test signal as the signal source. If so, the slave selects to obtain the test signal as the signal source through the test signal conversion unit.

12. The method according to claim 10, characterized in that: The slave detects the value of the small signal status flag and the hard pressure plate status signal sent by the host in real time. If the hard pressure plate status signal corresponds to the exit of the hard pressure plate, or the value of the small signal status flag corresponds to the actual operation signal as the signal source, the slave chooses to obtain the actual operation signal of the power grid as the signal source through the analog signal conversion unit.

13. The method according to claim 10, characterized in that: The method also includes: after configuring the value of the small signal status flag to use the test signal as the signal source according to the signal source configuration signal, sending a test status notification signal to the host, so that the host responds to receiving the test status notification signal and outputs a maintenance light alarm signal for controlling the lighting of the maintenance light.

14. The method according to claim 10, characterized in that: The hard pressure plate state signal includes a hard pressure plate state value, the hard pressure plate state value is 0 or 1, wherein the value 1 corresponds to the hard pressure plate in-state, and the value 0 corresponds to the hard pressure plate out-state; The value of the small signal state flag is 1 or 0, wherein the value 1 corresponds to using the test signal as the signal source, and the value 0 corresponds to using the actual operation signal as the signal source; The method further comprises: calculating in real time the value of the hard pressing plate state value and the value of the logic AND operation result Test_Status of the small signal state flag value; Each time the interrupt task is started, the real-time value of Test_Status is backed up to obtain the value of the backup Test_Status_Bak; During the execution of the interrupt task, the slave performs a logical XOR operation on the real-time value of Test_Status and the value of Test_Status_Bak to obtain the value of the status change flag Test_Status_Changed; During the execution of a single interrupt task, if the slave responds to the value of Test_Status_Changed being 1, the value of the preset delay counter BsCnt is reset to the set duration and the fault judgment function is locked; if the value of Test_Status_Changed is 0 and the value of BsCnt is not 0, the execution command decrements the value of BsCnt by 1; if the value of Test_Status_Changed is 0 and the value of BsCnt is 0, the slave unlocks the fault judgment function.

15. The method according to claim 14, characterized in that: The method further includes: in response to the value of Test_Status_Changed being 1, sending a fault judgment function locking notification to the host, so that the host locks the host fault judgment function in response to receiving the locking notification; In response to the value of the delay counter BsCnt being reduced to 0, a fault judgment function unlocking notification is sent to the host, so that the host unlocks the host fault judgment function in response to receiving the unlocking notification.

16. A small signal simulation addition test method suitable for a power grid safety and stability control device, characterized in that: The power grid safety and stability control device includes a host and a slave, the host is connected to an experimental state hard pressure plate, and the slave collects signal quantities through an analog signal conversion card or a test signal card; The method is executed by the host and includes: Receive the input signal or exit signal of the hard pressure plate in the experimental state, and send the hard pressure plate status signal to the slave machine accordingly based on the received input signal or exit signal of the hard pressure plate in the experimental state, so that the slave machine can choose to obtain the actual operation signal of the power grid as the signal source through the analog signal conversion board card, or choose to obtain the test signal as the signal source through the test signal board card according to the hard pressure plate status signal and the slave machine's small signal status flag value.

17. The method according to claim 16, The method is characterized in that it also includes: When receiving the experimental state hard pressure plate input signal, output the maintenance light alarm signal for controlling the maintenance light to light up; Receive a test status notification signal sent by the slave, and in response to receiving the test status notification signal, output a maintenance light alarm signal for controlling the lighting of the maintenance light; wherein the test status notification signal is sent by the slave to the host after configuring the value of the small signal state flag to correspond to the test signal as the signal source according to the signal source configuration signal; receiving a fault judgment function blocking notification signal sent by a slave, and in response to receiving the fault judgment function blocking notification signal, blocking the fault judgment function of the local machine; A fault judgment function unlocking notification signal is received from the slave, and in response to receiving the fault judgment function unlocking notification signal, the fault judgment function of the local machine is unlocked.