CN108847714B - High-voltage direct-current transmission transient data recording device and control protection device - Google Patents

High-voltage direct-current transmission transient data recording device and control protection device Download PDF

Info

Publication number
CN108847714B
CN108847714B CN201810308068.4A CN201810308068A CN108847714B CN 108847714 B CN108847714 B CN 108847714B CN 201810308068 A CN201810308068 A CN 201810308068A CN 108847714 B CN108847714 B CN 108847714B
Authority
CN
China
Prior art keywords
data
protection device
control protection
recording
transient
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Active
Application number
CN201810308068.4A
Other languages
Chinese (zh)
Other versions
CN108847714A (en
Inventor
于海
曾丽丽
李跃鹏
胡欢
李楠
郭虎峰
王柏恒
陈香香
董春晨
张健
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Xuji Group Co Ltd
XJ Electric Co Ltd
Original Assignee
Xuji Group Co Ltd
XJ Electric Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Xuji Group Co Ltd, XJ Electric Co Ltd filed Critical Xuji Group Co Ltd
Priority to CN201810308068.4A priority Critical patent/CN108847714B/en
Publication of CN108847714A publication Critical patent/CN108847714A/en
Application granted granted Critical
Publication of CN108847714B publication Critical patent/CN108847714B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Images

Classifications

    • H02J13/0006
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J3/00Circuit arrangements for ac mains or ac distribution networks
    • H02J3/36Arrangements for transfer of electric power between ac networks via a high-tension dc link
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/60Arrangements for transfer of electric power between AC networks or generators via a high voltage DC link [HVCD]

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a high-voltage direct-current transmission transient data recording device and a control protection device, wherein the transient data recording device comprises a transient data recording module integrated in the control protection device, and the transient data recording module records internal operation data and external operation data of the control protection device; the internal operation data and the external operation data are stored in a Flash board card or an SATA hard disk of the control protection device. The transient data recording module is a software module, does not change the hardware structure of the original control protection device when being loaded into the control protection device, does not need to add or delete an acquisition channel, can be matched with a special transient data recorder for use, has the characteristics of flexible configuration, comprehensive functions, various storage and transmission modes and convenient use, can assist engineering debugging personnel to quickly position the fault part of the protection device, analyzes various problems encountered in joint debugging of the protection device, and provides a reliable basis for power grid analysis.

Description

High-voltage direct-current transmission transient data recording device and control protection device
Technical Field
The invention belongs to the technical field of extra-high voltage direct current transmission, and particularly relates to a high-voltage direct current transmission transient data recording device and a control protection device.
Background
The ultra-high voltage direct current transmission has the characteristics of high voltage, large capacity and long distance, and is rapidly developed in China in recent years. The control and protection of direct current transmission is a very complex system, and compared with the secondary control protection of alternating current transmission, the most obvious characteristic of direct current transmission is that the performance of the direct current transmission depends on the control protection system to a great extent, namely, converter valves at two ends are required to be uninterruptedly and quickly adjusted, and the size and the direction of the transmission power of a direct current line are controlled so as to meet the operation requirement of the whole alternating current-direct current system. Therefore, debugging of the direct-current transmission control protection device is a macro project, taking a +/-800 KV extra-high voltage direct-current project as an example, the control device comprises six hundred experiments in total, such as no-load pressurization, tap control, system monitoring and switching, active control, valve bank on-line switching, reactive control, valve interface and the like, and the protection device comprises five hundred experiments in total, such as protective locking, valve bank protection, polar region protection, bipolar region protection, direct-current filter protection, direct-current line protection and the like. The project needs to be repeatedly tested thousands of times from the screen assembling in the factory to the field operation, so an effective means is needed, and engineering design, debugging and acceptance personnel can have an insight on the working state and the operation performance of the whole control and protection device, so as to ensure the safe and reliable operation of the power grid.
The fault recording is used as an important analysis means for the running state and system fault of the power system, and is widely applied to AC/DC power transmission control and protection devices. When the early engineering system is in joint debugging, manufacturers and owners pay more attention to data recorded by the external wave recording device. At present, along with the continuous improvement of control protection device hardware performance and the continuous perfect of software performance, the use that engineering debugging and acceptance personnel found embedded record wave is more nimble, and the data of record is also very accurate, can satisfy the needs of most engineering debugging. Therefore, embedded transient data recording gradually becomes a mainstream means for analyzing the debugging problem of the high-voltage direct-current engineering, and a more reliable basis can be provided for the early defects of the system, so that the long-term stable operation of the power grid is guaranteed. Therefore, the transformer substations and the converter stations at home and abroad are generally provided with fault recorder devices, digital protection testers and other special fault recorders, for example, a fault recorder provided by the chinese patent with the publication number of "CN 103076539A" named as an embedded power fault recorder analysis device includes an acquisition module for receiving grid signals sent by a transformer, a synchronization module for synchronizing time between the workstations constituting the grid, a CPU module for analyzing and recording the grid signals, and a transmission module. Meanwhile, the CPU module of the patent provides a steady-state data processing function, and realizes the simultaneous processing of steady-state and transient-state data under the condition of not adding additional plug-ins or modules.
However, the transient data recorder needs to record the analog quantity and state quantity information of the control and protection device, and usually needs to add an analog quantity and state quantity IO unit in the control and protection device, and output the key data running inside the system to the recorder for collection and recording.
Disclosure of Invention
The invention aims to provide a high-voltage direct-current transmission transient data recorder and a control protection device, which are used for solving the problem that the existing hardware structure of the control protection device needs to be changed when the control protection device is provided with a transient data recorder in the prior art.
In order to achieve the above object, the present invention provides a transient data recording device for high voltage direct current transmission, which includes a transient data recording module integrated in a control protection device, wherein the transient data recording module records internal operation data of the control protection device through an analog quantity and state quantity software module of the control protection device, and records external operation data of the control protection device through a communication interface of the control protection device; and the internal operation data and the external operation data are stored in a Flash board card or an SATA hard disk of the control protection device.
In order not to influence the normal control protection function of the control protection device, the transient data recording module stores internal operation data and external operation data of the control protection device in the idle time of a CPU of the control protection device, so that the recording of the transient data is realized under the condition that the control protection device implements the normal protection function.
In order to adapt to different data triggering requirements during data recording, the transient data recording module adopts an edge triggering mode and a level triggering mode during data recording, so that different triggering modes of the recording data are met, and the triggering modes are various.
In order to solve the problem of dead zones during wave recording, the transient data wave recording module comprises a two-stage data cache structure, wherein one stage is a real-time data cache region, and the other stage is a transient data cache region; the transverse width of the real-time data cache region is the sum of the analog quantity channel number and the state quantity channel number, the longitudinal width is the sum of the preposed wave recording point number and the postpositional wave recording point number, and the length of the cache region is the product of the transverse width and the longitudinal width; the length of the transient data cache region is N times of the length of the real-time data cache region, and the transient data cache region is used for storing data recorded before and after a fault moment, so that a recording dead zone can not occur when the file reading and writing speed of the Flash board card or the SATA hard disk is lower than the speed of real-time recording data entry.
The control protection device generally comprises a main CPU and at least one slave CPU, in order to solve the problem of partial wave recording data loss, the wave recording function of the transient data wave recording module is integrated in the main CPU, each slave CPU transmits the original wave recording data of the slave CPU to the main CPU in a configuration data transmission mode, and the main CPU performs format conversion on the received data and stores the data. When the task of the main CPU data acquisition is not matched with the task output from the CPU data source, the wave recording data can not be lost by adopting a configuration data transmission mode.
In order to ensure the integrity of the wave recording data transmission between the master CPU and the slave CPU, the configuration data transmission process includes: establishing a data communication loop between the main CPU and each slave CPU for realizing real-time data interaction between the CPUs; the method comprises the steps of creating a first communication interface module in a main CPU, creating a second communication interface module in each slave CPU, wherein the second communication interface module in each slave CPU is used for packaging configuration data of the corresponding slave CPU and selecting time to send the configuration data, and the first communication interface module is used for receiving the configuration data sent by each slave CPU and completing conversion from the configuration data to a recording file.
In order to finish the movement of the recording data between the real-time cache region and the transient data cache region, the real-time data cache region and the transient data cache region adopt a direct memory access mode to carry out data movement.
In order to enable the transient data recording module to adapt to different requirements of users, the transient data recording module can configure the number of recording points before triggering, the number of recording points after triggering and the maximum number of recording points of a single file according to the requirements of the users, and generates a waveform file in a comtrade format according to the international standard.
The invention also provides a high-voltage direct-current transmission control protection device, which comprises a transient data recording device, wherein the transient data recording device comprises a transient data recording module integrated in the control protection device, the transient data recording module records internal operation data of the control protection device through an analog quantity and state quantity software module of the control protection device, and records external operation data of the control protection device through a communication interface of the control protection device; and the internal operation data and the external operation data are stored in a Flash board card or an SATA hard disk of the control protection device.
In order not to influence the normal control protection function of the control protection device, the transient data recording module stores internal operation data and external operation data of the control protection device in the idle time of a CPU of the control protection device, so that the recording of the transient data is realized under the condition that the control protection device implements the normal protection function.
In order to adapt to different data triggering requirements during data recording, the transient data recording module adopts an edge triggering mode and a level triggering mode during data recording, so that different triggering modes of the recording data are met, and the triggering modes are various.
In order to solve the problem of dead zones during wave recording, the transient data wave recording module comprises a two-stage data cache structure, wherein one stage is a real-time data cache region, and the other stage is a transient data cache region; the transverse width of the real-time data cache region is the sum of the analog quantity channel number and the state quantity channel number, the longitudinal width is the sum of the preposed wave recording point number and the postpositional wave recording point number, and the length of the cache region is the product of the transverse width and the longitudinal width; the length of the transient data cache region is N times of the length of the real-time data cache region, and the transient data cache region is used for storing data recorded before and after a fault moment, so that a recording dead zone can not occur when the file reading and writing speed of the Flash board card or the SATA hard disk is lower than the speed of real-time recording data entry.
The control protection device comprises a main CPU and at least one slave CPU, in order to solve the problem of partial wave recording data loss, the wave recording function of the transient data wave recording module is integrated in the main CPU, each slave CPU transmits the original wave recording data of the slave CPU to the main CPU in a configuration data transmission mode, and the main CPU performs format conversion on the received data and stores the data. When the task of the main CPU data acquisition is not matched with the task output from the CPU data source, the wave recording data can not be lost by adopting a configuration data transmission mode.
In order to ensure the integrity of the wave recording data transmission between the master CPU and the slave CPU, the configuration data transmission process includes: establishing a data communication loop between the main CPU and each slave CPU for realizing real-time data interaction between the CPUs; the method comprises the steps of creating a first communication interface module in a main CPU, creating a second communication interface module in each slave CPU, wherein the second communication interface module in each slave CPU is used for packaging configuration data of the corresponding slave CPU and selecting time to send the configuration data, and the first communication interface module is used for receiving the configuration data sent by each slave CPU and completing conversion from the configuration data to a recording file.
In order to finish the movement of the recording data between the real-time cache region and the transient data cache region, the real-time data cache region and the transient data cache region adopt a direct memory access mode to carry out data movement.
In order to facilitate an engineer workstation to collect and control the recording files of the protection device, the transient data recording module comprises two recording file acquisition modes, one mode is an active calling mode, and the other mode is an automatic sending mode; the active calling type means that an FTP server is established in the control protection device, an engineer workstation logs in the control protection device in an FTP client side mode to acquire the list information of the wave recording files, and selects the waveform files to be downloaded; the automatic uploading mode refers to that an FTP client is created in the control protection device, a server is created in an engineer workstation, and after the transient data recording is triggered, the control protection device logs in the server of the engineer workstation and uploads a recording file to a directory specified by the server for storage.
In order to enable the transient data recording module to adapt to different requirements of users, the transient data recording module can configure the number of recording points before triggering, the number of recording points after triggering and the maximum number of recording points of a single file according to the requirements of the users, and generates a waveform file in a comtrade format according to the international standard.
The invention has the beneficial effects that:
the invention provides a high-voltage direct-current transmission transient data recording device, which comprises a transient data recording module integrated in a control protection device, wherein the transient data recording module records internal operation data of the control protection device through an analog quantity and state quantity software module of the control protection device and records external operation data of the control protection device through a communication interface of the control protection device; the internal operation data and the external operation data are stored in a Flash board card or an SATA hard disk of the control protection device. The transient data recording module is a software module, does not change the hardware structure of the original control protection device when being loaded into the control protection device, does not need to add or delete an acquisition channel, can be matched with a special transient data recorder for use, has the characteristics of flexible configuration, comprehensive functions, various storage and transmission modes and convenient use, can assist engineering debugging personnel to quickly position a system fault part, analyzes various problems encountered in system joint debugging, and provides a reliable basis for power grid analysis.
The invention also provides a high-voltage direct-current transmission control protection device, wherein the control protection device is loaded with the transient data recording module, when the transient data recording module is loaded into the control protection device, the hardware structure of the original control protection device is not changed, an acquisition channel is not required to be added or deleted, and the control protection device can be matched with a special transient data recorder for use.
Drawings
FIG. 1 is a diagram of a hardware platform architecture for controlling a protection device;
FIG. 2 is a schematic diagram of a software platform for controlling the protection device;
FIG. 3 is a diagram of a control protection device debug network architecture;
FIG. 4 is a schematic diagram of real-time data caching and transient data caching;
FIG. 5 is a flowchart of a transient data recording operation;
FIG. 6 is a schematic diagram of a design example of an embedded transient data recording function;
FIG. 7 is a block diagram of a configuration data transmission scheme.
Detailed Description
The following further describes embodiments of the present invention with reference to the drawings:
the utility model provides a high voltage direct current transmission control protection device, including high voltage direct current transmission transient state data oscillograph device, transient state data oscillograph device is including being used for the integrated transient state data oscillograph module in control protection device, transient state data oscillograph module is through the inside operating data of analog quantity and the state quantity software module record control protection device of control protection device, also can receive and the record comes from the outside operating data of control protection device with the help of various communication methods and communication protocol through communication interface when necessary, the acquisition channel can dispose in a flexible way, transient state waveform file can acquire at will, the transient state data oscillograph module of this embodiment can use with special transient state data oscillograph cooperation, provide more reliable foundation for the electric wire netting analysis jointly.
1. Platform architecture design
1.1 hardware and software platform design
The hardware platform of the high-voltage direct-current transmission control protection device is generally composed of an industrial personal computer or embedded equipment. Fig. 1 is an embedded control protection device, which is composed of a chassis based on a VME backplane bus, and a processor, ten or more cards such as analog input/output, switching input/output, trigger pulse, field bus communication, ethernet communication, and the like. The device is characterized in that the processors and all IO board cards in the case can be flexibly configured according to engineering requirements, and each processor board card can respectively control different IO board cards so as to realize a specific control protection function. Data interaction can be directly realized among the processor board cards through a VME (virtual machine environment) backboard bus, and the parallel processing function of multiple CPUs (central processing units) is realized. The transient data recording module is embedded into the control protection device and can record internal operation data of the control protection device; the system can record external operation data transmitted by an Ethernet communication expansion board card ENT, a CONTROL BUS (CONTROL BUS), a field BUS (PROFIBUS), an analog quantity I/O expansion board card DP and a state quantity I/O expansion board card DP; and the CPU running data of other board cards in the device transmitted through the chassis backboard bus can be recorded.
The transient data recording module can configure the number of recording points before triggering the recording, the number of recording points after triggering and the maximum number of recording points of a single file according to the requirements of a user before recording, and generates a waveform file in a comtrade format according to the international standard.
When the transient data recording module records waves, the recording data is stored in the idle time of the CPU, so as to ensure that the control protection function of the control protection device is not influenced. However, when the original CPU load of the control protection device is high, the time left for storing the waveform file is small, so that it is necessary to consider improvement of the efficiency of storing the waveform file. The SATA hard disk has a larger storage space and a higher read-write speed, and can be used as default configuration of engineering application. The apparatus of fig. 1 is configured with an SATA hard disk, which can be accessed and controlled by a main processor board card inserted into the first slot, and is used to store a transient data recording file and support transmission to other devices via various communication media and communication protocols. Of course, in some special situations where performance requirements are not high, the on-chip FLASH of the processor board card may be used to store the waveform file.
A software platform of the high-voltage direct-current transmission control protection device generally adopts a multi-task operating system, all tasks can be configured with priorities, and the function of comparing the transient data recording and consuming system resources can be completed in a low-priority task. As shown in fig. 2, the software part of the device is a graphical application program development platform based on a vxworks real-time operating system, and includes hundreds of functional blocks such as arithmetic, logic, control, communication, fault diagnosis, etc., the interior of the functional block is written by C codes, and the exterior of the functional block is packaged for engineering application programmers to call, and the functional block can be used in cooperation with hardware to implement various control protection functions in direct current engineering. Compared with the current SD card program storage and serial port debugging of similar control protection devices at home and abroad, the platform supports network real-time monitoring, editing, downloading and debugging of engineering application programs, and can greatly improve the working efficiency on site. The software platform provides 5 periodic tasks and 8 interrupt tasks, and a user can select the task of program operation according to the capacity and execution time requirements of the application program and reasonably configure the task operation period. Wherein the task cycle supports 0.1ms at the fastest speed, and the transient data recording can realize the sampling frequency of 10KHz at the maximum.
1.2 network architecture design
In the high-voltage direct-current transmission project, all functions of a converter station and a transmission line are generally divided into a plurality of layers according to grades, control devices are divided into pole control, valve control, direct-current station control, alternating-current station control and the like, and protection devices are divided into pole protection, valve protection, alternating-current filter protection and the like. In the converter station, the control protection devices are distributed in different areas such as a main control building, a low-end valve hall control building, a high-end valve hall control building, an alternating-current filter protection chamber and the like according to functions, so that an engineer can maintain all the control protection devices of the whole station in the main control building by constructing a debugging network. Fig. 3 is a diagram of a debugging network of the control and protection device of the converter station. The dedicated channel between the control protection device and the transient data recording module generally uses hard wiring or optical fibers to output the original data of each device to the transient data recording module for collection and generation of a waveform file, and the waveform file is indirectly acquired by an engineer workstation. The engineer workstation accesses the processor cards of all devices through the debug lan of the access control and protection device, editing, downloading and monitoring applications. Therefore, after the embedded transient data recording function of the control and protection device is realized, the engineer workstation can directly acquire the recording files of all the devices through the debugging network.
2. Embedded transient data recording function design
2.1 basic function design
The COMTRADE is an IEEE standard power system transient data exchange universal grid, and each COMTRADE record has a group of 4 files related to the COMTRADE record, namely a title file, a configuration file, a data file and an information file. The title and the information file are not necessary files, so that the transient data recorded by the system after meeting the triggering condition is only required to be generated into a configuration file and an information file during design. The configuration file is an ASCII text file used to correctly specify the format of the data file, interpret the information contained in the data file such as sampling rate, channel number, frequency, channel information, etc., and identify whether the data file is stored in ASII code or binary format. The data file contains the values of all input channels of each sample in the record, including the sequence number and the time mark of each sample, and the sampling value records the state quantity information representing the switch signal besides the data of the analog input.
The electric power industry standards specify that transient data collection can be divided into five time period records, i.e., data records can be sampled at equal intervals or at valid values recorded at certain intervals. Whereas current software platforms support configurable multi-tasking application programming modes, the user may choose to use either interrupt tasks or periodic task modes, where periodic tasks are configurable up to 0.1ms, and a sampling frequency of 10KHz may be achieved. The sampling point number refers to the number of groups of the maximum stored recording data in a data file, and one group of data comprises values of all analog quantities and state quantities sampled at one time. For the first point data time and the trigger point data time in the configuration file, two concepts are introduced, namely a pre-record point number and a post-record point number. The pre-recording point number refers to a pre-recording point number before the moment when the trigger logic of the transient data meets the condition, and the post-recording point number refers to a point number which still needs to be recorded after the moment when the trigger logic of the transient data meets the condition. Engineering debugging personnel can evaluate the running performance of the protection device and analyze the reasons of the fault of the protection device by comparing the difference of the wave recording data before and after the triggering moment. When a user configures a recording channel, only the two points need to be configured, and the first point data time and the trigger point data time can be automatically generated by a program.
Transient data triggering is generally classified into an edge triggering mode and a level triggering mode. The edge triggering mode means that when the triggering logic is satisfied, the actual sampling point number of the system is equal to the sum of the pre-recorded wave point number and the post-recorded wave point number. The level triggering mode is that when the triggering condition is met, the actual sampling points of the system comprise the pre-recorded wave points, the points recorded by triggering the level duration time and the post-recorded wave points. In addition, after a trigger condition is met, when wave recording is not finished yet, a new trigger condition comes, two processing modes are generally adopted, one mode is to continue to finish wave recording of the first trigger condition and ignore the new trigger condition, the other mode is to keep the recorded information of the first trigger condition, restart recording of the post-recording wave point number from the new trigger condition until wave recording of the post-recording wave point number of the last trigger condition is finished, if a new trigger condition exists all the time in the wave recording process, and force wave recording to be finished after the wave recording file reaches the maximum recording data. The current trigger logic uses a second approach.
2.2 data cache design
The transient data recording module meets the triggering condition and needs to store the recording data after the recording is finished. The efficiency of controlling the storage device of the protection device is a key factor for restricting the transient data recording performance, and when the file reading and writing speed of the SATA hard disk or the FLASH is lower than the real-time data recording speed, the situation of a recording dead zone can occur. In order to solve the problem, a two-stage data cache structure is designed, as shown in fig. 4, two independent data cache regions are simultaneously opened in the RAM, one is defined as a real-time data cache region (first-stage cache), the transverse width of the real-time data cache region is the sum of the analog quantity channel number and the state quantity channel number, the longitudinal width of the real-time data cache region is the sum of the preposed recording wave point number and the postpositional recording wave point number, and the length of the real-time data cache region is the product of the transverse width and the longitudinal width and is used for storing and updating the current; the other piece is defined as a transient data cache region (secondary cache), the length of the transient data cache region is N times of that of the real-time data cache region, and the transient data cache region is used for storing historical data recorded before and after the fault moment. The two-stage data cache design solves the problem that the read-write speed of the storage equipment is not matched with the real-time data entry speed by removing a large amount of invalid historical data and only storing the valid data at the trigger moment.
The transient data recording workflow is shown in fig. 5. In an initialization mode, a historical data storage area, a configuration information storage area and a wave recording data memory pool are created, and configuration information such as station names and equipment names is written into the configuration information storage area according to the configuration of a user. And under a circulation mode, updating historical data in real time, judging whether a trigger condition is met, if so, writing configuration information such as fault point time information into a configuration information storage area, ensuring the integrity of the configuration information in the configuration information storage area so as to directly perform Comtrade file format conversion, and copying real-time data into a transient data buffer area. And when the wave recording is finished, starting a Commtrade format conversion task, converting the data in the transient data buffer into a Commtrade waveform file, and storing the Commtrade waveform file in the SATA hard disk.
According to the above recording work flow, after the system triggers the recording, the operation of data transfer between the first-level cache and the second-level cache needs to be completed, and when the number of recording points is large and the recording frequency is fast, the system needs to consume a long time to complete the data transfer. Taking an application of ultra-high-speed line protection as an example, 50000-point sampling (maximum 64-way analog quantity and 64-way state quantity) needs to be completed within 20us, when a trigger condition is met, 13MB data needs to be moved within 1s, and the normal sampling of a system cannot be influenced by the data moving. The DMA (drive Memory access) direct Memory access mode is adopted, so that the copying of data from a source address to a destination address is quickly finished without occupying CPU load.
2.3 wave recording function Block design
An embedded transient data wave recording function module developed based on the above design principle is shown in fig. 6, wherein a TCH is a virtual wave recorder initialization module, a data wave recording device can be simulated by calling a TCH module, a single TCH module can be mounted with at most 64 ARC analog quantity acquisition modules and 64 state quantity acquisition modules, and a virtual wave recorder can record at most 64 paths of analog quantity and 64 paths of state quantity data. The virtual wave recording function can be multiplexed, a plurality of groups of transient data wave recording modules can be configured in one processor, and each group of data wave recording modules can independently generate a group of wave recording files after meeting the triggering condition. Therefore, the multiplexed data can be flexibly combined aiming at different data concerned by manufacturers and owners and can be respectively configured to different virtual recorders for recording.
3. Design of wave recording data storage mode
In the control protection device shown in fig. 1, the main processor board card is responsible for realizing the transient data recording function of the whole device, that is, the main processor board card not only records data running inside the board card, but also needs to receive and record data from other slave processor boards through a VME backplane parallel bus. The data interaction of the master processor board card and the slave processor board card can adopt a direct data transmission mode, the mode is simple and convenient to apply, and most project debugging requirements can be basically met. However, this method has the disadvantage that the master processor board and the slave processor board are independent systems, and the direct data transfer in an asynchronous system may cause the loss or repetition of part of the recording points. In addition, when the task where the data acquisition of the master processor board is located is not matched with the task output from the data source of the slave processor board, for example, the data acquisition of the master processor board runs in a task period of 1ms, and the data generation and transmission of the slave processor board runs in an interrupt period of 0.625ms, part of the recording points are lost.
The method for solving the problems is to change the direct data transmission and adopt a configuration data transmission mode. The realization principle is as follows:
the transient data recording function is cut into two parts, the first part finishes the storage (stored in RAM) of the recording original data, and the second part finishes the format conversion (stored in SATA hard disk) of the recording file; the main processor board card keeps the original scheme and combines the two parts into one. The slave processor board card completes the original data recording function of the slave processor board card, but does not perform the file format conversion of the second part, the configuration data is packaged and transmitted to the master processor board card, and the master processor board card completes the operation of the second part.
The configuration data is not required to be transferred too quickly, but the integrity of the information transmission is ensured. The implementation process of the configuration data transmission method is shown in fig. 7, taking a master CPU and two slave CPUs as examples:
firstly, a data communication loop needs to be established between a master CPU and a slave CPU, and real-time data interaction of the master CPU and the slave CPU is realized.
A first communication interface module TFRCP is established in a main CPU application program, and a second communication interface module TFRSP is respectively established in a slave CPU application program and used for managing the transmission of master-slave CPU transient recording data. The TFRSP module is used for packaging the configuration data by the corresponding slave CPU and selecting time to send, and the TFRCP module is used for receiving the configuration data by the master CPU and completing the conversion from the configuration data to the recording file.
4. Design of acquisition mode of recording file
Because the engineer workstation needs to check and analyze the waveform files of each control protection device, in order to meet the requirement of the engineer workstation for checking the waveform files, the embedded transient data recording module of the embodiment provides two recording file acquisition modes, namely an active calling mode and an automatic sending mode. The method for realizing the active calling mode is that an FTP server is established in the control protection device, an engineer workstation can log in each control protection device in a mode of an FTP client side, obtain the list information of the recording files, select the waveform files to be downloaded and store the waveform files in a designated workstation directory. The active calling mode has the advantages of simple and convenient application and is particularly suitable for debugging the small-scale control protection device. The method for realizing the automatic uploading mode comprises the steps of creating an FTP client in each control protection device, creating a server on a workstation, controlling the protection devices to actively log in the server of the workstation after the system triggers transient data recording, uploading a newly triggered recording file to a directory specified by the server for storage, and quitting the server after the file uploading is finished. All file transmission operations are carried out in low-priority tasks, and the control and protection functions of the control and protection device are not influenced. The active calling mode is suitable for large-scale device joint debugging, and for hundreds of sets of control protection devices, debugging personnel do not need to sequentially acquire the wave recording file of each device at each experimental node.
The specific embodiments are given above, but the present invention is not limited to the above-described embodiments. The basic idea of the present invention lies in the above basic scheme, and it is obvious to those skilled in the art that no creative effort is needed to design various modified models, formulas and parameters according to the teaching of the present invention. Variations, modifications, substitutions and alterations may be made to the embodiments without departing from the principles and spirit of the invention, and still fall within the scope of the invention.

Claims (13)

1. The high-voltage direct-current transmission transient data recording device is characterized by comprising a transient data recording module integrated in a control protection device, wherein the transient data recording module records internal operation data of the control protection device through an analog quantity and state quantity software module of the control protection device and records external operation data of the control protection device through a communication interface of the control protection device; the internal operation data and the external operation data are stored in a Flash board card or an SATA hard disk of the control protection device;
the transient data recording module is a software module, and when the transient data recording module is loaded into the control protection device, the hardware structure of the original control protection device is not changed, and an acquisition channel is not required to be added or deleted;
the control protection device comprises a main CPU and at least one slave CPU, the wave recording function of the transient data wave recording module is integrated in the main CPU, each slave CPU transmits the original wave recording data of the slave CPU to the main CPU in a configuration data transmission mode, and the main CPU performs format conversion on the received data and stores the data;
the configuration data transmission process comprises the following steps: establishing a data communication loop between the main CPU and each slave CPU for realizing real-time data interaction between the CPUs; the method comprises the steps of creating a first communication interface module in a main CPU, creating a second communication interface module in each slave CPU, wherein the second communication interface module in each slave CPU is used for packaging configuration data of the corresponding slave CPU and selecting time to send the configuration data, and the first communication interface module is used for receiving the configuration data sent by each slave CPU and completing conversion from the configuration data to a recording file.
2. The hvdct transient data recording device of claim 1, wherein said transient data recording module stores internal operating data and external operating data of said control protection device during CPU idle time of said control protection device.
3. The apparatus according to claim 2, wherein the transient data recording module employs an edge trigger mode and a level trigger mode during data recording.
4. The HVDC transient data recording device of claim 2, wherein the transient data recording module comprises a two-stage data buffer structure, one stage being a real-time data buffer area and the other stage being a transient data buffer area; the transverse width of the real-time data cache region is the sum of the analog quantity channel number and the state quantity channel number, the longitudinal width is the sum of the preposed wave recording point number and the postpositional wave recording point number, and the length of the cache region is the product of the transverse width and the longitudinal width; the length of the transient data cache region is N times of the length of the real-time data cache region, and the transient data cache region is used for storing data recorded before and after the fault moment.
5. The HVDC transient data recorder of claim 4, wherein the real-time data buffer and the transient data buffer are configured to perform data transfer by direct memory access.
6. The apparatus according to claim 1, wherein the transient data recording module is capable of configuring the number of recording points before triggering, the number of recording points after triggering, and the maximum number of recording points of a single file according to the user's needs, and generating a waveform file in a comtrade format according to the international standard.
7. A high-voltage direct-current transmission control protection device is characterized by comprising a transient data recording device, wherein the transient data recording device comprises a transient data recording module integrated in the control protection device, the transient data recording module records internal operation data of the control protection device through an analog quantity and state quantity software module of the control protection device, and records external operation data of the control protection device through a communication interface of the control protection device; the internal operation data and the external operation data are stored in a Flash board card or an SATA hard disk of the control protection device;
the transient data recording module is a software module, and when the transient data recording module is loaded into the control protection device, the hardware structure of the original control protection device is not changed, and an acquisition channel is not required to be added or deleted;
the control protection device comprises a main CPU and at least one slave CPU, the wave recording function of the transient data wave recording module is integrated in the main CPU, each slave CPU transmits the original wave recording data of the slave CPU to the main CPU in a configuration data transmission mode, and the main CPU performs format conversion on the received data and stores the data;
the configuration data transmission process comprises the following steps: establishing a data communication loop between the main CPU and each slave CPU for realizing real-time data interaction between the CPUs; the method comprises the steps of creating a first communication interface module in a main CPU, creating a second communication interface module in each slave CPU, wherein the second communication interface module in each slave CPU is used for packaging configuration data of the corresponding slave CPU and selecting time to send the configuration data, and the first communication interface module is used for receiving the configuration data sent by each slave CPU and completing conversion from the configuration data to a recording file.
8. The HVDC control protection device of claim 7, wherein the transient data recording module stores internal operating data and external operating data of the control protection device during idle time of a CPU of the control protection device.
9. The HVDC control protection device of claim 8, wherein the transient data recording module employs an edge trigger mode and a level trigger mode during data recording.
10. The hvdc transmission control protection device of claim 8, wherein said transient data recording module comprises a two-level data buffer structure, one level being a real-time data buffer area and the other level being a transient data buffer area; the transverse width of the real-time data cache region is the sum of the analog quantity channel number and the state quantity channel number, the longitudinal width is the sum of the preposed wave recording point number and the postpositional wave recording point number, and the length of the cache region is the product of the transverse width and the longitudinal width; the length of the transient data cache region is N times of the length of the real-time data cache region, and the transient data cache region is used for storing data recorded before and after the fault moment.
11. The hvdc transmission control protection device of claim 10, wherein the real-time data buffer and the transient data buffer are configured to perform data transfer by dma.
12. The HVDC control protection device of claim 11, wherein the transient data recording module comprises two recording file acquisition modes, one is an active call mode, and the other is an automatic sending mode; the active calling type means that an FTP server is established in the control protection device, an engineer workstation logs in the control protection device in an FTP client side mode to acquire the list information of the wave recording files, and selects the waveform files to be downloaded; the automatic uploading mode refers to that an FTP client is created in the control protection device, a server is created in an engineer workstation, and after the transient data recording is triggered, the control protection device logs in the server of the engineer workstation and uploads a recording file to a directory specified by the server for storage.
13. The HVDC transmission control protection device of claim 7, wherein the transient data recording module is capable of configuring the number of recording points before triggering, the number of recording points after triggering, and the maximum number of recording points of a single file according to the needs of a user, and generating a waveform file in a comtrade format according to an international standard.
CN201810308068.4A 2018-04-08 2018-04-08 High-voltage direct-current transmission transient data recording device and control protection device Active CN108847714B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201810308068.4A CN108847714B (en) 2018-04-08 2018-04-08 High-voltage direct-current transmission transient data recording device and control protection device

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201810308068.4A CN108847714B (en) 2018-04-08 2018-04-08 High-voltage direct-current transmission transient data recording device and control protection device

Publications (2)

Publication Number Publication Date
CN108847714A CN108847714A (en) 2018-11-20
CN108847714B true CN108847714B (en) 2021-03-05

Family

ID=64212094

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201810308068.4A Active CN108847714B (en) 2018-04-08 2018-04-08 High-voltage direct-current transmission transient data recording device and control protection device

Country Status (1)

Country Link
CN (1) CN108847714B (en)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN112346386B (en) * 2020-11-11 2021-09-21 中国南方电网有限责任公司超高压输电公司广州局 Method for realizing master control unit of direct current transmission converter valve monitoring system based on FSM and multitask
CN113609671A (en) * 2021-08-02 2021-11-05 上海置信智能电气有限公司 Fault recording file generation method and device based on simulation software
CN114123498A (en) * 2021-11-16 2022-03-01 许继集团有限公司 Wave recording control system for valve control equipment of direct-current transmission system

Family Cites Families (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN101447698B (en) * 2008-12-08 2011-05-18 中国电力科学研究院 Centralized type wave recording system of digital transformer substation
CN102169158B (en) * 2011-03-15 2012-12-26 深圳市双合电气股份有限公司 Steady state oscillograph for power system
CN102520227B (en) * 2011-12-14 2013-10-09 国电南瑞科技股份有限公司 Fault recording data compression method based on disturbance indicator
CN104122464B (en) * 2014-07-16 2016-11-23 南京深科博业电气股份有限公司 Record and the method for analytical data in a kind of electric protection device

Also Published As

Publication number Publication date
CN108847714A (en) 2018-11-20

Similar Documents

Publication Publication Date Title
CN108847714B (en) High-voltage direct-current transmission transient data recording device and control protection device
Bucci et al. Oris: a tool for modeling, verification and evaluation of real-time systems
CN202533519U (en) Fully automatic closed loop test system of protective relaying device
CN101458652B (en) Embedded on-line emulation debugging system for microcontroller
WO2019137206A1 (en) Oil and gas pipeline scada system
CN105847088A (en) Virtual machine performance test system based on cloud service
CN105491038A (en) Intelligent device protocol analysis method
CN103544095A (en) Server program monitoring method and system of server program
CN104391247A (en) Relay protection test method and system based on IEC61850 digital tester
CN102479152A (en) Method and device for obtaining tool automatic test results on basis of Android platform
CN113028603A (en) Equipment monitoring system applied to central air-conditioning system
CN110672945A (en) Line protection automatic test system based on real-time digital simulation system
CN103353857A (en) Communication test method of integrated monitoring unit in substation
CN103439113A (en) Fault diagnosis method based on link list structure
CN115425760A (en) Digital power grid system based on digital twinning
CN109633345B (en) Secondary equipment on-line monitoring and analyzing device
CN103927244A (en) Plug-in scheduling process monitoring method implemented based on dynamic proxy
CN107069742B (en) Electric system continuous tide computing system based on Python and PSD-BPA
CN115185489B (en) Time sequence data algorithm configuration system and method
CN204615824U (en) A kind of remote high-speed power line signal gathers reduction apparatus
CN112100032B (en) Log output recording method and system for embedded equipment
Nan et al. Research on the remote automatic test technology of the full link of the substation relay protection fault information system
CN110992671B (en) Ammeter address forwarding method, device and system and electronic equipment
CN112670942A (en) Distribution network system relay protection setting calculation and data management system
CN101739338A (en) Device and method for tracking processor address data

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant