Monitoring method and system for internal communication of photovoltaic energy storage system, and terminal equipment
By introducing the PC monitoring end to the photovoltaic energy storage system for active monitoring and real-time analysis, the passive monitoring problem of the main controller relying on program settings in the existing technology is solved, and active communication transparency and real-time monitoring are realized, which improves debugging and investigation efficiency.
Patent Information
- Application Number
- CN202510537557.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-04-27
- Publication Date
- 2025-07-22
Smart Images

Figure CN120358175A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of communication technologies, and in particular to a monitoring method, system and terminal device for internal communication of a photovoltaic energy storage system. Background Art
[0002] Currently, most household photovoltaic energy storage systems need to communicate between the main controller and the battery pack to control the charging and discharging operation logic at the battery pack end. This process is a very important part of the energy storage system and affects the stability of the system. During the research and development and testing phases, the communication process between the two is generally recorded by means of the log system of the main controller of the photovoltaic energy storage system or by actively printing log information, for professionals to monitor and debug the main controller of the system and the battery pack, so as to locate the relevant faults between the main controller and the battery pack.
[0003] However, this monitoring and recording method still has certain deficiencies. For example, the recording of the communication process and the fault display depend on the setting of the main controller program, which is a passive recording and cannot guarantee the real-time nature of monitoring, lacking the initiative of monitoring; it is impossible to restore the actual process (data content) of the communication between the main controller and the battery pack, and the whole process is not transparent, and there may be a situation where the actual communication content does not conform to the program setting, which is not conducive to developers and testers to quickly locate and troubleshoot problems. Summary of the Invention
[0004] The present invention aims to provide a monitoring method, system and terminal device for internal communication of a photovoltaic energy storage system, so as to solve the technical problems that the monitoring and recording during the debugging of the current communication between the main controller and the battery pack are passive, dependent on the setting of the main controller program, the process is not transparent (black box), and the actual communication process cannot be traced, and to realize the transparency of the communication content between the main controller and the battery pack and the active real-time monitoring and recording.
[0005] To solve the above technical problems, the present invention provides a monitoring method for internal communication of a photovoltaic energy storage system, which is applied to a PC monitoring terminal. The photovoltaic energy storage system includes a main controller, a plurality of battery packs and a communication bus connecting the main controller and the plurality of battery packs, and the PC monitoring terminal is mounted on the communication bus; the monitoring method includes:
[0006] Periodically send a listening signal to perform a listening and receiving action based on the listening signal;
[0007] Based on the listening and receiving action, obtain the communication information on the communication bus in real time;
[0008] Based on the communication information and a preset parsing method, obtain the content of the status information, and realize the active monitoring of the internal communication of the photovoltaic energy storage system.
[0009] In the monitoring method proposed in the above solution, by actively sending listening signals to periodically monitor and receive the communication bus, real-time communication information is captured, realizing active monitoring of the internal communication of the photovoltaic energy storage system without relying on the program settings of the main controller; in addition, through real-time monitoring and parsing of the communication information, the communication between the main controller and the battery pack is made transparent, facilitating the tracking of the communication content between the battery pack and the main controller, and facilitating the debugging and problem troubleshooting of the photovoltaic system by developers and testers.
[0010] Furthermore, based on the communication information and a preset parsing method, the status information content is obtained to realize active monitoring of the internal communication of the photovoltaic energy storage system, including: storing the communication information and the corresponding reception time in a preset storage order to obtain the original data; obtaining the valid data based on the original data and a preset cutting method; obtaining the valid information based on the valid data and a preset parsing method; when the valid information is determined to be the status information content, extracting the status information content based on the corresponding status information format to realize active monitoring of the internal communication of the photovoltaic energy storage system.
[0011] In the above solution, by storing the communication information and the corresponding reception time in a preset storage order, and cutting and parsing the communication information to save the valid information, the corresponding status information content can be further extracted, making the communication content between the battery pack and the main controller transparent and traceable, facilitating debugging and problem troubleshooting.
[0012] Furthermore, obtaining the valid data based on the original data and a preset cutting method includes: calculating the total data length based on the corresponding protocol format; identifying the start identifier based on the original data, so as to obtain the end byte content based on the start identifier and the total data length; when it is determined that the end byte content is consistent with the preset end identifier, obtaining the valid data based on the start identifier and the total data length.
[0013] In the above solution, the original data is cut according to the corresponding protocol format, avoiding abnormal situations such as misparsing the data by dividing adjacent original data into the same communication content.
[0014] Furthermore, after identifying the start identifier based on the original data and obtaining the end byte content based on the start identifier and the total data length, it further includes: when it is determined that the end byte content is inconsistent with the preset end identifier, the original data is invalid content, and the listening and receiving action is returned to execute to obtain new communication information.
[0015] In the above solution, by judging the consistency between the determined end byte content and the preset end identifier, it is ensured that the finally identified and stored information content is the required valid content, avoiding waste of signals and storage resources.
[0016] Further, when the valid information is determined to be the status information content, the status information content is extracted based on the corresponding status information format, realizing the active monitoring of the internal communication of the photovoltaic energy storage system, including: when the valid information is determined to be the status information content, creating a corresponding status item based on the preset protocol information format; obtaining the corresponding status information format based on the valid information; and assigning the valid information based on the corresponding status information format and the corresponding status item to extract the status information content, realizing the active monitoring of the internal communication of the photovoltaic energy storage system.
[0017] Further, after obtaining the valid information based on the valid data and the preset parsing method, it further includes: when the valid information is determined to be non-status information content, directly using the valid information as the status information content.
[0018] The above solution extracts the status information content of the valid information through the preset protocol information format, facilitating subsequent operations such as data visualization, and providing a more complete and clear stored data content for data viewing and backtracking.
[0019] Further, after periodically sending a listening signal to perform a listening and receiving action based on the listening signal, and before obtaining the communication information on the communication bus in real time based on the listening and receiving action, a running instruction is sent to control the photovoltaic energy storage system to start running, so that communication information is generated inside the photovoltaic energy storage system.
[0020] The above solution controls the photovoltaic energy storage system to start running after sending a listening signal to perform a listening and receiving action, and at the same time, the PC monitoring end periodically sends a listening signal to make it in a polling state, ensuring that the PC monitoring end can actively and real-time monitor the communication content, and ensuring that the communication content between the main controller and the battery pack during the operation of the photovoltaic energy storage system can be completely recorded, avoiding missing recording of the content.
[0021] Further, the monitoring method further includes: performing visual encoding conversion based on the status information content to obtain transcoded data; and realizing visual processing based on the transcoded data and the corresponding reception time.
[0022] The above solution visualizes the communication content between the main controller and the battery pack through visual encoding conversion, making the data change on the bus visual and the transmission process transparent, facilitating developers and testers to intuitively understand the original data in a non-machine coding format.
[0023] A monitoring method for internal communication of a photovoltaic energy storage system provided by the present invention realizes active monitoring of the internal communication of the photovoltaic energy storage system by actively sending listening signals, periodically listening to and receiving the communication bus, and capturing communication information in real time, without relying on the program settings of the main controller; in addition, through real-time monitoring and analysis of the communication information, the transparency of the communication between the main controller and the battery pack is realized, which is convenient for tracking the communication content between the battery pack and the main controller, and is convenient for developers and testers to debug the photovoltaic system and troubleshoot problems; by judging the consistency between the end byte content and the preset end identifier, it is ensured that the finally identified and stored information content is the required valid content, avoiding waste of signals and storage resources; at the same time, effective content extraction and visualization transcoding processing are performed, making the data changes on the bus visible and the communication process transparent, facilitating developers and testers to intuitively understand the original data in non-machine coding format; achieving the display and recording of communication content not dominated by the main controller, achieving the effect of real-time monitoring, and completing the monitoring and recording of battery pack fault information.
[0024] The present invention provides a monitoring system for internal communication of a photovoltaic energy storage system, which is used to implement the above-mentioned monitoring method for internal communication of a photovoltaic energy storage system. The photovoltaic energy storage system includes a main controller and a plurality of battery packs. The monitoring system includes a PC monitoring terminal and a communication bus connecting the main controller and the plurality of battery packs, wherein:
[0025] The PC monitoring terminal is mounted on the communication bus;
[0026] The PC monitoring terminal is used to periodically send listening signals to perform listening and receiving actions based on the listening signals; and then obtain the communication information on the communication bus in real time based on the listening and receiving actions; and obtain the status information content based on the communication information and a preset parsing method to realize active monitoring of the internal communication of the photovoltaic energy storage system.
[0027] A monitoring system for internal communication of a photovoltaic energy storage system provided by the present invention realizes active and real-time listening capabilities by mounting the PC monitoring terminal on the communication bus. By actively sending listening signals by the PC monitoring terminal, the communication bus is periodically listened to and received, and communication information is captured in real time, realizing active monitoring of the internal communication of the photovoltaic energy storage system without relying on the program settings of the main controller; in addition, through real-time monitoring of the PC monitoring terminal and analysis of the communication information, the transparency of the communication between the main controller and the battery pack is realized, which is convenient for tracking the communication content between the battery pack and the main controller, and is convenient for developers and testers to debug the photovoltaic system and troubleshoot problems.
[0028] The present invention also provides a terminal device, which includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, the above-mentioned monitoring method for internal communication of a photovoltaic energy storage system is realized. BRIEF DESCRIPTION OF THE DRAWINGS
[0029] Figure 1 Schematic diagram of a monitoring method for internal communication of a photovoltaic energy storage system provided by an embodiment of the present invention;
[0030] Figure 2 Schematic diagram of a monitoring system for internal communication of a photovoltaic energy storage system provided by an embodiment of the present invention;
[0031] Figure 3 Schematic diagram of a monitoring program for internal communication of a photovoltaic energy storage system provided by an embodiment of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS
[0032] The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0033] Embodiment 1:
[0034] This embodiment provides a monitoring method for internal communication of a photovoltaic energy storage system, which is applied to a PC monitoring terminal. The photovoltaic energy storage system includes a main controller, a plurality of battery packs, and a communication bus connecting the main controller and the plurality of battery packs. The PC monitoring terminal is mounted on the communication bus; as Figure 1 shown, the monitoring method includes the following steps:
[0035] S1: Periodically send a listening signal to perform a listening and receiving action based on the listening signal;
[0036] S2: Real-time obtain communication information on the communication bus based on the listening and receiving action;
[0037] S3: Obtain the content of the status information based on the communication information and a preset parsing method to implement active monitoring of the internal communication of the photovoltaic energy storage system.
[0038] In the monitoring method proposed in the above solution, by actively sending a listening signal, periodically listening to and receiving the communication bus, and real-time capturing the communication information, active monitoring of the internal communication of the photovoltaic energy storage system is realized, without relying on the program settings of the main controller; in addition, through real-time monitoring and parsing of the communication information, the transparency of the communication between the main controller and the battery pack is realized, which is convenient for tracking the communication content between the battery pack and the main controller, and is convenient for developers and testers to debug the photovoltaic system and troubleshoot problems.
[0039] In the specific implementation process, the communication bus can be selected as the RS485 bus. At this time, the communication between the main controller of the photovoltaic energy storage system and the battery pack uses the RS485 bus for communication, and the PC monitoring end is mounted on this RS485 bus for listening operations.
[0040] In the specific implementation process, polling and listening to the communication bus is achieved by periodically sending listening signals. Specifically, in the program, an infinite loop is used to continuously listen to the communication bus, and after receiving data, the communication information is obtained.
[0041] In the specific implementation process, a receiving port is set on the PC monitoring end. When performing the listening and receiving action, the communication information (i.e., the original data) received is temporarily stored in the memory of the PC monitoring end device, and at the same time, the received time is recorded and stored in the order of the received time for data processing in the next step.
[0042] Optionally, step S3 includes: storing based on the communication information and the corresponding receiving time in a preset storage order to obtain the original data; obtaining valid data based on the original data and a preset cutting method; obtaining valid information based on the valid data and a preset parsing method; when the valid information is determined to be the content of the status information, extracting the status information content based on the corresponding status information format to achieve active monitoring of the internal communication of the photovoltaic energy storage system.
[0043] In the specific implementation process, when there is data information on the communication bus, the PC monitoring end software listens to the communication content between the battery pack and the main controller, stores the original data, and records the time, and at the same time performs data parsing. Among them, the original data is the valid information content in the channel data format on the communication bus; the corresponding received time recorded is the time when the PC monitoring end device receives the original data; the data parsing is to parse the original data according to the battery pack communication software protocols of different manufacturers, which is related to the software protocol specified between the current main controller and the battery pack. By storing the communication information and the corresponding receiving time in a preset storage order, and cutting and parsing the communication information to save the valid information, the corresponding status information content can be extracted, making the communication content between the battery pack and the main controller transparent and traceable, which is convenient for debugging and troubleshooting problems.
[0044] Optionally, the step of obtaining valid data based on the original data and a preset cutting method includes: calculating the total data length based on the corresponding protocol format; identifying the start identifier based on the original data, so as to obtain the end byte content based on the start identifier and the total data length; when it is determined that the end byte content is consistent with the preset end identifier, obtaining the valid data based on the start identifier and the total data length.
[0045] Optionally, after identifying the start identifier based on the original data and obtaining the content of the end byte based on the start identifier and the total data length, the method further includes: when it is determined that the content of the end byte is inconsistent with the preset end identifier, the original data is invalid content, and the method returns to execute the listening and receiving action to obtain new communication information.
[0046] In a specific implementation process, the content is identified according to the software protocol format provided by the battery pack manufacturer, that is, the corresponding protocol format. The original data is cut according to the protocol format to avoid dividing adjacent original data into the same communication content, resulting in incorrect data parsing. Specifically, the data is cut according to the start identifier (0x7E, occupying 1 byte), the end identifier (0xE7, occupying 1 byte) in the protocol format, and the calculated total data length. Among them, the start identifier is the first item of the protocol format, the end identifier is the last item of the format, and the calculation method of the total data length is obtained by adding the total number of bytes occupied by the fixed content of the protocol format (such as the start identifier, command type, device address, etc.) and the number of bytes occupied by the data content. The number of bytes occupied by the data content is generally provided in the content length item in the protocol format. The data cutting step is performed based on the start identifier and the total data length to obtain valid data. The data cutting step includes: identifying the start identifier and positioning the start original data of a communication content; then, based on the identified start original data, offset according to the calculated total data length to locate the end identifier and obtain the content of the end byte; determine whether the content of the end byte is consistent with the preset end identifier. If it is consistent, the identified start original data and the subsequent bytes with the number of data length bytes are divided into the same communication content. If it is inconsistent, it is regarded as dirty data and not identified as valid content. This solution cuts the original data according to the corresponding protocol format, avoiding abnormal situations such as dividing adjacent original data into the same communication content and resulting in incorrect data parsing.
[0047] Optionally, when the step of determining the valid information determines that the content is the status information content, the status information content is extracted based on the corresponding status information format to implement active monitoring of the internal communication of the photovoltaic energy storage system, including: when the valid information is determined to be the status information content, a corresponding status item is created based on the preset protocol information format; the corresponding status information format is obtained based on the valid information; the valid information is assigned values based on the corresponding status information format and the corresponding status item to extract the status information content, so as to implement active monitoring of the internal communication of the photovoltaic energy storage system.
[0048] Optionally, after the step of obtaining the valid information based on the valid data and the preset parsing method, the method further includes: when the valid information is determined to be non-status information content, the valid information is directly used as the status information content.
[0049] In the specific implementation process, after the original data is cut, the divided original data will be protocol-analyzed to identify the specific protocol content of the original data, such as control commands, execution replies, status information, etc. The specific analysis method is to analyze according to the command codes corresponding to the status information format in the protocol provided by the manufacturer. Overall, the protocol format composition remains unchanged, but the expression forms of the data in the corresponding contents of different command codes are different. For example, the third and fourth bytes of the content part of the status information of the battery pack represent the total voltage, while in the command to set the MOS switch control of the battery pack, the content is only one byte, and it represents the MOS switch state to be executed; if it is status information, the status information content in the protocol is extracted to facilitate personnel to intuitively understand the specific parameters, observe the fault values, fault warnings, etc.
[0050] In the specific implementation process, the specific extraction steps for extracting the status information content based on the corresponding status information format include: creating corresponding status items on the software according to the corresponding status information format in the manufacturer's protocol to store the analyzed data; according to the status information format corresponding to different command codes, corresponding to the previously created corresponding status items, assign the analyzed data into them to complete the extraction of the status information from the protocol.
[0051] Optionally, after periodically sending a listening signal to perform a listening and receiving action based on the listening signal, before obtaining the communication information on the communication bus in real time based on the listening and receiving action, a running instruction is sent to control the photovoltaic energy storage system to start running, so that communication information is generated inside the photovoltaic energy storage system.
[0052] In the specific implementation process, it is necessary to first perform the listening and receiving action of the PC monitoring end to monitor the communication bus, and then start running the photovoltaic energy storage system and wait for the communication between the main controller and the battery pack of the photovoltaic energy storage system; during this period, the monitoring software of the PC monitoring end is set to the polling state and keeps waiting and monitoring the communication bus. This solution ensures that the PC monitoring end can actively and real-time monitor the communication content by controlling the photovoltaic energy storage system to start running after sending a listening signal to perform the listening and receiving action, and at the same time, the PC monitoring end periodically sends a listening signal to make it in the polling state, and ensures that the communication content between the main controller and the battery pack during the operation of the photovoltaic energy storage system can be completely recorded to avoid missing the recording of the content.
[0053] Optionally, the monitoring method further includes: performing visual encoding conversion based on the status information content to obtain transcoded data; and performing visual processing based on the transcoded data and the corresponding receiving time.
[0054] In the specific implementation process, the visual coding transformation visually processes the communication content between the main controller and the battery pack, making the data changes on the bus visual and the transmission process transparent, facilitating developers and testers to intuitively understand the raw data in a non-machine coding format. And the corresponding values are displayed on the monitoring software of the PC side.
[0055] In the specific implementation process, through the window printing protocol content, the visually coded conversion of the text content of the divided data in the memory is carried out, and the reception time of the raw data and the raw data displayed after transcoding received are displayed in the monitoring software; this active and real-time monitoring and printing method of the bus content makes the data changes on the communication bus visual, the transmission process transparent, and the changes in the data content traceable, facilitating developers and testers to intuitively understand the raw data in a non-machine coding format.
[0056] A monitoring method for the internal communication of a photovoltaic energy storage system provided in this embodiment realizes the active monitoring of the internal communication of the photovoltaic energy storage system by actively sending listening signals, periodically listening to and receiving the communication bus, and capturing communication information in real time, without relying on the program settings of the main controller; in addition, through real-time monitoring and parsing of the communication information, the transparency of the communication between the main controller and the battery pack is realized, facilitating the tracking of the communication content between the battery pack and the main controller, and facilitating developers and testers to debug the photovoltaic system and troubleshoot problems; by judging the consistency between the end byte content and the preset end identifier, it is ensured that the finally identified and stored information content is the required valid content, avoiding signal and storage resource waste; at the same time, effective content extraction and visual transcoding processing are carried out, making the data changes on the bus visual and the communication process transparent, facilitating developers and testers to intuitively understand the raw data in a non-machine coding format.
[0057] Embodiment 2:
[0058] This embodiment provides a monitoring system for the internal communication of a photovoltaic energy storage system, which is used to implement the above-mentioned monitoring method for the internal communication of a photovoltaic energy storage system. The photovoltaic energy storage system includes a main controller and several battery packs. The monitoring system includes a PC monitoring terminal and a communication bus connecting the main controller and several battery packs, where:
[0059] The PC monitoring terminal is mounted on the communication bus;
[0060] The PC monitoring terminal is used to periodically send listening signals to perform listening and receiving actions based on the listening signals; and then obtain the communication information on the communication bus in real time based on the listening and receiving actions; and obtain the status information content based on the communication information and the preset parsing method to realize the active monitoring of the internal communication of the photovoltaic energy storage system.
[0061] In the specific implementation process, the communication bus can be implemented using the RS485 bus. At this time, RS485 interfaces are set on the main controller and the battery pack, and an RS485 bus is formed through connection via the RS485 interfaces; an RS485 module is set at the PC monitoring end for sending monitoring signals and receiving communication information on the monitored RS485 bus.
[0062] A monitoring system for internal communication of a photovoltaic energy storage system provided in this embodiment realizes the active and real-time monitoring capabilities by mounting the PC monitoring end on the communication bus. By actively sending monitoring signals from the PC monitoring end, the communication bus is periodically monitored and received, and communication information is captured in real time, realizing the active monitoring of the internal communication of the photovoltaic energy storage system without relying on the program settings of the main controller; in addition, through the real-time monitoring of the PC monitoring end and the parsing of communication information, the transparency of the communication between the main controller and the battery pack is realized, facilitating the tracking of the communication content between the battery pack and the main controller, and facilitating the development and testing personnel to debug the photovoltaic system and troubleshoot problems.
[0063] Embodiment 3:
[0064] When this monitoring system is implemented using an RS485 module, as Figure 2 shown: RS485 interfaces are provided on the main controller and the battery pack; the RS485 interfaces are connected in the manner of standard A and B signal differential lines to form an RS485 communication bus; an RS485 module is provided at the PC monitoring end for receiving on the RS485 communication bus, and the A and B communication pins of the RS485 module at the PC monitoring end are connected to the corresponding A and B signal differential lines of the above RS485 communication bus.
[0065] Specifically, the RS485 module mainly provides the receiving ability on the RS485 communication bus for the PC monitoring end, that is, the ability to actively monitor the RS485 communication bus; the RS485 interface is used to provide the communication ability of the main controller and the battery pack on the RS485 communication bus for the RS485 channel. Optionally, the RS485 interface is a general RS485 interface, and the RS485 module is a general RS485 module.
[0066] In the specific implementation process, if the number of battery packs is two or more, the same physical connection method is followed.
[0067] In the specific implementation process, when using this monitoring system for real-time monitoring, the main process of the monitoring program at the PC monitoring end is as Figure 3 shown, including:
[0068] S21: Configure the RS485 and open the RS485 port;
[0069] S22: Poll and monitor the RS485 port: In an infinite loop, continuously monitor the RS485 port. After detecting communication data, execute step S23;
[0070] S23: Receive the communication data in the RS485 port: Temporarily store the received communication data in the memory of the PC monitoring device, and record the corresponding reception time at the same time. Store it in the order of reception time for data processing in step S24;
[0071] S24: Content recognition and protocol parsing: Extract the communication data, and perform cutting and recognition parsing on the communication data to obtain the valid content;
[0072] S25: Determine whether the valid content is status information: If it is status information, extract the status information content and enter step S26. If the valid content is non-status information, directly enter step S27;
[0073] S26: Display the status information content in the display window of the PC monitoring end;
[0074] S27: Window print the protocol content: Perform visual encoding conversion on the text content of the valid content from steps S25 and S26 to obtain visual communication data, and display the time when the communication data corresponding to the valid content is received and its visual communication data.
[0075] Among them, the RS485 module can use an RS485 transceiver. The content configured by RS485 includes: baud rate, data bits, stop bits, and parity bits. Usually, the baud rate can be selected as 115200bps, 9600bps, etc. The data bits are usually 8 bits, the stop bits are usually 1 bit, and there is no parity bit for parity check. Specific parameters need to be based on the parameters set by the battery pack manufacturer. The PC detection end is provided with a display window to display information such as visual communication data and corresponding time in real time.
[0076] This embodiment provides a terminal device, including a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements the above-mentioned monitoring method for internal communication of a photovoltaic energy storage system.
[0077] The above is the preferred embodiment of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and refinements can be made, and these improvements and refinements are also regarded as the protection scope of the present invention.
Claims
1. A monitoring method for internal communication of a photovoltaic energy storage system, characterized in that, Applied to the PC monitoring terminal, the photovoltaic energy storage system includes a main controller, a plurality of battery packs, and a communication bus connecting the main controller and the plurality of battery packs, and the PC monitoring terminal is mounted on the communication bus; the monitoring method includes: Periodically send a listening signal to perform a listening and receiving action based on the listening signal; Obtain the communication information on the communication bus in real time based on the listening and receiving action; Obtain the status information content based on the communication information and a preset parsing method to realize the active monitoring of the internal communication of the photovoltaic energy storage system.
2. The monitoring method for internal communication of a photovoltaic energy storage system according to claim 1, wherein, The obtaining the status information content based on the communication information and a preset parsing method to realize the active monitoring of the internal communication of the photovoltaic energy storage system includes: Store the communication information and the corresponding receiving time in a preset storage order to obtain the original data; Obtain the valid data based on the original data and a preset cutting method; Obtain the valid information based on the valid data and a preset parsing method; When the valid information is determined to be the status information content, extract the status information content based on the corresponding status information format to realize the active monitoring of the internal communication of the photovoltaic energy storage system.
3. A monitoring method for internal communication of a photovoltaic energy storage system according to claim 2, characterized in that, The obtaining the valid data based on the original data and a preset cutting method includes: Calculate the total data length based on the corresponding protocol format; Identify the start identifier based on the original data, and obtain the end byte content based on the start identifier and the total data length; When it is determined that the end byte content is consistent with the preset end identifier, obtain the valid data based on the start identifier and the total data length.
4. A monitoring method for internal communication of a photovoltaic energy storage system according to claim 3, characterized in that, After the identifying the start identifier based on the original data and obtaining the end byte content based on the start identifier and the total data length, it further includes: When it is determined that the end byte content is inconsistent with the preset end identifier, the original data is invalid content, and return to execute the listening and receiving action to obtain new communication information.
5. The monitoring method for internal communication of a photovoltaic energy storage system according to claim 2, characterized in that, When the valid information is determined to be the status information content, extract the status information content based on the corresponding status information format to realize the active monitoring of the internal communication of the photovoltaic energy storage system includes: When the valid information is determined to be the status information content, create a corresponding status item based on the preset protocol information format; Obtain the corresponding status information format based on the valid information; Assign the valid information based on the corresponding status information format and the corresponding status item to extract the status information content to realize the active monitoring of the internal communication of the photovoltaic energy storage system.
6. The monitoring method for internal communication of a photovoltaic energy storage system according to claim 2, characterized in that, After the obtaining the valid information based on the valid data and a preset parsing method, it further includes: When the valid information is determined not to be the status information content, directly use the valid information as the status information content.
7. A monitoring method for internal communication of a photovoltaic energy storage system according to claim 1, characterized in that, It further includes: After the periodically sending a listening signal to perform a listening and receiving action based on the listening signal, and before the obtaining the communication information on the communication bus in real time based on the listening and receiving action, send a running instruction to control the photovoltaic energy storage system to start running, so that communication information is generated inside the photovoltaic energy storage system.
8. The monitoring method for internal communication of a photovoltaic energy storage system according to claim 1, characterized in that, It further includes: Perform visual encoding conversion based on the status information content to obtain transcoded data; Perform visual processing based on the transcoded data and the corresponding receiving time.
9. A monitoring system for internal communication of a photovoltaic energy storage system, characterized in that, A monitoring method for implementing internal communication of a photovoltaic energy storage system as described in any one of claims 1 to 8. The photovoltaic energy storage system includes a main controller and a plurality of battery packs. The monitoring system includes a PC monitoring terminal and a communication bus connecting the main controller and the plurality of battery packs, wherein: The PC monitoring terminal is mounted on the communication bus; The PC monitoring terminal is configured to periodically send a listening signal to perform a listening and receiving action based on the listening signal; and then obtain the communication information on the communication bus in real time based on the listening and receiving action; and obtain the status information content based on the communication information and a preset parsing method to implement active monitoring of the internal communication of the photovoltaic energy storage system.
10. A terminal device, characterized in that, It includes a processor, a memory, and a computer program stored in the memory and configured to be executed by the processor. When the processor executes the computer program, it implements a monitoring method for internal communication of a photovoltaic energy storage system as described in any one of claims 1-8.
Citation Information
Patent Citations
Power battery monitoring device and method
CN107284272A
System and method for battery management
CN115732775A
Control method of modular energy storage system
CN115765107A