Method and device for collecting logs of photovoltaic tracking support system
The method and device enable remote log collection in photovoltaic tracking systems by forming a local area network between NCUs and TCUs, addressing inefficiencies in manual log collection and improving maintenance efficiency through centralized log analysis.
Patent Information
- Application Number
- CN202411190614.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-28
- Publication Date
- 2024-12-24
AI Technical Summary
Existing photovoltaic tracking bracket systems lack the ability to remotely collect logs from multiple TCUs, leading to inefficient maintenance and troubleshooting due to the need for on-site manual log collection, which affects the overall operating efficiency.
A method and device for remote log collection using a communicator NCU and motor controllers TCU forming a local area network via LoRa and/or Zigbee, enabling the NCU to receive and upload logs from target TCUs, with optional communication switching between LoRa and Zigbee based on connectivity, and utilizing the MQTT protocol for transmission.
Facilitates quick and efficient remote log collection, reducing manual effort and improving maintenance efficiency by allowing centralized log analysis, thereby enhancing the debugging and fault analysis of photovoltaic tracking systems.
Smart Images

Figure CN119182683A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of data processing technology, and in particular to a method and device for collecting logs of a photovoltaic tracking bracket system. Background Art
[0002] With the rapid development of photovoltaic power generation technology, excellent photovoltaic tracking bracket systems are becoming increasingly important. They are usually composed of several arrays, each of which contains a communicator NCU (Network Control Unit) and several motor controllers TCU (Telematics Control Unit). Among them, NCU is used to control the TCU in its array.
[0003] The existing photovoltaic tracking bracket system lacks the function of remotely collecting the equipment logs of a large number of TCUs. As a result, once a TCU fails or needs to be debugged, maintenance personnel need to go to the site to export logs and troubleshoot the TCUs that need log collection one by one. The workload is large and the efficiency is low, which in turn affects the overall operating efficiency of the photovoltaic system. Therefore, there is an urgent need for a method to quickly and efficiently collect remote logs even when facing a large number of TCUs. Summary of the invention
[0004] Based on the above problems, the present application provides a method and device for collecting logs of a photovoltaic tracking bracket system, so as to perform fast and efficient remote log collection when facing a large number of TCUs.
[0005] The present application discloses a method for collecting logs of a photovoltaic tracking bracket system. A communicator NCU in the photovoltaic tracking bracket system and a plurality of motor controllers TCU corresponding to the NCU form a local area network. The method comprises:
[0006] The NCU receives a log collection instruction issued remotely; the log collection instruction includes an identifier of the target TCU;
[0007] The NCU collects the log stored in real time by the target TCU according to the log collection instruction; the target TCU is in the local area network;
[0008] The NCU remotely uploads the collected logs.
[0009] Optionally, the NCU and all TCUs corresponding to the NCU form a local area network through lora and / or zigbee, and the NCU collects the logs stored in real time by the target TCU according to the log collection instruction, including:
[0010] The NCU collects the logs via lora and / or zigbee.
[0011] Optionally, the NCU collects the logs through lora and zigbee, and the collecting of the logs includes:
[0012] When the NCU cannot establish point-to-point communication with the target TCU through Zigbee, it establishes point-to-point communication with the target TCU through Lora to collect the log.
[0013] Optionally, collecting the log stored in real time by the target TCU includes:
[0014] The NCU sends a collection request to the target TCU;
[0015] The target TCU responds to the collection request and feeds back the log to the NCU; the log is stored in real time by the target TCU in a storage partition mounted by the file system of the target TCU;
[0016] The NCU receives the log and stores it in a storage partition mounted by a file system of the NCU.
[0017] Optionally, before the NCU receives a log collection instruction sent remotely, the method further includes:
[0018] Based on the target TCU, the log collection instruction is remotely issued to the NCU corresponding to the target TCU through the monitoring platform.
[0019] Optionally, the target TCU includes a first TCU and a second TCU both corresponding to the first NCU, and the remotely sending the log collection instruction to the NCU corresponding to the target TCU through the monitoring platform includes:
[0020] A log collection instruction including the identifier of the first TCU and the identifier of the second TCU is remotely sent to the first NCU through the monitoring platform.
[0021] Optionally, the target TCU includes a third TCU corresponding to the second NCU and a fourth TCU corresponding to the third NCU, and the remotely sending the log collection instruction to the NCU corresponding to the target TCU through the monitoring platform includes:
[0022] Through the monitoring platform, a log collection instruction including the identifier of the third TCU is remotely sent to the second NCU, and a log collection instruction including the identifier of the fourth TCU is remotely sent to the third NCU.
[0023] Optionally, the NCU remotely uploads the collected logs, including:
[0024] The NCU remotely uploads the log to the monitoring platform.
[0025] Optionally, the NCU and the monitoring platform transmit information via the MQTT protocol.
[0026] Based on the above-mentioned method for collecting logs of a photovoltaic tracking bracket system, the present application also discloses a device for collecting logs of a photovoltaic tracking bracket system. The communicator NCU in the photovoltaic tracking bracket system and multiple motor controllers TCU corresponding to the NCU form a local area network. The device includes: a collection unit and an upload unit.
[0027] The collection unit is used for the NCU to receive a log collection instruction issued remotely; the log collection instruction includes an identifier of the target TCU;
[0028] Also used for the NCU to collect the log stored in real time by the target TCU according to the log collection instruction; the target TCU is in the local area network;
[0029] The uploading unit is used for the NCU to remotely upload the collected logs.
[0030] Optionally, the NCU and all TCUs corresponding to the NCU form a local area network through lora and / or zigbee, and the acquisition unit is used to:
[0031] The NCU collects the logs via lora and / or zigbee.
[0032] Optionally, the NCU collects the logs through lora and zigbee, and the collection unit is used to:
[0033] When the NCU cannot establish point-to-point communication with the target TCU through Zigbee, it establishes point-to-point communication with the target TCU through Lora to collect the log.
[0034] Optionally, the acquisition unit includes:
[0035] A request subunit, used for the NCU to send a collection request to the target TCU;
[0036] A feedback subunit, configured for the target TCU to respond to the collection request and feed back the log to the NCU; the log is stored in real time by the target TCU in a storage partition mounted by the file system of the target TCU;
[0037] The storage subunit is used for the NCU to receive the log and store it in a storage partition mounted by the file system of the NCU.
[0038] Optionally, the device further comprises:
[0039] The sending unit is used to send the log collection instruction to the NCU corresponding to the target TCU remotely through the monitoring platform based on the target TCU.
[0040] Optionally, the target TCU includes a first TCU and a second TCU both corresponding to the first NCU, and the sending unit is used to:
[0041] A log collection instruction including the identifier of the first TCU and the identifier of the second TCU is remotely sent to the first NCU through the monitoring platform.
[0042] Optionally, the target TCU includes a third TCU corresponding to the second NCU and a fourth TCU corresponding to the third NCU, and the issuing unit is configured to:
[0043] Through the monitoring platform, a log collection instruction including the identifier of the third TCU is remotely sent to the second NCU, and a log collection instruction including the identifier of the fourth TCU is remotely sent to the third NCU.
[0044] Optionally, the uploading unit is used to:
[0045] The NCU remotely uploads the log to the monitoring platform.
[0046] Optionally, the NCU and the monitoring platform transmit information via the MQTT protocol.
[0047] The present application discloses a method and device for collecting logs of a photovoltaic tracking bracket system. The communicator NCU in the photovoltaic tracking bracket system and the multiple motor controllers TCU corresponding to the NCU form a local area network. The NCU receives a remotely issued log collection instruction including the identifier of the target TCU, and collects the logs of the target TCU in the local area network accordingly, and finally the NCU uploads the collected logs remotely. When it is necessary to collect the logs of the TCU in the photovoltaic tracking system array, remote collection is quickly performed based on the connection between the NCU and the TCU, without the need to export each TCU on site, thereby reducing the operating error rate and improving the efficiency of log collection. It supports operation and maintenance personnel to quickly and accurately find the logs of the TCU in any array in the photovoltaic tracking bracket system, thereby improving the debugging and fault analysis efficiency of the photovoltaic tracking bracket. BRIEF DESCRIPTION OF THE DRAWINGS
[0048] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on the provided drawings without paying any creative work.
[0049] Figure 1 A schematic diagram of a flow chart of a method for collecting logs of a photovoltaic tracking bracket system disclosed in an embodiment of the present application;
[0050] Figure 2 A schematic flow chart of another method for collecting logs of a photovoltaic tracking bracket system disclosed in an embodiment of the present application;
[0051] Figure 3a A schematic flow chart of another method for collecting logs of a photovoltaic tracking bracket system disclosed in an embodiment of the present application;
[0052] Figure 3b This is a schematic diagram of information transmission of a method for collecting logs of a photovoltaic tracking bracket system disclosed in an embodiment of the present application;
[0053] Figure 4 A schematic diagram of the structure of a device for collecting logs of a photovoltaic tracking bracket system disclosed in an embodiment of the present application. DETAILED DESCRIPTION
[0054] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. Obviously, the described embodiments are only part of the embodiments of the present application, not all of the embodiments. Based on the embodiments in the present application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0055] Embodiment 1: This application discloses a method for collecting logs of a photovoltaic tracking bracket system.
[0056] For details, please refer to Figure 1 The method for collecting logs of a photovoltaic tracking bracket system disclosed in this embodiment includes the following steps:
[0057] Step 101: The NCU receives a log collection instruction sent remotely.
[0058] In the method described in this embodiment, each array of the photovoltaic tracking bracket system includes an NCU and several TCUs. The NCU can be connected to the monitoring platform through the MQTT protocol (a message transmission protocol based on the publish-subscribe mode), and the NCU and all TCUs corresponding to the NCU can form a local area network through lora and / or zigbee.
[0059] The method described in this embodiment can be implemented by a pre-established monitoring platform. As an optional method, the user can remotely send a log collection instruction including the identifier of the target TCU to the NCU corresponding to the target TCU through the monitoring platform based on the target TCU. Among them, the user can be a maintenance personnel or a system that supports monitoring the status of the TCU. The target TCU can be a TCU in an abnormal state or a TCU in a normal state. For example, in one case, the maintenance personnel wants to check the status of the first TCU, and then remotely send a log collection instruction including the identifier of TCU No. 1 to the NCU corresponding to TCU No. 1 through the monitoring platform. In another case, an abnormality occurs in TCU No. 1, and the system that supports monitoring the status of TCU detects the abnormality, and then automatically sends a log collection instruction including the identifier of TCU No. 1 to the NCU corresponding to TCU No. 1 through the monitoring platform. The specific types of users and target TCUs are not limited here, and the above method can be implemented.
[0060] In the method described in this embodiment, there can be multiple target TCUs, and the multiple target TCUs can correspond to the same NCU or different NCUs. For example, in one case, the target TCUs are TCU No. 2 and TCU No. 3, and TCU No. 2 corresponds to NCU No. 1, and TCU No. 3 corresponds to NCU No. 2. Then, a log collection instruction including the identifier of TCU No. 2 can be remotely sent to NCU No. 1 through the monitoring platform, and a log collection instruction including the identifier of TCU No. 3 can be sent to NCU No. 2 at the same time. In another case, TCU No. 2 and TCU No. 3 both correspond to NCU No. 1, then a log collection instruction including the identifiers of TCU No. 2 and TCU No. 3 can be remotely sent to NCU No. 1 through the monitoring platform. The number of target TCUs and the corresponding NCUs are not specifically limited here, and it is sufficient to be able to implement the above method.
[0061] Step 102: The NCU collects the logs stored in real time by the target TCU according to the log collection instruction.
[0062] In the method described in this embodiment, the NCU can collect the logs of the TCU in the local area network through the established local area network. As an optional method, when the NCU and all the TCUs corresponding to the NCU form a local area network through lora or zigbee, the NCU collects logs through lora or zigbee, and the way of collecting logs needs to be consistent with the way of forming the local area network. For example, the NCU and all the TCUs corresponding to the NCU form a local area network through lora, then the NCU needs to collect logs through lora. Correspondingly, the NCU and all the TCUs corresponding to the NCU form a local area network through zigbee, then the NCU needs to collect logs through zigbee. Among them, the lora method is more suitable for open places and long-distance transmission, and the zigbee is more suitable for less open places and short-distance transmission. In actual work, it can be freely selected according to needs, and no specific limitation is made here. It is sufficient to implement the method described in this embodiment.
[0063] As another optional method, when the NCU and all TCUs corresponding to the NCU form a local area network through lora and zigbee, when the NCU cannot collect logs through zigbee, it can switch to collecting logs through lora. Correspondingly, when the NCU cannot collect logs through lora, it can also switch to collecting logs through zigbee.
[0064] In the method described in this embodiment, the step of collecting the log of the target TCU can be specifically that the NCU sends a collection request to the target TCU in a point-to-point communication manner based on the established local area network. The target TCU responds to the collection request and feeds the log back to the NCU. The log is stored in real time by the target TCU in the storage partition mounted by the file system of the target TCU. Subsequently, the NCU receives the log and stores it in the storage partition mounted by the file system of the NCU.
[0065] In the method described in this embodiment, the file system of the TCU and the file system of the NCU can both be FAT32 file systems or other file systems. The type of file system is not specifically limited here, and is only used as an example for ease of understanding. The file system can implement the above steps.
[0066] In the method described in this embodiment, the target TCU may feed back logs to the NCU via a text transmission protocol.
[0067] Step 103: The NCU remotely uploads the collected logs.
[0068] In the method described in this embodiment, the NCU can remotely upload the log to the monitoring platform through the MQTT protocol, and the monitoring platform can obtain the historical operation log of the on-site array motor controller to analyze the problem.
[0069] The present embodiment provides a method for remotely obtaining TCU logs through a monitoring platform, which is specifically implemented through a local area network formed by NCU and TCU. In the method described in the present embodiment, when the TCU in the on-site array of the photovoltaic power station is running, the log of the equipment operation can be stored in real time on the storage partition mounted by the file system. When the monitoring platform has debugging or fault location requirements for any TCU, it can issue a collection instruction to the corresponding NCU through the monitoring platform. NCU transfers files with TCU through the local area network, collects logs, and feeds back to the monitoring platform, so that the monitoring platform can realize the function of viewing the logs of any TCU in real time, thereby improving the efficiency of equipment debugging and fault analysis. And compared with the traditional solution of exporting logs for each device on site, the method described in the present embodiment is more efficient and accurate in large-scale photovoltaic tracking bracket systems, reducing a large amount of complicated manual on-site operations, and is more applicable in the scenario of TCU batch log acquisition.
[0070] Embodiment 2: This application discloses another method for collecting logs of photovoltaic tracking bracket system. Figure 2 The method described in this embodiment introduces the whole process of log collection through lora and zigbee.
[0071] Step 201: The first NCU and the first TCU establish a local area network through lora and zigbee.
[0072] Step 202: The monitoring platform sends a log collection instruction of the first TCU to the first NCU.
[0073] Step 203: Check whether the first NCU can perform point-to-point communication with the first TCU via Zigbee. If yes, proceed to step 204. If no, proceed to step 205.
[0074] Step 204: The first NCU collects the log of the first TCU and feeds it back to the monitoring platform.
[0075] Step 205: The first NCU performs point-to-point communication with the first TCU via LoRa. Go to step 204.
[0076] Example 3: This application discloses another method for collecting logs of photovoltaic tracking bracket system. Figure 3a The method described in this embodiment introduces the whole process of batch log collection.
[0077] Step 301: The first NCU, the first TCU and the second TCU form a local area network through lora and zigbee, and the second NCU and the third TCU form a local area network through lora and zigbee.
[0078] Step 302: The monitoring platform sends a log collection instruction of the first TCU and the second TCU to the first NCU, and sends a log collection instruction of the third TCU to the second NCU.
[0079] Step 303: The first NCU performs point-to-point communication with the first TCU and the second TCU through the local area network to obtain logs of the first TCU and the second TCU.
[0080] Step 304: The first NCU feeds back the acquired logs to the monitoring platform.
[0081] Step 305: The second NCU performs point-to-point communication with the third TCU via the local area network to obtain the log of the third TCU.
[0082] Step 306: The second NCU feeds back the acquired logs to the monitoring platform.
[0083] In the method described in this embodiment, a schematic diagram of information transmission of a method for collecting logs of a photovoltaic tracking bracket system is shown in FIG. Figure 3b As shown, the monitoring platform requests the first NCU to collect logs of the first TCU and the second TCU through the MQTT protocol. The first NCU requests the first TCU and the second TCU to collect logs through the local area network, and the first TCU and the second TCU respectively send the logs to the first NCU from the storage partition LOG mounted by their own file systems. The first NCU temporarily stores the collected logs in the storage partition mounted by its own file system, and when the log transmission is completed, it sends the logs to the monitoring platform through the MQTT protocol.
[0084] Based on the method for collecting logs of a photovoltaic tracking bracket system disclosed in the above embodiment, this embodiment correspondingly discloses a device for collecting logs of a photovoltaic tracking bracket system. Figure 4 The communicator NCU in the photovoltaic tracking bracket system and multiple motor controllers TCU corresponding to the NCU form a local area network. The device includes: a collection unit 401 and an upload unit 402.
[0085] The collection unit 401 is used for the NCU to receive a log collection instruction issued remotely; the log collection instruction includes an identifier of the target TCU;
[0086] Also used for the NCU to collect the log stored in real time by the target TCU according to the log collection instruction; the target TCU is in the local area network;
[0087] The uploading unit 402 is used for the NCU to remotely upload the collected logs.
[0088] Optionally, the NCU and all TCUs corresponding to the NCU form a local area network through lora and / or zigbee, and the acquisition unit 401 is used to:
[0089] The NCU collects the logs via lora and / or zigbee.
[0090] Optionally, the NCU collects the logs through lora and zigbee, and the collection unit 401 is used to:
[0091] When the NCU cannot establish point-to-point communication with the target TCU through Zigbee, it establishes point-to-point communication with the target TCU through Lora to collect the log.
[0092] Optionally, the acquisition unit 401 includes:
[0093] A request subunit, used for the NCU to send a collection request to the target TCU;
[0094] A feedback subunit, configured for the target TCU to respond to the collection request and feed back the log to the NCU; the log is stored in real time by the target TCU in a storage partition mounted by the file system of the target TCU;
[0095] The storage subunit is used for the NCU to receive the log and store it in a storage partition mounted by the file system of the NCU.
[0096] Optionally, the device further comprises:
[0097] The sending unit is used to send the log collection instruction to the NCU corresponding to the target TCU remotely through the monitoring platform based on the target TCU.
[0098] Optionally, the target TCU includes a first TCU and a second TCU both corresponding to the first NCU, and the sending unit is used to:
[0099] A log collection instruction including the identifier of the first TCU and the identifier of the second TCU is remotely sent to the first NCU through the monitoring platform.
[0100] Optionally, the target TCU includes a third TCU corresponding to the second NCU and a fourth TCU corresponding to the third NCU, and the issuing unit is configured to:
[0101] Through the monitoring platform, a log collection instruction including the identifier of the third TCU is remotely sent to the second NCU, and a log collection instruction including the identifier of the fourth TCU is remotely sent to the third NCU.
[0102] Optionally, the uploading unit 402 is used to:
[0103] The NCU remotely uploads the log to the monitoring platform.
[0104] Optionally, the NCU and the monitoring platform transmit information via the MQTT protocol.
[0105] The embodiments in this specification are described in a progressive manner. As for the devices disclosed in the embodiments, since they correspond to the methods disclosed in the embodiments, the description is relatively simple, and the relevant parts can be referred to the description of the methods.
[0106] It should also be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the presence of other identical elements in the process, method, article or device including the elements.
[0107] The steps of the method or algorithm described in conjunction with the embodiments disclosed herein may be implemented directly using hardware, a software module executed by a processor, or a combination of the two. The software module may be placed in a random access memory (RAM), a memory, a read-only memory (ROM), an electrically programmable ROM, an electrically erasable programmable ROM, a register, a hard disk, a removable disk, a CD-ROM, or any other form of storage medium known in the art.
[0108] The features described in the embodiments of this specification can be replaced or combined with each other, so that professional and technical personnel in this field can implement or use the present application.
[0109] The above description of the disclosed embodiments enables those skilled in the art to implement or use the present application. Various modifications to these embodiments will be apparent to those skilled in the art, and the general principles defined herein may be implemented in other embodiments without departing from the spirit or scope of the present application. Therefore, the present application will not be limited to the embodiments shown herein, but will conform to the widest scope consistent with the principles and novel features disclosed herein.
Claims
1. A method for collecting logs of a photovoltaic tracking bracket system, characterized in that: A communicator NCU in a photovoltaic tracking bracket system and a plurality of motor controllers TCU corresponding to the NCU form a local area network, and the method includes: The NCU receives a log collection instruction issued remotely; the log collection instruction includes an identifier of the target TCU; The NCU collects the log stored in real time by the target TCU according to the log collection instruction; the target TCU is in the local area network; The NCU remotely uploads the collected logs.
2. The method according to claim 1, characterized in that The NCU and all TCUs corresponding to the NCU form a local area network through lora and / or zigbee, and the NCU collects the logs stored in real time by the target TCU according to the log collection instruction, including: The NCU collects the logs via lora and / or zigbee.
3. The method according to claim 2, characterized in that The NCU collects the logs through lora and zigbee, and the collecting of the logs includes: When the NCU cannot establish point-to-point communication with the target TCU through Zigbee, it establishes point-to-point communication with the target TCU through Lora to collect the log.
4. The method according to claim 1, characterized in that: The collecting of the logs stored in real time by the target TCU includes: The NCU sends a collection request to the target TCU; The target TCU responds to the collection request and feeds back the log to the NCU; the log is stored in real time by the target TCU in a storage partition mounted by the file system of the target TCU; The NCU receives the log and stores it in a storage partition mounted by a file system of the NCU.
5. The method according to claim 1, characterized in that Before the NCU receives the remotely issued log collection instruction, the method further includes: Based on the target TCU, the log collection instruction is remotely issued to the NCU corresponding to the target TCU through the monitoring platform.
6. The method according to claim 5, characterized in that The target TCU includes a first TCU and a second TCU both corresponding to the first NCU, and the remotely sending the log collection instruction to the NCU corresponding to the target TCU through the monitoring platform includes: A log collection instruction including the identifier of the first TCU and the identifier of the second TCU is remotely sent to the first NCU through the monitoring platform.
7. The method according to claim 5, characterized in that The target TCU includes a third TCU corresponding to the second NCU and a fourth TCU corresponding to the third NCU, and the remotely sending the log collection instruction to the NCU corresponding to the target TCU through the monitoring platform includes: Through the monitoring platform, a log collection instruction including the identifier of the third TCU is remotely sent to the second NCU, and a log collection instruction including the identifier of the fourth TCU is remotely sent to the third NCU.
8. The method according to claim 5, characterized in that The NCU remotely uploads the collected logs, including: The NCU remotely uploads the log to the monitoring platform.
9. The method according to claim 5, characterized in that The NCU and the monitoring platform transmit information via the MQTT protocol.
10. A device for collecting logs of a photovoltaic tracking bracket system, characterized in that: The communicator NCU in the photovoltaic tracking support system and a plurality of motor controllers TCU corresponding to the NCU form a local area network. The device includes: a collection unit and an upload unit. The collection unit is used for the NCU to receive a log collection instruction issued remotely; the log collection instruction includes an identifier of the target TCU; Also used for the NCU to collect the log stored in real time by the target TCU according to the log collection instruction; the target TCU is in the local area network; The uploading unit is used for the NCU to remotely upload the collected logs.
