Energy storage equipment, data transmission method and device thereof, upper computer and storage medium

By configuring multiple data channels in energy storage equipment and cache working data in real time, the problem of low precision in data viewing in the existing technology is solved, and accurate judgment of the working conditions and fault conditions of the energy storage equipment is achieved, and efficient Fault analysis and solutions.

CN118972195APending Publication Date: 2024-11-15SHENZHEN HELLO TECH STORED ENERGY CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411029815.2
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-29
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

The existing real-time waveform display method of fault data based on CAN bus cannot view the data information before and after the energy storage system failure in real time. The data viewing is low in detail, making it difficult to accurately determine the cause of the energy storage system failure.

Method used

By configuring multiple data channels in the energy storage device, cache working data in real time, and sending work data corresponding to channel information and cycle information to the upper computer based on the data request frame sent by the upper computer, users can obtain any data according to their needs. The working data of the channel improves the data transmission volume and precision, and realizes accurate judgment of the working conditions and fault conditions of energy storage equipment.

Benefits of technology

The data transmission volume and precision are improved, and users can timely judge the working conditions and fault conditions of energy storage equipment, find the cause of the fault, and provide accurate solutions.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118972195A_ABST
    Figure CN118972195A_ABST
Patent Text Reader

Abstract

The invention provides energy storage equipment, a data transmission method and device thereof, an upper computer and a storage medium. The energy storage device is connected with an upper computer through a CAN bus, the energy storage device is provided with a plurality of data channels, the data channels correspond to a plurality of working data of the energy storage device respectively, and the method comprises the steps that the working data are cached; receiving a data request frame sent by an upper computer, wherein the data request frame comprises channel information and period information; at least one piece of working data is sent to the upper computer according to the data request frame so that the upper computer can display the data waveform according to the at least one piece of working data, and the at least one piece of working data corresponds to the channel information and the period information. Therefore, a user can acquire the working data corresponding to any data channel of the energy storage equipment through the upper computer according to own requirements, and can select the acquisition duration of the working data, so that the data transmission quantity and the data fineness are improved, and the user can accurately judge the working condition of the energy storage equipment.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of data transmission, and in particular to an energy storage device and a data transmission method and device thereof, a host computer and a storage medium. Background Art

[0002] With the rapid development of industrial automation and intelligent devices, data communication and real-time monitoring have become key technical requirements. CAN (Controller Area Network) bus is a serial communication protocol widely used in real-time control systems. As a communication protocol widely used in the automotive and industrial fields, it has the advantages of high speed, high reliability and high scalability. It has been widely used in energy storage systems in industrial automation, aerospace, medical equipment, mechanical control and many other fields.

[0003] In energy storage scenarios, fault data storage is a rigid requirement in safety certification. Currently, using CAN to record and analyze data waveforms is a common method. The real-time waveform display method of fault data based on the CAN bus is of great significance for real-time monitoring and data analysis.

[0004] However, the existing real-time waveform display method of fault data based on CAN bus cannot view the data information that needs to be paid attention to before and after the energy storage system fails in real time. The precision of data viewing is low and cannot meet the various needs in the development and use of energy storage projects. In addition, the amount of data transmission before and after the failure is small, and the working conditions of the energy storage system when it fails cannot be accurately judged, making it difficult to find the cause of the failure. Summary of the invention

[0005] The present invention aims to solve at least one of the technical problems existing in the prior art or related art.

[0006] To this end, a first aspect of the present invention is to provide a data transmission method for an energy storage device.

[0007] A second aspect of the present invention is to provide another data transmission method for an energy storage device.

[0008] A third aspect of the present invention is to provide a data transmission device for an energy storage device.

[0009] A fourth aspect of the present invention is to provide another data transmission device for energy storage equipment.

[0010] A fifth aspect of the present invention is to provide an energy storage device.

[0011] A sixth aspect of the present invention is to provide a host computer.

[0012] A seventh aspect of the present invention is to provide a readable storage medium.

[0013] In view of this, according to a first aspect of the present invention, a data transmission method for an energy storage device is proposed, the method is executed by the energy storage device, the energy storage device is connected to a host computer via a CAN bus, the energy storage device is configured with multiple data channels, the multiple data channels respectively correspond to multiple working data of the energy storage device, the data transmission method for the energy storage device includes: caching multiple working data; receiving a data request frame sent by the host computer, the data request frame includes channel information and cycle information; sending at least one working data to the host computer according to the data request frame, so that the host computer displays a data waveform according to the at least one working data, and the at least one working data corresponds to the channel information and the cycle information.

[0014] The technical solution of the data transmission method of the energy storage device provided in the first aspect of the present invention is executed by the energy storage device.

[0015] The energy storage device is connected to the host computer via a CAN bus, and the energy storage device is configured with multiple data channels, which respectively correspond to multiple working data of the energy storage device.

[0016] Specifically, in the data transmission method of the energy storage device provided in the first aspect of the present invention, a data cache area is defined in the energy storage device. During the operation of the energy storage device, the energy storage device caches its own multiple working data in real time through the data cache area. After the energy storage device receives the data request frame including channel information and cycle information sent by the host computer, the host computer sends at least one working data corresponding to the channel information and cycle information to the host computer according to the data request frame, so that the host computer can display the data waveform according to the at least one working data. In this way, the user can obtain the working data corresponding to any data channel of the energy storage device through the host computer according to their own needs, and can select the acquisition time of the working data, which improves the data transmission volume and data precision, and facilitates the user to accurately judge the working condition of the energy storage device.

[0017] The data transmission method of the energy storage device according to the present invention may also have the following additional technical features:

[0018] In some technical solutions, optionally, multiple working data are cached, including: collecting multiple working data; caching the working data when the working data is digital data; performing analog-to-digital conversion on the working data when the working data is analog data, and caching the original working data and the working data after the analog-to-digital conversion.

[0019] In this technical solution, when the energy storage device caches its own working data, the energy storage device can collect multiple working data of itself in real time, and then directly cache the working data when the collected working data is digital data, and when the collected working data is analog data, first perform analog-to-digital conversion on the working data, and then cache the original working data and the working data after analog-to-digital conversion. In this way, the energy storage device can collect and package its own working data, wait for the host computer to request to read, and then send the working data to the host computer uniformly when the host computer sends a data request frame, which improves the precision of data transmission and facilitates users to accurately judge the working conditions and fault conditions of the energy storage device, so as to timely analyze the causes of the faults and provide accurate solutions.

[0020] In some technical solutions, optionally, at least one working data is sent to a host computer according to a data request frame, including: determining at least one data channel according to channel information in the data request frame; determining the number of data cycles according to cycle information in the data request frame; and sending at least one working data of the number of data cycles corresponding to at least one data channel to the host computer.

[0021] In this technical solution, after the energy storage device receives the data request frame including channel information and cycle information sent by the host computer, the energy storage device parses the data request frame, and determines at least one data channel according to the channel information in the data request frame, and determines the number of data cycles according to the cycle information in the data request frame. On this basis, the energy storage device sends at least one working data of the number of data cycles corresponding to at least one data channel to the host computer. In this way, the user can obtain the working data corresponding to any data channel of the energy storage device through the host computer according to his own needs, and can choose the acquisition time of the working data, which improves the data transmission volume and data precision, and facilitates the user to accurately judge the working condition of the energy storage device.

[0022] In some technical solutions, optionally, the data transmission method of the energy storage device also includes: when multiple working data meet the set conditions at the target time, actively sending at least one working data within the target time before and after the target time to the host computer.

[0023] In this technical solution, the energy storage device can also monitor its own working data, and then, when its own working data meets the set conditions at the target time, it actively saves at least one working data within the target time before and after the target time, and sends the at least one working data to the upper computer. In this way, the energy storage device can automatically trigger the function of feeding back working data to the upper computer, and can timely feed back working data before and after the failure to the upper computer when the energy storage device fails, so that users can accurately judge the working conditions and failure conditions of the energy storage device, thereby timely analyzing the cause of the failure and providing accurate solutions.

[0024] According to a second aspect of the present invention, another data transmission method for an energy storage device is proposed. The method is executed by a host computer, and the host computer and the energy storage device are connected via a CAN bus. The data transmission method for the energy storage device includes: generating a data request frame according to channel information and cycle information input by a user; sending a data request frame to the energy storage device; receiving at least one working data fed back by the energy storage device according to the data request frame, wherein the at least one working data corresponds to the channel information and the cycle information; and displaying a data waveform according to the at least one working data.

[0025] The technical solution of the data transmission method of the energy storage device provided in the second aspect of the present invention is executed by a host computer.

[0026] Among them, the host computer and the energy storage device are connected through the CAN bus.

[0027] Specifically, in the data transmission method of the energy storage device provided in the second aspect of the present invention, the user can input the channel information and cycle information of at least one working data to be viewed in the host computer according to his own needs. The host computer generates a data request frame according to the channel information and cycle information input by the user, and sends the data request frame to the energy storage device, so that the energy storage device feeds back at least one working data corresponding to the channel information and cycle information according to the data request frame. Further, the host computer receives at least one working data fed back by the energy storage device, and displays the data waveform according to at least one working data. In this way, the user can view the data waveform of the working data corresponding to any data channel of the energy storage device through the host computer according to his own needs, and can select the length of the working data, and can accurately store and display the working conditions of the energy storage device before and after the fault and the waveform of the related working data, so that the user can accurately judge the working condition and fault condition of the energy storage device, so as to timely analyze the cause of the fault and provide an accurate solution.

[0028] According to a third aspect of the present invention, a data transmission device for an energy storage device is proposed, the device is applied to the energy storage device, the energy storage device is connected to a host computer via a CAN bus, the energy storage device is configured with multiple data channels, the multiple data channels respectively correspond to multiple working data of the energy storage device, the data transmission device of the energy storage device comprises: a cache unit, for caching multiple working data; a first receiving unit, for receiving a data request frame sent by the host computer, the data request frame comprising channel information and cycle information; a first sending unit, for sending at least one working data to the host computer according to the data request frame, so that the host computer displays a data waveform according to the at least one working data, the at least one working data corresponds to the channel information and the cycle information.

[0029] A data transmission device for energy storage equipment provided in a third aspect of the present invention is applied to energy storage equipment.

[0030] The energy storage device is connected to the host computer via a CAN bus, and the energy storage device is configured with multiple data channels, which respectively correspond to multiple working data of the energy storage device.

[0031] Specifically, the data transmission device of the energy storage device provided in the third aspect of the present invention includes a cache unit, a first receiving unit and a first sending unit. A data cache area is defined in the energy storage device. During the operation of the energy storage device, the cache unit caches its own multiple working data in real time through the data cache area. After the first receiving unit receives the data request frame including channel information and cycle information sent by the host computer, the first sending unit sends at least one working data corresponding to the channel information and cycle information to the host computer according to the data request frame, so that the host computer can display the data waveform according to the at least one working data. In this way, the user can obtain the working data corresponding to any data channel of the energy storage device through the host computer according to their own needs, and can select the acquisition time of the working data, which improves the data transmission volume and data precision, and facilitates the user to accurately judge the working condition of the energy storage device.

[0032] According to a fourth aspect of the present invention, another data transmission device for an energy storage device is proposed, which is applied to a host computer, and the host computer and the energy storage device are connected via a CAN bus. The data transmission device for the energy storage device comprises: a generating unit, which is used to generate a data request frame according to channel information and cycle information input by a user; a second sending unit, which is used to send a data request frame to the energy storage device; a second receiving unit, which is used to receive at least one working data fed back by the energy storage device according to the data request frame, and the at least one working data corresponds to the channel information and the cycle information; and a display unit, which is used to display a data waveform according to the at least one working data.

[0033] The data transmission device for energy storage equipment provided in the fourth aspect of the present invention is applied to a host computer.

[0034] Among them, the host computer and the energy storage device are connected through the CAN bus.

[0035] Specifically, the data transmission device of the energy storage device provided in the fourth aspect of the present invention includes a generating unit, a second sending unit, a second receiving unit and a display unit. The user can input the channel information and cycle information of at least one working data to be viewed in the upper computer according to his own needs. The generating unit generates a data request frame according to the channel information and cycle information input by the user. The second sending unit sends the data request frame to the energy storage device, so that the energy storage device feeds back at least one working data corresponding to the channel information and cycle information according to the data request frame. Further, the second receiving unit receives at least one working data fed back by the energy storage device, and the display unit displays the data waveform according to at least one working data. In this way, the user can view the data waveform of the working data corresponding to any data channel of the energy storage device through the upper computer according to his own needs, and can select the length of the working data, and can accurately store and display the working conditions of the energy storage device before and after the fault and the waveform of the related working data, so that the user can accurately judge the working condition and fault condition of the energy storage device, so as to timely analyze the cause of the fault and provide an accurate solution.

[0036] According to the fifth aspect of the present invention, an energy storage device is proposed, comprising a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the data transmission method of the energy storage device in any technical solution of the first aspect are implemented. Therefore, the data transmission device of the energy storage device proposed in the fifth aspect of the present invention has all the beneficial effects of the data transmission method of the energy storage device in any technical solution of the first aspect, which will not be repeated here.

[0037] According to the sixth aspect of the present invention, a host computer is proposed, including a processor and a memory, the memory storing a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the data transmission method of the energy storage device in any technical solution of the second aspect are implemented. Therefore, the data transmission device of the energy storage device proposed in the sixth aspect of the present invention has all the beneficial effects of the data transmission method of the energy storage device in the technical solution of the second aspect, which will not be repeated here.

[0038] According to the seventh aspect of the present invention, a readable storage medium is provided, on which a program or instruction is stored, and when the program or instruction is executed by a processor, a data transmission method for an energy storage device as in any technical solution of the first aspect is implemented, or when the program or instruction is executed by a processor, a data transmission method for an energy storage device as in the technical solution of the second aspect is implemented. Therefore, the readable storage medium provided in the seventh aspect of the present invention has all the beneficial effects of the data transmission method for an energy storage device in any technical solution of the first aspect or the second aspect, which will not be described in detail here.

[0039] Additional aspects and advantages of the present invention will become apparent from the following description or may be learned by practice of the present invention. BRIEF DESCRIPTION OF THE DRAWINGS

[0040] The above and / or additional aspects and advantages of the present invention will become apparent and easily understood from the description of the embodiments in conjunction with the following drawings, in which:

[0041] Figure 1 One of the flow diagrams of the data transmission method of the energy storage device according to the embodiment of the present invention is shown;

[0042] Figure 2 A second flow chart of the data transmission method of the energy storage device according to an embodiment of the present invention is shown;

[0043] Figure 3 A third flow chart of the data transmission method of the energy storage device according to an embodiment of the present invention is shown;

[0044] Figure 4 A fourth flow chart of the data transmission method of the energy storage device according to an embodiment of the present invention is shown;

[0045] Figure 5 A fifth flow chart of the data transmission method of the energy storage device according to the embodiment of the present invention is shown;

[0046] Figure 6 One of the interface schematic diagrams showing the data transmission method of the energy storage device according to the embodiment of the present invention;

[0047] Figure 7 A second interface schematic diagram showing the data transmission method of the energy storage device according to an embodiment of the present invention;

[0048] Figure 8 A third interface diagram showing the data transmission method of the energy storage device according to the embodiment of the present invention;

[0049] Fig. 9 It shows one of the structural block diagrams of the data transmission device of the energy storage device according to the embodiment of the present invention;

[0050] Fig.10 A second structural block diagram showing a data transmission device of an energy storage device according to an embodiment of the present invention;

[0051] Fig.11 A structural block diagram of an energy storage device according to an embodiment of the present invention is shown;

[0052] Fig.12 The structure block diagram of the host computer of the embodiment of the present invention is shown. DETAILED DESCRIPTION

[0053] In order to more clearly understand the above-mentioned purpose, features and advantages of the present invention, the present invention is further described in detail below in conjunction with the accompanying drawings and specific embodiments. It should be noted that the embodiments of the present invention and the features in the embodiments can be combined with each other without conflict.

[0054] In the following description, many specific details are set forth to facilitate a full understanding of the present invention. However, the present invention may also be implemented in other ways different from those described herein. Therefore, the protection scope of the present invention is not limited to the specific embodiments disclosed below.

[0055] Combine the following Figures 1 to 12 , the energy storage device and its data transmission method and device, host computer and storage medium provided in the embodiments of the present application are described in detail through specific embodiments and their application scenarios.

[0056] The embodiment of the first aspect of the present invention proposes a data transmission method for an energy storage device, the method is executed by the energy storage device, the energy storage device is connected to the host computer via a CAN bus, the energy storage device is configured with multiple data channels, and the multiple data channels correspond to multiple working data of the energy storage device. In one embodiment of the present invention, Figure 1 As shown, the data transmission method of the energy storage device may specifically include the following steps 102 to 106:

[0057] Step 102, caching multiple working data;

[0058] Step 104, receiving a data request frame sent by the host computer;

[0059] Step 106, sending at least one working data to the host computer according to the data request frame;

[0060] The data request frame includes channel information and cycle information, and at least one working data corresponds to the channel information and the cycle information.

[0061] The technical solution of the data transmission method of the energy storage device provided in this embodiment is executed by the energy storage device.

[0062] The energy storage device is connected to the host computer via a CAN bus, and the energy storage device is configured with multiple data channels, which respectively correspond to multiple working data of the energy storage device.

[0063] In actual application, the energy storage device may specifically be a PCS (Power Conversion System, energy storage converter), which is not specifically limited here.

[0064] Furthermore, the host computer may be a desktop computer, a laptop computer or other intelligent device, which is not specifically limited here.

[0065] Furthermore, after the energy storage device is powered on, it can be connected to a host computer independently developed on a PC (Personal Computer) side through a CAN analyzer.

[0066] Furthermore, a main control chip DSP (Digital Signal Processor) is provided in the energy storage device, and multiple data channels are configured according to the hardware schematic diagram of the energy storage device by programming the DSP.

[0067] Furthermore, the above-mentioned working data may specifically include external working data and internal working data of the energy storage device during operation. Among them, the external working data may specifically include data such as the grid voltage, the instantaneous value of the inverter voltage, the instantaneous value of the inverter current, the inverter voltage AD (Analog to Digital, analog-to-digital conversion) value, and the inverter current AD value of the energy storage device. Further, the internal working data may specifically include data such as the state machine, fault code, and loop control process quantity of the energy storage device. Among them, the loop control process quantity includes data such as the inverter loop set value, the inverter loop feedback value, and the inverter loop output value of the energy storage device.

[0068] Furthermore, there is a one-to-one correspondence between the multiple data channels and the multiple working data. In actual application, as shown in Table 1 below, those skilled in the art can configure the data channel corresponding to each working data by corresponding the channel number to the working data.

[0069] Table 1: Example table of data channels and working data correspondence

[0070] Channel Number Work data 0 Instantaneous value of inverter voltage 1 Instantaneous value of inverter current 2 Inverter voltage AD value 3 Inverter current AD value 4 Fault Codes 5 Inverter loop set value 6 Inverter loop feedback value 7 Inverter loop output value ··· ···

[0071] Specifically, in the data transmission method of the energy storage device provided in the first aspect of the present invention, a data cache area is defined in the energy storage device. During the operation of the energy storage device, the energy storage device caches its own multiple working data in real time through the data cache area. After the energy storage device receives the data request frame including channel information and cycle information sent by the host computer, the host computer sends at least one working data corresponding to the channel information and cycle information to the host computer according to the data request frame, so that the host computer can display the data waveform according to the at least one working data. In this way, the user can obtain the working data corresponding to any data channel of the energy storage device through the host computer according to their own needs, and can select the acquisition time of the working data, which improves the data transmission volume and data precision, and facilitates the user to accurately judge the working condition of the energy storage device.

[0072] The channel information is used to indicate the data channel corresponding to the working data requested by the host computer, and the channel information may specifically be the channel number of the data channel. The cycle information is used to indicate the data length of the working data requested by the host computer, and the cycle information may specifically be the number of data cycles, that is, the cycle information is used to indicate how many data cycles of working data the host computer requests to obtain.

[0073] In the actual application process, a downlink communication protocol and a feedback communication protocol can be defined between the host computer and the energy storage device. The host computer generates a data request frame based on the downlink communication protocol and sends the data request frame to the energy storage device. The energy storage device then feeds back working data to the host computer in the form of a data packet based on the feedback communication protocol.

[0074] The communication protocol may specifically include information such as sending and receiving ID (IDentity, identity), data channel, data rate (i.e., cycle information), storage data bit, channel number, etc. In actual application, the communication protocol may be specifically shown in Table 2 below, and the feedback communication protocol may be specifically shown in Table 3 below.

[0075] Table 2: Example of sending communication protocol

[0076]

[0077]

[0078] Table 3: Feedback communication protocol example table

[0079]

[0080] In summary, the data transmission method for energy storage devices of the present invention can collect external working data and internal working data of the energy storage device as waveform display data. Compared with the traditional method of viewing the working data waveform of the energy storage device based on an oscilloscope, the data transmission method for energy storage devices of the present invention can improve data precision, which is convenient for users to accurately judge the fault problems existing in the energy storage device.

[0081] For example, during the development and modulation of the energy storage device, when the dynamic response of the energy storage device is insufficient, the internal current of the energy storage device will oscillate. At this time, for the data transmission method of the energy storage device of the present invention, by collecting the internal current of the energy storage device for waveform display, it can help the user to determine whether the energy storage device has a fault problem of insufficient dynamic response. As for the traditional method of viewing the working data waveform of the energy storage device based on an oscilloscope, since the oscilloscope can only display the voltage and current waveforms of the input energy storage device, but cannot display the internal data of the main control chip DSP of the energy storage device and the waveform of the loop control process quantity and other data, it is difficult to locate the fault problem of insufficient dynamic response of the energy storage device.

[0082] In some embodiments of the present invention, optionally, Figure 2 As shown, the above step 102 may specifically include the following steps 108 to 112:

[0083] Step 108, collecting a plurality of working data;

[0084] Step 110, when the working data is digital data, cache the working data;

[0085] Step 112: When the working data is analog data, perform analog-to-digital conversion on the working data, and cache the original working data and the working data after the analog-to-digital conversion.

[0086] In this embodiment, when the energy storage device caches its own working data, the energy storage device can collect multiple working data of itself in real time, and then directly cache the working data when the collected working data is digital data, and when the collected working data is analog data, first perform analog-to-digital conversion on the working data, and then cache the original working data and the working data after analog-to-digital conversion. In this way, the energy storage device can collect and package its own working data, wait for the host computer to request to read, and then send the working data to the host computer uniformly when the host computer sends a data request frame, which improves the precision of data transmission and facilitates users to accurately judge the working conditions and fault conditions of the energy storage device, thereby timely analyzing the causes of the faults and providing accurate solutions.

[0087] Among them, for working data in the form of analog data, such as the instantaneous value of the inverter voltage and the instantaneous value of the inverter current of the energy storage device and other external working data, ADC (Analog to Digital Converter) sampling channels can be configured as data channels for the above working data according to the hardware schematic diagram of the energy storage device, and the above working data can be collected in real time through the ADC sampling channel and converted into analog to digital to obtain the AD value of the above working data.

[0088] In actual application, users can also select fault curves according to their needs. Based on the fault curves, the host computer can configure all required working data at one time, not limited to the number of channels, so that the energy storage device can collect and package its own ADC sampling data, loop control process quantities, state machine and other working data, and then wait for the host computer to request to read the data.

[0089] In some embodiments of the present invention, optionally, Figure 3 As shown, the above step 106 may specifically include the following steps 114 to 118:

[0090] Step 114, determining at least one data channel according to the channel information in the data request frame;

[0091] Step 116, determining the number of data cycles according to the cycle information in the data request frame;

[0092] Step 118: Send at least one working data of the number of data cycles corresponding to at least one data channel to the host computer.

[0093] In this embodiment, after the energy storage device receives the data request frame including channel information and cycle information sent by the host computer, the energy storage device parses the data request frame, and determines at least one data channel according to the channel information in the data request frame, and determines the number of data cycles according to the cycle information in the data request frame. On this basis, the energy storage device sends at least one working data of the number of data cycles corresponding to at least one data channel to the host computer. In this way, the user can obtain the working data corresponding to any data channel of the energy storage device through the host computer according to his own needs, and can select the acquisition time of the working data, which improves the data transmission volume and data precision, and facilitates the user to accurately judge the working condition of the energy storage device.

[0094] In some embodiments of the present invention, optionally, the data transmission method of the energy storage device may further include the following step 120:

[0095] Step 120, when multiple working data meet the set conditions at the target time, actively send at least one working data within the target time period before and after the target time to the host computer.

[0096] In this embodiment, the energy storage device can also monitor its own working data, and then actively save at least one working data within the target time before and after the target time when its own working data meets the set conditions at the target time, and send the at least one working data to the upper computer. In this way, the energy storage device can automatically trigger the function of feeding back working data to the upper computer, and can timely feed back working data before and after the failure to the upper computer when the energy storage device fails, so that the user can accurately judge the working condition and failure of the energy storage device, so as to timely analyze the cause of the failure and provide an accurate solution.

[0097] The above-mentioned setting condition may be the state of the working data of the energy storage device when a fault occurs, such as the above-mentioned setting condition may be that the inverter current of the energy storage device exceeds the set threshold. When the working data of the energy storage device meets the set conditions, that is, when the energy storage device fails, the energy storage device automatically triggers the saving and sending of the working data before and after the failure to the upper computer.

[0098] In actual application, users can also customize the type of working data that the energy storage device automatically sends to the host computer when the energy storage device fails. For example, when the energy storage device fails, the energy storage device automatically feeds back its own loop control process quantity to the host computer, so that the user on the host computer can analyze the cause of the energy storage device failure.

[0099] In addition, in actual application, the energy storage device can also automatically collect, store and feedback its own working data when its own working state changes or when an external command is issued, so that users can analyze and judge the system working conditions of the energy storage device, thereby facilitating the research and development and improvement of the energy storage device.

[0100] In summary, if Figure 4 As shown, the data transmission method of the energy storage device provided in the above embodiment may specifically include the following steps 202 to 216:

[0101] Step 202, configuring the ADC sampling channel, and converting the external working data in the form of analog data into digital data in real time;

[0102] Step 204, real-time buffering of internal working data and external working data before and after analog-to-digital conversion;

[0103] Step 206, determine: the host computer sends a data request frame, if yes, execute step 208, if no, execute step 212;

[0104] Step 208, receiving the data request frame and parsing it to obtain the channel information and cycle information of the working data required by the host computer;

[0105] Step 210, feeding back the requested working data to the upper computer;

[0106] Step 212, updating the cached working data in real time;

[0107] Step 214, determine: the working data meets the set conditions, if so, execute step 216, if not, execute step 204;

[0108] Step 216, feeding back the working data before and after the failure to the upper computer.

[0109] After step 212 is completed, step 204 and step 214 are continued to be executed.

[0110] The embodiment of the second aspect of the present invention further proposes another data transmission method for an energy storage device, the method is executed by a host computer, and the host computer and the energy storage device are connected via a CAN bus. In one embodiment of the present invention, Figure 5 As shown, the data transmission method of the energy storage device may specifically include the following steps 302 to 308:

[0111] Step 302, generating a data request frame according to the channel information and cycle information input by the user;

[0112] Step 304, sending a data request frame to the energy storage device;

[0113] Step 306, receiving at least one working data fed back by the energy storage device according to the data request frame;

[0114] Step 308, displaying a data waveform according to at least one working data;

[0115] Among them, at least one working data corresponds to the channel information and the cycle information.

[0116] The technical solution of the data transmission method of the energy storage device provided in this embodiment is executed by the host computer.

[0117] The host computer is connected to the energy storage device via a CAN bus. The energy storage device is configured with multiple data channels, and the multiple data channels correspond to multiple working data of the energy storage device respectively.

[0118] Specifically, in the data transmission method of the energy storage device provided in the second aspect of the present invention, the user can input the channel information and cycle information of at least one working data to be viewed in the host computer according to his own needs. The host computer generates a data request frame according to the channel information and cycle information input by the user, and sends the data request frame to the energy storage device, so that the energy storage device feeds back at least one working data corresponding to the channel information and cycle information according to the data request frame. Further, the host computer receives at least one working data fed back by the energy storage device, and displays the data waveform according to at least one working data. In this way, the user can view the data waveform of the working data corresponding to any data channel of the energy storage device through the host computer according to his own needs, and can select the length of the working data, and can accurately store and display the working conditions of the energy storage device before and after the fault and the waveform of the related working data, so that the user can accurately judge the working condition and fault condition of the energy storage device, so as to timely analyze the cause of the fault and provide an accurate solution.

[0119] The above working data include but are not limited to: grid voltage of energy storage equipment, instantaneous value of inverter voltage, instantaneous value of inverter current, inverter voltage AD value, inverter current AD value, state machine, fault code, inverter loop set value, inverter loop feedback value and inverter loop output value, etc. In this way, users can not only view external working data such as voltage and current of energy storage equipment during operation through the host computer, but also view internal working data such as loop control process quantity during operation. In addition, the energy storage equipment is equipped with rich data channels, which improves the data transmission volume and data precision, making it easier for users to accurately judge the working conditions of energy storage equipment.

[0120] In actual application, Figure 6 As shown, the host computer includes a waveform viewing interface 402, and the waveform viewing interface 402 includes a waveform display area 404 and an information input area 406. Among them, the waveform display area 404 is used to display the waveform of the working data. Figure 7 As shown, the information input area 406 includes a plurality of first input boxes 408 and a second input box 410. The user can input the channel number of the data channel corresponding to the working data to be viewed in the first input box 408 according to the corresponding relationship between the data channel configured in the energy storage device and the working data, and input the data multiplier, i.e., the above-mentioned data cycle number, in the second input box 410. In particular, when the user inputs the data multiplier, i.e., the above-mentioned data cycle number, as 0 in the second input box 410, the host computer obtains the working data of one data cycle by default.

[0121] For example, Figure 6As shown, the user enters channel numbers 48, 49, 52, and 53 in the first input boxes 408 of the information input area 406, and enters 150 in the second input box 410. Based on the information entered by the user, the host computer requests the energy storage device to obtain the working data corresponding to the data channels 48, 49, 52, and 53 of 150 data cycles, and displays the data waveform of the obtained working data to the user in the waveform display area 404.

[0122] For example, Figure 8 As shown, the user enters channel numbers 0, 2, 3, and 7 in the first input boxes 408 of the information input area 406, and enters 0 in the second input box 410. Based on the information entered by the user, the host computer requests the energy storage device to obtain the working data corresponding to data channel 0, data channel 2, data channel 3, and data channel 7 of one data cycle, and displays the data waveform of the obtained working data to the user in the waveform display area 404.

[0123] The third aspect of the present invention further provides a data transmission device for an energy storage device, which is applied to the energy storage device. The energy storage device is connected to the host computer via a CAN bus. The energy storage device is configured with multiple data channels, and the multiple data channels correspond to multiple working data of the energy storage device. In one embodiment of the present invention, Fig. 9 As shown, Fig. 9 The structure block diagram of the data transmission device 500 of the energy storage device according to the embodiment of the present invention is shown. The data transmission device 500 of the energy storage device may specifically include the following cache unit 502, a first receiving unit 504 and a first sending unit 506:

[0124] A cache unit 502, used for caching a plurality of working data;

[0125] The first receiving unit 504 is used to receive a data request frame sent by the host computer, where the data request frame includes channel information and cycle information;

[0126] The first sending unit 506 is used to send at least one working data to the upper computer according to the data request frame, so that the upper computer displays a data waveform according to the at least one working data, and the at least one working data corresponds to the channel information and the cycle information.

[0127] The data transmission device 500 of an energy storage device provided in an embodiment of the present invention is applied to an energy storage device.

[0128] The energy storage device is connected to the host computer via a CAN bus, and the energy storage device is configured with multiple data channels, which respectively correspond to multiple working data of the energy storage device.

[0129] In actual application, the energy storage device may specifically be a PCS, which is not specifically limited herein.

[0130] Furthermore, the host computer may be a desktop computer, a laptop computer or other intelligent device, which is not specifically limited here.

[0131] Furthermore, the above-mentioned CAN bus, namely the CAN bus, can be connected to a host computer independently developed on the PC side through a CAN analyzer after the energy storage device is powered on.

[0132] Furthermore, a main control chip DSP is provided in the energy storage device, and the DSP is programmed to configure multiple data channels according to the hardware schematic diagram of the energy storage device.

[0133] Furthermore, the above-mentioned working data may specifically include external working data and internal working data of the energy storage device during operation. Among them, the external working data may specifically include data such as the grid voltage, the instantaneous value of the inverter voltage, the instantaneous value of the inverter current, the inverter voltage AD value, and the inverter current AD value of the energy storage device. Further, the internal working data may specifically include data such as the state machine, fault code, and loop control process quantity of the energy storage device. Among them, the loop control process quantity includes data such as the inverter loop set value, the inverter loop feedback value, and the inverter loop output value of the energy storage device.

[0134] Furthermore, there is a one-to-one correspondence between the multiple data channels and the multiple working data. In actual application, those skilled in the art can configure the data channel corresponding to each working data by making the channel number correspond to the working data.

[0135] Specifically, the data transmission device 500 of the energy storage device provided in the embodiment of the present invention includes a cache unit 502, a first receiving unit 504 and a first sending unit 506. A data cache area is defined in the energy storage device. During the operation of the energy storage device, the cache unit 502 caches its own multiple working data in real time through the data cache area. After the first receiving unit 504 receives the data request frame including channel information and cycle information sent by the host computer, the first sending unit 506 sends at least one working data corresponding to the channel information and cycle information to the host computer according to the data request frame, so that the host computer can display the data waveform according to the at least one working data. In this way, the user can obtain the working data corresponding to any data channel of the energy storage device through the host computer according to their own needs, and can select the acquisition time of the working data, which improves the data transmission volume and data precision, and facilitates the user to accurately judge the working condition of the energy storage device.

[0136] The channel information is used to indicate the data channel corresponding to the working data requested by the host computer, and the channel information may specifically be the channel number of the data channel. The cycle information is used to indicate the data length of the working data requested by the host computer, and the cycle information may specifically be the number of data cycles, that is, the cycle information is used to indicate how many data cycles of working data the host computer requests to obtain.

[0137] In the actual application process, a downlink communication protocol and a feedback communication protocol can be defined between the host computer and the energy storage device. The host computer generates a data request frame based on the downlink communication protocol and sends the data request frame to the energy storage device. The energy storage device feeds back working data to the host computer in the form of a data packet based on the feedback communication protocol. The above communication protocol may specifically include information such as the sending and receiving ID number, data channel, data rate (i.e., cycle information), storage data bit, channel number, etc.

[0138] In some embodiments of the present invention, optionally, the cache unit 502 is specifically used to: collect multiple working data; when the working data is digital data, cache the working data; when the working data is analog data, perform analog-to-digital conversion on the working data, and cache the original working data and the working data after the analog-to-digital conversion.

[0139] In some embodiments of the present invention, optionally, the first sending unit 506 is specifically used to: determine at least one data channel according to the channel information in the data request frame; determine the number of data cycles according to the cycle information in the data request frame; and send at least one working data of the number of data cycles corresponding to at least one data channel to the host computer.

[0140] In some embodiments of the present invention, optionally, the first sending unit 506 is also used to: actively send at least one work data within a target time period before and after the target time to the host computer when multiple work data meet the set conditions at the target time.

[0141] The fourth aspect of the present invention also provides another data transmission device for energy storage devices, which is applied to a host computer, and the host computer is connected to the energy storage device via a CAN bus. In one embodiment of the present invention, Fig.10 As shown, Fig.10 The structure block diagram of the data transmission device 600 of the energy storage device according to the embodiment of the present invention is shown. The data transmission device 600 of the energy storage device may specifically include the following generating unit 602, a second sending unit 604, a second receiving unit 606 and a display unit 608:

[0142] A generating unit 602, configured to generate a data request frame according to the channel information and cycle information input by the user;

[0143] A second sending unit 604, configured to send a data request frame to the energy storage device;

[0144] A second receiving unit 606, configured to receive at least one working data fed back by the energy storage device according to the data request frame, wherein the at least one working data corresponds to the channel information and the cycle information;

[0145] The display unit 608 is used to display a data waveform according to at least one working data.

[0146] The data transmission device 600 of the energy storage device provided in the embodiment of the present invention is applied to a host computer.

[0147] The host computer is connected to the energy storage device via a CAN bus. The energy storage device is configured with multiple data channels, and the multiple data channels correspond to multiple working data of the energy storage device respectively.

[0148] Specifically, the data transmission device 600 of the energy storage device provided in the embodiment of the present invention includes a generating unit 602, a second sending unit 604, a second receiving unit 606 and a display unit 608. The user can input the channel information and cycle information of at least one working data to be viewed in the upper computer according to his own needs. The generating unit 602 generates a data request frame according to the channel information and cycle information input by the user, and the second sending unit 604 sends the data request frame to the energy storage device, so that the energy storage device feeds back at least one working data corresponding to the channel information and cycle information according to the data request frame. Further, the second receiving unit 606 receives at least one working data fed back by the energy storage device, and the display unit 608 displays the data waveform according to at least one working data. In this way, the user can view the data waveform of the working data corresponding to any data channel of the energy storage device through the upper computer according to his own needs, and can select the length of the working data, and can accurately store and display the working conditions of the energy storage device before and after the fault and the waveform of the related working data, so that the user can accurately judge the working condition and fault condition of the energy storage device, thereby timely analyzing the cause of the fault and providing an accurate solution.

[0149] The above working data include but are not limited to: grid voltage of energy storage equipment, instantaneous value of inverter voltage, instantaneous value of inverter current, inverter voltage AD value, inverter current AD value, state machine, fault code, inverter loop set value, inverter loop feedback value and inverter loop output value, etc. In this way, users can not only view external working data such as voltage and current of energy storage equipment during operation through the host computer, but also view internal working data such as loop control process quantity during operation. In addition, the energy storage equipment is equipped with rich data channels, which improves the data transmission volume and data precision, making it easier for users to accurately judge the working conditions of energy storage equipment.

[0150] The fifth aspect of the present invention further provides an energy storage device. In one embodiment of the present invention, Fig.11 As shown, Fig.11 The structure block diagram of the energy storage device 700 provided in the embodiment of the present invention is shown. The energy storage device 700 includes:

[0151] A first memory 702, where programs or instructions are stored;

[0152] The first processor 704 implements the steps of the data transmission method for the energy storage device in any embodiment of the first aspect when executing the above program or instruction.

[0153] The energy storage device 700 provided in this embodiment includes a first memory 702 and a first processor 704. When the program or instructions in the first memory 702 are executed by the first processor 704, the steps of the data transmission method of the energy storage device in any embodiment of the first aspect are implemented. Therefore, the energy storage device 700 has all the beneficial effects of the data transmission method of the energy storage device in any embodiment of the first aspect, which will not be repeated here.

[0154] Specifically, the first memory 702 and the first processor 704 may be connected via a bus or other means. The first processor 704 may include one or more processing units, and the first processor 704 may be a central processing unit (CPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), and other chips.

[0155] The sixth aspect of the present invention further provides a host computer. In one embodiment of the present invention, Fig.12 As shown, Fig.12 The structure block diagram of the host computer 800 provided by the embodiment of the present invention is shown. The host computer 800 includes:

[0156] A second memory 802, where programs or instructions are stored;

[0157] The second processor 804 implements the steps of the data transmission method of the energy storage device in the above-mentioned second aspect embodiment when the second processor 804 executes the above-mentioned program or instruction.

[0158] The host computer 800 provided in this embodiment includes a second memory 802 and a second processor 804. When the program or instructions in the second memory 802 are executed by the second processor 804, the steps of the data transmission method for the energy storage device in the above-mentioned second aspect embodiment are implemented. Therefore, the host computer 800 has all the beneficial effects of the data transmission method for the energy storage device in the above-mentioned second aspect embodiment, which will not be repeated here.

[0159] Specifically, the second memory 802 and the second processor 804 may be connected via a bus or other means. The second processor 804 may include one or more processing units, and the second processor 804 may be a central processing unit (CPU), a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA), and other chips.

[0160] The embodiment of the seventh aspect of the present invention further provides a readable storage medium. The readable storage medium stores a program or instruction, and when the program or instruction is executed by a processor, the steps of the data transmission method of the energy storage device in any embodiment of the first aspect are implemented, or when the program or instruction is executed by a processor, the steps of the data transmission method of the energy storage device in the embodiment of the second aspect are implemented.

[0161] The readable storage medium provided in the embodiment of the present invention can implement the steps of the data transmission method of the energy storage device in any embodiment of the first aspect or the second aspect when the program or instruction stored therein is executed by the processor. Therefore, the readable storage medium has all the beneficial effects of the data transmission method of the energy storage device in any embodiment of the first aspect or the second aspect, which will not be repeated here.

[0162] Specifically, the above-mentioned readable storage medium may include any medium capable of storing or transmitting information. Examples of readable storage media include electronic circuits, semiconductor memory devices, read-only memory (ROM), random access memory (RAM), compact disc read-only memory (CD-ROM), flash memory, erasable ROM (EROM), magnetic tape, floppy disk, optical disk, hard disk, optical fiber medium, radio frequency (RF) link, optical data storage device, etc. The code segment can be downloaded via a computer network such as the Internet, an intranet, etc.

[0163] In the description of this specification, the terms "first" and "second" are used for descriptive purposes only and cannot be understood as indicating or implying relative importance unless otherwise clearly specified and limited; the terms "connection", "installation", "fixation" and the like should be understood in a broad sense, for example, "connection" can be a fixed connection, a detachable connection, or an integral connection; it can be directly connected or indirectly connected through an intermediate medium. For ordinary technicians in this field, the specific meanings of the above terms in the present invention can be understood according to specific circumstances.

[0164] In the description of this specification, the description of the terms "one embodiment", "some embodiments", "specific embodiments", etc. means that the specific features, structures, materials or characteristics described in conjunction with the embodiment or example are included in at least one embodiment or example of the present invention. In this specification, the schematic representation of the above terms does not necessarily refer to the same embodiment or example. Moreover, the specific features, structures, materials or characteristics described can be combined in any one or more embodiments or examples in a suitable manner.

[0165] In addition, the technical solutions between the various embodiments of the present invention can be combined with each other, but it must be based on the fact that ordinary technicians in the field can implement it. When the combination of technical solutions is contradictory or cannot be implemented, it should be deemed that such combination of technical solutions does not exist and is not within the scope of protection required by the present invention.

[0166] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A data transmission method for an energy storage device, characterized in that: The energy storage device is executed, the energy storage device is connected to the host computer via a CAN bus, the energy storage device is configured with multiple data channels, and the multiple data channels correspond to multiple working data of the energy storage device respectively. The data transmission method of the energy storage device includes: caching the plurality of working data; Receiving a data request frame sent by the host computer, wherein the data request frame includes channel information and cycle information; At least one of the working data is sent to the host computer according to the data request frame, so that the host computer displays a data waveform according to the at least one of the working data, and the at least one of the working data corresponds to the channel information and the cycle information.

2. The data transmission method of energy storage device according to claim 1, characterized in that: The caching of the plurality of working data comprises: collecting the plurality of working data; When the working data is digital data, caching the working data; In the case that the working data is analog data, analog-to-digital conversion is performed on the working data, and the original working data and the working data after the analog-to-digital conversion are cached.

3. The data transmission method of energy storage device according to claim 1, characterized in that: The sending at least one working data to the host computer according to the data request frame comprises: Determine at least one data channel according to the channel information in the data request frame; Determine the number of data cycles according to the cycle information in the data request frame; Send at least one of the working data of the number of data cycles corresponding to at least one of the data channels to the host computer.

4. The data transmission method of the energy storage device according to claim 1, characterized in that: Also includes: When the plurality of working data meet the set conditions at the target time, at least one of the working data within the target time period before and after the target time is actively sent to the host computer.

5. A data transmission method for energy storage equipment, characterized in that: The method is executed by a host computer, wherein the host computer is connected to the energy storage device via a CAN bus, and the data transmission method of the energy storage device includes: Generate a data request frame according to the channel information and cycle information input by the user; Sending the data request frame to the energy storage device; receiving at least one working data fed back by the energy storage device according to the data request frame, wherein the at least one working data corresponds to the channel information and the cycle information; A data waveform is displayed according to at least one of the working data.

6. A data transmission device for energy storage equipment, characterized in that: Applied to energy storage equipment, the energy storage equipment is connected to the host computer through a CAN bus, the energy storage equipment is configured with multiple data channels, the multiple data channels respectively correspond to multiple working data of the energy storage equipment, and the data transmission device of the energy storage equipment includes: A cache unit, used for caching the plurality of working data; A first receiving unit, configured to receive a data request frame sent by the host computer, wherein the data request frame includes channel information and cycle information; The first sending unit is used to send at least one of the working data to the host computer according to the data request frame, so that the host computer displays a data waveform according to the at least one of the working data, and the at least one of the working data corresponds to the channel information and the cycle information.

7. A data transmission device for energy storage equipment, characterized in that: Applied to a host computer, the host computer is connected to the energy storage device via a CAN bus, and the data transmission device of the energy storage device includes: A generating unit, used for generating a data request frame according to the channel information and cycle information input by the user; A second sending unit, configured to send the data request frame to the energy storage device; A second receiving unit, configured to receive at least one working data fed back by the energy storage device according to the data request frame, wherein the at least one working data corresponds to the channel information and the cycle information; A display unit is used for displaying a data waveform according to at least one of the working data.

8. An energy storage device, characterized in that: It comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the data transmission method of the energy storage device as described in any one of claims 1 to 4 are implemented.

9. A host computer, characterized in that: It comprises a processor and a memory, wherein the memory stores a program or instruction that can be run on the processor, and when the program or instruction is executed by the processor, the steps of the data transmission method of the energy storage device as claimed in claim 5 are implemented.

10. A readable storage medium, characterized in that: The readable storage medium stores a program or instruction, which, when executed by a processor, implements the steps of the data transmission method for an energy storage device as described in any one of claims 1 to 4, or, when executed by a processor, implements the steps of the data transmission method for an energy storage device as described in claim 5.