Distribution network automation terminal debugging device and method, electronic equipment and storage medium
By designing the automatic terminal debugging device for distribution networks, and using components such as main control module, current output module, voltage output module and other components, automated debugging is achieved, which solves the problems of long debugging time and low portability in the existing technology, and improves debugging efficiency and applicability.
Patent Information
- Application Number
- CN202411728821.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-28
- Publication Date
- 2025-03-11
- Estimated Expiration
- 2044-11-28
AI Technical Summary
In the debugging of the distribution network automated terminal, the input status sequence takes a long time, and different brands of methods vary greatly, resulting in an increase in debugging time; and conventional relay devices cannot perform power-off debugging, which is low in portability, especially in harsh environments, and power supply is difficult.
An automatic terminal debugging device for distribution network is designed, including a main control module, a current output module, a voltage output module, an adaptive opening and opening module, an opening and opening and opening module, a relay opening module and a communication module. Through the combination of these modules, automated terminal debugging is realized, including current, voltage output, remote control signal acquisition and processing, communication and message analysis.
The device can automatically generate a test sequence, detect the terminal bit changes and message generation time in real time, reduce debugging time, improve debugging efficiency, and debug without power outage, which is suitable for harsh environments.
Smart Images

Figure CN119596030A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of electric power equipment, and in particular to a distribution network automation terminal debugging device, method, electronic equipment and storage medium. Background Art
[0002] At present, relay protection instruments are usually used as debugging tools for distribution network automation terminals. When using relay protection instruments for debugging, most of the time is spent on inputting the state sequence. Different protection functions require inputting a large number of sequences to implement, and after debugging a protection function, the state sequence needs to be re-entered. In addition, there are large differences in the use methods of relay protection instruments of different brands, which greatly increases the debugging time. When replacing or joint debugging the automation terminal, conventional relay protection instruments do not have analog switch modules and cannot be debugged without power outage.
[0003] Conventional relay protection instruments need to be powered by AC power and have extremely low portability. Some site environments are harsh and even cannot provide AC power, so generators are needed. Workers need to spend a lot of energy on equipment transportation and power supply, resulting in low debugging efficiency. Summary of the invention
[0004] The present invention provides a distribution network automation terminal debugging device, method, electronic equipment and storage medium to solve the problem of low debugging efficiency of distribution network automation terminals.
[0005] According to one aspect of the present invention, there is provided a distribution network automation terminal debugging device, comprising: a main control module, a current output module, a voltage output module, an adaptive binary input and output module, a binary input acquisition module, a relay binary output module and a communication module;
[0006] The main control module is respectively connected to the current output module, the voltage output module, the adaptive input and output module and the communication module;
[0007] The current output module is used to output current; the voltage output module is used to output voltage;
[0008] The self-adaptive binary input and output module is connected to the binary input quantity acquisition module and the relay binary output module; the binary input quantity acquisition module is connected to the remote position opening interface and the remote position closing interface, and is used to collect remote control opening and closing position signals and transmit them to the self-adaptive binary input and output module;
[0009] The main control module is used to output a corresponding output signal through the relay output module according to the received information;
[0010] The main control module is also used to communicate with the terminal based on the communication module, and after obtaining the terminal configuration and setting information through instructions, test the actual and expected errors of various functions of the terminal, and identify the faults caused by the terminal configuration or its own defects through the errors;
[0011] The main control module is also used to generate a test sequence, detect the moment when the terminal's opening and closing position changes and the moment when the message is generated when the test sequence is output, and compare them, perform verification analysis based on the message, terminal action and output expectations, and generate an analysis report. The adaptive input and output module is used to detect different external voltage levels and remote control opening and closing position signals and transmit them to the main control module, and output corresponding output signals based on the collected information; the communication module is used to communicate with the terminal.
[0012] Optionally, it also includes a temperature control module and a speed-regulating fan. The temperature control module is used to continuously collect temperature and drive the speed-regulating fan to dissipate heat according to the collected temperature. When the collected temperature value exceeds a set threshold, the main control module is instructed to terminate all output actions and wait for the temperature to drop to the recovery temperature before executing various output actions.
[0013] Optionally, the communication module includes a first TTL to 232 module and a second TTL to 232 module; the first TTL to 232 module and the second TTL to 232 module are connected in series to the communication line between the terminal and the encryption terminal, and the main control module is used to monitor and send messages through the first TTL to 232 module and the second TTL to 232 module.
[0014] According to one aspect of the present invention, a distribution network automation terminal debugging method is provided, characterized in that the method is performed by using the automation terminal debugging device described in any embodiment of the present invention, and the method includes:
[0015] Start the test device and initialize the configuration and point table stored inside the main control module;
[0016] In the quick test mode, the test device sends message instruction information according to the communication module establishing a communication connection with the terminal;
[0017] Select different test functions according to the instruction information to obtain terminal configuration and setting information;
[0018] According to the different test functions, the actual and expected errors of various functions of the test terminal are tested, and a report is generated and transmitted to the adaptive input and output module; or,
[0019] In the communication fusion test mode, the test device sends message instruction information according to the communication module and the terminal to establish a communication connection;
[0020] Continuously monitor the communication link, align the output status of the test device to the terminal, and record and display abnormal situations;
[0021] Generate a test sequence according to the selected test function, and the test device detects the time when the terminal opening and closing position changes when the test sequence is output and compares it with the time when the message is generated;
[0022] Perform verification analysis based on messages, terminal actions, and output expectations, and generate analysis reports.
[0023] Optionally, when starting the test device and initializing the configuration and point table stored in the main control module, the following steps are also included:
[0024] Perform self-check and initialization on the temperature control module, current output module, voltage output module, adaptive input and output module, and communication module.
[0025] Optionally, it also includes: after the temperature control module completes initialization, the temperature control module collects the temperature inside the device.
[0026] Optionally, after the temperature control module completes initialization and collects the temperature in the device, the method further includes:
[0027] According to the collected temperature, the relationship between the collected temperature and the temperature threshold is judged. When the temperature is higher than the temperature threshold, it is transmitted to the main control module to stop all output actions of the device and wait until the temperature drops to the reset temperature before executing various output actions.
[0028] Optionally, the different test functions include a remote control test function and a local test function; the remote control test function includes a remote control test, a telemetry test, a telesignaling test and a teleadjustment test; the remote control test is used to issue remote control instructions to verify the consistency between the instructions and the terminal operation; the telemetry test is used to output multiple groups of current and voltage quantities and issue a call for testing instruction to verify the consistency between the instructions and the output quantities; the telesignaling test is used for telesignaling action output and to parse and send the telesignaling action message to verify the consistency between the message and the action output; the teleadjustment test is used to issue parameter configuration instructions and request to send constant value information to verify the consistency between the issued parameters and the sent constant value information; the local test function generates a record table of opening and closing position changes by automatically generating a test sequence and outputting a state sequence to verify the consistency between the test function message and the test result.
[0029] According to another aspect of the present invention, there is provided an electronic device, the electronic device comprising:
[0030] at least one processor; and
[0031] a memory communicatively connected to the at least one processor; wherein,
[0032] The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the distribution network automation terminal debugging method described in any embodiment of the present invention.
[0033] According to another aspect of the present invention, a computer-readable storage medium is provided, wherein the computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the distribution network automation terminal debugging method described in any embodiment of the present invention when executed.
[0034] The technical solution of the embodiment of the present invention is to set the main control module of the test device to be connected with the current output module, the voltage output module, the adaptive input and output module and the communication module respectively. When the distribution network automation equipment is debugged, the current output module and the voltage output module can output current and voltage, the input acquisition module can collect the remote control opening and closing position signal, and transmit it to the adaptive input and output module. The adaptive input and output module can detect different external voltage levels and the remote control opening and closing position signal and transmit it to the main control module. According to the information received by the main control module, the relay output module outputs the corresponding opening and output signal. At the same time, the communication module is set to communicate with the terminal device. After the main control module obtains the terminal configuration and fixed value information through instructions, the actual and expected errors of various functions of the terminal are tested, and the faults caused by the terminal configuration or its own defects are identified through the errors. The main control module can also generate a test sequence, detect the terminal opening and closing position change time and the message generation time when the test sequence is output and compare them, perform verification analysis according to the message, terminal action and output expectation, and generate an analysis report. According to the technical solution of the embodiment of the present invention, the test device can automatically generate a corresponding test sequence, and an adaptive input and output module is set up to collect the opening and closing changes of the distribution network automation terminal in the running or testing state to realize action feedback and generate a position change record table, which reduces the debugging time and improves the debugging efficiency.
[0035] It should be understood that the contents described in this section are not intended to identify the key or important features of the embodiments of the present invention, nor are they intended to limit the scope of the present invention. Other features of the present invention will become easily understood through the following description. BRIEF DESCRIPTION OF THE DRAWINGS
[0036] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0037] Figure 1 It is a structural schematic diagram of a distribution network automation terminal debugging device provided according to an embodiment of the present invention;
[0038] Figure 2 is a flow chart of a distribution network automation terminal debugging method provided according to an embodiment of the present invention;
[0039] Figure 3 is a flow chart of another distribution network automation terminal debugging method provided according to an embodiment of the present invention;
[0040] Figure 4 The present invention is a schematic diagram of the structure of an electronic device for implementing a distribution network automation terminal debugging method according to an embodiment of the present invention. DETAILED DESCRIPTION
[0041] In order to enable those skilled in the art to better understand the scheme of the present invention, the technical scheme in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings 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 should fall within the scope of protection of the present invention.
[0042] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and their variations are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0043] Figure 1 The present invention provides a schematic diagram of the structure of a distribution network automation terminal debugging device. This embodiment is applicable to the case of distribution network automation terminal debugging. The debugging device can be implemented in the form of hardware and / or software, and the debugging device can be configured in a distribution automation system. Figure 1 As shown, the device includes: a main control module 101, a current output module 102, a voltage output module 103, an adaptive binary input and output module 104, a binary input acquisition module 105, a relay output module 106 and a communication module 107;
[0044] The main control module 101 is connected to the current output module 102, the voltage output module 103, the adaptive input and output module 104 and the communication module 107 respectively; the current output module 102 is used to output current; the voltage output module 103 is used to output voltage; the adaptive input and output module 104 is connected to the input acquisition module 105 and the relay output module 106; the input acquisition module 105 is connected to the remote position split interface and the remote position close interface, and is used to collect the remote control split and close position signal, and transmit it to the adaptive input and output module 104; the main control module 101 is used to The received information is outputted through the relay output module 106 as a corresponding output signal; the main control module 101 is also used to communicate with the terminal based on the communication module 107, and after obtaining the terminal configuration and setting information through instructions, the actual and expected errors of various functions of the terminal are tested, and the faults caused by the terminal configuration or its own defects are identified through the errors; the main control module 101 is also used to generate a test sequence, and when the test sequence is output, the moment of the terminal opening and closing position change is detected and compared with the moment of the message generation, and verification and analysis are performed according to the message, terminal action and output expectation, and an analysis report is generated. The adaptive input and output module 104 is used to detect different external voltage levels and remote control opening and closing position signals transmitted to the main control module 101, and output corresponding output signals according to the collected information; the communication module 107 is used to communicate with the terminal.
[0045] Among them, the main control module 101, as the main control of the device, can be used for data processing, signal acquisition, module control and information interaction. The main control module 101 is connected to the current output module 102, the voltage output module 103, the adaptive open-in and open-out module 104 and the communication module 107 respectively, and the current output module 102 and the voltage output module 103 are used to output current and voltage respectively. The open-in acquisition module 105 is connected to the remote position split interface and the remote position closing interface, and can collect the remote control split position signal and convert it into a digital signal. The relay output module 106 can realize the switch control of the circuit by controlling the current. According to the information received by the main control module 101, the relay output module 106 outputs the corresponding output signal. The adaptive open-in and open-out module 104 can detect different external voltage levels and the remote control split position signal and transmit it to the main control module 101, and make the relay output module 106 output the corresponding output signal according to the collected information. The communication module 107 can realize communication with other terminal devices. Terminal devices can refer to any device that needs to exchange data, such as computers, mobile phones, sensors, controllers, etc.
[0046] Specifically, the main control module 101 can communicate with the terminal based on the communication module 107, and select the test mode according to the needs. It can be a fast test mode. The main control module 101 can freely issue message instructions. After obtaining the terminal configuration and constant value information through the instructions, the actual and expected errors of various functions of the terminal are tested, and the faults caused by the terminal configuration or its own defects are identified through the errors; it can be a communication fusion test mode. The main control module 101 can continuously monitor the communication link, align the output status of the device to the terminal, and record and display abnormal situations. At the same time, the main control module 101 can generate a test sequence, detect the moment when the terminal separation and closing position changes and the moment when the message is generated when the test sequence is output, and compare them, perform verification analysis based on the message, terminal action and output expectation, and generate an analysis report.
[0047] The technical solution of the embodiment of the present invention is to set the main control module of the test device to be connected with the current output module, the voltage output module, the adaptive input and output module and the communication module respectively. When the distribution network automation equipment is debugged, the current output module and the voltage output module can output current and voltage, the input acquisition module can collect the remote control opening and closing position signal, and transmit it to the adaptive input and output module. The adaptive input and output module can detect different external voltage levels and the remote control opening and closing position signal and transmit it to the main control module. According to the information received by the main control module, the relay output module outputs the corresponding opening and output signal. At the same time, the communication module is set to communicate with the terminal device. After the main control module obtains the terminal configuration and fixed value information through instructions, the actual and expected errors of various functions of the terminal are tested, and the faults caused by the terminal configuration or its own defects are identified through the errors. The main control module can also generate a test sequence, detect the terminal opening and closing position change time and the message generation time when the test sequence is output and compare them, perform verification analysis according to the message, terminal action and output expectation, and generate an analysis report. According to the technical solution of the embodiment of the present invention, the test device can automatically generate a corresponding test sequence, and an adaptive input and output module is set up to collect the opening and closing changes of the distribution network automation terminal in the running or testing state to realize action feedback and generate a position change record table, which reduces the debugging time and improves the debugging efficiency.
[0048] In some optional embodiments of the present invention, a temperature control module and a speed-regulating fan are also included. The temperature control module is used to continuously collect temperature and drive the speed-regulating fan to dissipate heat according to the collected temperature. When the collected temperature value exceeds a set threshold, the main control module is instructed to terminate all output actions and wait for the temperature to drop to the recovery temperature before executing various output actions.
[0049] Among them, the temperature control module usually consists of a microcontroller and a temperature sensor. The temperature sensor is responsible for real-time monitoring of the ambient temperature and transmitting the data to the microcontroller. The microcontroller compares the collected temperature data with the preset temperature threshold to determine the operating status of the fan. The speed of the fan can be controlled by a pulse width modulation (PWM) signal. The duty cycle of the PWM signal determines the voltage-time ratio applied to the fan, thereby achieving precise control of the fan speed. When the temperature exceeds the set threshold, the fan speed increases to reduce the ambient temperature; when the temperature is lower than the set threshold, the fan speed decreases or stops. When the device is started, the temperature sensor collects ambient temperature data in real time and transmits the data to the microcontroller. After receiving the temperature data, the microcontroller compares it with the preset temperature threshold. Based on the comparison result, the microcontroller calculates the adjustment value of the fan speed and controls the fan driver through the PWM signal to adjust the fan speed.
[0050] In some optional embodiments of the present invention, the communication module includes a first TTL to 232 module and a second TTL to 232 module; the first TTL to 232 module and the second TTL to 232 module are connected in series to the communication line between the terminal and the encryption terminal, and the main control module is used to monitor and send messages through the first TTL to 232 module and the second TTL to 232 module.
[0051] Among them, the TTL to 232 module converts the TTL level (+5V represents logic 1, 0V represents logic 0) to the RS232 level (-3V to -15V represents logic 1, +3V to +15V represents logic 0), thereby realizing communication between devices with different level standards. The communication module includes a first TTL to 232 module and a second TTL to 232 module, and the first TTL to 232 module and the second TTL to 232 module are connected in series to the communication line between the terminal and the encryption terminal. On the communication line between the terminal and the encryption terminal, the TTL to 232 module can be used to connect devices such as computers, modems, serial printers, etc. These devices usually use the RS232 standard, while some sensors or embedded systems may use the TTL standard. Through conversion, compatible communication between different devices can be achieved. At the same time, the main control module is used to monitor and send messages through the TTL to 232 module and the second TTL to 232 module. Through the TTL to 232 module, the message of the TTL level can be converted to the RS232 level so as to be transmitted in the RS232 communication system. The distribution network automation terminal debugging device should also include a power management module, which can be connected to the main control module to realize the overall power charging and discharging scheduling and distribution of the device and provide corresponding working power for each device module.
[0052] Figure 2A flow chart of a method for debugging a distribution network automation terminal is provided for an embodiment of the present invention. The method is performed by using the automation terminal debugging device described in any of the above embodiments, and the method includes:
[0053] S201, start the test device, and initialize the configuration and point table stored in the main control module;
[0054] The configuration stored inside the main control module can include system parameters, device parameters, network configuration, security settings, and log records. The point table includes input and output points, variables and registers, data types and ranges, and access rights. Configuration initialization is the process of setting up and starting a system or device to ensure that it runs as expected. By initializing the configuration and point table, it can be ensured that the system starts from a known and consistent state each time it starts, and problems caused by uncertain states left over from the previous run can be avoided.
[0055] S2021. In the fast test mode, the communication module establishes a communication connection with the terminal, and the test device sends a message instruction information;
[0056] The test device sending message instruction information refers to the test device sending data messages to the distribution automation terminal equipment to verify the function, performance and consistency of the communication protocol of the terminal equipment. The test device sends one or more data messages according to the preset test script or the parameters input by the user.
[0057] S2031. Select different test functions according to the instruction information to obtain terminal configuration and setting information;
[0058] Among them, different test functions include local test function and remote control test function. The local test function in the distribution network automation terminal debugging means that the distribution automation terminal can be tested and verified directly locally without the participation of the remote master station. The remote control test function mainly involves verifying the performance and stability of the remote control technology to ensure that the remote control instructions can be correctly issued and executed. After receiving the message, the distribution automation terminal performs corresponding operations according to the content of the message, such as reading or setting parameters, executing control commands, etc., and may return a response message. The test device can obtain the terminal configuration and set value information based on the returned message.
[0059] S2041. According to different test functions, test the actual and expected errors of various functions of the terminal, generate a report and transmit it to the adaptive input and output module;
[0060] Among them, during the test process, various functions of the terminal equipment will be tested to verify whether they work as expected. This includes testing the input (open-in) and output (open-out) functions of the terminal equipment to ensure that they can respond correctly when receiving specific signals or commands. The actual and expected error refers to the deviation value obtained by comparing the actual performance of the terminal equipment (such as response time, output signal, etc.) with the expected standard or expected result during the test. After the test is completed, a report containing the test results and error analysis can be generated. The adaptive open-in and open-out module can receive data from the test report and adjust the actual open-in and open-out status of the terminal equipment it controls based on the data.
[0061] S2022. In the communication fusion test mode, a communication connection is established between the communication module and the terminal, and the test device sends message instruction information;
[0062] Among them, the communication fusion test mode refers to simulating the communication protocol and terminal equipment in the test environment to verify whether the communication connection and data exchange between the communication module and the terminal meet expectations. The test device generates corresponding message instructions according to the preset test script or user input. The message instructions may include fault simulation and status query. The test device sends the generated message instructions to the distribution automation terminal through the communication interface.
[0063] S2032, continuously monitoring the communication link, aligning the output status of the test device to the terminal, and recording and displaying abnormal situations;
[0064] Among them, continuous monitoring of the communication link usually refers to real-time monitoring and analysis of the link status in network communication. This monitoring can be passive or active. After receiving the message instruction, the distribution automation terminal will perform the corresponding operation according to the instruction content, and return the operation result or status information to the test device in the form of a message. After receiving the response from the terminal, the test device will verify and analyze to ensure that the communication connection is normal, the message format is correct, and the terminal behavior is as expected, and record and display abnormal situations.
[0065] S2042, generating a test sequence according to the selected test function, and the test device detects the time when the terminal opening and closing position changes when the test sequence is output, and compares it with the time when the message is generated;
[0066] Among them, in the debugging of distribution network automation terminals, the test sequence is a series of test steps designed for specific test functions, aiming to fully cover and verify the functions of the terminal. The test device generates a test sequence according to the preset test function, and the test sequence includes the message instructions to be sent to the terminal device. During the test, the test device needs to monitor the state changes of the terminal device in real time, especially the changes related to the opening and closing positions (i.e., the switch state). The opening and closing position change refers to the state change of the switch device (such as a circuit breaker or disconnector) in the terminal device, such as from the opening position (open) to the closing position (closed). When sending the message instruction to the terminal device, the test device will record the time point when the message is generated, that is, the specific time when the message is sent out. The test device will compare the time when the terminal opening and closing position changes with the time when the message is generated. The comparison is to verify whether the terminal device has made a correct response within the expected time after receiving a specific message instruction. For example, if a message instruction requires the terminal device to close the switch, the test device will check whether the terminal device correctly changes the opening position to the closing position after receiving the instruction, and record the time when this change occurs. Through this comparison, the test device can verify whether the response of the terminal device is as expected. If there is a deviation in the response time or action, the test device can record this information for subsequent analysis and fault diagnosis.
[0067] S2052. Perform verification analysis based on the message, terminal action and output expectation, and generate an analysis report.
[0068] Among them, the test device or system will send a specific message to the terminal device. The message may contain control instructions, query requests or other types of communication data to trigger the terminal device to perform specific actions or return specific information. After receiving the message, the terminal device will perform corresponding actions according to the content of the message. These actions may include but are not limited to: opening and closing operations of switchgear, data collection, status update, etc. Before sending the message, the test device or system will set an expected output result. The expected result is based on the understanding of how the terminal device should respond to a specific message. For example, if the message is a closing instruction, the expected output may be that the state of the terminal device changes from open to closed. The test device or system will verify whether the actual output of the terminal device is consistent with the expected output. The actual action, returned data or state change of the terminal device can be compared with the expected result. Verification analysis is to verify whether the terminal device correctly understands and executes the message instruction. Based on the results of the verification analysis, the test device or system will generate an analysis report, which can provide detailed records and results of the test to help operation and maintenance personnel understand the behavior of the terminal device and identify potential problems.
[0069] In some optional embodiments of the present invention, when the test device is started and the configuration and point table stored in the main control module are initialized, the following steps are further included:
[0070] Perform self-check and initialization on the temperature control module, current output module, voltage output module, adaptive input and output module, and communication module.
[0071] Among them, by self-checking and initializing the temperature control module, current output module, voltage output module, adaptive input and output module, and communication module, the normal operation of the module and the stability of the system can be ensured.
[0072] In some optional embodiments of the present invention, it is characterized in that it also includes: after the temperature control module completes initialization, the temperature control module collects the temperature inside the device.
[0073] After initialization is completed, the temperature control module will start collecting temperature data inside the device. This can be achieved through a built-in or external temperature sensor that can detect the actual temperature inside the device. The collected temperature data will be transmitted to the processor of the temperature control module, and the processor will adjust the temperature based on this data. For example, if the detected temperature is higher than the set target temperature, the control module may start a speed-controlled fan to dissipate heat to lower the temperature.
[0074] In some optional embodiments of the present invention, after the temperature control module completes initialization and collects the temperature in the device, the method further includes:
[0075] According to the collected temperature, the relationship between the collected temperature and the temperature threshold is judged. When the temperature is higher than the temperature threshold, it is transmitted to the main control module to stop all output actions of the device and wait for the temperature to drop to the reset temperature before executing various output actions.
[0076] Among them, one or more temperature thresholds will be set in the temperature control module, and the temperature control module will continuously monitor the temperature in the device. This is achieved through a temperature sensor, which reads the temperature data of the device in real time. When the monitored temperature exceeds the preset temperature threshold, the temperature control module will transmit the over-temperature information to the main control module. After receiving the over-temperature information, the main control module will immediately terminate all output actions of the device. After terminating the output action, the system will wait for the temperature in the device to drop naturally or through cooling measures to a safe temperature. This safety temperature is also called the reset temperature. Once the temperature drops below the reset temperature, the main control module will restart the previously terminated output action to restore the device to normal operation.
[0077] In some optional embodiments of the present invention, it is characterized in that different test functions include remote control test functions and local test functions; the remote control test function includes remote control test, telemetry test, telesignaling test and teleadjustment test; the remote control test is used to issue remote control instructions and verify the consistency of the instructions with the terminal operation; the telemetry test is used to output multiple groups of current and voltage quantities and issue call-up instructions to verify the consistency of the instructions with the output quantities; the telesignaling test is used for telesignaling action output and to parse and upload telesignaling action messages to verify the consistency of the messages with the action output; the teleadjustment test is used to issue parameter configuration instructions and request to upload fixed value information to verify the consistency between the issued parameters and the uploaded fixed value information; the local test function generates a record table of opening and closing position changes by automatically generating a test sequence and outputting a state sequence to verify the consistency between the test function message and the test result.
[0078] Among them, remote control test refers to the test of remote control function to verify whether the system can correctly receive and execute control commands from a distance. In the power system, the remote control function allows operators to remotely control equipment, such as the opening and closing operations of circuit breakers. During the test, the remote control command will be simulated and checked whether the equipment responds as expected. Telemetry test involves the test of remote measurement system, which includes verifying whether the system can accurately collect and transmit operating parameters, such as voltage, current, power and other electrical quantities. Telemetry information is the real-time parameters of power system operation collected by RTU, which is used to centrally monitor decentralized or inaccessible objects. Telesignaling test is a test of remote signal monitoring function, mainly referring to the current state of remote test switch, such as whether it is closed, whether it is storing energy, etc. Telesignaling information includes switch status, knife switch status, transformer tap signal, primary equipment alarm signal, protection trip signal, etc. Remote adjustment test is a test for remote adjustment function, which allows operators to remotely adjust the operating parameters of equipment, such as the position of transformer tap, output power of generator, etc. The remote adjustment function accepts and executes remote adjustment commands to remotely debug remote control quantity equipment.
[0079] Figure 3 FIG. 1 is a flow chart of another method for debugging a distribution network automation terminal according to an embodiment of the present invention. Figure 3As shown, the test device is started, and the temperature control module, current output module, voltage output module, adaptive input and output module, and TTL to 232 module are self-checked and initialized. At the same time, the configuration and point table stored in the main control module are read and the configuration is initialized. When the temperature control module completes the initialization, the temperature control module will continuously collect the temperature and drive the fan to dissipate heat according to the temperature conditions. When the temperature exceeding the threshold is collected, it will be transmitted to the main control module to stop all output actions of the device and wait until it drops to the reset temperature before various output actions can be performed. When all the equipment in the device is self-checked and the configuration is initialized, the device will enter the waiting state and the adaptive input and output module will start to collect the signal quantity on the remote control interface group in real time. When the signal changes are collected, it will switch to the corresponding output signal according to the corresponding signal change. This process is an independent task thread after the self-check is completed and is not affected by other operations and tasks. After the device completes the self-check, you can freely choose the fast test mode or the communication fusion test mode.
[0080] In the quick test mode, the communication module establishes a communication connection with the terminal, and the test device sends message instruction information; different test functions are selected according to the instruction information to obtain the terminal configuration and constant information; according to different test functions, the actual and expected errors of various functions of the terminal are tested, and a report is generated and transmitted to the adaptive input and output module; in the communication fusion test mode, the communication module establishes a communication connection with the terminal, and the test device sends message instruction information; the communication link is continuously monitored, and the output status of the terminal by the test device is aligned, and abnormal situations are recorded and displayed; a test sequence is generated according to the selected test function, and the test device detects the change time of the terminal opening and closing position when the test sequence is output and compares it with the time when the message is generated; verification analysis is performed according to the message, terminal action and output expectation, and an analysis report is generated.
[0081] Among them, in the quick test mode, different test functions include remote control test function and local test function; the remote control test function includes remote control test, telemetry test, telesignaling test and teleadjustment test; the remote control test is used to issue remote control instructions and verify the consistency between the instructions and the terminal operation; the telemetry test is used to output multiple groups of current and voltage quantities and issue call-up instructions to verify the consistency between the instructions and the output quantities; the telesignaling test is used for telesignaling action output and to parse and upload telesignaling action messages to verify the consistency between the messages and the action output; the teleadjustment test is used to issue parameter configuration instructions and request to upload set value information to verify the consistency between the issued parameters and the uploaded set value information; the local test function generates a record table of opening and closing position changes by automatically generating a test sequence and outputting a state sequence to verify the consistency between the test function message and the test result.
[0082] Figure 4A schematic diagram of the structure of an electronic device 10 that can be used to implement an embodiment of the present invention is shown. The electronic device is intended to represent various forms of digital computers, such as laptop computers, desktop computers, workstations, personal digital assistants, servers, blade servers, mainframe computers, and other suitable computers. The electronic device can also represent various forms of mobile devices, such as personal digital processing, cellular phones, smart phones, wearable devices (such as helmets, glasses, watches, etc.) and other similar computing devices. The components shown herein, their connections and relationships, and their functions are merely examples and are not intended to limit the implementation of the present invention described and / or required herein.
[0083] like Figure 4 As shown, the electronic device 10 includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device 10 can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.
[0084] A number of components in the electronic device 10 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, speakers, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device 10 to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.
[0085] The processor 11 may be a variety of general and / or special processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various special artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 executes the various methods and processes described above, such as the distribution network automation terminal debugging method.
[0086] In some embodiments, the distribution network automation terminal debugging method can be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program can be loaded and / or installed on the electronic device 10 via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the distribution network automation terminal debugging method described above can be performed. Alternatively, in other embodiments, the processor 11 can be configured to execute the distribution network automation terminal debugging method in any other appropriate manner (for example, by means of firmware).
[0087] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), complex programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.
[0088] Computer programs for implementing the methods of the present invention may be written in any combination of one or more programming languages. These computer programs may be provided to a processor of a general-purpose computer, a special-purpose computer, or other programmable data processing device, so that when the computer program is executed by the processor, the functions / operations specified in the flow chart and / or block diagram are implemented. The computer program may be executed entirely on the machine, partially on the machine, partially on the machine and partially on a remote machine as a stand-alone software package, or entirely on a remote machine or server.
[0089] In the context of the present invention, a computer-readable storage medium may be a tangible medium that may contain or store a computer program for use by or in combination with an instruction execution system, device or equipment. A computer-readable storage medium may include, but is not limited to, electronic, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices or equipment, or any suitable combination of the foregoing. Alternatively, a computer-readable storage medium may be a machine-readable signal medium. A more specific example of a machine-readable storage medium may include an electrical connection based on one or more lines, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing.
[0090] To provide interaction with a user, the systems and techniques described herein may be implemented on an electronic device having: a display device (e.g., a CRT (cathode ray tube) or LCD (liquid crystal display) monitor) for displaying information to the user; and a keyboard and a pointing device (e.g., a mouse or trackball) through which the user can provide input to the electronic device. Other types of devices may also be used to provide interaction with the user; for example, the feedback provided to the user may be any form of sensory feedback (e.g., visual feedback, auditory feedback, or tactile feedback); and input from the user may be received in any form (including acoustic input, voice input, or tactile input).
[0091] The systems and techniques described herein may be implemented in a computing system that includes backend components (e.g., as a data server), or a computing system that includes middleware components (e.g., an application server), or a computing system that includes frontend components (e.g., a user computer with a graphical user interface or a web browser through which a user can interact with implementations of the systems and techniques described herein), or a computing system that includes any combination of such backend components, middleware components, or frontend components. The components of the system may be interconnected by any form or medium of digital data communication (e.g., a communication network). Examples of communication networks include: a local area network (LAN), a wide area network (WAN), a blockchain network, and the Internet.
[0092] A computing system may include a client and a server. The client and the server are generally remote from each other and usually interact through a communication network. The client and server relationship is generated by computer programs running on the corresponding computers and having a client-server relationship with each other. The server may be a cloud server, also known as a cloud computing server or cloud host, which is a host product in the cloud computing service system to solve the defects of difficult management and weak business scalability in traditional physical hosts and VPS services.
[0093] It should be understood that the various forms of processes shown above can be used to reorder, add or delete steps. For example, the steps described in the present invention can be executed in parallel, sequentially or in different orders, as long as the desired results of the technical solution of the present invention can be achieved, and this document does not limit this.
[0094] The above specific implementations do not constitute a limitation on the protection scope of the present invention. It should be understood by those skilled in the art that various modifications, combinations, sub-combinations and substitutions can be made according to design requirements and other factors. Any modification, equivalent substitution and improvement made within the spirit and principle of the present invention should be included in the protection scope of the present invention.
Claims
1. A distribution network automation terminal debugging device, characterized in that: include: Main control module, current output module, voltage output module, adaptive binary input and output module, binary input acquisition module, relay output module and communication module; The main control module is respectively connected to the current output module, the voltage output module, the adaptive input and output module and the communication module; The current output module is used to output current; the voltage output module is used to output voltage; The self-adaptive binary input and output module is connected to the binary input quantity acquisition module and the relay binary output module; the binary input quantity acquisition module is connected to the remote position opening interface and the remote position closing interface, and is used to collect remote control opening and closing position signals and transmit them to the self-adaptive binary input and output module; The main control module is used to output a corresponding output signal through the relay output module according to the received information; The main control module is also used to communicate with the terminal based on the communication module, and after obtaining the terminal configuration and setting information through instructions, test the actual and expected errors of various functions of the terminal, and identify the faults caused by the terminal configuration or its own defects through the errors; The main control module is also used to generate a test sequence, detect the moment when the terminal's opening and closing position changes and the moment when the message is generated when the test sequence is output, and compare them, perform verification analysis based on the message, terminal action and output expectations, and generate an analysis report. The adaptive input and output module is used to detect different external voltage levels and remote control opening and closing position signals and transmit them to the main control module, and output corresponding output signals based on the collected information; the communication module is used to communicate with the terminal.
2. The debugging device according to claim 1, characterized in that: It also includes a temperature control module and a speed-regulating fan. The temperature control module is used to continuously collect temperature and drive the speed-regulating fan to dissipate heat according to the collected temperature. When the collected temperature value exceeds a set threshold, the main control module is instructed to terminate all output actions and wait for the temperature to drop to the recovery temperature before executing various output actions.
3. The debugging device according to claim 1, characterized in that: The communication module includes a first TTL to 232 module and a second TTL to 232 module; the first TTL to 232 module and the second TTL to 232 module are connected in series to the communication line between the terminal and the encryption terminal, and the main control module is used to monitor and send messages through the first TTL to 232 module and the second TTL to 232 module.
4. A distribution network automation terminal debugging method, characterized in that: The method is performed by using the automated terminal debugging device according to any one of claims 1 to 3, and comprises: Start the test device and initialize the configuration and point table stored inside the main control module; In the quick test mode, the test device sends message instruction information according to the communication module establishing a communication connection with the terminal; Select different test functions according to the instruction information to obtain terminal configuration and setting information; According to the different test functions, the actual and expected errors of various functions of the test terminal are tested, and a report is generated and transmitted to the adaptive input and output module; or, In the communication fusion test mode, the test device sends message instruction information according to the communication module and the terminal to establish a communication connection; Continuously monitor the communication link, align the output status of the test device to the terminal, and record and display abnormal situations; Generate a test sequence according to the selected test function, and the test device detects the time when the terminal opening and closing position changes when the test sequence is output and compares it with the time when the message is generated; Perform verification analysis based on messages, terminal actions, and output expectations, and generate analysis reports.
5. The debugging method according to claim 4, characterized in that: When starting the test device and initializing the configuration and point table stored in the main control module, it also includes: Perform self-check and initialization on the temperature control module, current output module, voltage output module, adaptive input and output module, and communication module.
6. The debugging method according to claim 5, characterized in that: Also includes: After the temperature control module completes initialization, the temperature control module collects the temperature inside the device.
7. The debugging method according to claim 6, characterized in that: After the temperature control module completes initialization and the temperature control module collects the temperature in the device, the method further includes: According to the collected temperature, the relationship between the collected temperature and the temperature threshold is judged. When the temperature is higher than the temperature threshold, it is transmitted to the main control module to stop all output actions of the device and wait until the temperature drops to the reset temperature before executing various output actions.
8. The debugging method according to claim 4, characterized in that: The different test functions include remote control test function and local test function; the remote control test function includes remote control test, telemetry test, telesignal test and teleadjustment test; the remote control test is used to issue remote control instructions to verify the consistency of the instructions with the terminal operation; the telemetry test is used to output multiple groups of current and voltage quantities and issue call test instructions to verify the consistency of the instructions with the output quantities; the telesignal test is used for telesignal action output and parsing and sending the telesignal action message to verify the consistency of the message with the action output; The remote adjustment test is used to send parameter configuration instructions and request to send fixed value information, and verify the consistency between the sent parameters and the sent fixed value information; the local test function automatically generates a test sequence and outputs a state sequence, generates a record table of opening and closing position changes, and verifies the consistency between the test function message and the test result.
9. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can execute the distribution network automation terminal debugging method described in any one of claims 4-8.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, and the computer instructions are used to enable a processor to implement the distribution network automation terminal debugging method according to any one of claims 4 to 8 when executed.
Citation Information
Patent Citations
System and method for testing network performance of intelligent power distribution terminal, medium and terminal
CN115361325A
Device, system and method for testing protection function of self-healing line of power distribution network
CN117310383A
Checking method and device for transformer substation monitoring system
CN119051275A
System for recommending lifestyle-customized nutritional supplement, and method thereof
KR1020250040209A