CN116546007A - Photovoltaic tracking control box online upgrading system and method and communication box - Google Patents

Photovoltaic tracking control box online upgrading system and method and communication box Download PDF

Info

Publication number
CN116546007A
CN116546007A CN202310634250.XA CN202310634250A CN116546007A CN 116546007 A CN116546007 A CN 116546007A CN 202310634250 A CN202310634250 A CN 202310634250A CN 116546007 A CN116546007 A CN 116546007A
Authority
CN
China
Prior art keywords
box
control box
communication box
upgrade
upgrade file
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202310634250.XA
Other languages
Chinese (zh)
Inventor
杨颖�
王利兵
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Arctech Solar Holding Co Ltd
Original Assignee
Arctech Solar Holding Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Arctech Solar Holding Co Ltd filed Critical Arctech Solar Holding Co Ltd
Priority to CN202310634250.XA priority Critical patent/CN116546007A/en
Publication of CN116546007A publication Critical patent/CN116546007A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L67/00Network arrangements or protocols for supporting network services or applications
    • H04L67/01Protocols
    • H04L67/06Protocols specially adapted for file transfer, e.g. file transfer protocol [FTP]
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/08Configuration management of networks or network elements
    • H04L41/0803Configuration setting
    • H04L41/0813Configuration setting characterised by the conditions triggering a change of settings
    • H04L41/082Configuration setting characterised by the conditions triggering a change of settings the condition being updates or upgrades of network functionality
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E10/00Energy generation through renewable energy sources
    • Y02E10/50Photovoltaic [PV] energy

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Stored Programmes (AREA)

Abstract

The invention discloses a photovoltaic tracking control box online upgrading system, a photovoltaic tracking control box online upgrading method and a communication box, wherein the system comprises at least two communication boxes, each photovoltaic subarray is provided with one communication box, and one communication box corresponds to a plurality of control boxes; the communication box comprises a service communication box and a customer communication box; the service communication box is used for receiving the upgrade file transmitted by the upper computer, downloading the upgrade file and storing the upgrade file, and also used for sending the upgrade file to the client communication box; the upgrade file is used for upgrading the photovoltaic tracking control box; the customer communication box is used for receiving the upgrade file transmitted by the service communication box; the service communication box and the client communication box are also used for sending the upgrade file to the control box corresponding to the communication box, and the upgrade file is used for upgrading the control box.

Description

Photovoltaic tracking control box online upgrading system and method and communication box
Technical Field
The invention relates to the field of automatic upgrading, in particular to an online upgrading system and method for a photovoltaic tracking control box and a communication box.
Background
A photovoltaic tracking device is a solar tracking system for a solar panel, which has the main function of always facing the sun and maximizing the collection of solar energy. The photovoltaic tracking device automatically adjusts the angle and direction of the solar panel according to the movement of the sun so as to ensure that the solar panel is always in an optimal collection state.
The control box of the photovoltaic tracking equipment is a component part of the photovoltaic tracking equipment and is mainly used for controlling and monitoring the running state of the photovoltaic tracking equipment, optimizing the photovoltaic power generation efficiency, and acquiring and remotely monitoring data. And further control and monitoring of the tracking equipment are realized, so that the photovoltaic power generation efficiency and the system reliability are improved.
For photovoltaic tracking equipment, firmware upgrade for tracking control boxes has become one of the routine works of photovoltaic tracker manufacturers' daily operation and maintenance due to the continual updating of customer demand for products and software vulnerabilities discovered by the tracker itself in operation.
To improve the efficiency of firmware upgrade, an online upgrade scheme is generally adopted. The traditional online upgrading method uses a computer upper computer, and the subarrays of the tracking bracket are sequentially broadcast to send an upgrading packet through the online upgrading upper computer at a communication box of the tracking system. The upgrade mode has the defects that a field engineer has to wait on site when making an upgrade, and because the photovoltaic power station is wide in distribution area and most of equipment is distributed on a field or a roof, the upgrade and maintenance of the equipment are difficult, labor is consumed, and the upgrade work efficiency is low.
Disclosure of Invention
In order to solve the technical problems, the invention provides an online upgrading system and method for a photovoltaic tracking control box and a communication box.
Specifically, the technical scheme of the invention is as follows:
the invention discloses an online upgrading system of a photovoltaic tracking control box, which is characterized by comprising at least two communication boxes, wherein one communication box corresponds to a plurality of control boxes;
the communication box comprises a service communication box and a customer communication box; the service communication box is any one of all the communication boxes; the customer communication box is the rest communication box except the service communication box;
the service communication box is used for receiving the upgrade file transmitted by the upper computer and sending the upgrade file to the client communication box;
the customer communication box is used for receiving the upgrade file transmitted by the service communication box;
the service communication box and the client communication box are also used for sending the upgrade file to the control box corresponding to the communication box, and the upgrade file is used for upgrading the control box.
In some embodiments, the service communication box and the client communication box are connected through an optical fiber ring network;
the communication box is connected with the corresponding control box through wired or wireless communication.
In some embodiments, the service communication box and the client communication box perform cyclic redundancy check and/or breakpoint continuous transmission on the upgrade file when receiving the upgrade file, and store the upgrade file in a target storage space of the communication box.
In some embodiments, the service communication box and the customer communication box, after receiving the upgrade file, further comprise the steps of: reading parameter information in the downloaded upgrade file, wherein the parameter information specifically comprises: firmware version number, applicable device type and total number of upgrade files;
according to the parameter information, verifying whether the currently downloaded upgrade file contains the latest version of upgrade firmware; if the version verification is unsuccessful, the upgrade file is downloaded again until the verification is successful.
In some embodiments, the service communication box and the client communication box preset a transmission time of the upgrade file, and preset a number of times of repeated transmission of the upgrade file and a maximum number of times of upgrade before the upgrade file is transmitted to the control box corresponding to the communication box.
In some embodiments, the service communication box and the client communication box are further configured to receive upgrade completion information sent by the control box; version detection is carried out on the control box, and whether the control box is successfully upgraded is judged;
if the control box is unsuccessful, a secondary upgrading instruction is sent to the control box which is unsuccessful in upgrading, and the control box performs online upgrading again.
The invention also discloses a photovoltaic tracking control box online upgrading method, which is realized by the photovoltaic tracking control box online upgrading system in any one of the embodiments, and specifically comprises the following steps:
the service communication box receives the upgrade file transmitted by the upper computer and sends the upgrade file to the client communication box; the customer communication box receives the upgrade file transmitted by the service communication box;
each communication box sends the upgrade file to the control box corresponding to the communication box; and the control box automatically upgrades after receiving the upgrade file.
In some embodiments, the method further comprises the steps of:
receiving upgrading completion information sent by the control box;
detecting the version of the control box and judging whether the control box is successfully upgraded or not; if the control box is unsuccessful, a secondary upgrading instruction is sent to the control box which is unsuccessful in upgrading, and the control box performs online upgrading again.
In some embodiments, the service communication box and the client communication box, when receiving the upgrade file, further comprise the following steps:
executing cyclic redundancy check and/or breakpoint continuous transmission on the upgrade file;
storing the upgrade file into a target storage space of the communication box;
reading parameter information in the downloaded upgrade file, wherein the parameter information specifically comprises: firmware version number, applicable device type and total number of upgrade files;
according to the parameter information, verifying whether the currently downloaded upgrade file contains the latest version of upgrade firmware; if the version verification is unsuccessful, the upgrade file is downloaded again until the verification is successful.
In a third aspect, the invention further discloses a communication box, which is applied to the online upgrading system of the photovoltaic tracking control box in any one of the above embodiments.
Compared with the prior art, the invention has at least one of the following beneficial effects:
1. according to the online upgrading system for the photovoltaic tracking control box, provided by the invention, the automatic online upgrading of all photovoltaic tracking control boxes can be realized only by sending the upgrading file to any communication box in the online upgrading system, and the manpower and material resources are saved.
2. In the downloading process and the installation process of the upgrade file, the downloading and installation results of each control box can be checked, and if the downloading is unsuccessful or the installation is unsuccessful, the upgrade file can be downloaded or installed again. And in the downloading or installing process, detection is not needed manually, so that the time is saved.
3. The sending time of the upgrade file can be preset in the communication box, and the number of times of repeated upgrade files and the maximum number of times of upgrade are preset, so that the time of upgrade of the control box is controlled, and the number of times of re-downloading of the upgrade file and the number of times of installation of upgrade firmware of the control box can be controlled. And upgrading the control box at proper time, so that the normal tracking and power generation of the photovoltaic module are not affected.
Drawings
The above features, technical features, advantages and implementation of the present invention will be further described in the following description of preferred embodiments with reference to the accompanying drawings in a clear and easily understood manner.
FIG. 1 is a block diagram of one embodiment of a photovoltaic tracking control box online upgrade system of the present invention;
FIG. 2 is a flow chart of one embodiment of a photovoltaic tracking control box online upgrade method of the present invention;
FIG. 3 is a flow chart of another embodiment of a photovoltaic tracking control box online upgrade method of the present invention.
Detailed Description
In the following description, for purposes of explanation and not limitation, specific details are set forth, such as particular system configurations, techniques, etc. in order to provide a thorough understanding of the embodiments of the present application. However, it will be apparent to one skilled in the art that the present application may be practiced in other embodiments that depart from these specific details. In other instances, detailed descriptions of well-known systems, devices, circuits, and methods are omitted so as not to obscure the description of the present application with unnecessary detail.
It should be understood that the terms "comprises" and/or "comprising," when used in this specification and the appended claims, specify the presence of stated features, integers, steps, operations, elements, and/or components, but do not preclude the presence or addition of one or more other features, integers, steps, operations, elements, components, and/or groups thereof.
For simplicity of the drawing, only the parts relevant to the invention are schematically shown in each drawing, and they do not represent the actual structure thereof as a product. Additionally, in order to simplify the drawing for ease of understanding, components having the same structure or function in some of the drawings are shown schematically with only one of them, or only one of them is labeled. Herein, "a" means not only "only this one" but also "more than one" case.
It should be further understood that the term "and/or" as used in this specification and the appended claims refers to any and all possible combinations of one or more of the associated listed items, and includes such combinations.
In this context, it should be noted that the terms "mounted," "connected," and "connected" are to be construed broadly, and may be, for example, fixedly connected, detachably connected, or integrally connected, unless explicitly stated or limited otherwise; can be mechanically or electrically connected; can be directly connected or indirectly connected through an intermediate medium, and can be communication between two elements. The specific meaning of the above terms in the present invention will be understood in specific cases by those of ordinary skill in the art.
In particular implementations, the terminal devices described in embodiments of the present application include, but are not limited to, other portable devices such as mobile phones, laptop computers, home teaching machines, or tablet computers having a touch-sensitive surface (e.g., a touch screen display and/or a touch pad). It should also be appreciated that in some embodiments, the terminal device is not a portable communication device, but rather a desktop computer having a touch-sensitive surface (e.g., a touch screen display and/or a touch pad).
In addition, in the description of the present application, the terms "first," "second," and the like are used merely to distinguish between descriptions and are not to be construed as indicating or implying relative importance.
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the following description will explain the specific embodiments of the present invention with reference to the accompanying drawings. It is evident that the drawings in the following description are only examples of the invention, from which other drawings and other embodiments can be obtained by a person skilled in the art without inventive effort.
Referring to fig. 1 of the specification, the invention provides an online upgrading system for a photovoltaic tracking control box, which comprises at least two communication boxes, wherein each photovoltaic subarray is provided with one communication box, and one communication box corresponds to a plurality of control boxes.
Specifically, a photovoltaic power station generally includes a plurality of photovoltaic subarrays, and in a photovoltaic subarray, only one communication box and a plurality of control boxes are generally provided, and the number of the control boxes is equal to the number of drivers for driving the main shaft to rotate.
The communication box comprises a service communication box and a customer communication box; the service communication box is any one of all the communication boxes; the customer communication box is the communication box remaining except the service communication box.
Specifically, as shown in fig. 1, in the example photovoltaic power station, M communication boxes, that is, M photovoltaic sub-arrays, are included, and each communication box corresponds to N control boxes, that is, each sub-array includes N tracker drivers. In some photovoltaic sites, a communication box and 100 control boxes may be included within a sub-array.
Any communication box in the power station can be designated as a service communication box through the upper computer, and the internal structures of the service communication box and the client communication box are the same.
The service communication box is used for receiving the upgrade file transmitted by the upper computer and sending the upgrade file to the client communication box.
The customer communication box is used for receiving the upgrade file transmitted by the service communication box.
Specifically, the upgrade file of the tracking control box is downloaded to the service communication box firstly, and because the communication boxes of the project site are connected in the same optical fiber ring network through network interfaces, the upgrade file is downloaded to any one of the tracking support communication boxes of the power station directly through the upper computer, and the communication box is set as a service end, and other communication boxes are set as clients. And notifying other communication boxes with new control box firmware to be downloaded through a special TCP port in the ring network, and automatically downloading an upgrade file to respective flash memory spaces for storing the tracking control box firmware according to the communication boxes which are sequentially connected with the service end as other communication boxes of the client.
The service communication box and the client communication box are also used for sending the upgrade file to the control box corresponding to the communication box, and the upgrade file is used for upgrading the photovoltaic tracking control box.
Specifically, after receiving the upgrade file, each control box executes the same operation. Copying the upgrade file to the program area to complete the online upgrade.
Before the upgrade file is copied to the program area, the upgrade file is stored in the backup flash memory area, and after all upgrade packets are received and the program to be upgraded stored in the backup flash memory area is checked, a mark to be upgraded is written in a specific position. Then the control box is restarted, and enters a boot loader, when the boot loader detects the flag bit to be upgraded, the boot loader executes to copy the content in the backup flash memory into the program area flash memory, and finally, the boot loader enters the execution of a new program.
In another embodiment of the online upgrading system of the photovoltaic tracking control box of the present invention, on the basis of one embodiment of the system described above, the service communication box and the customer communication box are connected by an optical fiber ring network. The communication box is connected with the corresponding control box through wired or wireless communication.
Specifically, because the distance between the communication box and the communication box is far, communication is not reliable in a wireless manner, and a currently feasible method is to use an optical fiber ring network, wherein the optical fiber ring network is used for data transmission through TCP/IP communication, and different ports correspond to different application layer protocols. The optical fiber ring network is used for physical channels for communication between equipment such as a photovoltaic power station communication box, a data acquisition box, a box transformer and the like and respective background.
Because the communication between the communication box and the tracking control box can be through wired 485 communication or Lora, zigbee, wisun and other wireless communication, the mass-sending can be carried out in a broadcasting mode.
In another embodiment of the online upgrade system of a photovoltaic tracking control box of the present invention, on the basis of one embodiment of the above system, the service communication box and the client communication box perform cyclic redundancy check and/or breakpoint continuous transmission on the upgrade file when receiving the upgrade file, and store the upgrade file in a target storage space of the communication box.
Specifically, the two functions of cyclic redundancy check and breakpoint continuous transmission are realized by adding corresponding software codes in the upgrade file.
The cyclic redundancy check is mainly used for detecting or checking errors possibly occurring after data transmission or storage. The generated numbers are calculated before transmission or storage and appended to the data, and then the recipient checks to determine if the data has changed.
The breakpoint continuous transmission refers to that during downloading or uploading, a downloading or uploading task is artificially divided into a plurality of parts, each part is uploaded or downloaded by adopting one thread, and if a network fault is encountered, the part which is not completely downloaded and uploaded can be continuously uploaded from the part which is already uploaded or downloaded, and the downloading does not need to be uploaded from the beginning.
In other embodiments, according to the actual upgrading requirement and the actual situation of the project site, one of the cyclic redundancy check and the breakpoint continuous transmission may be performed on the upgrade file, which is not limited herein.
In another embodiment of the system of the present invention, on the basis of any one of the above system embodiments, the service communication box and the client communication box further include the following steps after receiving the upgrade file: reading parameter information in the downloaded upgrade file, wherein the parameter information specifically comprises: firmware version number, applicable device type, and total number of upgrade files.
According to the parameter information, verifying whether the currently downloaded upgrade file contains the latest version of upgrade firmware; if the version verification is unsuccessful, the upgrade file is downloaded again until the verification is successful.
Specifically, in a general firmware upgrade process, it is generally necessary to transmit an upgrade package to a target device. The upgrade package is typically a compressed file that contains a new version of software or firmware. The upgrade message refers to a data packet used in the transmission process, and is responsible for transmitting the upgrade packet from the source device to the target device. If the version verification is successful, the communication box is indicated to have downloaded the updated firmware of the latest version of the tracking control box.
In another embodiment of the system of the present invention, on the basis of any one of the system embodiments above, before the service communication box and the client communication box send the upgrade file to the control box corresponding to the communication box, a sending time of the upgrade file is preset, and a number of times of sending repeated upgrade files and a maximum number of times of upgrading are preset.
Specifically, in order not to affect the normal tracking and power generation of the photovoltaic module during the day, the firmware is generally selected to be upgraded at night. The upgrade parameter information of the communication box can be provided with the upgrade time, the number of repeated upgrade files sent each time, the maximum upgrade number and other information in advance. If the upgrade time is up, the communication box can perform broadcast transmission and issue upgrade packages according to the agreed upgrade parameters.
In another implementation manner of the above system embodiment, before the upgrade file is sent to the control box corresponding to the communication box, start information is sent to the control box, so that the control box enters an online upgrade mode after receiving the start information.
Also used for: and after the upgrade file is sent to the control box corresponding to the communication box, sending end information to the control box so that the control box can close the online upgrade mode after automatic upgrade is finished.
Specifically, before the first upgrade file is sent, a start message is sent to inform the tracking control box to enter an online upgrade mode. After the last upgrade file is sent, an end message is sent again, and the tracking control box is informed that all messages are sent.
In another embodiment of the system of the present invention, based on any one of the embodiments of the system described above, the service communication box and the client communication box are further configured to receive upgrade completion information sent by the control box; and performing version detection on the control box to judge whether the control box is successfully upgraded.
If the control box is unsuccessful, a secondary upgrading instruction is sent to the control box which is unsuccessful in upgrading, and the control box performs online upgrading again.
Specifically, after the communication box detects that the corresponding tracking control box finishes one-time upgrading, the polling and version detection flow can be started, if the fact that the version number of one tracking control box is inconsistent with the version number of the latest firmware is detected, the fact that the tracking control box is not successfully upgraded is indicated, and online upgrading can be started again until all the tracking control boxes are successfully upgraded.
Based on the same technical conception, the invention also discloses an online upgrading method of the photovoltaic tracking control box, which can be realized by adopting any one of the online upgrading system embodiments of the photovoltaic tracking control box, and concretely, the online upgrading method embodiment of the photovoltaic tracking control box, as shown in figure 2 of the specification, comprises the following steps:
s100, the service communication box receives the upgrade file transmitted by the upper computer and sends the upgrade file to the client communication box.
And S200, the customer communication box receives the upgrade file transmitted by the service communication box.
Specifically, the service communication box is any one of all the communication boxes; the customer communication box is the communication box remaining except the service communication box.
The service communication box can be appointed by the upper computer, the upgrade file of the tracking control box is downloaded to the service communication box, and then the service communication box sends the design file to other customer communication boxes. Compared with the existing photovoltaic tracking control box online upgrading technology, the novel scheme has the main advantage that the whole process is automatically completed. The on-site engineer is not required to wait for the upgrade to be completed on site, the workload of on-site operation and maintenance is greatly reduced, the time is saved for operation and maintenance, and the labor cost is reduced.
S300, each communication box sends the upgrade file to the control box corresponding to the communication box; and the control box automatically upgrades after receiving the upgrade file.
Specifically, whether it is a service communication box or a customer communication box, the saved upgrade file needs to be sent to all the corresponding tracking control boxes within the communication range of the communication box. So that all tracking control boxes upgrade the firmware after receiving the design file.
According to another embodiment of the online upgrading method of the photovoltaic tracking control box provided by the invention, as shown in an attached figure 3 of the specification, on the basis of the embodiment of the method, the online upgrading method of the photovoltaic tracking control box further comprises the following steps:
s400, receiving upgrading completion information sent by the control box.
S500, carrying out version detection on the control box, and judging whether the control box is successfully upgraded; if the control box is unsuccessful, a secondary upgrading instruction is sent to the control box which is unsuccessful in upgrading, and the control box performs online upgrading again.
Specifically, after one-time upgrading is finished, the control box sends upgrading finishing information to the communication box, so that the communication box knows that the tracking control box finishes one-time upgrading. And then, the communication box can start the polling and version detection flow, and if the fact that the version number of one tracking control box is inconsistent with the version number of the latest firmware is detected, the tracking control box is not successfully upgraded, and online upgrading can be started again until all the tracking control boxes are successfully upgraded.
The invention provides another embodiment of an online upgrading method for a photovoltaic tracking control box, and on the basis of the method embodiment, the service communication box and the client communication box further comprise the following steps when receiving the upgrading file:
s10, performing cyclic redundancy check and/or breakpoint continuous transmission on the upgrade file.
Specifically, the two functions of cyclic redundancy check and/or breakpoint continuous transmission are realized by adding corresponding software codes in the upgrade file.
The cyclic redundancy check is mainly used for detecting or checking errors possibly occurring after data transmission or storage. The generated numbers are calculated before transmission or storage and appended to the data, and then the recipient checks to determine if the data has changed.
The breakpoint continuous transmission refers to that during downloading or uploading, a downloading or uploading task is artificially divided into a plurality of parts, each part is uploaded or downloaded by adopting one thread, and if a network fault is encountered, the part which is not completely downloaded and uploaded can be continuously uploaded from the part which is already uploaded or downloaded, and the downloading does not need to be uploaded from the beginning.
S20, storing the upgrade file into a target storage space of the communication box.
S30, reading the downloaded parameter information in the upgrade file, wherein the parameter information specifically comprises: firmware version number, applicable device type, and total number of upgrade files.
And S40, verifying whether the currently downloaded upgrade file contains the latest version of upgrade firmware according to the parameter information. If the version verification is unsuccessful, the upgrade file is downloaded again until the verification is successful.
Specifically, in order to ensure the downloading accuracy of the upgrade file, the downloaded file needs to be checked. In a general firmware upgrade process, it is generally necessary to transmit an upgrade package to a target device. The upgrade package is typically a compressed file that contains a new version of software or firmware. The upgrade message refers to a data packet used in the transmission process, and is responsible for transmitting the upgrade packet from the source device to the target device. If the version verification is successful, the communication box is indicated to have downloaded the updated firmware of the latest version of the tracking control box.
In another method embodiment of the present invention, the photovoltaic tracking control box online upgrade method includes the steps of:
s1, downloading an upgrade file of the tracking control box to the communication box, wherein the communication boxes on the project site are connected in the same optical fiber ring network through network interfaces. The upgrade file is directly downloaded to any one of the tracking bracket communication boxes of the power station through the upper computer, the communication box is set as a service end, and other communication boxes are set as clients. And notifying other communication boxes with new control box firmware to be downloaded through a special TCP port in the ring network, and enabling the other communication boxes serving as the client to be sequentially connected with the communication box of the server to automatically download the upgrade files to respective flash memory spaces for storing the tracking control box firmware. In order to ensure the downloading correctness of the upgrade file, CRC (cyclic redundancy check) and breakpoint continuous transmission functions can be carried out on each upgrade message.
Because the distance between the communication boxes is far, the communication is not reliable in a wireless mode, and the currently feasible method is to use an optical fiber ring network, wherein the optical fiber ring network is used for data transmission through TCP/IP communication, and different ports correspond to different application layer protocols. The optical fiber ring network is used for physical channels for communication between equipment such as a photovoltaic power station communication box, a data acquisition box, a box transformer and the like and respective background.
In a photovoltaic subarray, only one communication box and a plurality of control boxes are usually arranged, and the number of the control boxes is equal to the number of drivers for driving the main shaft to rotate. In some photovoltaic sites, a communication box and 100 control boxes may be included within a sub-array.
S2, after the communication box detects that the firmware of the latest version of the tracking control box is downloaded, the upgrade parameter information such as the version number, the equipment type and the total number of upgrade packages of the current firmware can be read. Because the communication between the communication box and the tracking control box is generally through wired 485 communication or Lora wireless communication, the mass-sending can be carried out in a broadcasting mode. In order not to affect the normal tracking and power generation of the photovoltaic module in the daytime, the firmware is generally upgraded at night. The upgrade parameter information of the communication box can be provided with the upgrade time, the number of repeated upgrade packages sent each time, the maximum upgrade number and other information in advance. If the upgrade time is up, the communication box can perform broadcast transmission and issue upgrade packages according to the agreed upgrade parameters. When the tracking control box receives the last upgrading message and all the upgrading messages are checked successfully, the upgrading file can be copied to the program area to finish online upgrading. After the communication box finishes one-time upgrading, the polling and version detection flow can be started, if the fact that the version number of one tracking control box is inconsistent with the version number of the latest firmware is detected, the fact that the tracking control box is not successfully upgraded is indicated, and online upgrading can be started again until all the tracking control boxes are successfully upgraded.
In a third aspect, the present invention further discloses a communication box, where the communication box is applied to the online upgrade system of the photovoltaic tracking control box in any one of the above embodiments.
The online upgrading system and method of the photovoltaic tracking control box and the communication box have the same technical conception, and the technical details of the three embodiments are mutually applicable, so that repetition is reduced, and the description is omitted.
The present invention is described with reference to flowchart illustrations and/or block diagrams of methods, apparatus (systems) and computer program products according to embodiments of the invention. It will be understood that each flow and/or block of the flowchart illustrations and/or block diagrams, and combinations of flows and/or blocks in the flowchart illustrations and/or block diagrams, can be implemented by computer program instructions. These computer program instructions may be provided to a processor of a general purpose computer, special purpose computer, embedded processor, or other programmable data processing apparatus to produce a machine, such that the instructions, which execute via the processor of the computer or other programmable data processing apparatus, create means for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be stored in a computer-readable memory that can direct a computer or other programmable data processing apparatus to function in a particular manner, such that the instructions stored in the computer-readable memory produce an article of manufacture including instruction means which implement the function specified in the flowchart flow or flows and/or block diagram block or blocks.
These computer program instructions may also be loaded onto a computer or other programmable data processing apparatus to cause a series of operational steps to be performed on the computer or other programmable apparatus to produce a computer implemented process such that the instructions which execute on the computer or other programmable apparatus provide steps for implementing the functions specified in the flowchart flow or flows and/or block diagram block or blocks.
While preferred embodiments of the present invention have been described, additional variations and modifications in those embodiments may occur to those skilled in the art once they learn of the basic inventive concepts. It is therefore intended that the following claims be interpreted as including the preferred embodiments and all such alterations and modifications as fall within the scope of the invention.
It will be apparent to those skilled in the art that various modifications and variations can be made to the present invention without departing from the spirit or scope of the invention. Thus, it is intended that the present invention also include such modifications and alterations insofar as they come within the scope of the appended claims or the equivalents thereof.

Claims (10)

1. The online upgrading system of the photovoltaic tracking control box is characterized by comprising at least two communication boxes, wherein one communication box corresponds to a plurality of control boxes;
the communication box comprises a service communication box and a customer communication box; the service communication box is any one of all the communication boxes; the customer communication box is the rest communication box except the service communication box;
the service communication box is used for receiving the upgrade file transmitted by the upper computer and sending the upgrade file to the client communication box;
the customer communication box is used for receiving the upgrade file transmitted by the service communication box;
the service communication box and the client communication box are also used for sending the upgrade file to the control box corresponding to the communication box, and the upgrade file is used for upgrading the control box.
2. The photovoltaic tracking control box online upgrade system of claim 1,
the service communication box is connected with the client communication box through an optical fiber ring network;
the communication box is connected with the corresponding control box through wired or wireless communication.
3. The photovoltaic tracking control box online upgrade system of claim 1,
and when the service communication box and the client communication box receive the upgrade file, performing cyclic redundancy check and/or breakpoint continuous transmission on the upgrade file, and storing the upgrade file into a target storage space of the communication box.
4. An online upgrade system of a photovoltaic tracking control box according to claim 3,
the service communication box and the customer communication box, after receiving the upgrade file, further comprise the following steps: reading parameter information in the downloaded upgrade file, wherein the parameter information specifically comprises: firmware version number, applicable device type and total number of upgrade files;
according to the parameter information, verifying whether the currently downloaded upgrade file contains the latest version of upgrade firmware; if the version verification is unsuccessful, the upgrade file is downloaded again until the verification is successful.
5. A photovoltaic tracking control box online upgrade system as claimed in any one of claims 1-4,
the service communication box and the client communication box preset the sending time of the upgrade file and preset the number of times of repeated upgrade file sending and the maximum number of times of upgrade before the upgrade file is sent to the control box corresponding to the communication box.
6. The photovoltaic tracking control box online upgrade system of claim 5,
the service communication box and the client communication box are also used for receiving upgrading completion information sent by the control box; version detection is carried out on the control box, and whether the control box is successfully upgraded is judged;
if the control box is unsuccessful, a secondary upgrading instruction is sent to the control box which is unsuccessful in upgrading, and the control box performs online upgrading again.
7. An online upgrading method of a photovoltaic tracking control box, which is characterized by being realized by an online upgrading system of the photovoltaic tracking control box according to any one of claims 1-6, and specifically comprising the following steps:
the service communication box receives the upgrade file transmitted by the upper computer and sends the upgrade file to the client communication box; the customer communication box receives the upgrade file transmitted by the service communication box;
each communication box sends the upgrade file to the control box corresponding to the communication box; and the control box automatically upgrades after receiving the upgrade file.
8. The method for online upgrading of a photovoltaic tracking control box according to claim 1, further comprising the steps of:
receiving upgrading completion information sent by the control box;
detecting the version of the control box and judging whether the control box is successfully upgraded or not; if the control box is unsuccessful, a secondary upgrading instruction is sent to the control box which is unsuccessful in upgrading, and the control box performs online upgrading again.
9. The method for online upgrade of a photovoltaic tracking control box according to claim 7 or 8, wherein the service communication box and the customer communication box, when receiving the upgrade file, further comprise the steps of:
executing cyclic redundancy check and/or breakpoint continuous transmission on the upgrade file;
storing the upgrade file into a target storage space of the communication box;
reading parameter information in the downloaded upgrade file, wherein the parameter information specifically comprises: firmware version number, applicable device type and total number of upgrade files;
according to the parameter information, verifying whether the currently downloaded upgrade file contains the latest version of upgrade firmware; if the version verification is unsuccessful, the upgrade file is downloaded again until the verification is successful.
10. A communications box, characterized in that it is applied to the photovoltaic tracking control box online upgrade system according to any one of claims 1-6.
CN202310634250.XA 2023-05-31 2023-05-31 Photovoltaic tracking control box online upgrading system and method and communication box Pending CN116546007A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202310634250.XA CN116546007A (en) 2023-05-31 2023-05-31 Photovoltaic tracking control box online upgrading system and method and communication box

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202310634250.XA CN116546007A (en) 2023-05-31 2023-05-31 Photovoltaic tracking control box online upgrading system and method and communication box

Publications (1)

Publication Number Publication Date
CN116546007A true CN116546007A (en) 2023-08-04

Family

ID=87448811

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202310634250.XA Pending CN116546007A (en) 2023-05-31 2023-05-31 Photovoltaic tracking control box online upgrading system and method and communication box

Country Status (1)

Country Link
CN (1) CN116546007A (en)

Similar Documents

Publication Publication Date Title
CN112910714B (en) Remote firmware upgrading method for Internet of things terminal equipment with master-slave machine structure
US9471300B2 (en) Wireless firmware upgrades to an alarm security panel
CN105183515A (en) Cloud deck firmware updating method and device
CN102722420B (en) Self-diagnosis terminal, detection method and remote maintenance system
CN113946358B (en) Automatic driving vehicle software remote upgrading method based on vehicle management system
CN102541596A (en) Operating system upgrading method and device
CN111158718A (en) Local communication server, OTA (over the air) upgrading method thereof and cloud server
CN110209405B (en) Automatic upgrading method and device for distributed system
CN111796849A (en) Firmware remote upgrading method and device
CN112333278A (en) Intelligent equipment upgrading method and system and intelligent equipment
CN110708205A (en) Method and system for performing FOTA (firmware over the air) on equipment through gateway
CN110275721B (en) Multi-connected air conditioning system, upgrading method and device thereof and air conditioning equipment
CN110633091A (en) Electronic module and software wireless upgrading method thereof
CN104503796A (en) IAP (Internet Access Provider) based configurable full-network remote node firmware upgrading method
CN102857358A (en) Customer premise equipment capable of repairing firmware and firmware repairing method of customer premise equipment
CN104991800A (en) Method, apparatus and system for upgrading firmware of device that is not networked
CN105700927A (en) Version upgrade method, terminal equipment and version server
CN114760466A (en) Display device testing method and device and storage medium
KR101350059B1 (en) Apparatus and method for upgrading meter firmware
CN116546007A (en) Photovoltaic tracking control box online upgrading system and method and communication box
CN104811347A (en) Software updating method, monitoring module, rectifying module and system
CN113535202B (en) Charging pile upgrading method, upgrading device and charging pile system
CN112767722B (en) Control method and device of traffic signal machine, computer equipment and storage medium
US20210208867A1 (en) Firmware update by central control module of a charging station
CN113805921B (en) Firmware remote upgrading method and device

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination