Sampled analog quantity data association method and device for visual configuration of relay protection
By using the channel number setting script and analog channel correlation data setting script in the relay protection system, dynamically configure the variable data of the sampling analog function block, solving the complexity and repetition of the sampling analog function block configuration, improving the user's Experience and efficiency of system maintenance.
Patent Information
- Application Number
- CN202111232776.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2021-10-22
- Publication Date
- 2024-12-03
- Estimated Expiration
- 2041-10-22
AI Technical Summary
In relay protection visual editing, there is a repetitive problem with the variable data configuration of the sampled analog function block, and the analog channel cannot be dynamically expanded, resulting in users needing to manually modify multiple functional blocks, increasing the difficulty of development and debugging and maintenance complexity.
The channel number setting script and the analog channel association data setting script are used to dynamically specify the number of channels and the starting channel number, simplify the configuration of variable data association relationships, and generate the data set used in the LCD menu.
It reduces the difficulty of user use, avoids the problem of developing and maintaining multiple sampling analog volume functional blocks simultaneously, and improves the efficiency and maintainability of engineering configuration.
Smart Images

Figure CN114039327B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of power equipment control, and in particular to a method and device for associating sampled analog quantity data for visualized configuration of relay protection. Background Art
[0002] In the visual editing of relay protection, there are six types of variable data in the sampling analog function block, including channel number, correction zero drift, correction coefficient, unit sampling value, DC quantity, and fundamental wave quantity. Among them, there are a large number of repeated configurations of the description, primary rated value, secondary rated value, and upload coefficient defined in the variable data, and the analog channel cannot be expanded dynamically. In addition, since the analog data collected by the relay protection device has certain errors, the data needs to be corrected by the coefficient and zero drift corresponding to the analog channel, so the corresponding data set must be selected and associated with the LCD menu of the relay protection device for user adjustment, where the data set is a collection of multiple variable data.
[0003] When configuring the variable data of the sampling analog function block, the user first understands the association between variables according to the manual, and manually modifies the variable name, such as changing the description of channel ch01 to channel 01, and modifying the description of the associated variables ch01_zdb, ch01_corr, ch01_basedig, ch01_DC, and ch01_val to channel 01 correction zero drift, channel 01 correction coefficient, channel 01 unit sampling value, channel 01 DC value, and channel 01 fundamental value. When expanding analog channels, users need to design multiple sampling analog function blocks with a fixed number of channels, which also causes users to modify the primary rated value, secondary rated value, upload coefficient and other data of multiple function blocks. Users must also select variables from multiple function blocks to form manual correction data sets, automatic correction data sets, and correction zero drift data sets.
[0004] The current method of modifying the variable data of the sampling analog function block and selecting the data set depends on the user's experience and carefulness. It is necessary to ensure that the manually modified data will not be wrong. Once a problem occurs in the data modification, it may cause abnormal conditions in the relay protection device, increasing the difficulty of development and debugging. In addition, designing multiple sampling analog function blocks not only increases the difficulty of modifying data, but also leads to repeated design of sampling analog function blocks, which is not conducive to subsequent upgrades and maintenance. Summary of the invention
[0005] The purpose of an embodiment of the present invention is to provide a method for associating sampled analog data for visual configuration of relay protection. By mixed use of a channel number setting script and an analog channel associated data setting script, it is convenient for users to dynamically specify the number of channels and the starting channel number, thereby avoiding the problem of developing and maintaining multiple sampled analog function blocks at the same time, and efficiently associating channel data to generate a data set used by a liquid crystal menu, thereby simplifying the complexity of engineering configuration and greatly reducing the difficulty of use for users.
[0006] To solve the above technical problems, a first aspect of an embodiment of the present invention provides a method for associating sampled analog quantity data for visual configuration of relay protection, wherein the sampled analog quantity function module includes: a channel number setting script and an analog quantity channel associated data setting script, and comprises the following steps:
[0007] Set the channel number setting script to set the starting channel number and offset of the sampling analog function module;
[0008] Setting the analog channel associated data setting script to set the associated relationship of the variable data in the sampling analog function block;
[0009] According to the control instruction, the channel number script and the analog channel associated data script are parsed based on the visual configuration tool, and the parsing result is displayed.
[0010] Furthermore, the variable data includes: channel number, correction zero drift, correction coefficient, unit sampling value, DC quantity and fundamental wave quantity.
[0011] Furthermore, the setting script for setting analog channel associated data includes:
[0012] The relationship between the channel number, the correction zero drift, the correction coefficient, the unit sampling value, the DC quantity and the fundamental wave quantity is set to simplify the operation of modifying the variable description and configure the primary rated value, the secondary rated value and the upload coefficient.
[0013] Furthermore, after setting the correlation relationship between the channel number, the correction zero drift, the correction coefficient, the unit sampling value, the DC quantity and the fundamental wave quantity, the following is further included:
[0014] According to the channel sampling type, the corresponding manual correction data set, automatic correction data set and correction zero drift data set are generated.
[0015] Accordingly, a second aspect of an embodiment of the present invention provides a sampling analog quantity data association device for visually configuring relay protection, wherein the sampling analog quantity function module includes: a channel number setting script and an analog quantity channel association data setting script, including:
[0016] A first setting module, which is used to set a channel number setting script to set a starting channel number and an offset of a sampling analog quantity function module;
[0017] A second setting module, which is used to set an analog channel associated data setting script to set an associated relationship of variable data in the sampling analog function block;
[0018] The data analysis module is used to analyze the channel number script and the analog channel associated data script according to the control instruction based on the visual configuration tool, and display the analysis result.
[0019] Furthermore, the variable data includes: channel number, correction zero drift, correction coefficient, unit sampling value, DC quantity and fundamental wave quantity.
[0020] Furthermore, the second setting module includes:
[0021] The variable association setting unit is used to set the association relationship between the channel number, the correction zero drift, the correction coefficient, the unit sampling value, the DC quantity and the fundamental wave quantity to simplify the operation of modifying the variable description and configure the primary rated value, the secondary rated value and the upload coefficient.
[0022] Furthermore, the second setting module also includes:
[0023] The data set generation unit is used to generate corresponding manual correction data sets, automatic correction data sets and zero drift correction data sets according to the channel sampling type.
[0024] Correspondingly, a third aspect of an embodiment of the present invention provides an electronic device, comprising: at least one processor; and a memory connected to the at least one processor; wherein the memory stores instructions executable by the one processor, and the instructions are executed by the one processor so that the at least one processor executes any of the above-described methods for associating sampled analog data for visual configuration of relay protection.
[0025] Accordingly, a fourth aspect of an embodiment of the present invention provides a computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implements any of the above-described methods for associating sampled analog data for visual configuration of relay protection.
[0026] The above technical solution of the embodiment of the present invention has the following beneficial technical effects:
[0027] By combining the channel number setting script and the analog channel associated data setting script, users can conveniently specify the number of channels and the starting channel number dynamically, avoiding the problem of developing and maintaining multiple sampling analog function blocks at the same time. Channel data can be efficiently associated to generate a data set used by the LCD menu, simplifying the complexity of project configuration and greatly reducing the difficulty of use for users. BRIEF DESCRIPTION OF THE DRAWINGS
[0028] Figure 1 It is a flow chart of a method for associating sampled analog quantity data for visual configuration of relay protection provided by an embodiment of the present invention;
[0029] Figure 2 This is a schematic diagram of a sampling analog function block script provided by an embodiment of the present invention. Figure 1 ;
[0030] Figure 3 This is a schematic diagram of a sampling analog function block script provided by an embodiment of the present invention. Figure 2 ;
[0031] Figure 4 This is a schematic diagram of a sampling analog function block script provided by an embodiment of the present invention. Figure 3 ;
[0032] Figure 5 It is a block diagram of a module of a device for associating sampled analog quantity data for visual configuration of relay protection provided by an embodiment of the present invention;
[0033] Figure 6 This is a block diagram of a second setting module provided by an embodiment of the present invention.
[0034] Reference numerals:
[0035] 1. First setting module, 2. Second setting module, 21. Variable association setting unit, 22. Data set generation unit, 3. Data analysis module. DETAILED DESCRIPTION
[0036] In order to make the purpose, technical scheme and advantages of the present invention clearer, the present invention is further described in detail below in conjunction with specific embodiments and with reference to the accompanying drawings. It should be understood that these descriptions are only exemplary and are not intended to limit the scope of the present invention. In addition, in the following description, the description of well-known structures and technologies is omitted to avoid unnecessary confusion of the concept of the present invention.
[0037] Please refer to Figure 1 , Figure 2 , Figure 3 and Figure 4The first aspect of the embodiment of the present invention provides a method for associating sampled analog data for visual configuration of relay protection, which is used to solve the problem of repeated configuration errors when modifying sampled analog function block variable data and selecting channel-related data sets in engineering applications, and reduce the difficulty of use and development and debugging cycle. The sampled analog function module includes: a channel number setting script and an analog channel associated data setting script, including the following steps:
[0038] S100, setting the channel number setting script to set the starting channel number and offset of the sampling analog quantity function module.
[0039] S200, setting the analog channel associated data setting script to set the associated relationship of the variable data in the sampling analog function block.
[0040] S300, according to the control instructions, parses the channel number script and the analog channel associated data script based on the visual configuration tool, and displays the parsing results.
[0041] Furthermore, the variable data includes: channel number, correction zero drift, correction coefficient, unit sampling value, DC quantity and fundamental wave quantity.
[0042] Furthermore, in step S200, setting the analog channel associated data setting script includes:
[0043] Step S210, setting the correlation between the channel number, zero drift correction, correction coefficient, unit sampling value, DC quantity and fundamental wave quantity to simplify the operation of modifying the variable description and configuring the primary rated value, secondary rated value and upload coefficient.
[0044] Furthermore, after setting the correlation between the channel number, the correction zero drift, the correction coefficient, the unit sampling value, the DC quantity and the fundamental wave quantity in step S210, the method further includes:
[0045] Step S220 , generating a corresponding manual correction data set, an automatic correction data set and a zero drift correction data set according to the channel sampling type.
[0046] The method includes a script and a configuration interface for configuring the association relationship, and the script includes a script for setting the channel number and a script for setting analog channel association data.
[0047] The script BatchSetChl(chl_var, offset_var, var_num, chl_num) for setting the channel number is used to set the starting channel number and offset of the sampling analog function block. Among them, BatchSetChl is the script name, the parameter chl_var is the starting variable of the channel, offset_var is the starting sequence offset variable, var_num is the maximum number of variables, and chl_num is the control variable.
[0048] By modifying the value of the starting sequence number offset variable offset_var, the starting channel number of the sampling analog function block can be offset to achieve the effect of dynamically expanding the channel. By modifying the value of the control variable chl_num, the number of channels currently in use can be dynamically specified, with a maximum of no more than var_num.
[0049] like Figure 3 When the built-in script of the sampling analog function block has BatchSetChl(chl01,oft,16,chl_num), the values of the variables oft and chl_num are modified to 9 and 8 respectively. Then the channel starting offset of the sampling analog function block is 9, that is, it starts from the 9th channel, and since the value of chl_num is 8, the number of channels currently available is 8.
[0050] Set the analog channel association data script BatchRelationChl (chl_var, zdb_var, corr_var, basedig_var, ac_var, dc_var), which can set the association of six variables: channel, correction zero drift, correction coefficient, unit sampling value, DC quantity, and fundamental wave quantity. It is used to simplify the operation of modifying variable descriptions, and to facilitate the configuration of primary rated values, secondary rated values, and upload coefficients to prevent missing data. Among them, BatchRelationChl is the script name, the parameter chl_var is the starting variable of the channel, zdb_var is the starting correction zero drift variable, corr_var is the starting correction coefficient variable, basedig_var is the starting sampling coefficient variable, ac_var is the fundamental wave variable, and dc_var is the DC variable.
[0051] When the built-in script of the sampling analog function block has BatchRelationChl(ch01,ch01_zdb,ch01_corr,ch01_basedig,ch01_val,ch01_DC), such as Figure 1 , indicating that the six variables in each row are associated together, such as ch01, ch01_zdb, ch01_corr, ch01_basedig, ch01_DC, and ch01_val. Modify the description of variable ch01. According to the association relationship, the descriptions of the other three variables ch01_zdb, ch01_corr, ch01_basedig, ch01_DC, and ch01_val will be dynamically modified. In combination with the channel number setting script, the primary rated value, secondary rated value, and upload coefficient can be configured according to the channel. After the user selects the channel sampling type (DC or fundamental wave), the corresponding manual correction data set, automatic correction data set, and correction zero drift data set are generated.
[0052] When designing the sampling analog function block, a script for setting the channel number and a script for setting the analog channel associated data are built-in. When the user opens the analog channel configuration interface, the visual configuration tool automatically parses these two scripts and displays the parsed results on the interface, and the user modifies the corresponding configuration data.
[0053] When the built-in scripts of the sampling analog function block have both BatchSetChl(chl01,oft,16,chl_num) and BatchRelationChl(ch01,ch01_zdb,ch01_corr,ch01_basedig,ac_var,dc_var), and the values of oft and chl_num are changed to 9 and 8 respectively, the configuration interface after script parsing is as follows: Figure 4 In this interface, the description, primary rated value, secondary rated value and upload coefficient of the variable can be modified according to the channel number, and the data of the associated variables (channel, correction zero drift, correction coefficient, unit sampling value) can be modified synchronously. In this configuration interface, the user specifies the channel and channel type (fundamental wave, DC) for manual correction, and generates two data sets for manual correction according to the specified channel, such as Figure 5 When the user enters different numbers in the automatic correction column, the configuration interface will be divided into corresponding groups of automatic correction data sets according to different numbers. The user specifies the channel that needs to be corrected for zero drift, and the data set for correcting zero drift is generated according to the specified channel. When the LCD menu of the relay protection device is associated with these data sets, the channel data can be corrected in the LCD menu.
[0054] The mixed use of the script for setting the channel number and the script for setting the analog channel associated data not only allows users to dynamically specify the number of channels and the starting channel number, thus avoiding the problem of developing and maintaining multiple sampling analog function blocks at the same time, but also efficiently associates channel data and generates a data set used by the LCD menu, thus simplifying the complexity of project configuration and greatly reducing the difficulty of use for users.
[0055] Accordingly, please refer to Figure 5 The second aspect of the embodiment of the present invention provides a sampling analog quantity data association device for visual configuration of relay protection, and the sampling analog quantity function module includes: a channel number setting script and an analog quantity channel association data setting script, including: a first setting module 1, a second setting module 2 and a data parsing module 3. The first setting module 1 is used to set the channel number setting script to set the starting channel number and offset of the sampling analog quantity function module. The second setting module 2 is used to set the analog quantity channel association data setting script to set the association relationship of the variable data in the sampling analog quantity function block. The data parsing module 3 is used to parse the channel number script and the analog quantity channel association data script based on the visual configuration tool according to the control instruction, and display the parsing result.
[0056] Furthermore, the variable data includes: channel number, correction zero drift, correction coefficient, unit sampling value, DC quantity and fundamental wave quantity.
[0057] For further information, please refer to Figure 6 The second setting module 2 includes: a variable association setting unit 21. The variable association setting unit 21 is used to set the association relationship between the channel number, the correction zero drift, the correction coefficient, the unit sampling value, the DC quantity and the fundamental wave quantity to simplify the operation of modifying the variable description and configuring the primary rated value, the secondary rated value and the upload coefficient.
[0058] Furthermore, the second setting module 2 further includes: a data set generating unit 22. The data set generating unit 22 is used to generate a corresponding manual correction data set, an automatic correction data set and a zero drift correction data set according to the channel sampling type.
[0059] The above-mentioned sampling analog data association device for visual configuration of relay protection uses a combination of channel number setting scripts and analog channel association data setting scripts, allowing users to dynamically specify the number of channels and the starting channel number, thereby avoiding the problem of developing and maintaining multiple sampling analog function blocks at the same time, and efficiently associating channel data to generate a data set used by the LCD menu, simplifying the complexity of engineering configuration and greatly reducing the difficulty of user use.
[0060] Accordingly, a third aspect of an embodiment of the present invention provides an electronic device, comprising: at least one processor. And a memory connected to the at least one processor. The memory stores instructions that can be executed by the processor, and the instructions are executed by the processor to enable the at least one processor to perform any of the above-mentioned methods for associating sampled analog quantity data for visual configuration of relay protection.
[0061] Accordingly, a fourth aspect of an embodiment of the present invention provides a computer-readable storage medium having computer instructions stored thereon, which, when executed by a processor, implement any of the above-mentioned methods for associating sampled analog data for visual configuration of relay protection.
[0062] The embodiment of the present invention aims to protect a method and device for associating sampling analog data for visual configuration of relay protection. The sampling analog function module includes: a channel number setting script and an analog channel associated data setting script. The method includes the following steps: setting the channel number setting script to set the starting channel number and offset of the sampling analog function module; setting the analog channel associated data setting script to set the association relationship of the variable data in the sampling analog function block; according to the control instruction, parsing the channel number script and the analog channel associated data script based on the visual configuration tool, and displaying the parsing result. The above technical solution has the following effects:
[0063] By combining the channel number setting script and the analog channel associated data setting script, users can conveniently specify the number of channels and the starting channel number dynamically, avoiding the problem of developing and maintaining multiple sampling analog function blocks at the same time. Channel data can be efficiently associated to generate a data set used by the LCD menu, simplifying the complexity of project configuration and greatly reducing the difficulty of use for users.
[0064] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, systems, or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment, or an embodiment in combination with software and hardware. Moreover, the present application may adopt the form of a computer program product implemented in one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) that include computer-usable program code.
[0065] The present application is described with reference to the flowcharts and / or block diagrams of the methods, devices (systems), and computer program products according to the embodiments of the present application. It should be understood that each process and / or box in the flowchart and / or block diagram, as well as the combination of the processes and / or boxes 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 generate 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.
[0066] 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.
[0067] 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 A step that specifies a function in one or more boxes.
[0068] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present invention rather than to limit it. Although the present invention has been described in detail with reference to the above embodiments, ordinary technicians in the relevant field should understand that the specific implementation methods of the present invention can still be modified or replaced by equivalents. Any modification or equivalent replacement that does not depart from the spirit and scope of the present invention should be covered within the scope of protection of the claims of the present invention.
Claims
1. A method for associating sampled analog data for visual configuration of relay protection, characterized in that: The sampling analog quantity function module includes: channel number setting script and analog quantity channel associated data setting script, including the following steps: Set the channel number setting script to set the starting channel number and offset of the sampling analog function module; Setting the analog channel associated data setting script to set the associated relationship of the variable data in the sampling analog function block; According to the control instruction, the channel number script and the analog channel associated data script are parsed based on the visual configuration tool, and the parsing result is displayed; The variable data includes: channel number, correction zero drift, correction coefficient, unit sampling value, DC quantity and fundamental wave quantity; The script for setting analog channel associated data includes: Set the association between the channel number, the correction zero drift, the correction coefficient, the unit sampling value, the DC quantity and the fundamental wave quantity, modify the description of the variable, the primary rated value, the secondary rated value and the upload coefficient according to the channel number, and synchronously modify the data of the associated variables, the associated variables including: channel, correction zero drift, correction coefficient and unit sampling value; generate a manually corrected data set according to the specified manually corrected channel and channel type.
2. The method for associating sampled analog data for relay protection visualization configuration according to claim 1 is characterized in that: After the setting of the correlation relationship between the channel number, the correction zero drift, the correction coefficient, the unit sampling value, the DC quantity and the fundamental wave quantity, the further comprising: According to the channel sampling type, the corresponding manual correction data set, automatic correction data set and correction zero drift data set are generated.
3. A device for associating sampled analog data for visual configuration of relay protection, characterized in that: The sampling analog quantity function module includes: channel number setting script and analog quantity channel associated data setting script, including: A first setting module, which is used to set a channel number setting script to set a starting channel number and an offset of a sampling analog quantity function module; A second setting module, which is used to set an analog channel associated data setting script to set an associated relationship of variable data in the sampling analog function block; A data parsing module, which is used to parse the channel number script and the analog channel associated data script based on a visual configuration tool according to the control instruction, and display the parsing result; The variable data includes: channel number, correction zero drift, correction coefficient, unit sampling value, DC quantity and fundamental wave quantity; The second setting module includes: A variable association setting unit is used to set the association relationship between the channel number, the correction zero drift, the correction coefficient, the unit sampling value, the DC quantity and the fundamental wave quantity, modify the description, primary rated value, secondary rated value and upload coefficient of the variable according to the channel number, and synchronously modify the data of the associated variable, wherein the associated variable includes: channel, correction zero drift, correction coefficient and unit sampling value; and generate a manually corrected data set according to the specified manually corrected channel and channel type.
4. The device for associating sampled analog quantity data for visual configuration of relay protection according to claim 3, characterized in that: The second setting module also includes: The data set generation unit is used to generate corresponding manual correction data sets, automatic correction data sets and zero drift correction data sets according to the channel sampling type.
5. An electronic device, characterized in that: include: at least one processor; And a memory connected to the at least one processor; wherein the memory stores instructions that can be executed by the one processor, and the instructions are executed by the one processor to enable the at least one processor to execute the method for associating sampled analog data for visual configuration of relay protection as described in claim 1 or 2.
6. A computer-readable storage medium, characterized in that: Computer instructions are stored thereon, and when the instructions are executed by a processor, the sampling analog quantity data association method for visual configuration of relay protection as claimed in claim 1 or 2 is implemented.
Citation Information
Patent Citations
Digitalized fault wave recording device
CN101854080A
Automatic calibration method and system of analog channel
CN102654771A
Acquisition internal memory allocation of digital storage oscilloscope
CN103034585A
Access method and access system of Modbus equipment
CN103139025A
Script-based relay protection device graphic development method
CN104133588A
