A method and system for recording faults of energy storage converter

By using 25KHz frequency fault recording software and ring buffer technology in the energy storage converter, real-time fault monitoring and data storage are realized, solving the problem of low traditional fault recording frequency, improving the accuracy of fault location and Flexibility ensures data integrity and security.

CN115453226BActive Publication Date: 2024-11-01FUJIAN NEBULA ELECTRONICS CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202210937971.3
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-08-05
Publication Date
2024-11-01
Estimated Expiration
2042-08-05

AI Technical Summary

Technical Problem

The fault recording frequency of traditional energy storage converters is low, making it difficult to reproduce the real-time state before and after the fault, resulting in inaccurate fault positioning and the inability to dynamically adjust the recording channel during operation, limiting the flexibility of fault positioning.

Method used

Through the fault recording software, the data is monitored and stored in real time at a frequency of 25KHz, the data is counted and packaged using the ring buffer, stored in FLASH, and CRC checksum uploads are performed to achieve dynamic adjustment of the recording channel and improve the accuracy of fault positioning. degree and flexibility.

Benefits of technology

It greatly shortens the storage interval of wave recording data, improves the accuracy and flexibility of fault location, ensures data integrity and security, and improves the efficiency of fault analysis and positioning.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115453226B_ABST
    Figure CN115453226B_ABST
Patent Text Reader

Abstract

The present invention provides a method and system for recording faults of energy storage converters in the field of energy storage converter operation and maintenance technology, the method comprising: step S10, configuring a channel for recording faults of the energy storage converter, the fault recording software performs real-time monitoring on the fault trigger flag of each channel; step S20, the fault recording software performs fault recording on each channel to obtain recording data and stores it in a ring buffer, based on the trigger signal of the fault trigger flag, counts the recording data stored in the ring buffer to obtain a counting result; step S30, based on the counting result, packs each recording data into a fault data packet, stores each fault data packet in FLASH, and updates the storage flag of FLASH; step S40, the fault recording software retrieves the fault data packet from FLASH based on the received data upload instruction, verifies the fault data packet and then performs the upload operation. The advantages of the present invention are: greatly improving the accuracy and flexibility of fault location of the energy storage converter.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of energy storage converter operation and maintenance, and in particular to a method and system for recording faults of an energy storage converter. Background Art

[0002] The energy storage converter (PCS) can control the charging and discharging process of the battery, perform AC / DC conversion, and directly supply power to the AC load without a power grid. Various faults are inevitable in the operation of the energy storage converter. In order to ensure the normal operation of the energy storage converter, it is necessary to quickly locate and solve the fault. Fault recording is to automatically record the system parameters before and after the fault occurs in the energy storage converter, and then use the changed system parameters to analyze and locate the fault.

[0003] However, the frequency of traditional fault recording is not high, which makes it difficult to reproduce the real-time status of the energy storage inverter before and after the fault occurs, and thus it is impossible to accurately locate the fault location. In addition, the recording channel cannot be dynamically adjusted during the recording process. Because the adjustment process cannot be recorded, adjustments can only be made when the machine is shut down, which greatly limits its use.

[0004] Therefore, how to provide a method and system for recording faults of an energy storage converter to improve the accuracy and flexibility of fault locating of the energy storage converter has become a technical problem that needs to be solved urgently. Summary of the invention

[0005] The technical problem to be solved by the present invention is to provide a method and system for recording faults of an energy storage converter, so as to improve the accuracy and flexibility of locating faults of the energy storage converter.

[0006] In a first aspect, the present invention provides a method for recording faults of an energy storage converter, comprising the following steps:

[0007] Step S10, configuring a channel for recording faults of the energy storage converter, and the fault recording software performs real-time monitoring of the fault trigger flag of each channel;

[0008] Step S20, the fault recording software performs fault recording on each of the channels to obtain recording data and stores the recording data in a ring buffer, and based on the trigger signal of the fault trigger flag, counts the recording data stored in the ring buffer to obtain a counting result;

[0009] Step S30: Packing each recorded wave data into a fault data packet based on the counting result, storing each fault data packet in FLASH, and updating the storage flag of FLASH;

[0010] Step S40: The fault recording software retrieves the fault data packet from the FLASH based on the received data upload instruction, verifies the fault data packet, and then performs an upload operation.

[0011] Furthermore, the step S10 is specifically as follows:

[0012] 16 channels for recording faults of the energy storage converter are configured. After the fault recording software is initialized, the fault trigger flag of the corresponding channel is monitored in real time based on the channel ID of the channel.

[0013] Furthermore, the step S20 is specifically as follows:

[0014] The fault recording software performs real-time fault recording on each channel at a frequency of 25KHz to obtain recording data, and stores the recording data in a circular buffer in a loop. When the fault trigger flag is triggered, the recording data stored in the circular buffer is counted to obtain a counting result.

[0015] Furthermore, the step S30 specifically includes:

[0016] Step S31, setting a counting threshold, when the counting result reaches the counting threshold, calculating the first check code of each recording data in the ring buffer based on CRC, and packaging the first check code, the recording data and the recording time corresponding to the recording data into a fault data packet;

[0017] Step S32, searching for an idle storage address based on the storage flag of FLASH, sequentially storing each of the faulty data packets in the storage address, and updating the storage flag of FLASH;

[0018] The storage flag bit is unused, occupied or written.

[0019] Furthermore, the step S40 is specifically as follows:

[0020] The fault recording software receives the data upload instruction sent by the host computer, retrieves the latest fault data packet from FLASH, performs CRC calculation on the recording data carried by the fault data packet to obtain a second check code, and determines whether the second check code is consistent with the first check code. If so, the fault data packet is uploaded to the host computer and the next fault data packet is checked until the upload of all the fault data packets is completed; if not, the next fault data packet is checked.

[0021] In a second aspect, the present invention provides a fault recording system for an energy storage converter, comprising the following modules:

[0022] An initialization module is used to configure a channel for recording faults of the energy storage converter, and the fault recording software performs real-time monitoring of the fault trigger flag of each of the channels;

[0023] A recording module, used for the fault recording software to perform fault recording on each of the channels to obtain recording data and store it in a ring buffer, and based on the trigger signal of the fault trigger flag, count the recording data stored in the ring buffer to obtain a counting result;

[0024] A fault data packet generation storage module is used to pack each recorded wave data into a fault data packet based on the counting result, store each fault data packet in FLASH, and update the storage flag of FLASH;

[0025] The fault data packet verification and uploading module is used for the fault recording software to retrieve the fault data packet from the FLASH based on the received data upload instruction, and to perform the uploading operation after verifying the fault data packet.

[0026] Furthermore, the initialization module is specifically:

[0027] 16 channels for recording faults of the energy storage converter are configured. After the fault recording software is initialized, the fault trigger flag of the corresponding channel is monitored in real time based on the channel ID of the channel.

[0028] Furthermore, the wave recording module is specifically:

[0029] The fault recording software performs real-time fault recording on each channel at a frequency of 25KHz to obtain recording data, and stores the recording data in a circular buffer in a loop. When the fault trigger flag is triggered, the recording data stored in the circular buffer is counted to obtain a counting result.

[0030] Furthermore, the fault data packet generation and storage module specifically includes:

[0031] A fault data packet packaging unit is used to set a counting threshold, and when the counting result reaches the counting threshold, a first check code of each recording data in the ring buffer is calculated based on CRC, and the first check code, the recording data and the recording time corresponding to the recording data are packaged into a fault data packet;

[0032] A fault data packet storage unit, used for searching for an idle storage address based on a storage flag of the FLASH, sequentially storing each of the fault data packets in the storage address, and updating the storage flag of the FLASH;

[0033] The storage flag bit is unused, occupied or written.

[0034] Furthermore, the fault data packet verification upload module is specifically:

[0035] The fault recording software receives the data upload instruction sent by the host computer, retrieves the latest fault data packet from FLASH, performs CRC calculation on the recording data carried by the fault data packet to obtain a second check code, and determines whether the second check code is consistent with the first check code. If so, the fault data packet is uploaded to the host computer and the next fault data packet is checked until the upload of all the fault data packets is completed; if not, the next fault data packet is checked.

[0036] The advantages of the present invention are:

[0037] 1. Real-time fault recording of each channel at a frequency of 25KHz is performed through the fault recording software, which greatly shortens the storage interval of each recording data, that is, greatly improves the data resolution, facilitates the reproduction of the real-time status of the energy storage converter before and after the fault, and thus greatly improves the accuracy of fault location of the energy storage converter.

[0038] 2. By storing the recorded data obtained by fault recording in a ring buffer instead of directly storing the recorded data in FLASH, when the channel of the fault recording is adjusted, the adjustment process can be recorded without shutting down the energy storage converter, thereby greatly improving the flexibility of fault locating of the energy storage converter.

[0039] 3. The first check code is obtained by performing CRC calculation on the recorded data, and then the first check code, the recorded data and the recorded time are packaged into a fault data packet. When the fault data packet is subsequently sent or called, the first check code can be used to quickly check whether the fault data packet is damaged or tampered with, thereby avoiding fault analysis and positioning based on erroneous data, further improving the accuracy and safety of energy storage inverter fault positioning.

[0040] 4. By packaging several recorded data that meet the counting threshold into a fault data packet, when the fault data packet is subsequently parsed, the fault analysis and positioning of several consecutive recorded data can be performed simultaneously, thereby greatly improving the efficiency of energy storage converter fault positioning. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The present invention will be further described below in conjunction with embodiments with reference to the accompanying drawings.

[0042] Figure 1 The present invention is a flow chart of a method for recording faults of an energy storage converter.

[0043] Figure 2 The present invention is a structural schematic diagram of a fault recording system for an energy storage converter. DETAILED DESCRIPTION

[0044] The technical solution in the embodiment of the present application has the following overall idea: real-time fault recording is performed at a frequency of 25KHz by fault recording software to improve the accuracy of fault locating of the energy storage converter; the recorded data obtained by the fault recording is stored in a ring buffer, and when the channel of the fault recording is adjusted, the adjustment process can be recorded without shutting down the energy storage converter, so as to improve the flexibility of fault locating of the energy storage converter.

[0045] Please refer to Figure 1 to Figure 2 As shown, a preferred embodiment of a method for recording faults of an energy storage converter according to the present invention comprises the following steps:

[0046] Step S10, configuring a channel for recording faults of the energy storage converter, and the fault recording software performs real-time monitoring of the fault trigger flag of each channel;

[0047] Step S20, the fault recording software performs fault recording on each of the channels to obtain recording data and stores the recording data in a ring buffer, and based on the trigger signal of the fault trigger flag, counts the recording data stored in the ring buffer to obtain a counting result;

[0048] Step S30, based on the counting result, each recorded wave data is packaged into a fault data packet, each fault data packet is stored in FLASH, and the storage flag of FLASH is updated; that is, when the fault trigger flag is not triggered, the recorded wave data is cyclically stored in a ring buffer (continuously overwriting old data), and when the fault trigger flag is triggered, each recorded wave data that meets the counting threshold is packaged into a fault data packet and stored in FLASH;

[0049] Step S40: The fault recording software retrieves the fault data packet from the FLASH based on the received data upload instruction, verifies the fault data packet, and then performs an upload operation.

[0050] The step S10 is specifically as follows:

[0051] 16 channels for recording faults of the energy storage converter are configured. After the fault recording software is initialized, the fault trigger flag of the corresponding channel is monitored in real time based on the channel ID of the channel.

[0052] The step S20 is specifically as follows:

[0053] The fault recording software performs real-time fault recording on each channel at a frequency of 25KHz to obtain recording data, and stores the recording data in a circular buffer in a loop. When the fault trigger flag is triggered, the recording data stored in the circular buffer is counted to obtain a counting result. The fault recording software performs real-time fault recording on each channel at a frequency of 25KHz, which greatly shortens the storage interval of each recording data, that is, greatly improves the data resolution, facilitates the reproduction of the real-time status of the energy storage converter before and after the fault, and thus greatly improves the accuracy of fault location of the energy storage converter.

[0054] The step S30 specifically includes:

[0055] Step S31, setting a counting threshold, when the counting result reaches the counting threshold, calculating the first check code of each recording data in the ring buffer based on CRC, and packaging the first check code, the recording data, and the recording time corresponding to the recording data into a fault data packet; by packaging a number of recording data that meet the counting threshold into a fault data packet, when the fault data packet is subsequently parsed, several time-continuous recording data can be directly analyzed and located at the same time, thereby greatly improving the efficiency of energy storage converter fault location;

[0056] Step S32, searching for an idle storage address based on the storage flag of FLASH, sequentially storing each of the faulty data packets in the storage address, and updating the storage flag of FLASH;

[0057] The storage flag bit is unused, occupied or written.

[0058] The step S32 is specifically as follows: based on the storage flag of the FLASH, searching for a storage address whose storage flag is unused, setting the storage flag of the corresponding storage address to occupied, sequentially storing each of the fault data packets in the storage address, and updating the storage flag of the FLASH to write completed. By setting the storage flag of the corresponding storage address to occupied before storing the fault data packet, it is possible to prevent the energy storage converter from experiencing a control system power failure after a fault, which would cause an abnormality in the FLASH writing process.

[0059] The step S40 is specifically as follows:

[0060] The fault recording software receives the data upload instruction sent by the host computer, retrieves the latest fault data packet from the FLASH based on the recording time carried by the fault data packet, performs CRC calculation on the recording data carried by the fault data packet to obtain a second check code, and determines whether the second check code is consistent with the first check code. If so, the fault data packet is uploaded to the host computer, and the next fault data packet is checked until all the fault data packets are uploaded; if not, the next fault data packet is checked. After receiving the fault data packet, the host computer can also perform a secondary check on the fault data packet based on the first check code to avoid data damage caused by accidents during data transmission.

[0061] A preferred embodiment of a fault recording system for an energy storage converter of the present invention comprises the following modules:

[0062] An initialization module is used to configure a channel for recording faults of the energy storage converter, and the fault recording software performs real-time monitoring of the fault trigger flag of each of the channels;

[0063] A recording module, used for the fault recording software to perform fault recording on each of the channels to obtain recording data and store it in a ring buffer, and based on the trigger signal of the fault trigger flag, count the recording data stored in the ring buffer to obtain a counting result;

[0064] A fault data packet generation storage module is used to package each recording data into a fault data packet based on the counting result, store each fault data packet in FLASH, and update the storage flag of FLASH; that is, when the fault trigger flag is not triggered, the recording data is cyclically stored in a ring buffer (continuously overwriting old data), and when the fault trigger flag is triggered, each recording data that meets the counting threshold is packaged into a fault data packet and stored in FLASH;

[0065] The fault data packet verification and uploading module is used for the fault recording software to retrieve the fault data packet from the FLASH based on the received data upload instruction, and to perform the uploading operation after verifying the fault data packet.

[0066] The initialization module is specifically:

[0067] 16 channels for recording faults of the energy storage converter are configured. After the fault recording software is initialized, the fault trigger flag of the corresponding channel is monitored in real time based on the channel ID of the channel.

[0068] The wave recording module is specifically:

[0069] The fault recording software performs real-time fault recording on each channel at a frequency of 25KHz to obtain recording data, and stores the recording data in a circular buffer in a loop. When the fault trigger flag is triggered, the recording data stored in the circular buffer is counted to obtain a counting result. The fault recording software performs real-time fault recording on each channel at a frequency of 25KHz, which greatly shortens the storage interval of each recording data, that is, greatly improves the data resolution, facilitates the reproduction of the real-time status of the energy storage converter before and after the fault, and thus greatly improves the accuracy of fault location of the energy storage converter.

[0070] The fault data packet generation and storage module specifically includes:

[0071] A fault data packet packaging unit is used to set a counting threshold. When the counting result reaches the counting threshold, the first check code of each recording data in the ring buffer is calculated based on CRC, and the first check code, the recording data, and the recording time corresponding to the recording data are packaged into a fault data packet; by packaging a number of recording data that meet the counting threshold into a fault data packet, when the fault data packet is subsequently parsed, several time-continuous recording data can be directly analyzed and located at the same time, thereby greatly improving the efficiency of energy storage converter fault location;

[0072] A fault data packet storage unit, used for searching for an idle storage address based on a storage flag of the FLASH, sequentially storing each of the fault data packets in the storage address, and updating the storage flag of the FLASH;

[0073] The storage flag bit is unused, occupied or written.

[0074] The fault data packet storage unit is specifically: based on the storage flag of FLASH, searching for a storage address whose storage flag is unused, setting the storage flag of the corresponding storage address to occupied, sequentially storing each of the fault data packets in the storage address, and updating the storage flag of FLASH to write completed. By setting the storage flag of the corresponding storage address to occupied before storing the fault data packet, it is possible to prevent the energy storage converter from experiencing a control system power failure after a fault, which causes an abnormality in the FLASH writing process.

[0075] The fault data packet verification upload module is specifically:

[0076] The fault recording software receives the data upload instruction sent by the host computer, retrieves the latest fault data packet from the FLASH based on the recording time carried by the fault data packet, performs CRC calculation on the recording data carried by the fault data packet to obtain a second check code, and determines whether the second check code is consistent with the first check code. If so, the fault data packet is uploaded to the host computer, and the next fault data packet is checked until all the fault data packets are uploaded; if not, the next fault data packet is checked. After receiving the fault data packet, the host computer can also perform a secondary check on the fault data packet based on the first check code to avoid data damage caused by accidents during data transmission.

[0077] In summary, the advantages of the present invention are:

[0078] 1. Real-time fault recording of each channel at a frequency of 25KHz is performed through the fault recording software, which greatly shortens the storage interval of each recording data, that is, greatly improves the data resolution, facilitates the reproduction of the real-time status of the energy storage converter before and after the fault, and thus greatly improves the accuracy of fault location of the energy storage converter.

[0079] 2. By storing the recorded data obtained by fault recording in a ring buffer instead of directly storing the recorded data in FLASH, when the channel of the fault recording is adjusted, the adjustment process can be recorded without shutting down the energy storage converter, thereby greatly improving the flexibility of fault locating of the energy storage converter.

[0080] 3. The first check code is obtained by performing CRC calculation on the recorded data, and then the first check code, the recorded data and the recorded time are packaged into a fault data packet. When the fault data packet is subsequently sent or called, the first check code can be used to quickly check whether the fault data packet is damaged or tampered with, thereby avoiding fault analysis and positioning based on erroneous data, further improving the accuracy and safety of energy storage inverter fault positioning.

[0081] 4. By packaging several recorded data that meet the counting threshold into a fault data packet, when the fault data packet is subsequently parsed, the fault analysis and positioning of several consecutive recorded data can be performed simultaneously, thereby greatly improving the efficiency of energy storage converter fault positioning.

[0082] Although the specific implementation modes of the present invention are described above, those skilled in the art should understand that the specific implementation modes described are only illustrative and are not intended to limit the scope of the present invention. Equivalent modifications and changes made by those skilled in the art in accordance with the spirit of the present invention should be included in the scope of protection of the claims of the present invention.

Claims

1. A method for recording faults of an energy storage converter, characterized in that: The steps include: Step S10, configuring a channel for recording faults of the energy storage converter, and the fault recording software performs real-time monitoring of the fault trigger flag of each channel; Step S20, the fault recording software performs real-time fault recording on each channel at a frequency of 25KHz to obtain recording data, and stores the recording data in a circular buffer in a loop. When the fault trigger flag is triggered, the recording data stored in the circular buffer is counted to obtain a counting result; Step S30: Packing each recorded wave data into a fault data packet based on the counting result, storing each fault data packet in FLASH, and updating the storage flag of FLASH; Step S40, the fault recording software retrieves the fault data packet from the FLASH based on the received data upload instruction, verifies the fault data packet and then performs an upload operation; The step S30 specifically includes: Step S31, setting a counting threshold, when the counting result reaches the counting threshold, calculating the first check code of each recording data in the ring buffer based on CRC, and packaging the first check code, the recording data and the recording time corresponding to the recording data into a fault data packet; Step S32, searching for an idle storage address based on the storage flag of FLASH, sequentially storing each of the faulty data packets in the storage address, and updating the storage flag of FLASH; The storage flag bit is unused, occupied or written.

2. A method for recording faults of an energy storage converter as claimed in claim 1, characterized in that: The step S10 is specifically as follows: 16 channels for recording faults of the energy storage converter are configured. After the fault recording software is initialized, the fault trigger flag of the corresponding channel is monitored in real time based on the channel ID of the channel.

3. A method for recording faults of an energy storage converter as claimed in claim 1, characterized in that: The step S40 is specifically as follows: The fault recording software receives the data upload instruction sent by the host computer, retrieves the latest fault data packet from FLASH, performs CRC calculation on the recording data carried by the fault data packet to obtain a second check code, and determines whether the second check code is consistent with the first check code. If so, the fault data packet is uploaded to the host computer and the next fault data packet is checked until the upload of all the fault data packets is completed; if not, the next fault data packet is checked.

4. A fault recording system for an energy storage converter, characterized in that: Includes the following modules: An initialization module is used to configure a channel for recording faults of the energy storage converter, and the fault recording software performs real-time monitoring of the fault trigger flag of each of the channels; A recording module, used for the fault recording software to perform real-time fault recording on each channel at a frequency of 25KHz to obtain recording data, and cyclically store the recording data in a ring buffer. When the fault trigger flag is triggered, the recording data stored in the ring buffer is counted to obtain a counting result; A fault data packet generation storage module is used to pack each recorded wave data into a fault data packet based on the counting result, store each fault data packet in FLASH, and update the storage flag of FLASH; A fault data packet verification and uploading module is used for the fault recording software to retrieve the fault data packet from the FLASH based on the received data upload instruction, and to perform the uploading operation after verifying the fault data packet; The fault data packet generation and storage module specifically includes: A fault data packet packaging unit is used to set a counting threshold, and when the counting result reaches the counting threshold, a first check code of each recording data in the ring buffer is calculated based on CRC, and the first check code, the recording data and the recording time corresponding to the recording data are packaged into a fault data packet; A fault data packet storage unit, used for searching for an idle storage address based on a storage flag of the FLASH, sequentially storing each of the fault data packets in the storage address, and updating the storage flag of the FLASH; The storage flag bit is unused, occupied or written.

5. The energy storage converter fault recording system according to claim 4, characterized in that: The initialization module is specifically: 16 channels for recording faults of the energy storage converter are configured. After the fault recording software is initialized, the fault trigger flag of the corresponding channel is monitored in real time based on the channel ID of the channel.

6. The energy storage converter fault recording system according to claim 4, characterized in that: The fault data packet verification upload module is specifically: The fault recording software receives the data upload instruction sent by the host computer, retrieves the latest fault data packet from FLASH, performs CRC calculation on the recording data carried by the fault data packet to obtain a second check code, and determines whether the second check code is consistent with the first check code. If so, the fault data packet is uploaded to the host computer and the next fault data packet is checked until the upload of all the fault data packets is completed; if not, the next fault data packet is checked.