Data storage method, energy storage system, device, controller, medium and product
By storing the operating data of the energy storage device in the target controller of the energy storage system, the problem of low data accuracy in the background monitoring system is solved, and higher data accuracy and lower storage costs are achieved.
Patent Information
- Application Number
- CN202510543662.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-28
- Publication Date
- 2025-05-30
- Estimated Expiration
- 2045-04-28
AI Technical Summary
In the prior art, the operating data of the energy storage device obtained by the backend monitoring system is low in accuracy.
By implementing the data storage method in the target controller in the energy storage system, the operation data of the energy storage device within the preset period is obtained, and the data record content is generated and stored according to the trigger type of the operation data storage requirements and the operation data within the preset period to improve the accuracy of the data.
It improves the accuracy of the operating data of the energy storage device obtained by the backend monitoring system, reduces unnecessary operating data storage, reduces storage resources and costs, and improves the analysis efficiency of operating data.
Smart Images

Figure CN120066923A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of new energy technologies, and particularly to a data storage method, an energy storage system, a device, a controller, a medium, and a product. Background Art
[0002] Due to its advantages such as being green, pollution-free, low-carbon, environmentally friendly, and renewable, the new energy energy storage system has become a current research hotspot and has broad application prospects. Monitoring the operation data of the energy storage device in the new energy energy storage system is beneficial to improving the operation reliability of the energy storage device in the new energy system.
[0003] Taking the UHV-connected energy storage system as an example of the new energy energy storage system, in the related technology, the UHV-connected energy storage system sends the collected operation data of the energy storage device to the background monitoring system so that the background monitoring system can monitor the operation data of the energy storage device.
[0004] However, in the related technology, there is a problem that the accuracy of the operation data of the energy storage device obtained by the background monitoring system is low. Summary of the Invention
[0005] Based on this, the present application provides a data storage method, an energy storage system, a device, a controller, a medium, and a product, which can improve the accuracy of the operation data of the energy storage device obtained by the background monitoring system.
[0006] In a first aspect, the present application provides a data storage method, which is applied to any target controller of an energy storage system. Each controller in the energy storage system is configured with a storage function. The method includes: in response to the operation data storage requirement of the energy storage device in the energy storage system, obtaining the operation data of the energy storage device within a preset time period; the preset time period includes the target moment when the operation data storage requirement is responded to; generating the data record content of the energy storage device within the preset time period according to the trigger type of the operation data storage requirement and the operation data within the preset time period; storing the data record content of the preset time period for the background monitoring system to obtain.
[0007] In the technical solution provided by the embodiment of the present application, the idea of improving the transmission line between the controller and the background monitoring system is abandoned. Instead, the data record content of the preset time period is stored locally in the controller. Since the data record content of the preset time period is generated according to the trigger type of the operation data storage requirement and the operation data within the preset time period, the data record content of the preset time period can not only accurately record the operation data generated by the energy storage device at each time point in the preset time period, but also record the trigger type of the operation data storage requirement, so that the background monitoring system can accurately determine why the controller stores the operation data and the accurate operation data stored according to the data record content of the preset time period, improving the accuracy rate of the operation data of the energy storage device monitored by the background monitoring system; moreover, when there is an operation data storage requirement, the controller stores the operation data within the preset time period, rather than storing all the acquired operation data, which can not only greatly reduce the storage amount of unnecessary operation data, reduce the storage resources of the storage module in the controller, thereby reducing the cost of the storage module in the controller, but also analyze the operation data within the preset time period during the operation data analysis. For example, when it is necessary to trace the operation status of a specific event or a certain period of the energy storage system, without analyzing all the operation data acquired by the controller, improving the analysis efficiency of the operation data.
[0008] In some embodiments, before responding to the operation data storage requirement of the energy storage device in the energy storage system, the method further includes at least one of the following: detecting the operation data of the energy storage device, and triggering the operation data storage requirement when the detected operation data of the energy storage device is faulty operation data; triggering the operation data storage requirement when receiving the operation data storage instruction of the energy storage device sent by the background monitoring system; triggering the operation data storage requirement when the target controller fails; triggering the operation data storage requirement when the target controller receives the fault indication information sent by the processing device connected to the target controller; wherein the fault indication information indicates that the processing device fails, and the processing device includes at least one of the following: the upper-level controller of the target controller, the lower-level controller of the target controller, the power controller, and the detection device.
[0009] In the technical solution provided by the embodiments of the present application, the scheme of automatically triggering storage when the operation data of the energy storage device is detected as fault operation data can retain the operation data during critical periods when a fault occurs, providing detailed basis for technicians to accurately locate the cause of the fault, shortening the fault troubleshooting and repair time, and improving the fault troubleshooting efficiency; the scheme of triggering the operation data storage requirement by receiving the operation data storage instruction sent by the background monitoring system can improve the flexibility of operation data storage; the scheme of triggering the operation data storage requirement in the case of a target controller failure or a processing device failure is conducive to analyzing the impact of the target controller failure or the processing device failure on the operation data, reproducing the operation scenario of the energy storage device corresponding to the fault, and improving the effectiveness of operation data analysis.
[0010] In some embodiments, when it is detected that the operation data of the energy storage device is fault operation data, triggering the operation data storage requirement includes: obtaining the storage trigger range of the operation data of the energy storage device and the fault data range of the operation data of the energy storage device; wherein, the storage trigger range is larger than the fault data range and covers the fault data range; when it is detected that the operation data of the energy storage device is within the storage trigger range, storing the operation data of the energy storage device and obtaining the start storage moment of the operation data of the energy storage device; according to the start storage moment and the fault data range, determining the fault start moment when the operation data of the energy storage device is fault operation data; triggering the operation data storage requirement at the fault start moment.
[0011] In the technical solution provided by the embodiments of the present application, by setting a preset time window, it is possible to determine the first moment within the fault data range as the fault start moment when the operation data of the energy storage device is fault operation data only when it is detected that the operation data of the energy storage device is within the fault data range within the preset time window, avoiding the situation where the change amplitude of the operation data is slow, it takes a long time from the start storage moment until the operation data is within the fault data range, and the time length between the start storage moment and the fault trigger moment is very long, resulting in a large amount of non-fault operation data being stored, reducing the effectiveness of operation data storage. Therefore, the embodiments of the present application can reduce the storage of a large amount of non-fault operation data and improve the effectiveness of the stored operation data.
[0012] In some embodiments, obtaining the storage trigger range of the operation data of the energy storage device includes: obtaining the fault type of the fault data range and determining a preset offset value matching the fault type; determining the storage trigger range according to the fault data range and the preset offset value.
[0013] In the technical solution provided by the embodiments of the present application, according to each type of fault, the storage trigger range can be accurately determined. Thus, before the energy storage device fails, these potential abnormal data can be captured in advance, which is beneficial to improving the effectiveness of the operation data analysis of the stored energy storage device.
[0014] In some embodiments, determining the fault start time when the operation data of the energy storage device is fault operation data according to the start storage time and the fault data range includes: obtaining a preset time window with a storage duration limit value starting from the start storage time of the operation data of the energy storage device; starting from the start time of the preset time window, when it is detected that the operation data of the energy storage device is within the fault data range, and when it is detected that the operation data of the energy storage device is within the fault data range at a set time, the set time is determined as the fault start time.
[0015] In the technical solution provided by the embodiments of the present application, when it is detected that the operation data of the energy storage device is within the storage trigger range, the operation data of the energy storage device is stored. Thus, before the moment when the operation data is detected as fault operation data, the operation data starts to be stored, and then the abnormal operation data before the fault trigger moment can be stored. Therefore, when analyzing the operation data, it is no longer limited to the operation data at the fault trigger moment, but comprehensively analyzed in combination with the operation data stored before the fault trigger moment, thereby improving the comprehensiveness of the operation data analysis.
[0016] In some embodiments, obtaining the operation data of the energy storage device within a preset time period includes: obtaining the first part of the operation data between the start storage time of the operation data of the energy storage device and the target time; obtaining the second part of the operation data within a time period with a target duration starting from the target time; and combining the first part of the operation data and the second part of the operation data to obtain the operation data within the preset time period.
[0017] In the technical solution provided by the embodiments of the present application, the first part of the operation data covers all the operation data from the start storage time to the target time, and can record the operation data of the energy storage device at the fault trigger moment and the operation data for a period of time before the fault trigger moment. The second part of the operation data supplements the operation data for a period of time after the fault trigger moment. The operation data within the preset time period obtained by combining the first part of the operation data and the second part of the operation data can directly reflect the change law of the operation state before and after the fault trigger moment, which not only balances the integrity and practicality of the operation data storage, but also balances the effectiveness and analysis efficiency of the operation data analysis.
[0018] In some embodiments, the operating data of the energy storage device within a preset time period is obtained, including: when the operating data storage requirement is triggered by receiving an operating data storage instruction sent by the background monitoring system, the operating data of the energy storage device is stored starting from the target moment; in response to the stop storage requirement of the operating data of the energy storage device in the energy storage system, the operating data of the energy storage device stored between the target moment and the moment when the data stop storage requirement is responded to is determined as the operating data within the preset time period.
[0019] In the technical solution provided by the embodiments of the present application, when the target controller receives the operating data storage instruction sent by the background monitoring system, it triggers the operating data storage requirement and starts storing the operating data from the target moment until the moment when the operating data storage requirement is responded to, which can not only adapt to different business scenarios and data analysis requirements, enabling flexible storage of operating data, but also accurately record the operating data of the energy storage device within a specific time period, avoiding unnecessary redundant data storage, and improving the pertinence and effectiveness of the stored operating data.
[0020] In some embodiments, before responding to the stop storage requirement of the operating data of the energy storage device in the energy storage system, the method further includes: obtaining a specified time window starting from the target moment and with a set time interval; triggering the stop storage requirement of the operating data when receiving the data stop storage instruction sent by the background monitoring system within the specified time window; triggering the stop storage requirement of the operating data at the end moment of the specified time window when not receiving the data stop storage instruction sent by the background monitoring system within the specified time window.
[0021] In the technical solution provided by the embodiments of the present application, by setting a specified time window, a clear and settable definition method for the storage duration of the operating data is provided. Even if the background monitoring system does not send the data stop storage instruction in time, the target controller can automatically trigger the stop storage requirement of the operating data at the end moment of the specified time window, ensuring the controllability of the data storage duration, avoiding the phenomenon of unlimited data storage caused by untimely sending of the data stop storage instruction, so that the amount of the stored operating data can be within a reasonable range, avoiding the situation that a large amount of invalid operating data occupies storage resources, and improving the effectiveness of data storage; and, by triggering the stop storage requirement of the operating data when receiving the data stop storage instruction sent by the background monitoring system, the end time of data storage can be flexibly controlled according to the actual situation, improving the flexibility of operating data storage.
[0022] In some embodiments, the operating data of the energy storage device within a preset time period is obtained, including: in the case of a failure of the target control device, obtaining the type of the target control device; the target control device includes a target controller or at least one of the following connected to the target controller: the upper-level controller of the target controller, the lower-level controller of the target controller, a power controller, and a detection device; according to the type of the target control device, determining a preset duration for data storage, and obtaining a preset time window starting from the target moment and having an interval of the preset duration; determining the operating data of the energy storage device collected within the preset time window as the operating data within the preset time period.
[0023] In the technical solution provided by the embodiments of the present application, since the preset duration for data storage is flexibly determined according to the type of the target control device that fails, the operating data within the preset time period stored can accurately match the actual failure situation. For example, a failure of the upper-level controller may affect the scheduling of the entire energy storage system, and a longer preset time window can be configured, while a failure of the detection device affects the accuracy of local operating data, and a shorter preset time window can be configured, thereby improving the accuracy of the operating data within the preset time period obtained matching the actual failure situation, and further improving the effectiveness of the operating data within the preset time period obtained.
[0024] In some embodiments, before responding to the storage requirement of the operating data of the energy storage device in the energy storage system, the method further includes: storing the detected operating data of the energy storage device in a first-in, first-out queue set inside the target controller; obtaining the operating data of the energy storage device within a preset time period, including: determining the operating data of the energy storage device already stored in the first-in, first-out queue as the third part of the operating data; obtaining the fourth part of the operating data within a time period starting from the target moment and having an interval of the target duration; merging the third part of the operating data and the fourth part of the operating data to obtain the operating data within the preset time period.
[0025] In the technical solution provided by the embodiment of the present application, by setting up a first-in-first-out queue and storing the operation data of the energy storage device after detection in the first-in-first-out queue, therefore, whenever the target controller responds to the operation data storage requirement, it can obtain the third part of the operation data before the target moment when responding to the operation data storage requirement, and use this third part of the operation data as part of the operation data within the preset period. This not only avoids the problem that the effectiveness of the stored operation data is reduced due to the inability to obtain the operation data before the target moment, but also can avoid the problem that in order to obtain the operation data before the target moment, every time the target controller obtains the operation data of an energy storage device, it stores the operation data, resulting in a large consumption of storage resources and a reduction in the effectiveness of the stored operation data due to the storage of a large amount of invalid operation data. Therefore, the embodiment of the present application can improve the effectiveness of data storage and reduce storage resources; in addition, the target controller only needs to detect whether the operation data is faulty and does not need to perform other detections (such as detecting whether it is within the storage trigger range), thereby reducing the consumption of the computing resources of the target controller and improving the operation efficiency of the target controller.
[0026] In some embodiments, according to the trigger type of the operation data storage requirement and the operation data within the preset period, generate the data record content of the energy storage device within the preset period, including: generating an operation data file for the preset period according to each time point within the preset period and the operation data of the energy storage device at each time point; generating a trigger summary parameter for the target moment according to the trigger type of the operation data storage requirement, the target moment, and the file identifier of the operation data file for the preset period; merging the trigger summary parameter for the target moment and the operation data file for the preset period to obtain the data record content for the preset period.
[0027] In the technical solution provided by the embodiment of the present application, since the trigger summary parameter for the target moment includes the file identifier of the operation data file for the preset period, the operation data file for the preset period can be quickly found through the file identifier in the trigger summary parameter for the target moment, without blindly searching among a large number of operation data files, saving the search time for the operation data file and improving the search efficiency for finding the operation data file.
[0028] In some embodiments, storing the data record content for the preset period includes: writing the trigger summary parameter for the target moment in the data record content for the preset period into a preset write entry in a data table pre-established in the target controller; determining a preset storage area associated with the preset write entry; and storing the operation data file for the preset period in the data record content for the preset period in the preset storage area.
[0029] In the technical solution provided by the embodiment of the present application, each write entry in the data table is associated with a storage area. Through this association relationship, not only is the chaos and redundancy of data storage reduced, the orderliness of data storage is improved, but also the operation data file of the corresponding preset time period can be found through the trigger summary parameter in each write entry, without having to additionally record and store the storage location of the operation data file of the preset time period after each storage of the operation data file of the preset time period, reducing the calculation amount of the target controller when storing the data record content of the preset time period and improving the efficiency of the data record content of the preset time period.
[0030] In some embodiments, the target controller is a primary controller among multiple-level controllers in an energy storage system; the method further includes: in response to a first read instruction sent by a background monitoring system, packing at least one preset time period of data record content stored internally to generate a first packed file; wherein, the first read instruction instructs to read the data record content stored in the primary controller; and sending the first packed file to the background monitoring system.
[0031] In the technical solution provided by the embodiment of the present application, by transmitting at least one preset time period of data record content as a whole, the risk of data loss or damage is reduced; and through the effective interaction between the primary controller and the background monitoring system, the background monitoring system can, according to actual needs, flexibly send a read instruction to the primary controller to obtain the required data record content, and the primary controller can respond in a timely manner and provide the corresponding data record content, enabling the background monitoring system to better monitor and manage the operation status of the energy storage device.
[0032] In some embodiments, the target controller is a primary controller among multiple-level controllers in an energy storage system; the method further includes: in response to a second read instruction sent by the background monitoring system, sending the second read instruction to a specified controller among multiple secondary controllers; the multiple secondary controllers are all subordinate controllers of the primary controller, and the second read instruction instructs to read the data record content stored in the specified controller; receiving a second packed file sent by the specified controller; the second packed file is obtained by the specified controller packing at least one preset time period of data record content stored internally; and sending the second packed file to the background monitoring system.
[0033] In the technical solution provided by the embodiment of the present application, the primary controller, as the upper-level controller, receives and forwards the reading instructions of the background monitoring system, while multiple secondary controllers, as the lower-level controllers, are responsible for storing and processing specific data. This hierarchical management architecture makes the storage and management of data more decentralized and refined, avoiding the problems of excessive storage pressure on the primary controller and low data processing efficiency caused by all data being stored in one layer of the controller. It also avoids the problem of network congestion caused by multiple secondary controllers communicating with the background monitoring system, resulting in a decrease in the reliability of data transmission. Therefore, in the embodiment of the present application, the scheme of forwarding instructions and packing files by the primary controller can not only reduce the storage pressure on the primary controller, but also improve the data processing efficiency of the primary controller and the reliability of data transmission.
[0034] In some embodiments, the target controller is a lower-level controller of the primary controller among the multi-level controllers in the energy storage system; the method further includes: in response to a third reading instruction sent by the primary controller, packing the data record content of at least one preset time period stored internally to obtain a third packed file; the third reading instruction instructs to read the data record content stored in the lower-level controller, and the third reading instruction is received by the primary controller from the background monitoring system; sending the third packed file to the primary controller; the third packed file is used for the primary controller to send to the background monitoring system.
[0035] In the technical solution provided by the embodiment of the present application, the lower-level controller communicates with the primary controller, receives the reading instruction sent by the primary controller, and sends the packed file to the primary controller. The lower-level controller focuses on the storage and processing of local data and responds to the instructions of the primary controller. The lower-level controller does not need to care about the final destination of the data and the higher-level processing logic, and only needs to operate according to the requirements of the primary controller, improving the maintainability and scalability of the energy storage system.
[0036] In a second aspect, the present application provides an energy storage system, which includes an energy storage container, a primary controller, a container detection device, multiple secondary controllers, and energy storage cabinet detection devices respectively corresponding to the secondary controllers; the energy storage container includes multiple energy storage cabinets;
[0037] The primary controller is connected to the energy storage container through the container detection device;
[0038] Each secondary controller is respectively connected to each energy storage cabinet through each energy storage cabinet detection device;
[0039] When each of the primary controller and the multiple secondary controllers executes a computer program, the steps of the method in any one of the above are implemented.
[0040] In a third aspect, the present application provides a data storage device, which includes:
[0041] An operating data acquisition module, configured to acquire the operating data of the energy storage device within a preset time period in response to the operating data storage requirement of the energy storage device in the energy storage system; the preset time period includes the target moment when the operating data storage requirement is responded to;
[0042] A data record content generation module, configured to generate the data record content of the energy storage device within the preset time period according to the trigger type of the operating data storage requirement and the operating data within the preset time period;
[0043] A data storage module, configured to store the data record content of the preset time period for the background monitoring system to acquire.
[0044] In a fourth aspect, the present application provides a controller in an energy storage system, including a memory and a processor, where the memory stores a computer program, and when the processor executes the computer program, the steps of the method in any one of the above are implemented.
[0045] In a fifth aspect, the present application provides a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the method in any one of the above are implemented.
[0046] In a sixth aspect, the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, the steps of the method in any one of the above are implemented. Description of the Drawings
[0047] In order to more clearly illustrate the technical solutions in the embodiments of the present application or related technologies, the following will briefly introduce the drawings required to be used in the description of the embodiments of the present application or related technologies. Obviously, the drawings in the following description are only some embodiments of the present application. For those of ordinary skill in the art, without creative efforts, other related drawings can also be obtained based on these drawings.
[0048] Figure 1 A schematic structural diagram of an energy storage system provided for some embodiments;
[0049] Figure 2 A schematic flowchart of a data storage method provided for some embodiments;
[0050] Figure 3 A schematic flowchart of a method for triggering an operating data storage requirement provided for some embodiments;
[0051] Figure 4 A schematic flowchart of a data storage method provided for another embodiment;
[0052] Figure 5 A schematic flowchart of a data storage method provided for yet another embodiment;
[0053] Figure 6 Flow schematic diagram of a method for generating data record content of an energy storage device in a preset period for some embodiments;
[0054] Figure 7 Flow schematic diagram of a method for storing data record content of a preset period for some embodiments;
[0055] Figure 8 Logical schematic diagram of operating data storage for some embodiments;
[0056] Figure 9 Logical schematic diagram of operating data storage for some other embodiments;
[0057] Figure 10 Structural schematic diagram of an energy storage system for some other embodiments;
[0058] Figure 11 Structural schematic diagram of a data storage device for some embodiments;
[0059] Figure 12 Structural schematic diagram of a controller in an energy storage system for some embodiments. Detailed implementation manners
[0060] The embodiments of the technical solution of the present application will be described in detail below with reference to the accompanying drawings. The following embodiments are only used to illustrate the technical solution of the present application more clearly, and thus are only examples and cannot be used to limit the protection scope of the present application.
[0061] Unless otherwise defined, all technical and scientific terms used herein have the same meaning as commonly understood by those of ordinary skill in the technical field to which this application belongs; the terms used herein are only for the purpose of describing specific embodiments and are not intended to limit this application; the terms "including" and "having" and any variations thereof in the specification and claims of this application and the above drawings are intended to cover non-exclusive inclusion.
[0062] In the description of the embodiments of this application, technical terms such as "first" and "second" are only used to distinguish different objects and cannot be understood as indicating or implying relative importance or implicitly indicating the quantity, specific order or primary-secondary relationship of the indicated technical features. In the description of the embodiments of this application, the meaning of "a plurality" is two or more unless otherwise specifically defined. In the description of the embodiments of this application, "each" means every or each of a plurality unless otherwise specifically defined.
[0063] Reference to "embodiment" in this document means that the specific features, structures, or characteristics described in connection with the embodiment may be included in at least one embodiment of the present application. The phrase appears in various places in the specification and does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment mutually exclusive with other embodiments. Those skilled in the art will explicitly and implicitly understand that the embodiments described herein may be combined with other embodiments.
[0064] In the description of the embodiments of the present application, the term "and / or" is merely a description of the association relationship of associated objects, indicating that there can be three relationships. For example, A and / or B can represent: A exists alone, A and B exist simultaneously, and B exists alone. In addition, the character " / " in this document generally represents an "or" relationship between the associated objects before and after.
[0065] An energy storage system is a system used to store energy and release the stored energy when needed to meet the energy demand. Taking the UHV interconnected energy storage system as an example, the UHV interconnected energy storage system is formed by connecting multiple energy storage devices in a cascaded and / or parallel manner to form a UHV energy storage system. For example, the UHV interconnected energy storage system may include a UHV cascaded energy storage system.
[0066] Figure 1 Provide a schematic structural diagram of an energy storage system for some embodiments, such as Figure 1 As shown, the energy storage system includes an energy storage container, a primary controller, a container detection device, multiple secondary controllers (for example, secondary controller 1, secondary controller 2 up to secondary controller N, etc., where N is an integer greater than or equal to 2), and energy storage cabinet detection devices corresponding to each secondary controller respectively; the energy storage container includes multiple energy storage cabinets. The primary controller is connected to the energy storage container through the container detection device. Each secondary controller is connected to each energy storage cabinet through each energy storage cabinet detection device. Among them, multiple secondary controllers are connected to multiple energy storage cabinet detection devices in a one-to-one correspondence, and multiple energy storage cabinet detection devices are connected to multiple energy storage cabinets in a one-to-one correspondence. In Figure 1 In the embodiment shown, the energy storage system further includes a power controller, and the power controller is used to control the power of the energy storage device. In Figure 1 In the embodiment shown, there are different communication connections between different two devices (for example Figure 1 Communication 1, Communication 2 up to Communication 7, etc. shown). In Figure 1 In the embodiment shown, one energy storage system is shown. In other embodiments, there may be multiple energy storage systems all connected to the background monitoring system.
[0067] The primary controller can be used to manage the operation of the energy storage container. The primary controller can be used to detect at least one piece of operation data such as the working voltage, working current, and working power of the energy storage container, and to control and manage the operation status of the energy storage container. Each secondary controller can respectively manage the operation of each energy storage cabinet. Each secondary controller can be used to detect at least one piece of operation data such as the working voltage, working current, and working power of each energy storage cabinet, and to control and manage the operation status of each energy storage cabinet. Among them, each secondary controller detects, controls, and manages the operation of one energy storage cabinet corresponding to itself.
[0068] The primary controller can communicate with each secondary controller. Each secondary controller can communicate with the background monitoring system through the primary controller. The primary controller can send control instructions to one or more of the secondary controllers, so that the secondary controller that receives the control instruction controls the operation of the corresponding energy storage cabinet according to the control instruction.
[0069] The container detection device can detect the operation data of the energy storage container and send the detected operation data of the energy storage container to the primary controller. Each energy storage cabinet detection device can detect the operation data of each energy storage cabinet and send the detected operation data of each energy storage cabinet to each secondary controller respectively.
[0070] The container detection device can include at least one detection module. Exemplarily, the container detection device can include an insulation detection module. Additionally, the container detection device can include a voltage detection module, a current detection module, a power detection module, a temperature detection module, etc.
[0071] An energy storage cabinet detection device can include at least one detection module. Exemplarily, the energy storage cabinet detection device can include: a high-voltage detection module, a cell voltage detection module, and a current detection module.
[0072] In some embodiments, every time the primary controller receives the operation data of the container, it sends the operation data of the container to the background monitoring system so that the background monitoring system can obtain the operation data of the container. Every time each secondary controller receives the operation data of each energy storage cabinet, it sends the operation data of each energy storage cabinet to the background monitoring system so that the background monitoring system can obtain the operation data of each energy storage cabinet.
[0073] For each controller in the energy storage system (such as each controller in the primary controller and each secondary controller), the data transmission distance between each controller and the background monitoring system is long and the data transmission network fluctuates. As a result, the background monitoring system often cannot obtain accurate operation data of the energy storage device (such as energy storage containers and energy storage cabinets). For example, at time T1, the controller obtains the operation data of the energy storage device. After a time delay △T, the operation data of the energy storage device is transmitted to the background monitoring system, and the background monitoring system will think that the operation data of the energy storage device is generated at the moment of T1+△T. In this way, the operation data of the energy storage device that the background monitoring system thinks is generated at the moment of T1+△T is actually generated at time T1, resulting in the background monitoring system being unable to accurately obtain the operation data of the energy storage device.
[0074] In addition, even if the background monitoring system can know that there is a time delay in the data transmission between the controller and the background monitoring system, however, the time delay △T often changes dynamically due to the data transmission distance between the controller and the background monitoring system and the fluctuations of the data transmission network, and cannot be accurately obtained. Therefore, there will still be a problem of low accuracy of the operation data of the energy storage device obtained by the background monitoring system.
[0075] In order to reduce the data transmission time delay between the controller and the background monitoring system, many solutions have been thought of in the art:
[0076] For example, a low-loss and high-bandwidth transmission line is used between the controller and the background monitoring system to reduce the data transmission time delay of the operation data of the energy storage device. However, the way of reducing the transmission time delay in this way is limited, and replacing the transmission line between the controller and the background monitoring system will increase the operation cost of the energy storage system.
[0077] Another example is to reduce the connection length of the communication line between the controller and the background monitoring system. However, due to the long distance between the controller and the background monitoring system, the way of reducing the transmission time delay is still limited.
[0078] The embodiment of the present application provides a new solution, that is, a data storage method is provided. Any controller in the energy storage system responds to the operation data storage requirement of the energy storage device in the energy storage system, and obtains the operation data of the energy storage device within a preset time period; the preset time period includes the target moment when the operation data storage requirement is responded to; according to the trigger type of the operation data storage requirement and the operation data within the preset time period, generate the data record content of the energy storage device within the preset time period; store the data record content of the preset time period for the background monitoring system to obtain.
[0079] In this way, the idea of improving the transmission line between the controller and the background monitoring system is abandoned. Instead, the data record content for a preset period is stored locally in the controller. Since the data record content for the preset period is generated based on the trigger type of the operating data storage requirement and the operating data within the preset period, the data record content for the preset period can not only accurately record the operating data generated by the energy storage device at each time point during the preset period, but also record the trigger type of the operating data storage requirement, enabling the background monitoring system to accurately determine why the controller stores the operating data and the accurate operating data stored, thus improving the accuracy rate of the operating data of the energy storage device monitored by the background monitoring system. Moreover, when there is an operating data storage requirement, the controller stores the operating data within the preset period instead of storing all the acquired operating data. This can not only significantly reduce the storage volume of unnecessary operating data, reduce the storage resources of the storage module in the controller, and thus reduce the cost of the storage module in the controller, but also, when analyzing the operating data, for example, when it is necessary to trace the operating conditions of a specific event or a certain period of the energy storage system, analyze the operating data within the preset period without analyzing all the operating data acquired by the controller, improving the analysis efficiency of the operating data.
[0080] Figure 2 A schematic flowchart of the data storage method provided for some embodiments is as Figure 2 shown. This method is applied to any target controller of the energy storage system, and the method includes:
[0081] S201. In response to the operating data storage requirement of the energy storage device in the energy storage system, obtain the operating data of the energy storage device within a preset period; the preset period includes the target moment when the operating data storage requirement is responded to.
[0082] In the embodiments of the present application, each controller in the energy storage system is configured with a storage function. For example, each controller includes a storage module for storing data record content. Exemplarily, the energy storage system may include at least two levels of controllers, and any target controller may be any one of the at least two levels of controllers.
[0083] The energy storage device in any embodiment of the present application may be an energy storage device corresponding to the target controller. The energy storage device is an energy storage container or an energy storage cabinet. Exemplarily, when the target controller is a first-level controller, the first-level controller responds to the operating data storage requirement of an energy storage container corresponding to the first-level controller. When the target controller is a second-level controller, the second-level controller responds to the operating data storage requirement of an energy storage cabinet corresponding to the second-level controller. The controller in the embodiments of the present application refers to the target controller unless otherwise specified.
[0084] The operation data of the energy storage container may include at least one of the following: insulation detection data of the energy storage container, voltage data at both ends of the energy storage container, current data passing through the energy storage container, power data of the energy storage container, temperature data on the surface of the energy storage container, etc. The operation data of the energy storage cabinet may include at least one of the following: voltage data at both ends of the energy storage cabinet, voltage data of each battery cell in the energy storage cabinet, temperature data of each battery cell in the energy storage cabinet, current data passing through the energy storage cabinet, etc.
[0085] In some embodiments, the preset time period may be a time period with a fixed duration. In some other embodiments, the preset time period may be a flexibly variable time period. In some embodiments, the starting moment of the preset time period may be the target moment, or the middle moment of the preset time period may be the target moment, or the ending moment of the preset time period may be the target moment.
[0086] Among them, the operation data within the preset time period includes the operation data at each time point within the preset time period. For example, if the preset time period is one minute, each time point is the operation data per second within one minute.
[0087] In some embodiments, before S201, it may further include triggering the requirement for storing operation data. Exemplarily, the requirement for storing operation data can be triggered by various scenarios. For example, the requirement for storing operation data can be triggered when the controller detects that the operation data of the energy storage device is faulty operation data. Another example is that the requirement for storing operation data can be triggered when the controller receives a running data storage instruction sent by the background monitoring system. Still another example is that the requirement for storing operation data can be triggered when the target controller fails or the processing device connected to the target controller fails. For example, when the controller detects that the operation data of the energy storage device is faulty operation data at time T2, a requirement for storing operation data is triggered, and at time T3 after time T2, the controller receives a running data storage instruction sent by the background monitoring system, triggering another requirement for storing operation data.
[0088] In some embodiments, before S201, it may further include obtaining the operation data of the energy storage device in real time. During the implementation process, the target controller is connected to the corresponding detection device, and the detection device is also connected to the energy storage device. The detection device detects the operation data of the energy storage device in real time and sends the detected operation data of the energy storage device to the target controller in real time, so that the target controller can obtain the operation data of the energy storage device in real time. Among them, for each piece of operation data of the energy storage device obtained, it is detected whether the operation data of the energy storage device is faulty operation data.
[0089] In some embodiments, different trigger priorities of different trigger types can be configured for a target controller through a background monitoring system. The trigger type is the type triggered by a data storage requirement. When there is a conflict in the data storage requirements of different trigger types for the target controller, one data storage requirement is executed according to the trigger priority. For example, at the same moment, not only the data storage requirement of the first trigger type is triggered, but also the data storage requirement of the second trigger type is triggered. According to the priorities of the first trigger type and the second trigger type, one data storage requirement is responded to. For another example, in response to the data storage requirement of the first trigger type, during the process of obtaining the operation data of the energy storage device within a preset period, the data storage requirement of the second trigger type is triggered. The controller does not know whether to continue to execute the data storage requirement according to the first trigger type and continue to obtain the operation data until the first operation of obtaining the operation data within the preset period, or to start the second operation of obtaining the operation data within the preset period according to the data storage requirement of the second trigger type, that is, there is still a conflict between the data storage requirement of the first trigger type and the data storage requirement of the second trigger type. The controller can determine to execute the first operation or the second operation according to the trigger priority.
[0090] S202. Generate the data record content of the energy storage device within the preset period according to the trigger type of the operation data storage requirement and the operation data within the preset period.
[0091] Exemplarily, the trigger type of the operation data storage requirement may include a fault trigger type or a forced control trigger type. Among them, when the trigger type of the operation data storage requirement is the fault trigger type, it means that the operation data storage requirement may be triggered when the controller detects that the operation data of the energy storage device is fault operation data. When the trigger type of the operation data storage requirement is the forced control trigger type, it indicates that the operation data storage requirement may be triggered when the controller receives the operation data storage instruction sent by the background monitoring system. In some embodiments, the fault trigger type may include the operation fault of the energy storage device and the fault of the target control device. The target control device includes the target controller or at least one of the following connected to the target controller: the upper controller of the target controller, the lower controller of the target controller, the power controller, and the detection device. For example, in the Figure 1 shown embodiment, when the insulation detection module fails, the first-level controller triggers the operation data storage requirement; when the high-voltage detection module connected to the second-level controller 1 fails, the second-level controller 1 triggers the operation data storage requirement.
[0092] In some embodiments, the controller may merge the trigger type of the operating data storage requirement and the operating data within a preset period to obtain the data record content of the energy storage device within the preset period. In some other embodiments, the controller may generate a trigger summary parameter at a target moment according to the trigger type of the operating data storage requirement, generate an operating data file for the preset period according to the operating data within the preset period, and merge the trigger summary parameter at the target moment and the operating data file for the preset period to obtain the data record content for the preset period. In some embodiments, the target controller may generate an operating data file for the preset period according to each time point within the preset period and the operating data at each time point.
[0093] S203. Store the data record content for the preset period for the background monitoring system to obtain.
[0094] Among them, the controller may store the data record content for the preset period in an internal storage module. In some embodiments, each time the controller obtains the data record content for a preset period, it stores the data record content for the preset period in the internal storage module. Exemplarily, the controller may sequentially store the data record content for each preset period according to the acquisition order of the data record content for the preset period.
[0095] In some embodiments, the controller may actively report the data record content. Exemplarily, each time the controller obtains the data record content for a preset period, it stores the data record content for the preset period. When the number of the stored data record contents for the preset period is greater than or equal to a preset number, or when the size of the stored data record content for the preset period reaches a preset size, the controller may actively report all the stored data record contents for the preset period to the background monitoring system. Among them, the preset size may be less than or equal to the maximum storage size of the storage module in the controller.
[0096] In some other embodiments, the controller may report the data record content according to an instruction from the background monitoring system. Exemplarily, the background monitoring system may send a read instruction to the controller, and the controller may report all or part of the stored data record contents for the preset period to the background monitoring system according to the read instruction.
[0097] The energy storage system includes multiple controllers. If multiple controllers report data record content simultaneously, it will cause network congestion. Therefore, the primary controller first sends the data record content and sequentially schedules each subordinate controller to send the data record content separately. For example, when the primary controller has finished sending the data record content, it can send a transmission request to the first secondary controller at the lower level, so that the first secondary controller reports the data record content through the primary controller. When the first secondary controller has finished reporting the data record content, the primary controller sends a transmission request to the second secondary controller at the lower level, so that the second secondary controller reports the data record content through the primary controller, and so on, until all controllers have reported the data record content.
[0098] In the embodiment of the present application, the controller stores the data record content of the preset period, so that the controller can accurately record the operation data of the energy storage device. For example, at time T4, the controller obtains the operation data of the energy storage device at time T4, and the controller stores the operation data of the energy storage device at time T4. Even at time T5, when the operation data of the energy storage device at time T4 reaches the background monitoring system, the background monitoring system can still determine that the operation data of the energy storage device is the operation data at time T4, rather than thinking that it is the operation data at time T5, thereby improving the accuracy of the operation data of the energy storage device monitored by the background monitoring system.
[0099] In the technical solution provided by the embodiment of the present application, the idea of improving the transmission line between the controller and the background monitoring system is abandoned. Instead, the data record content of the preset period is stored locally in the controller. Since the data record content of the preset period is generated according to the trigger type of the operation data storage requirement and the operation data within the preset period, the data record content of the preset period can not only accurately record the operation data generated by the energy storage device at each time point in the preset period, but also record the trigger type of the operation data storage requirement, so that the background monitoring system can accurately determine why the controller stores the operation data and the accurate operation data stored according to the data record content of the preset period, improving the accuracy of the operation data of the energy storage device monitored by the background monitoring system; and, when there is a requirement for storing operation data, the controller stores the operation data within the preset period, rather than storing all the obtained operation data, which can not only greatly reduce the storage amount of unnecessary operation data, reduce the storage resources of the storage module in the controller, thereby reducing the cost of the storage module in the controller, but also analyze the operation data within the preset period during operation data analysis. For example, when it is necessary to trace the operation status of a specific event or a certain period of the energy storage system, there is no need to analyze all the operation data obtained by the controller, improving the analysis efficiency of the operation data.
[0100] In some embodiments, before responding to the operation data storage requirement of the energy storage device in the energy storage system, the method further includes: detecting the operation data of the energy storage device, and triggering the operation data storage requirement when the detected operation data of the energy storage device is faulty operation data.
[0101] In other embodiments, before responding to the operation data storage requirement of the energy storage device in the energy storage system, the method further includes: triggering the operation data storage requirement when receiving the operation data storage instruction of the energy storage device sent by the background monitoring system.
[0102] In other embodiments, before responding to the operation data storage requirement of the energy storage device in the energy storage system, the method further includes: triggering the operation data storage requirement when the target controller fails.
[0103] In other embodiments, before responding to the operation data storage requirement of the energy storage device in the energy storage system, the method further includes: triggering the operation data storage requirement when the target controller receives the fault indication information sent by the processing device connected to the target controller; wherein the fault indication information indicates that the processing device fails, and the processing device includes at least one of the following: the upper-level controller of the target controller, the lower-level controller of the target controller, the power controller, and the detection device.
[0104] In some embodiments, the operation data storage instruction may carry a preset duration, so that the target controller acquires the operation data within a preset period corresponding to the preset duration.
[0105] Exemplarily, before and after the maintenance of the energy storage device, an instruction is issued through the background monitoring system to make the target controller store the operation data of the preset period, so as to compare the performance before and after the maintenance and evaluate the maintenance effect;
[0106] Another example is that when it is necessary to determine the operation state of the energy storage device in the energy storage system under a certain working condition, an instruction is issued through the background monitoring system to make the target controller store the operation data of the preset period, which is conducive to obtaining the operation condition of the energy storage device under this working condition and providing data support for the upgrade of the energy storage system.
[0107] In the technical solution provided by the embodiments of the present application, the scheme of automatically triggering storage when the operation data of the energy storage device is detected as fault operation data can retain the operation data during critical periods when a fault occurs, providing detailed basis for technicians to accurately locate the cause of the fault, shortening the fault troubleshooting and repair time, and improving the fault troubleshooting efficiency; the scheme of triggering the operation data storage requirement by receiving the operation data storage instruction sent by the background monitoring system can improve the flexibility of operation data storage; the scheme of triggering the operation data storage requirement in the case of a target controller failure or a processing device failure is conducive to analyzing the impact of the target controller failure or the processing device failure on the operation data, reproducing the operation scenario of the energy storage device corresponding to the fault, and improving the effectiveness of operation data analysis.
[0108] The following takes the scenario of triggering the operation data storage requirement when the operation data of the energy storage device is detected as fault operation data as an example to describe the steps of triggering the operation data storage requirement and the steps of the method for obtaining the operation data of the energy storage device within a preset period.
[0109] Figure 3 The flowchart of a method for triggering an operation data storage requirement provided for some embodiments is shown in Figure 3 As shown, this method is applied to any target controller of the energy storage system. This method can be executed before S101, and this method includes the following steps:
[0110] S301. Obtain the storage trigger range of the operation data of the energy storage device and the fault data range of the operation data of the energy storage device.
[0111] Among them, the storage trigger range is larger than the fault data range and covers the fault data range. The storage trigger range is a more relaxed range relative to the fault data range.
[0112] In some embodiments, the storage trigger range can be determined according to the fault data range.
[0113] In some embodiments, the storage trigger range can be determined according to the fault data range and a preset offset value. Exemplarily, the storage trigger threshold can be determined according to the fault threshold of the fault data range and the preset offset value, and the storage trigger range can be determined according to the storage trigger threshold.
[0114] In some embodiments, the fault type of the fault data range can be obtained, and a preset offset value matching the fault type can be determined; the storage trigger range can be determined according to the fault data range and the preset offset value.
[0115] The fault types may include at least one of the following: insulation fault, communication fault, overvoltage fault, overcurrent fault, overtemperature fault, low temperature fault, etc. Different fault types may correspond to different preset offset values. Exemplarily, a one-to-one mapping relationship between multiple types of faults and multiple preset offset values may be obtained to determine the preset offset value matching the fault type.
[0116] In some embodiments, the preset offset values for different-level processors under the same fault type may be different. Exemplarily, determining the preset offset value matching the fault type may include: determining the preset offset value that matches both the fault type and the level of the target controller (such as level one or level two, etc.).
[0117] In the technical solution provided by the embodiments of the present application, according to each fault type, the storage trigger range can be accurately determined, and then these potential abnormal data can be captured in advance before the energy storage device fails, which is beneficial to improving the effectiveness of the operation data analysis of the stored energy storage device.
[0118] S302. When it is detected that the operation data of the energy storage device is within the storage trigger range, store the operation data of the energy storage device and obtain the start storage time of the operation data of the energy storage device.
[0119] Among them, when the operation data starts to be within the storage trigger range, start storing the operation data of the energy storage device.
[0120] In some other embodiments, when it is detected that the operation data of the energy storage device is not within the storage trigger range, do not store the detected operation data of the energy storage device, or discard the detected operation data of the energy storage device.
[0121] S303. According to the start storage time and the fault data range, determine the fault start time when the operation data of the energy storage device is fault operation data.
[0122] In some embodiments, S303 may include: obtaining a preset time window with a storage duration limit starting from the start storage time of the operation data of the energy storage device; starting from the start time of the preset time window, when it is detected that the operation data of the energy storage device is within the fault data range, and when it is detected that the operation data of the energy storage device is within the fault data range at a set time, determine the set time as the fault start time.
[0123] In the technical solution provided by the embodiment of the present application, by setting a preset time window, it is possible to detect that the operation data of the energy storage device is within the range of fault data within the preset time window, and then determine the first moment within the range of fault data as the fault start moment when the operation data of the energy storage device is fault operation data, avoiding the slow change amplitude of the operation data, which lasts for a long time from the start storage moment until the operation data is within the range of fault data, and the time duration between the start storage moment and the fault trigger moment is very long, resulting in a large amount of non-fault operation data being stored, reducing the effectiveness of the operation data storage. Therefore, the embodiment of the present application can reduce the storage of a large amount of non-fault operation data and improve the effectiveness of the stored operation data.
[0124] In some embodiments, the method may further include the following steps: starting from the start moment of the preset time window, continuously detecting that the operation data of the energy storage device is within the storage trigger range and not within the range of fault data, and detecting that the operation data of the energy storage device is not within the storage trigger range at the second moment, stopping storing the operation data, and discarding or deleting the stored operation data. Wherein, the second moment is a moment within the preset time window, and the second moment may be the end moment of the preset time window.
[0125] In some embodiments, the method may further include the following steps: within the preset time window, detecting that all the operation data of the energy storage device is within the storage trigger range and not within the range of fault data, and deleting the operation data stored within the preset time window at the end moment of the preset time window.
[0126] S304. Trigger the operation data storage requirement at the fault start moment.
[0127] In some embodiments, the fault start moment may be the same moment as the target moment when the operation data storage requirement is responded to, or the target moment when the operation data storage requirement is responded to may be a moment after the fault start moment (for example, an adjacent moment or a moment separated by a certain time duration).
[0128] In the technical solution provided by the embodiment of the present application, when it is detected that the operation data of the energy storage device is within the storage trigger range, the operation data of the energy storage device is stored, so that the operation data is stored before the moment when the operation data is detected as fault operation data, and thus the abnormal operation data before the fault trigger moment can be stored. Therefore, when analyzing the operation data, it is no longer limited to the operation data at the fault trigger moment, but comprehensively analyzed in combination with the operation data stored before the fault trigger moment, thereby improving the comprehensiveness of the operation data analysis.
[0129] In Figure 3Based on the embodiments, obtain the operation data of the energy storage device within a preset time period, including: obtaining the first part of the operation data between the start storage moment of the operation data of the energy storage device and the target moment; obtaining the second part of the operation data within a time period with a target duration starting from the target moment; combining the first part of the operation data and the second part of the operation data to obtain the operation data within the preset time period.
[0130] In some embodiments, the target duration can be configured by the background monitoring system to the target controller.
[0131] In the technical solution provided by the embodiments of the present application, the first part of the operation data covers all the operation data from the start storage moment to the target moment, and can record the operation data of the energy storage device at the fault trigger moment and the operation data for a period of time before the fault trigger moment. The second part of the operation data supplements the operation data for a period of time after the fault trigger moment. The operation data of the preset time period obtained by combining the first part of the operation data and the second part of the operation data can directly reflect the change law of the operation state before and after the fault trigger moment, which not only balances the integrity of the operation data storage and the practicality of the operation data storage, but also balances the effectiveness of the operation data analysis and the analysis efficiency.
[0132] The following takes the scenario where the operation data storage requirement of the energy storage device is triggered when the target controller receives the operation data storage instruction sent by the background monitoring system as an example to describe the steps of the method for obtaining the operation data of the energy storage device within a preset time period.
[0133] Figure 4 For the flow schematic diagram of the data storage method provided in another embodiment, as Figure 2 shown, this method is applied to any target controller of the energy storage system. Figure 4 The difference between this embodiment and Figure 2 the embodiment is that S201 can include S2011 to S2012.
[0134] S2011. In response to the operation data storage requirement of the energy storage device in the energy storage system, when the operation data storage requirement is triggered by receiving the operation data storage instruction sent by the background monitoring system, start storing the operation data of the energy storage device from the target moment.
[0135] After the energy storage system is put into operation, when the operator at the background monitoring system end finds that the energy storage device is abnormal, or determines that it is necessary to obtain the operation data of a certain time period according to the commissioning stage of the energy storage device, the operation data storage instruction can be sent to the target controller through the background monitoring system.
[0136] In some embodiments, the operation data storage instruction may include the duration corresponding to the preset time period.
[0137] In some embodiments, the background monitoring system may send an operation data storage instruction to each controller in the energy storage system. In other embodiments, the background monitoring system may select at least one controller related to the debugging stage according to the debugging state of the energy storage device, and send an operation data storage instruction to each of the at least one controller. Among them, the operation data storage instruction received by the secondary controller is forwarded by the primary controller.
[0138] In some embodiments, starting from the target moment, the operation data of the energy storage device begins to be stored in another storage module (such as a cache) of the target controller. When the operation data within a preset time period is stored in the another storage module, a data record content for the preset time period is generated, and then the data record content for the preset time period is stored in the storage module of the target controller.
[0139] S2012. In response to the requirement to stop storing the operation data of the energy storage device in the energy storage system, the operation data of the energy storage device stored between the target moment and the moment when the data stop storage requirement is responded to is determined as the operation data within the preset time period.
[0140] In some embodiments, after the moment when the data stop storage requirement is responded to, the target controller stops storing the operation data of the energy storage device.
[0141] In some embodiments, when the target controller receives the operation data storage instruction sent by the background monitoring system, it triggers the operation data storage requirement. The target control starts to store the operation data of the energy storage device in another storage module from the target moment when the operation data storage requirement is responded to, and stops storing the operation data of the energy storage device until the moment when the data stop storage requirement is responded to. According to the operation data of the preset time period already stored in the another storage module and the trigger type of the operation data storage requirement, a data record content for the preset time period is generated, and the data record content for the preset time period is stored in the storage module.
[0142] In the technical solution provided by the embodiments of the present application, when the target controller receives the operation data storage instruction sent by the background monitoring system, it triggers the operation data storage requirement, and starts to store the operation data from the target moment, and stops storing the operation data until the moment when the operation data storage requirement is responded to. It can not only adapt to different service scenarios and data analysis requirements, so that the operation data can be stored flexibly, but also accurately record the operation data of the energy storage device within a specific time period, avoid unnecessary redundant data storage, and improve the pertinence and effectiveness of the stored operation data.
[0143] In Figure 4 In the technical solution of the embodiment, the requirement to stop storing the operation data is triggered in the following manner:
[0144] In some embodiments, a specified time window starting from a target moment and having a set time interval is obtained; when a data storage stop instruction sent by the background monitoring system is received within the specified time window, a running data storage stop requirement is triggered.
[0145] Exemplarily, the set time interval can be configured by the background monitoring system for the target controller, and the set time intervals configured for different controllers can be the same or different.
[0146] In some embodiments, a specified time window starting from a target moment and having a set time interval is obtained; when a data storage stop instruction sent by the background monitoring system is not received within the specified time window, at the end moment of the specified time window, a running data storage stop requirement is triggered.
[0147] In the technical solution provided by the embodiments of the present application, by setting a specified time window, a clear and settable definition method for the storage duration of running data is provided. Even if the background monitoring system does not send a data storage stop instruction in time, the target controller can automatically trigger a running data storage stop requirement at the end moment of the specified time window, ensuring the controllability of the data storage duration, avoiding the phenomenon of unlimited data storage caused by untimely sending of the data storage stop instruction, so that the amount of stored running data can be within a reasonable range, avoiding the situation that a large amount of invalid running data occupies storage resources, and improving the effectiveness of data storage; and, by triggering a running data storage stop requirement when a data storage stop instruction sent by the background monitoring system is received, the end time of data storage can be flexibly controlled according to the actual situation, improving the flexibility of running data storage.
[0148] The following describes the steps of a method for obtaining the running data of an energy storage device in a preset period by taking the scenario of triggering a running data storage requirement when the target control device fails as an example:
[0149] In some embodiments, obtaining the running data of the energy storage device in a preset period includes: when the target control device fails, obtaining the type of the target control device; the target control device includes a target controller or at least one of the following connected to the target controller: the upper controller of the target controller, the lower controller of the target controller, a power controller, and a detection device; according to the type of the target control device, determining a preset storage duration of the data, and obtaining a preset time window starting from the target moment and having a preset time interval; determining the running data of the energy storage device collected within the preset time window as the running data in the preset period.
[0150] In the technical solution provided by the embodiments of the present application, since the predetermined duration of data storage is flexibly determined according to the type of the target control device that fails, the operation data within the preset period of storage is accurately matched to the actual fault situation. For example, a fault in the upper-level controller may affect the scheduling of the entire energy storage system, and a longer predetermined time window can be configured. While a fault in the detection device affects the accuracy of local operation data, a shorter predetermined time window can be configured, thereby improving the accuracy of the operation data within the preset period obtained matching the actual fault situation, and further improving the effectiveness of the operation data obtained within the preset period.
[0151] The following embodiments of obtaining operation data within a preset period are applicable not only to the scenario where a storage device operation data storage requirement is triggered when it is detected that the operation data of the energy storage device is faulty operation data, but also to the scenario where a target controller receives an operation data storage instruction of the energy storage device sent by the background monitoring system, and also to the scenario where a target control device fails and triggers a storage requirement for operation data:
[0152] Figure 5 For the flowchart of the data storage method provided in another embodiment, as Figure 5 shown, this method is applied to any target controller of the energy storage system. Figure 5 The difference between this embodiment and Figure 2 the embodiment is that before S201, the method further includes S501, and S201 includes S2013 to S2015.
[0153] S501: Store the operation data of the detected energy storage device in the first-in, first-out queue set inside the target controller.
[0154] The first-in, first-out queue is a linear data structure that follows the principle of "the element that enters the queue first is taken out first". New elements are always inserted at the end of the queue, and the deletion operation of elements is performed at the head of the queue.
[0155] The width of the first-in, first-out queue is the preset width size, and the preset width size is the size of the operation data of the energy storage device obtained at a moment and the time storage size at that moment. The depth of the first-in, first-out queue can be the preset depth size, and the preset depth size represents the maximum number of operation data of the energy storage device that the first-in, first-out queue can store at most.
[0156] The widths of the first-in, first-out queues in different controllers in the energy storage system are the same. The depths of the first-in, first-out queues of different controllers at the same level can be the same. The depths of the first-in, first-out queues of controllers at different levels can be different. Exemplarily, the width and depth of the first-in, first-out queue of the target controller can be configured by the background monitoring system or preset in advance.
[0157] In some embodiments, every time the target controller obtains the operation data of an energy storage device, it detects whether the operation data of the energy storage device is faulty operation data. Whether the operation data of the energy storage device is faulty operation data or not, the operation data of the energy storage device is put into a first-in-first-out queue.
[0158] S2013. In response to the operation data storage requirement of the energy storage device in the energy storage system, the operation data of the energy storage device stored in the first-in-first-out queue is determined as the third part of the operation data.
[0159] In S2013, the operation data storage requirement may be triggered when it is detected that the operation data of the energy storage device is faulty operation data, or may be triggered when an operation data storage instruction of the energy storage device sent by the background monitoring system is received.
[0160] For example, at time T6, the target controller responds to the operation data storage requirement and determines the operation data of the energy storage device stored in the first-in-first-out queue at time T6 as the third part of the operation data.
[0161] S2014. Obtain the fourth part of the operation data within a time period starting from the target time and having a target time interval.
[0162] Among them, the fourth part of the operation data includes the operation data at the target time in response to the operation data storage requirement. In some embodiments, the number of the operation data in the fourth part of the operation data may be the same as the maximum number of the operation data that can be stored in the first-in-first-out queue.
[0163] S2015. Merge the third part of the operation data and the fourth part of the operation data to obtain the operation data within a preset time period.
[0164] Among them, the operation data within the preset time period may be the union of the third part of the operation data and the fourth part of the operation data. For example, the fourth part of the operation data is set after the third part of the operation data to obtain the operation data within the preset time period.
[0165] In the technical solution provided by the embodiment of the present application, by setting up a first-in-first-out queue and storing the operation data of the energy storage device after detection in the first-in-first-out queue, therefore, whenever the target controller responds to the operation data storage requirement, it can obtain the third part of the operation data before the target time when responding to the operation data storage requirement, and use this third part of the operation data as part of the operation data within the preset period. This not only avoids the problem that the effectiveness of the stored operation data is reduced due to the inability to obtain the operation data before the target time, but also can avoid that in order to obtain the operation data before the target time, every time the target controller obtains the operation data of an energy storage device, it stores the operation data, resulting in a large consumption of storage resources and a reduction in the effectiveness of the stored operation data due to the storage of a large amount of invalid operation data. Therefore, the embodiment of the present application can improve the effectiveness of data storage and reduce storage resources; in addition, the target controller only needs to detect whether the operation data is faulty and does not need to perform other detections (such as detecting whether it is within the storage trigger range), thereby reducing the consumption of computing resources of the target controller and improving the operation efficiency of the target controller.
[0166] Figure 6 A flowchart of a method for generating a data record content of an energy storage device within a preset period for some embodiments. This method is applied to any target controller of an energy storage system and is an explanation of the above step S202, as Figure 6 shown, the method includes the following steps:
[0167] S2021. Generate an operation data file for the preset period according to each time point within the preset period and the operation data of the energy storage device at each time point.
[0168] In some embodiments, each time point within the preset period may include each time point at which the operation data of the energy storage device is obtained within the preset period.
[0169] Exemplarily, the operation data file (which can also be referred to as an operation data message) may include a Controller Area Network (CAN) communication message file.
[0170] Exemplarily, the operation data file for the preset period may include at least one of the following: the recording date and time of the operation data file, the number system format used for the data, each time point (such as each timestamp), the channel number for receiving the message, the identification code of the message, the receiving direction or sending direction of the message, the length of the operation data obtained at each time point, the operation data obtained at each time point, the message end symbol, etc.
[0171] S2022. Generate trigger summary parameters at the target time according to the trigger type of the operation data storage requirement, the target time, and the file identifier of the operation data file in the preset period.
[0172] In some embodiments, the trigger type of the operation data storage requirement, the target time, and the file identifier of the operation data file in the preset period may be combined to obtain the trigger summary parameters at the target time.
[0173] In some embodiments, when the trigger type of the operation data storage requirement is a strong control trigger type, the strong control trigger type, the target time, the file identifier of the operation data file in the preset period, and the identifier of the target controller may be combined to obtain the trigger summary parameters at the target time.
[0174] In some embodiments, when the trigger type of the operation data storage requirement is a fault trigger type, the fault trigger type, the target time, the file identifier of the operation data file in the preset period, and the target parameters may be combined to obtain the trigger summary parameters at the target time; wherein, the target parameters may include at least one of the following: the identifier of the target controller, the fault code, the fault name, the fault trigger threshold, the fault level. Exemplarily, the fault trigger type may include at least one of the following: energy storage device operation fault, target controller fault, fault of the upper-level controller of the target controller, fault of the lower-level controller of the target controller, power controller fault, detection device fault, etc.
[0175] S2023. Combine the trigger summary parameters at the target time and the operation data file in the preset period to obtain the data record content in the preset period.
[0176] Exemplarily, the combined result of the trigger summary parameters at the target time and the operation data file in the preset period (i.e., the data record content in the preset period, and exemplarily, the combination operation may also be an operation of taking the union) is used as the storage result of the operation data storage requirement for this response.
[0177] In the technical solution provided by the embodiment of the present application, since the trigger summary parameters at the target time include the file identifier of the operation data file in the preset period, the operation data file in the preset period can be quickly found through the file identifier in the trigger summary parameters at the target time, without blindly searching in a large number of operation data files, saving the search time of the operation data file and improving the search efficiency of the operation data file search.
[0178] Figure 7 It is a schematic flowchart of a method for storing data record content in a preset period provided for some embodiments. This method is applied to any target controller of an energy storage system, and this method is an explanation of the above step S203, as Figure 7As shown, the method includes the following steps S2031 to S2033:
[0179] S2031. Write the trigger summary parameter of the target moment in the data record content of the preset time period into the preset write entry of the data table pre-established in the target controller for the background monitoring system to obtain.
[0180] Exemplarily, the pre-established data table may include at least one of the following fields: serial number, file identifier (such as file name), target time in response to the operation data storage requirement (which may be the trigger time of the operation data storage requirement in some other embodiments), fault code, fault name, fault trigger threshold, fault level, controller identifier for triggering the operation data storage requirement, trigger type of the operation data storage requirement. In some embodiments, the pre-established data table may further include at least one of the following contents: version content, software version number, software version content, table name of the data table, etc.
[0181] Exemplarily, the preset write entry refers to the first entry that has not been written. For example, if 100 trigger summary parameters have been written in the first 100 write entries (corresponding to serial numbers 1 - 100) of the data table, then in the 101st write entry (corresponding to serial number 101), write the newly obtained trigger summary parameter of the target moment.
[0182] S2032. Determine the preset storage area associated with the preset write entry.
[0183] Exemplarily, each write entry in the data table is associated with a storage area, and the storage areas associated with different write entries are different. In some embodiments, the storage areas associated with different write entries have the same size.
[0184] S2033. Store the operation data file of the preset time period in the data record content of the preset time period in the preset storage area for the background monitoring system to obtain.
[0185] In the technical solution provided by the embodiment of the present application, each write entry in the data table is associated with a storage area. Through this association relationship, not only is the chaos and redundancy of data storage reduced, the orderliness of data storage is improved, but also the operation data file of the corresponding preset time period can be found through the trigger summary parameter in each write entry, without having to additionally record and store the storage location of the operation data file of the preset time period every time the operation data file of the preset time period is stored, reducing the calculation amount of the target controller when storing the data record content of the preset time period and improving the efficiency of the data record content of the preset time period.
[0186] The following describes the process of the controller in the energy storage system sending the data record content to the background monitoring system:
[0187] In some embodiments, the target controller is a first-level controller among the multi-level controllers in the energy storage system; the method further includes: in response to a first reading instruction sent by the background monitoring system, packing the data record content of at least one preset time period stored internally to generate a first packed file; wherein, the first reading instruction instructs to read the data record content stored in the first-level controller; and sending the first packed file to the background monitoring system.
[0188] Exemplarily, the reading instruction sent by the background monitoring system to the controller may include at least one of the following: specified time period, encryption type, file compression format, etc. Among them, the controller reports the data record content within the specified time period. The controller encrypts the obtained file according to the encryption type so that the sent packed file to the background monitoring system is an encrypted one. The controller compresses the file to be transmitted according to the file compression format so that the sent packed file to the background monitoring system is a compressed one.
[0189] Exemplarily, the background monitoring system may send a reading instruction to some or all of the controllers in the storage system so that the controllers receiving the reading instruction send a packed file to the background monitoring system, and the packed file is obtained by packing the data record content pairs of at least one preset time period.
[0190] In some embodiments, when the controller responds to the reading instruction and the reading instruction carries a specified time period, the controller may pack the data record content of at least one preset time period within the specified time period to generate a packed file; when the reading instruction does not carry a specified time period, the controller may pack all the stored data record content (such as the data record content of at least one preset time period) to generate a packed file.
[0191] In some embodiments, when the controller responds to the reading instruction, the controller may also send at least one of the following to the background monitoring system: the transmission duration of the packed file, the size of the packed file, the identifier of the packed file, the identifier of the controller.
[0192] In some embodiments, the first packed file may include multiple sub-packed files. For example, the data record content of every preset number of preset time periods forms a sub-packed file. Every time the background monitoring system obtains a sub-packed file, the sub-packed file is restored to the data record content of the preset number of preset time periods, so that the background monitoring system does not need to wait until the first packed file is completely received to obtain the data record content.
[0193] In the technical solution provided by the embodiment of the present application, the data record content of at least one preset time period is transmitted as a whole, reducing the risk of data loss or damage; and through the effective interaction between the primary controller and the background monitoring system, the background monitoring system can flexibly send a read instruction to the primary controller according to actual needs to obtain the required data record content, and the primary controller can respond in a timely manner and provide the corresponding data record content, enabling the background monitoring system to better monitor and manage the operation status of the energy storage device.
[0194] In some embodiments, the target controller is a primary controller among multiple-level controllers in the energy storage system; the method further includes: in response to a second read instruction sent by the background monitoring system, sending a second read instruction to a specified controller among multiple secondary controllers; the multiple secondary controllers are all subordinate controllers of the primary controller, and the second read instruction instructs to read the data record content stored in the specified controller; receiving a second packaged file sent by the specified controller; the second packaged file is obtained by the specified controller packaging the data record content of at least one preset time period stored internally; sending the second packaged file to the background monitoring system.
[0195] In the technical solution provided by the embodiment of the present application, the primary controller, as the superior controller, receives and forwards the read instruction of the background monitoring system, while the multiple secondary controllers, as the subordinate controllers, are responsible for storing and processing specific data. This hierarchical management architecture makes the storage and management of data more decentralized and refined, avoiding the problems of excessive storage pressure on the primary controller and low data processing efficiency caused by all data being stored in one layer of the controller, and also avoiding the problem of network congestion caused by multiple secondary controllers communicating with the background monitoring system, resulting in reduced reliability of data transmission. Therefore, in the embodiment of the present application, the scheme of the primary controller forwarding instructions and packaged files can not only reduce the storage pressure on the primary controller, but also improve the data processing efficiency of the primary controller and the reliability of data transmission.
[0196] In some embodiments, the target controller is a subordinate controller of a primary controller among multiple-level controllers in the energy storage system; the method further includes: in response to a third read instruction sent by the primary controller, packaging the data record content of at least one preset time period stored internally to obtain a third packaged file; the third read instruction instructs to read the data record content stored in the subordinate controller, and the third read instruction is received by the primary controller from the background monitoring system; sending the third packaged file to the primary controller; the third packaged file is used for the primary controller to send to the background monitoring system.
[0197] In the technical solution provided by the embodiments of the present application, the lower-level controller communicates with the first-level controller, receives the read instruction sent by the first-level controller, and sends the packaged file to the first-level controller. The lower-level controller focuses on the storage, processing of local data and responding to the instructions of the first-level controller. The lower-level controller does not need to care about the final destination of the data and the higher-level processing logic, and only needs to operate according to the requirements of the first-level controller, improving the maintainability and scalability of the energy storage system.
[0198] In some embodiments, the energy storage system includes a control module, and the control module includes the above-mentioned first-level controller and multiple second-level controllers subordinate to the controller. Exemplarily, the control module can be a Battery Management System (BMS), and the BMS includes a first-level controller and multiple second-level controllers subordinate to the controller. The second-level controllers are all connected to the first-level controller. Exemplarily, the first-level controller can be a Battery Management Control (BMC), and the second-level controller can be a Slave Battery Management Unit (SBMU).
[0199] In some embodiments, the data storage is associated with a fault threshold, or the data storage is associated with a flag-type fault, and each controller can screen the fault content online to trigger data storage. In some embodiments, the data storage duration (i.e., the duration corresponding to the above-mentioned preset period) and the content of the storage channel (i.e., storing part or all of the operation data sent by the detection module, and part or all of the detection modules are configurable. For example, storing voltage data but not temperature data) can be configured through the background monitoring system. In some embodiments, the format of the operation data file stored in the controller is the CAN communication message file format, which is conducive to data analysis by debugging personnel. In some embodiments, the controller can save the corresponding data storage file logic according to different fault trigger timings, optimizing the space occupied by the stored content. In this way, the debugging efficiency of the energy storage system, the troubleshooting efficiency when the system runs into faults, and the strategic storage can save memory space are improved.
[0200] In some embodiments, the background monitoring system can configure the communication channel interface corresponding to each fault, selectively store the corresponding channel data, and configure the data storage duration. In some embodiments, when the storage space in the controller is full, a storage rule is implemented to overwrite the earliest stored operation data file with a new operation data file. In some embodiments, the operation data file is stored in the local storage module of the controller included in the BMS, and the background monitoring system can read the corresponding file from the controller. In this way, according to different faults, the data of the corresponding communication interface is stored, and the corresponding channel data is saved specifically. The storage conditions (such as fault thresholds or fault data ranges) can be configured, which can increase the flexibility of the data storage volume.
[0201] In some embodiments, data saving can be triggered by threshold-based faults. For example, according to the corresponding fault threshold, the storage requirement of the operation data corresponding to the threshold-based fault is triggered, and the data before and after the corresponding fault data channel is stored.
[0202] In some embodiments, data saving can be triggered by flag-based faults. For example, according to the corresponding flag-based fault, the storage requirement of the operation data corresponding to the flag-based fault is triggered, and the data before and after the corresponding fault data channel is stored. Exemplarily, the flag-based faults can include transformer faults, switch faults, insulation ineffectiveness, or faults of other electronic devices, etc.
[0203] In some embodiments, data storage can be triggered by the customer background, and the operation data during the period from the issuance of the trigger command to the stop command is saved.
[0204] Each controller can configure at least one of the following through software configuration or online configuration of the upper computer: the storage time of the fault trigger type (i.e., the duration corresponding to the preset period mentioned above), the triggered fault content (such as the name of the triggered fault), configure the fault storage data channel, the condition for fault determination (i.e., the fault data range mentioned above), etc.
[0205] The primary controller and the secondary controller store their respective data summary tables (i.e., the above-mentioned data tables) and data files (i.e., the above-mentioned operation data files). The data file of the secondary controller is read through a background request, and the secondary controller uploads the data file to the primary controller through a protocol to be uploaded to the customer background through the primary controller.
[0206] Figure 8 A logical schematic diagram of the operation data storage provided for some embodiments is as Figure 8 shown. This method is applied to any one of the controllers in the energy storage system, and this method includes:
[0207] S801. Obtain the operation data of the energy storage device at the current moment.
[0208] S802. Determine whether there is a storage requirement for operation data triggered by a fault at the current moment.
[0209] If there is a storage requirement for operation data triggered by a fault at the current moment, execute the steps of S804; if there is no such storage requirement at the current moment, execute the steps of S801.
[0210] S803. Determine whether there is a storage requirement for operation data triggered by a background instruction at the current moment.
[0211] If there is a storage requirement for operation data triggered by a background instruction at the current moment, execute the steps of S805 to S809; if there is no such storage requirement at the current moment, execute the steps of S801.
[0212] S804. Save the operation data for a preset period between the current moment and the moments before and after it, and record the trigger summary parameters at the current moment into the data table.
[0213] S805. Start saving operation data.
[0214] S806. Whether a data storage stop instruction is received.
[0215] If a data storage stop instruction is received, execute S807; if no such instruction is received, execute S808.
[0216] S807. Save the operation data for a preset period between the current moment and the moment when the data storage stop instruction is received, and record the trigger summary parameters at the current moment into the data table.
[0217] S808. Determine whether the specified moment is exceeded.
[0218] Herein, the specified moment is separated from the current moment by a set time period.
[0219] If the specified moment is exceeded, execute S809; if the specified moment is not exceeded, execute S806.
[0220] S809. Save the operation data for a preset period between the current moment and the moment when the specified moment is received, and record the trigger summary parameters at the current moment into the data table.
[0221] Figure 9 A logical schematic diagram for the storage of operation data provided for other embodiments, as Figure 9 shown. This method is applied to any controller in an energy storage system, and this method includes:
[0222] S901. Whether there is a need to store operation data triggered by a fault at time T7.
[0223] If S901 is yes, execute S902 and then S903. If S901 is no, execute S903.
[0224] S902. Save the operation data for a preset period between the moments before and after time T7, and record the trigger summary parameters at the current moment into the data table.
[0225] S903. Whether there is a need to store operation data triggered by a fault at time T8.
[0226] If S903 is yes, execute S904 and then S905. If S903 is no, execute S905.
[0227] S904. Save the operation data for a preset period between the moments before and after time T8, and record the trigger summary parameters at the current moment into the data table.
[0228] S905. Continue to judge whether there is a need to store operation data triggered by a fault at each subsequent moment.
[0229] Save the operation data for a preset period between the moments before and after the moment when there is a need to store operation data triggered by a fault, and record the trigger summary parameters at the current moment into the data table.
[0230] Exemplarily, the following at least one item is recorded in the data table: the time point of each fault trigger, the time point of background control trigger, the name of the stored data file, the corresponding fault code, the corresponding trigger threshold, the fault level, the trigger type, etc.
[0231] Exemplarily, a CAN message parsing tool can be used to parse the data of the operation data file.
[0232] In some embodiments, the background monitoring system can read the trigger summary parameters and / or operation data files in any one or more controllers according to the data table. Exemplarily, by reading the corresponding controller, the background monitoring system can automatically upload the storage files inside the controller directly to the corresponding storage folder of the background monitoring system (such as the storage folder of a computer device).
[0233] In an exemplary embodiment, the present application can further provide an energy storage system, which includes an energy storage container, a primary controller, a container detection device, a plurality of secondary controllers, and energy storage cabinet detection devices respectively corresponding to the secondary controllers; the energy storage container includes a plurality of energy storage cabinets; the primary controller is connected to the energy storage container through the container detection device; each secondary controller is respectively connected to each energy storage cabinet through each energy storage cabinet detection device; when the primary controller and each of the plurality of secondary controllers execute a computer program, the steps of the method in any of the above embodiments are implemented.
[0234] Figure 10 For some other embodiments, a schematic structural diagram of an energy storage system is provided, as Figure 10 shown, the energy storage system includes a primary controller and a plurality of secondary controllers, the plurality of secondary controllers are all connected to the primary controller, and the primary controller is also connected to a background monitoring system.
[0235] In the local area of each of the primary controller and the secondary controllers, a data table and a running data file can be stored.
[0236] Based on the same inventive concept, the embodiments of the present application also provide a data storage device for implementing the above-mentioned data storage method. The implementation solution provided by this device for solving problems is similar to the implementation solution described in the above method. Therefore, the specific limitations in one or more embodiments of the following data storage device can refer to the limitations on the data storage method in the above text, and will not be repeated here.
[0237] In an exemplary embodiment, Figure 11 For some embodiments, a schematic structural diagram of a data storage device is provided, as Figure 11 shown, the data storage device 1100 includes:
[0238] A running data acquisition module 1101, configured to acquire the running data of the energy storage device within a preset period in response to the running data storage requirement of the energy storage device in the energy storage system; the preset period includes the target moment when the running data storage requirement is responded to;
[0239] A data record content generation module 1102, configured to generate the data record content of the energy storage device within the preset period according to the trigger type of the running data storage requirement and the running data within the preset period;
[0240] A data storage module 1103, configured to store the data record content of the preset period for the background monitoring system to acquire.
[0241] In some embodiments, the data storage device 1100 further includes a demand trigger module. The demand trigger module is configured to detect the operation data of the energy storage device and trigger a demand for storing the operation data when it detects that the operation data of the energy storage device is faulty operation data.
[0242] In some embodiments, the data storage device 1100 further includes a demand trigger module. The demand trigger module is configured to trigger a demand for storing the operation data when it receives an instruction for storing the operation data of the energy storage device sent by the background monitoring system.
[0243] In some embodiments, the demand trigger module includes a range acquisition unit, a start storage time acquisition unit, a fault start time acquisition unit, and a demand trigger unit. The range acquisition unit is configured to acquire a storage trigger range of the operation data of the energy storage device and a fault data range of the operation data of the energy storage device. Among them, the storage trigger range is larger than the fault data range and covers the fault data range. The start storage time acquisition unit is configured to store the operation data of the energy storage device and acquire the start storage time of the operation data of the energy storage device when it detects that the operation data of the energy storage device is within the storage trigger range. The fault start time acquisition unit is configured to determine the fault start time when the operation data of the energy storage device is faulty operation data according to the start storage time and the fault data range. The demand trigger unit is configured to trigger a demand for storing the operation data at the fault start time.
[0244] In some embodiments, the range acquisition unit is further configured to acquire the fault type of the fault data range and determine a preset offset value matching the fault type. According to the fault data range and the preset offset value, the storage trigger range is determined.
[0245] In some embodiments, the fault start time acquisition unit is configured to acquire a preset time window with a storage duration limit starting from the start storage time of the operation data of the energy storage device. Starting from the start time of the preset time window, when it detects that all the operation data of the energy storage device is within the fault data range and detects that the operation data of the energy storage device is within the fault data range at a set time, the set time is determined as the fault start time.
[0246] In some embodiments, the operation data acquisition module 1101 includes a first part operation data acquisition unit, a second part data acquisition unit, and a preset period data acquisition unit. The first part operation data acquisition unit is configured to acquire the first part of the operation data between the start storage time and the target time of the operation data of the energy storage device. The second part data acquisition unit is configured to acquire the second part of the operation data within a time period with a target duration starting from the target time. The preset period data acquisition unit is configured to merge the first part of the operation data and the second part of the operation data to obtain the operation data within a preset period.
[0247] In some embodiments, the operation data acquisition module 1101 includes a storage start unit and a preset period data acquisition unit; the storage start unit is configured to store the operation data of the energy storage device starting from a target moment when the operation data storage requirement is triggered by an operation data storage instruction sent by the background monitoring system; the preset period data acquisition unit is configured to, in response to the operation data storage stop requirement of the energy storage device in the energy storage system, determine the operation data of the energy storage device stored between the target moment and the moment when the data storage stop requirement is responded to as the operation data within a preset period.
[0248] In some embodiments, the operation data acquisition module 1101 further includes an operation data storage stop requirement trigger unit, configured to obtain a specified time window starting from the target moment and having a set time interval; trigger the operation data storage stop requirement when an operation data storage stop instruction sent by the background monitoring system is received within the specified time window; and trigger the operation data storage stop requirement at the end moment of the specified time window when an operation data storage stop instruction sent by the background monitoring system is not received within the specified time window.
[0249] In some embodiments, the data storage device 1100 further includes a queue storage module, configured to store the detected operation data of the energy storage device in a first-in-first-out queue set inside the target controller; the operation data acquisition module 1101 includes a third part operation data acquisition unit, a fourth part operation data acquisition unit, and a preset period data acquisition unit; the third part operation data acquisition unit is configured to determine the operation data of the energy storage device already stored in the first-in-first-out queue as the third part operation data; the fourth part operation data acquisition unit is configured to obtain the fourth part operation data within a time period starting from the target moment and having a target time interval; the preset period data acquisition unit is configured to merge the third part operation data and the fourth part operation data to obtain the operation data within a preset period.
[0250] In some embodiments, the data record content generation module 1102 includes a file generation unit, a parameter generation unit, and a content generation unit; the file generation unit is configured to generate an operation data file for a preset period according to each time point within the preset period and the operation data of the energy storage device at each time point; the parameter generation unit is configured to generate a trigger summary parameter for the target moment according to the trigger type of the operation data storage requirement, the target moment, and the file identifier of the operation data file for the preset period; the content generation unit is configured to merge the trigger summary parameter for the target moment and the operation data file for the preset period to obtain the data record content for the preset period.
[0251] In some embodiments, the data storage module 1103 includes a parameter storage unit, an associated area determination unit, and a file storage unit; the parameter storage unit is configured to write the trigger summary parameter at the target moment in the data record content of the preset time period into a preset write entry of a data table pre-established in the target controller; the associated area determination unit is configured to determine a preset storage area associated with the preset write entry; the file storage unit is configured to store the operation data file of the preset time period in the data record content of the preset time period in the preset storage area.
[0252] In some embodiments, the data storage device 1100 is applied to a primary controller in a multi-level controller of an energy storage system; the data storage device 1100 further includes a packaging module and a communication module, the packaging module is configured to, in response to a first read instruction sent by a background monitoring system, package at least one data record content stored internally to generate a first packaged file; wherein, the first read instruction instructs to read the data record content stored in the primary controller; the communication module is configured to send the first packaged file to the background monitoring system.
[0253] In some embodiments, the data storage device 1100 is applied to a primary controller in a multi-level controller of an energy storage system; the data storage device 1100 further includes a communication module, the communication module is configured to, in response to a second read instruction sent by a background monitoring system, send the second read instruction to a specified controller among a plurality of secondary controllers; the plurality of secondary controllers are all subordinate controllers of the primary controller, the second read instruction instructs to read the data record content stored in the specified controller; receive a second packaged file sent by the specified controller; the second packaged file is obtained by the specified controller packaging at least one data record content stored internally; send the second packaged file to the background monitoring system.
[0254] In some embodiments, the data storage device 1100 is applied to a subordinate controller of a primary controller in a multi-level controller of an energy storage system; the data storage device 1100 further includes a packaging module and a communication module, the packaging module is configured to, in response to a third read instruction sent by the primary controller, package at least one data record content stored internally to obtain a third packaged file; the third read instruction instructs to read the data record content stored in the subordinate controller, and the third read instruction is received by the primary controller from the background monitoring system; the communication module is configured to send the third packaged file to the primary controller; the third packaged file is used for the primary controller to send to the background monitoring system.
[0255] The description of the above device embodiments is similar to the description of the above method embodiments and has similar beneficial effects to the method embodiments. For the technical details not disclosed in the device embodiments of the present application, please refer to the description of the method embodiments of the present application for understanding.
[0256] Each module in the above data storage device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above modules can be embedded in the processor of the controller in the energy storage system in hardware form or be independent of it, or can be stored in the memory of the controller in the energy storage system in software form, so that the processor can call and execute the operations corresponding to each of the above modules.
[0257] In an exemplary embodiment, Figure 12 FIG. is a schematic structural diagram of a controller in an energy storage system provided for some embodiments. The controller in the energy storage system includes a processor, a memory, an input / output interface, a communication interface, a display unit, and an input device. Among them, the processor, the memory, and the input / output interface are connected through a system bus, and the communication interface, the display unit, and the input device are connected to the system bus through the input / output interface. Among them, the processor of the controller in the energy storage system is used to provide computing and control capabilities. The memory of the controller in the energy storage system includes a non-volatile storage medium and an internal memory. The non-volatile storage medium stores an operating system and a computer program. The internal memory provides an environment for the operation of the operating system and the computer program in the non-volatile storage medium. The input / output interface of the controller in the energy storage system is used for exchanging information between the processor and external devices. The communication interface of the controller in the energy storage system is used for communicating with external terminals in a wired or wireless manner. The wireless manner can be implemented through Wireless Fidelity (WIFI), a mobile cellular network, Near Field Communication (NFC), or other technologies. When the computer program is executed by the processor, it implements a data storage method. The display unit of the controller in the energy storage system is used to form a visually visible picture, which can be a display screen, a projection device, or a virtual reality imaging device. The display screen can be a liquid crystal display screen or an electronic ink display screen. The input device of the controller in the energy storage system can be a touch layer covering the display screen, or can be a button, a trackball, or a touchpad provided on the outer shell of the controller in the energy storage system, or can also be an external keyboard, touchpad, or mouse, etc.
[0258] Those skilled in the art can understand that Figure 12 the structure shown in FIG. is only a block diagram of some parts of the structure related to the solution of this application, and does not constitute a limitation on the controller in the energy storage system to which the solution of this application is applied. The specific controller in the energy storage system may include more or fewer components than those shown in the figure, or combine some components, or have a different component layout.
[0259] For example, the controller in the energy storage system includes a memory and a processor. The memory stores a computer program, and when the processor executes the computer program, it implements the steps of the method in any of the above embodiments.
[0260] For example, in an exemplary embodiment, when the processor is used to execute a computer program, it implements: in response to the operation data storage requirement of the energy storage device in the energy storage system, obtaining the operation data of the energy storage device within a preset time period; the preset time period includes the target moment in response to the operation data storage requirement; generating the data record content of the energy storage device within the preset time period according to the trigger type of the operation data storage requirement and the operation data within the preset time period; storing the data record content of the preset time period for the background monitoring system to obtain.
[0261] Figure 11 A schematic structural diagram of an energy storage control system provided for some embodiments, the energy storage control system includes the above-mentioned control device and an energy storage valve control device connected to the control device.
[0262] In one embodiment, a computer-readable storage medium is provided, and when the computer program is executed by a processor, it implements the steps of the method provided in any of the above embodiments.
[0263] For example, in an exemplary embodiment, a computer-readable storage medium is provided, on which a computer program is stored, and when the computer program is executed by a processor, it implements the following steps: in response to the operation data storage requirement of the energy storage device in the energy storage system, obtaining the operation data of the energy storage device within a preset time period; the preset time period includes the target moment in response to the operation data storage requirement; generating the data record content of the energy storage device within the preset time period according to the trigger type of the operation data storage requirement and the operation data within the preset time period; storing the data record content of the preset time period for the background monitoring system to obtain.
[0264] In one embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, it implements the steps of the method provided in any of the above embodiments.
[0265] For example, in an exemplary embodiment, a computer program product is provided, including a computer program, and when the computer program is executed by a processor, it implements the following steps: in response to the operation data storage requirement of the energy storage device in the energy storage system, obtaining the operation data of the energy storage device within a preset time period; the preset time period includes the target moment in response to the operation data storage requirement; generating the data record content of the energy storage device within the preset time period according to the trigger type of the operation data storage requirement and the operation data within the preset time period; storing the data record content of the preset time period for the background monitoring system to obtain.
[0266] Those of ordinary skill in the art can understand that all or part of the processes in the methods of the above embodiments can be completed by instructing relevant hardware through a computer program. The computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above methods.
[0267] The processor, each functional module or each functional unit in any embodiment of the present application may include any one or more of the following integrations: general-purpose processor, application specific integrated circuit (ASIC), digital signal processor (DSP), digital signal processing device (DSPD), programmable logic device (PLD), field programmable gate array (FPGA), central processing unit (CPU), graphics processing unit (GPU), embedded neural network processor (NPU), controller, microcontroller, microprocessor, programmable logic device, discrete gate or transistor logic device, discrete hardware component, quantum computing-based data processing logic, artificial intelligence (AI) processor, etc. The general-purpose processor may be a microprocessor or the processor may also be any conventional processor, etc.
[0268] The memory or computer-readable storage medium in any embodiment of the present application may include at least one of non-volatile memory and volatile memory. The non-volatile memory includes the integration of one or more of the following: Read Only Memory (ROM), Programmable Read-Only Memory (PROM), Erasable Programmable Read-Only Memory (EPROM), Electrically Erasable Programmable Read-Only Memory (EEPROM), Ferromagnetic Random Access Memory (FRAM), Flash Memory, magnetic surface memory, optical disc, Compact Disc Read-Only Memory (CD-ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, Resistive Random Access Memory (ReRAM), Magnetoresistive Random Access Memory (MRAM), Ferroelectric Random Access Memory (FRAM), Phase Change Memory (PCM), graphene memory, volatile memory, etc. The volatile memory includes the integration of one or more of the following: Random Access Memory (RAM) or external cache memory, etc. By way of illustration and not limitation, RAM can be in various forms, such as Static Random Access Memory (SRAM) or Dynamic Random Access Memory (DRAM), etc.
[0269] The technical features of the above embodiments can be combined arbitrarily. For the sake of concise description, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, it should be considered as the scope recorded in the present application.
[0270] The above-described embodiments merely represent several implementation manners of the present application. The description thereof is relatively specific and detailed, but it should not be construed as a limitation to the patent scope of the present application. It should be noted that for those of ordinary skill in the art, without departing from the concept of the present application, several modifications and improvements can still be made, and these all fall within the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the appended claims.
Claims
1. A data storage method, characterized in that: Applied to any target controller of an energy storage system, each controller in the energy storage system is configured with a storage function, the method comprising: In response to the operation data storage requirement of the energy storage device in the energy storage system, obtaining the operation data of the energy storage device within a preset time period; the preset time period includes a target time for responding to the operation data storage requirement; Generate data record content of the energy storage device in the preset time period according to the trigger type of the operation data storage demand and the operation data in the preset time period; The data record content of the preset time period is stored for acquisition by the background monitoring system.
2. The method according to claim 1, characterized in that Before responding to the operation data storage demand of the energy storage device in the energy storage system, the method further includes at least one of the following: detecting the operation data of the energy storage device, and triggering the operation data storage requirement when detecting that the operation data of the energy storage device is faulty operation data; When receiving an operation data storage instruction of the energy storage device sent by the background monitoring system, triggering the operation data storage demand; In case of a failure of the target controller, triggering the operation data storage requirement; When the target controller receives fault indication information sent by a processing device connected to the target controller, the operating data storage requirement is triggered; wherein the fault indication information indicates a fault in the processing device, and the processing device includes at least one of the following: an upper-level controller of the target controller, a lower-level controller of the target controller, a power controller, and a detection device.
3. The method according to claim 2, characterized in that The triggering of the operation data storage requirement when detecting that the operation data of the energy storage device is faulty operation data includes: Acquire a storage trigger range of the operation data of the energy storage device and a fault data range of the operation data of the energy storage device; wherein the storage trigger range is larger than the fault data range and covers the fault data range; When it is detected that the operating data of the energy storage device is within the storage trigger range, storing the operating data of the energy storage device and obtaining a start time for storing the operating data of the energy storage device; Determining, according to the storage start time and the fault data range, a fault start time at which the operation data of the energy storage device is fault operation data; The operation data storage requirement is triggered at the time when the fault starts.
4. The method according to claim 3, characterized in that The step of obtaining a storage trigger range of the operation data of the energy storage device includes: Acquire the fault type of the fault data range, and determine a preset offset value matching the fault type; The storage trigger range is determined according to the fault data range and the preset offset value.
5. The method according to claim 3, characterized in that: The step of determining, according to the storage start time and the fault data range, that the operation data of the energy storage device is the fault start time of the fault operation data comprises: Obtaining a preset time window with a storage time limit interval, starting from the start time of storage of the operation data of the energy storage device; Starting from the start time of the preset time window, if it is detected that the operating data of the energy storage device is within the fault data range, and if it is detected that the operating data of the energy storage device is within the fault data range at the set time, the set time is determined as the fault start time.
6. The method according to claim 3, characterized in that: The obtaining of the operating data of the energy storage device within a preset period of time includes: Acquire a first portion of the operating data of the energy storage device between the start storage time of the operating data and the target time; Acquire the second part of the operation data within a time period starting from the target time and having a target duration; The first part of operating data and the second part of operating data are combined to obtain operating data within the preset time period.
7. The method according to claim 1, characterized in that The obtaining of the operating data of the energy storage device within a preset period of time includes: When the operation data storage requirement is triggered by receiving an operation data storage instruction sent by a background monitoring system, storing the operation data of the energy storage device from the target time; In response to a demand to stop storing operating data of an energy storage device in the energy storage system, the operating data of the energy storage device stored between the target time and a time of responding to the demand to stop storing data is determined as the operating data within the preset time period.
8. The method according to claim 7, characterized in that Before the storage demand is stopped in response to the operation data of the energy storage device in the energy storage system, the method further includes: Obtain a specified time window starting at the target time and having a set time interval; When a data storage stop instruction sent by the background monitoring system is received within the specified time window, the operation data storage stop requirement is triggered; In the case that the data storage stop instruction sent by the background monitoring system is not received within the specified time window, the operation data storage stop requirement is triggered at the end moment of the specified time window.
9. The method according to claim 1, characterized in that: The obtaining of the operating data of the energy storage device within a preset period of time includes: In the case of a target control device failure, obtaining the type of the target control device; the target control device includes the target controller or at least one of the following items connected to the target controller: an upper controller of the target controller, a lower controller of the target controller, a power controller, and a detection device; Determine a predetermined duration for data storage according to the type of the target control device, and obtain a predetermined time window starting at the target time and having an interval of the predetermined duration; The operating data of the energy storage device collected within the predetermined time window is determined as the operating data within the preset time period.
10. The method according to claim 1, characterized in that Before responding to the operation data storage demand of the energy storage device in the energy storage system, the method further includes: Storing the detected operation data of the energy storage device in a first-in first-out queue set inside the target controller; The obtaining of the operating data of the energy storage device within a preset period of time includes: Determine the operating data of the energy storage device stored in the first-in-first-out queue as the third part of operating data; Acquire the fourth part of the operation data within a time period starting from the target time and having an interval of the target time length; The third part of the operating data and the fourth part of the operating data are combined to obtain the operating data within the preset time period.
11. The method according to any one of claims 1 to 10, characterized in that: The generating of data record content of the energy storage device in the preset time period according to the trigger type of the operation data storage requirement and the operation data in the preset time period includes: Generate an operation data file for the preset time period according to each time point within the preset time period and the operation data of the energy storage device at each time point; Generate a trigger summary parameter for the target time according to the trigger type of the operation data storage requirement, the target time, and the file identifier of the operation data file of the preset time period; The trigger summary parameters of the target time and the operation data file of the preset time period are merged to obtain the data record content of the preset time period.
12. The method according to claim 11, characterized in that The storing of the data record content of the preset time period includes: Writing the trigger summary parameter of the target time in the data record content of the preset time period into a preset write table entry of the data table pre-established in the target controller; Determining a preset storage area associated with the preset write entry; The operation data file of the preset period of time among the data record contents of the preset period of time is stored in the preset storage area.
13. The method according to any one of claims 1 to 10, characterized in that: The target controller is a first-level controller in a multi-level controller in the energy storage system; the method further includes: In response to a first read instruction sent by the background monitoring system, the data record content of at least one preset period stored internally is packaged to generate a first package file; wherein the first read instruction instructs to read the data record content stored in the primary controller; The first package file is sent to the background monitoring system.
14. The method according to any one of claims 1 to 10, characterized in that: The target controller is a first-level controller in a multi-level controller in the energy storage system; the method further includes: In response to a second read instruction sent by the background monitoring system, the second read instruction is sent to a designated controller among the multiple secondary controllers; the multiple secondary controllers are all subordinate controllers of the primary controller, and the second read instruction instructs to read the data record content stored in the designated controller; receiving a second package file sent by the designated controller; the second package file is obtained by the designated controller packaging data record contents of at least one preset time period stored internally; Send the second package file to the background monitoring system.
15. The method according to any one of claims 1 to 10, characterized in that The target controller is a lower-level controller of a first-level controller in a multi-level controller in the energy storage system; the method further includes: In response to a third read instruction sent by the primary controller, the data record content of at least one preset period stored internally is packaged to obtain a third package file; the third read instruction instructs to read the data record content stored in the lower-level controller, and the third read instruction is received by the primary controller from the background monitoring system; The third package file is sent to the primary controller; the third package file is used by the primary controller to send to the background monitoring system.
16. An energy storage system, characterized in that: The energy storage system includes an energy storage container, a primary controller, a container detection device, multiple secondary controllers, and energy storage cabinet detection devices corresponding to each of the secondary controllers; the energy storage container includes multiple energy storage cabinets; The primary controller is connected to the energy storage container via the container detection device; Each of the secondary controllers is connected to each of the energy storage cabinets through each of the energy storage cabinet detection devices; When the primary controller and each of the plurality of secondary controllers execute the computer program, the steps of the method according to any one of claims 1 to 15 are implemented.
17. A data storage device, characterized in that: The data storage device comprises: An operation data acquisition module, configured to respond to an operation data storage requirement of an energy storage device in an energy storage system and acquire operation data of the energy storage device within a preset period; the preset period includes a target time for responding to the operation data storage requirement; A data record content generation module, used to generate data record content of the energy storage device in the preset time period according to the trigger type of the operation data storage demand and the operation data in the preset time period; The data storage module is used to store the data record content of the preset time period for acquisition by the background monitoring system.
18. A controller in an energy storage system, characterized in that: The method comprises a memory and a processor, wherein the memory stores a computer program, and the processor implements the steps of the method according to any one of claims 1 to 15 when executing the computer program.
19. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 15 are implemented.
20. A computer program product comprising a computer program, characterized in that When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 15 are implemented.
Citation Information
Patent Citations
Fault data storage method and device, nonvolatile storage medium and vehicle
CN116755628A
Method, controller, system and vehicle for data recording
CN117809473A
Transient recording method for fault protection and measurement switch system
CN118074075A
Data processing method and device for application program
CN118445164A
Energy storage data processing method and device and electronic equipment
CN118474214A
Cited By
Energy storage system and data transmission method, device and equipment thereof, medium and product
CN120785045A