A power protection method and device based on data modeling

By building remote control applications and data modeling technology, the technical integration problem of power protection equipment in the development of power protection equipment was solved, realizing rapid customization and unified functions of power protection equipment in the development process, enabling rapid customized development and iteration of power protection equipment, improving equipment compatibility and development efficiency, and supporting unified functions and collaborative work of multiple devices.

CN115981634BActive Publication Date: 2026-02-17BEIJING SIFANG JIBAO AUTOMATION +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211655808.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-22
Publication Date
2026-02-17
Estimated Expiration
2042-12-22

AI Technical Summary

Technical Problem

In existing technologies, traditional embedded software development models in power systems face challenges in achieving the technical requirements of visual programming, offline simulation, automated integration, compilation, and deployment of application software. Furthermore, they struggle with efficiently realizing rapid customized development and iteration of power protection equipment, particularly in the unified development and reuse of power protection equipment from various brands, models, and functions.

Method used

By building a remote control application and utilizing data modeling technology, the integration of power protection equipment and power protection algorithm models is achieved. By adjusting the visual interactive interface and data interface, algorithm resource files are generated, and remote editing and local application of the algorithm resource files are realized through the adjustment of the data interface.

Benefits of technology

It enables remote editing and local application of power protection algorithm resource files, simplifies the development process of power protection equipment, improves development efficiency and compatibility, supports rapid upgrades and unified functions of various devices, and achieves good collaboration among various devices in the power system.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115981634B_ABST
    Figure CN115981634B_ABST
Patent Text Reader

Abstract

A power protection method and device based on data modeling, characterized in that the method comprises the following steps: step 1, constructing a remote control application, collecting resource data from a power protection device and generating data description parameters and associated data pointers; step 2, presetting a power protection algorithm model in the remote control application, and selecting a current power protection algorithm based on the data description parameters; step 3, generating an algorithm resource file based on the data description parameters, associated data pointers and the current power protection algorithm, and embedding and deploying the algorithm resource file to the power protection device. The application has clear ideas and simple steps, and realizes automatic integrated compilation and deployment through visual programming and offline simulation.
Need to check novelty before this filing date? Find Prior Art

Description

TECHNICAL FIELD

[0001] The present application relates to the field of power system, more particularly, to a power protection method and device based on data modeling. BACKGROUND

[0002] The development of application software in the secondary control protection equipment and power electronic product control protection equipment in the power system puts forward higher requirements, and a new method is urgently needed to realize visual programming, offline simulation, automatic integration, compilation and deployment of application software.

[0003] For such protection equipment, the traditional embedded software development mode is to manually write C code or C++ code to realize the writing of application software, system software and driver software, and to manually realize the integration of application code and code engineering. In the face of more and more complex applications, customized applications and code development efficiency and code testability technical requirements, how to efficiently realize the rapid customization development and iteration of application code has always been the content of research in the technical field.

[0004] Because in the prior art, only single device can be customized for function development, which inevitably leads to inconsistency and large amount of repeated development work in device function secondary development by different developers, which also leads to low development efficiency. In addition, in the power system, different types of devices in different regions or different deployment times may have many different brands, models and functions, which also makes it difficult to develop and reuse for many different devices. In addition, with the continuous increase of business functions, the speed of business development is far behind the growth of business demand.

[0005] In view of the above problems, a power protection development method and device with good compatibility, reusability and integration are needed. SUMMARY

[0006] To solve the problems in the prior art, the present application provides a power protection method and device based on data modeling, which realizes the fusion between different power protection devices and the predicted power protection algorithm model by adjusting the data interface of the remote control application, realizes the remote editing of the power protection algorithm resource file and the localized application.

[0007] The present application adopts the following technical solutions.

[0008] The first aspect of the present application relates to a power protection method based on data modeling, the method comprising the following steps: step 1, constructing a remote control application, collecting resource data from a power protection device and generating data description parameters and associated data pointers; step 2, presetting a power protection algorithm model in the remote control application, and selecting a current power protection algorithm based on the data description parameters; step 3, generating an algorithm resource file based on the data description parameters, the associated data pointers and the current power protection algorithm, and embedding the algorithm resource file into the power protection device.

[0009] Preferably, the remote control application is deployed at a location different from the power protection device and has a visual interactive interface.

[0010] Preferably, the resource data called by the remote control application includes at least one or more of AI / AO data, DI / DO data, fixed value data, telemetry data, remote control data, remote adjustment data and remote signaling data.

[0011] Preferably, the remote control application is used to automatically acquire or manually configure configuration information, description information and attribute information of one or more kinds of data.

[0012] Preferably, the attribute information acquired automatically includes a physical storage address of one or more kinds of data in the power protection device; the manual configuration includes defining a data pointer in the remote control application based on the physical storage address in the power protection device, so that the data pointer in the remote control application is mapped to the physical storage address in the power protection device.

[0013] Preferably, the power protection algorithm model includes one or more of power compensation, line loss reduction, fault elimination, dynamic compensation, inner-outer loop control, state sequence control, fault monitoring and line inclusion.

[0014] Preferably, the pre-defined data pointer is loaded into the current power protection algorithm, and the algorithm resource file is realized through a coding method; the algorithm resource file at least includes an h header file and a C resource file.

[0015] Preferably, based on a task scheduling interface of the power protection device and the remote control application, the power protection device reads the algorithm resource file from the remote control application and stores the algorithm resource file as a local deployment file.

[0016] Preferably, the algorithm resource file is compiled based on the power protection device to realize the functional output based on the current power protection algorithm.

[0017] The second aspect of the present application relates to a power protection device based on data modeling, the device comprising a processor and a storage medium; the storage medium is used to store instructions; the processor is used to operate according to the instructions to perform the steps of the method in the first aspect of the present application.

[0018] The beneficial effects of the present application are that, compared with the prior art, the power protection method and device based on data modeling in the present application realize the fusion between different power protection devices and the known power protection algorithm model through the construction of a remote control application, realize the remote editing and localized application of the power protection algorithm resource file by only adjusting the data interface.

[0019] The beneficial effects of the present application also include:

[0020] 1. Through the method, the application algorithm can be developed and code can be automatically generated based on the simulink software visual modeling, the algorithm module algorithm data in the simulink model can be automatically searched through a self-developed tool, different data types or specific symbol data names are collected together through the specification modeling method and data type and data naming rules, the different data types or specific symbol data names are integrated with the system software or the driving software of the hardware platform, and the application software has the function of automatic association chip compiler compilation, forms the solidified file deployable on the hardware, and finally forms the visual development platform of the application software, and the application software of the platform has the simulation test function (SIL) of simulink.

[0021] 2. In order to realize the visual programming of the application layer software and inherit the code resources of the existing system layer and the driving layer, the present application only realizes the visual programming of the application layer software through the simulink tool and automatically generates the code by means of the simulink tool, realizes the information retrieval of the simulink model through the specification definition of the data of the simulink module and the desktop development tool, and automatically sets the interface and automatically compiles after classifying the retrieved information and the existing system layer software and the driving layer driving.

[0022] 3. The method in the present application can be applied to various power protection devices, such as static var generators, DC power transmission control protection devices and the like. Only by presetting the power protection algorithm model, the simple secondary development with the interactive interface can be realized for various devices, not only the upgrading of various devices can be quickly realized, but also the matching and unified functions between various devices can be ensured, and the good cooperation of various devices in the power system is realized. BRIEF DESCRIPTION OF DRAWINGS

[0023] Figure 1 The figure is a step schematic diagram of the present application of a power protection method based on data modeling.

[0024] Figure 2 The figure is an interface schematic diagram of the present application of a remote control application in the power protection method based on data modeling. DETAILED DESCRIPTION

[0025] In order to make the objects, technical solutions and advantages of the present application clearer, the technical solutions will be described clearly and completely below with reference to the drawings in the embodiments of the present application. The described embodiments of the present application are only a part of the embodiments of the present application, but not all the embodiments. Based on the spirit of the present application, all other embodiments of the present application not described in the present application obtained by those skilled in the art without creative work according to the embodiments described in the present application should belong to the protection scope of the present application.

[0026] Figure 1 The figure shows the steps of the power protection method based on data modeling of the present application. As shown in the figure, the first aspect of the present application relates to a power protection method based on data modeling, which includes steps 1 to 3. Figure 1

[0027] Step 1, build a remote control application, collect resource data from the power protection device and generate data description parameters and associated data pointers.

[0028] It can be understood that the present application is mainly applied to the control protection system of static var generator (SVG) products, DC power transmission control protection and the like. The product functions of these devices include fast, continuous and dynamic output of inductive and capacitive reactive power to the power system, maintaining the stability of line and power receiving end voltage, suppressing voltage fluctuation and flicker, compensating system reactive power, improving power factor, reducing fines and line loss, eliminating negative sequence current, suppressing three-phase imbalance, harmonic dynamic compensation and improving power quality. Therefore, in order to realize the functions of these devices, the present application provides a unified secondary development capability.

[0029] Specifically, such devices usually include an application layer, a system layer and a driver layer. Among them, the functions involved in the application layer usually include outer loop control, inner loop control, state sequence control, fault monitoring, protection and the like. In the present application, such functions can be realized by matlab / simulink graphical modeling.

[0030] In addition, the functions involved in the system layer include message management, wave recording management, protocol management, log management, interrupt scheduling management and the like. In the present application, the data association between the application layer model and the system layer can be realized through the integrated configuration tool developed and the data pointer interface and description file defined in advance, and the reference and scheduling relationship between the code automatically generated by the application layer and the data or variable pointers of the system layer can be realized.

[0031] ​The driving layer includes flash hardware, time function, serial port, Ethernet and other hardware management, wherein part of the hardware interface data directly related to the application layer needs to be pre-defined data name or variable pointer, and other hardware interface data is associated and scheduled with the system layer through handwritten code.

[0032] Therefore, in order to realize the functions of the devices in the different layers, the application constructs a remote control application.

[0033] Preferably, the remote control application is deployed at a remote place of the power protection device and has a visual interactive interface.

[0034] Figure 2 The interface diagram of the remote control application in the power protection method based on data modeling is shown in the application. Figure 2 As shown in the figure, the remote control application can be deployed in a Windows operating system, which can be deployed on other remote devices at a remote place of the power protection device, and the remote device only needs to have basic data processing and calculation capabilities. The remote control application can be realized in the form of desktop software, which can have a visual interactive interface to realize interactive operation of code developers.

[0035] Preferably, the resource data called by the remote control application includes one or more of AI / AO data, DI / DO data, setting value data, telemetering data, remote control data, remote adjustment data and remote signaling data.

[0036] It can be understood that the application can automatically call the power grid data information collected or monitored by the power protection device through the remote control application. In an example, the remote control application in the application can be realized based on the Simulink module in the Matlab software, and other data processing software is not excluded. Therefore, the resource configuration module of the embedded system can be customized in Simulink, and the corresponding data content can be called through the module.

[0037] Preferably, the remote control application is used for automatically acquiring or manually configuring the configuration information, description information and attribute information of one or more kinds of data.

[0038] It should be noted that the configuration information, description information and attribute information of the data can include the formatted data content generated when the power protection device itself collects power grid resource data. Of course, according to the method in the application, the configuration information or attribute information can be further increased through secondary development to enrich the content of the data or provide more algorithm operation capabilities for the original data.

[0039] Preferably, the automatically acquired attribute information includes one or more data physical storage addresses in the power protection device; the manual configuration includes defining a data pointer in the remote control application based on the physical storage address in the power protection device, so that the data pointer in the remote control application is mapped with the physical storage address in the power protection device.

[0040] It can be understood that the application can also automatically define read-write modules provided by a real-time hardware system, including AD sampling current data pointers, I / O data pointers, fixed value data pointers, etc., and this step mainly realizes the association between algorithm function modules and hardware data areas during final code generation and overall compilation.

[0041] Through pointer mapping, the application can control one or more different power protection devices based on one completely same remote control application, and adjust the algorithm compilation and calculation process based on the specific data storage mode of the power protection device, so that the remote control application has sufficient compatibility. The functions carried by various algorithms can be actually loaded into various different protection devices through the remote control application in the application, to realize customized function upgrade.

[0042] Step 2: Preparing a power protection algorithm model in the remote control application, and selecting a current power protection algorithm based on data description parameters.

[0043] The pre-prepared power protection algorithm model in the application can include various protection and control capabilities, and in an embodiment of the application, the algorithm model can also be developed through a Simulink module. However, these algorithms similar to the development mode of transmission simulation algorithms all need to follow the defined modeling specification and meet the basic requirements of the power industry. Moreover, these algorithm models can be simulated by MIL / SIL.

[0044] Preferably, the power protection algorithm model includes one or more of power compensation, line loss reduction, fault elimination, dynamic compensation, inner-outer loop control, state sequence control, fault monitoring, and line inclusion.

[0045] It is easy to think that the specific functions that can be realized by the algorithm in the application can be one of the above functions, and through the deployment of the algorithm, the power protection device can realize upgrade on the basis of the original functions. Of course, other functions not mentioned in the application are not excluded from being upgraded by the application.

[0046] It should be noted that the present application can select the current power protection algorithm according to the data acquisition capability of the device. For example, if the original device can acquire sufficient information to implement the operation of a certain protection algorithm and achieve the protection result provided by the algorithm, the method of the present application supports automatic matching of the device to the simulation algorithm. Therefore, the selection of the current power protection algorithm can include selecting one or more different algorithms and deploying them in the power protection device in turn.

[0047] Step 3, generating an algorithm resource file based on the data description parameter, the associated data pointer and the current power protection algorithm, and embedding the algorithm resource file into the power protection device.

[0048] In the present application, after selecting a specific algorithm, the generation of the algorithm resource file needs to be implemented for the current device.

[0049] Preferably, the pre-defined data pointer is loaded into the current power protection algorithm, and the algorithm resource file is generated by a coding method; the algorithm resource file at least includes an h header file and a C resource file.

[0050] It can be understood that the integrated model in the present application can be identified by searching the resource configuration model and displayed in the form of a list in the remote control application, and code generation is performed according to the information configured by the configuration module, including the h header file and the C resource file.

[0051] Subsequently, the present application can define the data area pointer provided by the system layer and the hardware driver layer based on the algorithm model, including the AD sampling current data pointer, the I / O data pointer and the fixed value data pointer. Then, the method generates code for the control protection algorithm model by using the embedded code generation toolbox in Simulink, including the h header file and the C algorithm file, and inserts the algorithm function into the fixed scheduling task function according to the task scheduling interface definition. When the task scheduling module is established in Simulink, the module and the scheduling interface in the embedded system layer are clearly defined, and the entry function name is clearly defined, so as to ensure that the method can realize accurate algorithm implementation for the current protection device. The method of the present application can also support the function interface adaptation between the system layer program and the hardware driver layer program and the application layer.

[0052] Preferably, based on the task scheduling interface of the power protection device and the remote control application, the power protection device reads the algorithm resource file from the remote control application and stores the algorithm resource file as a local deployment file. Based on the power protection device, the algorithm resource file is compiled to realize the function output based on the current power protection algorithm.

[0053] It can be understood that the application integrates codes by a script language, associates hardware-specific compiler unified compilation, and forms a final embedded chip deployment file.

[0054] In a second aspect, the application relates to a power protection device based on data modeling, which comprises a processor and a storage medium; the storage medium is used for storing instructions; the processor is used for operating according to the instructions to perform the steps of the method according to the first aspect.

[0055] It can be understood that, in order to realize the functions in the method provided in the embodiments of the application, the power protection device comprises a hardware structure and / or a software module corresponding to each function. Those skilled in the art should easily realize that, in combination with the algorithm steps of each example described in the embodiments disclosed herein, the application can be realized in the form of hardware or a combination of hardware and computer software. Whether a certain function is realized in the form of hardware or computer software driving hardware depends on the specific application and design constraints of the technical solution. Those skilled in the art can use different methods to realize the described functions for each specific application, but such implementation should not be considered beyond the scope of the application.

[0056] The embodiments of the application can divide the power protection device into functional modules according to the above method examples, for example, each functional module can be divided according to each function, or two or more functions can be integrated in one processing module. The integrated module can be realized in the form of hardware or software functional module. It should be noted that the division of modules in the embodiments of the application is illustrative, and is only a logical functional division. In actual implementation, there can be another division method.

[0057] The power protection device comprises at least one processor, a bus system and at least one communication interface. The processor can be a central processing unit (CPU), and can also be replaced by a field programmable logic gate array (FPGA), an application-specific integrated circuit (ASIC) or other hardware, or the FPGA or other hardware and the CPU jointly serve as the processor.

[0058] The memory can be read-only memory (ROM) or other type of static storage device that can store static information and instructions, random access memory (RAM), or other type of dynamic storage device that can store information and instructions, electrically erasable programmable read-only memory (EEPROM), compact disc read-only memory (CD-ROM) or other optical disk storage, optical storage including compact disc, laser disc, optical disc, digital versatile disc, Blu-ray disc, and the like, magnetic disk storage or other magnetic storage devices, or any other medium capable of storing desired program code in the form of instructions or data structures and that can be accessed by a computer, but is not limited thereto. The memory can exist independently of the processor and be connected to the processor via a bus. The memory can also be integrated with the processor.

[0059] The hard disk can be a mechanical disk or a solid state disk (SSD), etc. The interface card can be a host bus adapter (HBA), a redundant array of independent disks (RAID) card, an expander card, a network interface controller (NIC), etc., and the embodiments of the present application do not make any limitation thereto. The interface card in the hard disk module communicates with the hard disk. The storage node communicates with the interface card of the hard disk module, thereby accessing the hard disk in the hard disk module.

[0060] The interface of the hard disk can be a serial attached small computer system interface (SAS), a serial advanced technology attachment (SATA), or a peripheral component interconnect express (PCIe), etc.

[0061] In the embodiments described above, all or some of the embodiments can be implemented by hardware, firmware or software, or any combination thereof. When implemented in software, computer program products for implementing all or some of the embodiments include computer readable storage medium or media, having stored thereon instructions that implement all or some of the embodiments described above. Such a computer program product can be distributed as a removable storage medium with accompanying printed or electronic documentation (for example, a shrink wrapped software package, a freeware foundation, an on-line distribution medium, etc.), or can be distributed from a server or electronic bulletin board over the network (for example, the Internet or World Wide Web). Computer readable storage medium or media can take many physical forms including, but not limited to, electrical storage media (for example, magnetic disks, magnetic tapes, etc.), optical storage media (for example, compact discs, digital versatile discs, etc.), and firmware media (for example, programmable logic devices, field programmable gate arrays, etc.). Computer readable storage media include without limitation all physical media and storage devices implemented via computer readable media.

[0062] Computer readable program instructions for carrying out operations of the present application can be assembler instructions, instruction-set-architecture (ISA) instructions, machine instructions, machine dependent instructions, microcode, firmware instructions, state-setting data, or either source code or object code written in any combination of one or more programming languages, including an object oriented programming language such as Smalltalk, C++ or the like and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The computer readable program instructions can execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the latter scenario, the remote computer can be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or the connection can be made to an external computer (for example, through the Internet using an Internet Service Provider). In some embodiments, electronic circuitry including, for example, programmable logic circuitry, field-programmable gate array (FPGA), or programmable logic array (PLA) can execute the computer readable program instructions by utilizing state information of the computer readable program instructions to personalize the electronic circuitry, in order to perform aspects of the present application.

[0063] The power protection method and device based on data modeling has the advantages that compared with the prior art, the power protection method and device based on data modeling in the application realizes the fusion between different power protection devices and the known power protection algorithm model by constructing a remote control application and only adjusting the data interface, realizes the remote editing and localized application of the power protection algorithm resource file, and has clear ideas and simple steps, and realizes the automatic integrated compilation and deployment in the way of visual programming and offline simulation.

[0064] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application rather than limit them, and although the present application has been described in detail with reference to the above embodiments, those skilled in the art should understand that the specific embodiments of the present application can be modified or replaced equivalently without departing from the spirit and scope of the present application, and any modification or equivalent replacement without departing from the spirit and scope of the present application should be covered in the protection scope of the claims of the present application.

Claims

1. A method of power protection based on data modeling, characterized by, The method comprises the following steps: Step 1, constructing a remote control application, collecting resource data from the power protection device and generating data description parameters and associated data pointers; The associated data pointer is a pre-defined data pointer interface defined in the remote control application, including AD sampling current data pointer, I / O data pointer and fixed value data pointer; The associated data pointer is used to associate the algorithm function module with the hardware data area during code generation and compilation; Step 2, pre-setting a power protection algorithm model in the remote control application, and selecting a current power protection algorithm based on the data description parameters; Step 3, generating an algorithm resource file based on the data description parameters, associated data pointers and the current power protection algorithm, and embedding the algorithm resource file into the power protection device.

2. The power protection method based on data modeling according to claim 1, wherein: The remote control application is deployed in a place different from the power protection device and has a visual interactive interface.

3. The power protection method based on data modeling according to claim 2, wherein: The resource data called by the remote control application includes at least one or more of AI / AO data, DI / DO data, fixed value data, telemetry data, remote control data, remote adjustment data and remote signaling data.

4. The power protection method based on data modeling according to claim 3, wherein: The remote control application is used to automatically acquire or manually configure the configuration information, description information and attribute information of one or more kinds of data.

5. The power protection method based on data modeling according to claim 4, wherein: The attribute information acquired automatically includes the physical storage address of the one or more kinds of data in the power protection device; The manual configuration includes defining a data pointer in the remote control application based on the physical storage address in the power protection device, so that the data pointer in the remote control application is mapped with the physical storage address in the power protection device.

6. The power protection method based on data modeling according to claim 5, wherein: The power protection algorithm model includes one or more of power compensation, line loss reduction, fault elimination, dynamic compensation, inner-outer loop control, state sequence control, fault monitoring and line inclusion.

7. The power protection method based on data modeling according to claim 6, wherein: The pre-defined data pointer is loaded into the current power protection algorithm, and the algorithm resource file is realized through a coding method; The algorithm resource file at least includes an h header file and a C resource file.

8. The power protection method based on data modeling according to claim 7, wherein: Based on the task scheduling interface of the power protection device and the remote control application, the power protection device reads the algorithm resource file from the remote control application and stores the algorithm resource file as a local deployment file.

9. The method of claim 8, wherein: the power protection device compiles the algorithm resource file to implement a function output based on a current power protection algorithm.

10. A data modeling based power protection device, comprising: a processor and a storage medium; wherein: the storage medium is configured to store instructions; and the processor is configured to operate according to the instructions to perform the steps of the method of any one of claims 1-9.

Citation Information

Patent Citations

  • Model and modeling method of multi-dimensional data integration of heterogeneous databases of electric power information system

    CN102063509A

  • IEC61850 localization protection model-based comprehensive management method of secondary remote interface

    CN107748672A