Photovoltaic collector and application program loading method of photovoltaic collector

Through the multiple application loading mechanism of the boot area in the photovoltaic collector, the application is loaded based on the operation data and threshold values, the problem of failed loading of the photovoltaic collector application is solved, the system stability and reliability are improved, and the operation and maintenance are reduced cost.

CN119292825APending Publication Date: 2025-01-10CUIJI TECHNOLOGY (SHANGHAI) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411307338.1
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-09-19
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

The photovoltaic collector may not be able to operate after the application is loaded, resulting in an increase in operation and maintenance costs and affecting system stability.

Method used

A method of application loading for photovoltaic collectors is designed to load the first application or the second application according to the application flag bit and operation data through the storage unit, the reading unit, the threshold unit, the comparison unit and the judgment unit in the guide area. If the application fails to load, re-read the flag bit or increase the number of runs to ensure that the application runs successfully.

Benefits of technology

It improves the stability and reliability of the photovoltaic monitoring system, reduces the risks during application loading, reduces the problem of photovoltaic collector disability caused by loading failure, and reduces manpower and material resources and time costs.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119292825A_ABST
    Figure CN119292825A_ABST
Patent Text Reader

Abstract

The invention provides a photovoltaic collector and an application program loading method of the photovoltaic collector. The photovoltaic collector comprises an on-chip storage area and an off-chip storage area. The on-chip storage area is connected with the off-chip storage area; the on-chip storage area comprises a boot area, a first storage area and a second storage area; the first storage area is used for storing a first application program, and the second storage area is used for storing a second application program. According to the invention, the influence on the normal work of the photovoltaic collector caused by the failure of the photovoltaic collector due to the defects or faults of the application program is avoided, the stability and reliability of the photovoltaic monitoring system are improved, and the risk factors in the loading process of the application program of the photovoltaic collector are greatly reduced; the reliability and safety of firmware are improved, the problem that the photovoltaic collector is disabled due to application program loading is greatly reduced, and manpower, material resources and time cost are reduced.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of photovoltaic collectors, and in particular to the technical field of improving the stability of photovoltaic collectors. Background Art

[0002] Data collection for photovoltaic power station monitoring is an important part of photovoltaic power station operation and management. Through data collection, the operating status of photovoltaic power stations can be monitored in real time to ensure the safe and stable operation of the power station. However, with the advancement of technology and the continuous expansion of power station scale, traditional data collection methods can no longer meet the needs. Therefore, a more efficient and reliable data collection solution is needed. As a new type of data collection tool, the photovoltaic data collection stick can adapt to mainstream inverter collection, plug and play, and can transmit the working status and power generation of the inverter, so as to conduct long-term and effective monitoring of the photovoltaic power generation system.

[0003] Since photovoltaic collectors are often started up, there may be situations where the application fails to run after being loaded, which seriously affects the use of photovoltaic products and increases operation and maintenance costs. Summary of the invention

[0004] The invention provides an application program loading method for a photovoltaic collector to improve program loading reliability and stability.

[0005] In one aspect, the present application provides a photovoltaic collector, the photovoltaic collector comprising an on-chip storage area and an off-chip storage area; the on-chip storage area is connected to the off-chip storage area;

[0006] The on-chip storage area includes a boot area, a first storage area, and a second storage area; the first storage area is used to store a first application program, and the second storage area is used to store a second application program;

[0007] The off-chip storage area stores an application flag bit and running data of the first application program and the second application program;

[0008] The boot area loads the first application program or the second application program according to the application flag and the running data.

[0009] Further, the boot area includes a storage unit, a reading unit, a threshold unit, a comparison unit and a judgment unit;

[0010] One end of the comparison unit is connected to the reading unit and the threshold unit respectively; the other end of the comparison unit is connected to one end of the judgment unit; the other end of the judgment unit is connected to the storage unit;

[0011] The operation data includes a variable of the number of times the first application is loaded, recorded as a first operation number, and the number of times the first application is successfully run, recorded as a first success number;

[0012] The storage unit of the boot area stores a first boot program for booting the first application program to load, and a second boot program for booting the second application program to load;

[0013] The reading unit of the boot area is used to read the application flag, the first operation number, the first success number, the second operation number and the second success number from the off-chip storage area;

[0014] The threshold unit of the guide area is used to adjust the magnitude of the first threshold and the second threshold;

[0015] The comparison unit of the guide area is used to compare the first operation number, the first success number, the second operation number and the second success number with the threshold value respectively;

[0016] The determination unit in the boot area determines whether to load the first application program or the second application program according to the application flag and / or the comparison result of the comparison unit.

[0017] Furthermore, the first application and the second application are the same application.

[0018] Furthermore, the first application and the second application are different applications.

[0019] On the other hand, the present application also provides a method for loading an application using the above photovoltaic collector, comprising the following steps:

[0020] Step 1, start the photovoltaic collector and run the boot area program;

[0021] Step 2: the boot area reads the application flag in the off-chip storage area and the running data of the first application and the second application; and loads the first application or the second application according to the application flag and the running data.

[0022] Furthermore, in step 2, the boot area reads the application flag bit in the off-chip storage area, and the running data of the first application and the second application; and the specific steps of loading the first application or the second application according to the application flag bit and the running data are:

[0023] Step 2.1: the boot area reads the application flag in the off-chip storage area, and loads the first application or the second application according to the application flag; if the first application is loaded, jump to step 2.2; if the second application is loaded, jump to step 2.5;

[0024] Step 2.2, the boot area reads a variable of the number of times the first application is loaded in the off-chip storage area, recorded as a first running number, and the number of times the first application is successfully run, recorded as a first success number;

[0025] Step 2.3, if the first number of runs is the same as the first number of successes, the boot area loads the first boot program of the first application and runs the first application; otherwise, it is determined whether the difference between the first number of runs and the first number of successes is greater than a first threshold; if the difference between the first number of runs and the first number of successes is greater than the first threshold, the application flag is set to 2 and the application flag is read again; if the difference between the first number of runs and the first number of successes is less than or equal to the first threshold, the first number of runs is incremented by one and saved to the off-chip storage area, and at the same time, the boot area loads the first boot program and runs the first application;

[0026] Step 2.4: If the first application program runs successfully, the first number of successes is increased by one and saved in the off-chip storage area;

[0027] Step 2.5, the boot area reads a variable of the number of times the second application is loaded from the off-chip storage area, recorded as a second running number, and the number of times the second application is successfully run, recorded as a second success number;

[0028] Step 2.6, if the second number of runs is the same as the second number of successes, the boot area loads the second boot program of the second application and jumps to run the second application; otherwise, determine whether the difference between the second number of runs and the second number of successes is greater than a second threshold; if the difference between the second number of runs and the second number of successes is greater than the second threshold, set the application flag to 1 and re-read the application flag; if the difference between the second number of runs and the second number of successes is less than or equal to the second threshold, add one to the second number of runs and save it to the off-chip storage area, and at the same time, the boot area loads the second boot program and runs the second application;

[0029] Step 2.7: When the second application program runs successfully, the second number of successes is increased by one and saved in the off-chip storage area.

[0030] Furthermore, the first application and the second application are the same application.

[0031] Furthermore, the first application and the second application are different applications.

[0032] Compared with the prior art, the present invention has the following beneficial effects:

[0033] The present application avoids the situation in which the photovoltaic collector cannot run due to defects or failures in the application itself after the application is loaded in the boot area, thereby affecting the normal operation of the photovoltaic collector. The present application improves the stability and reliability of the photovoltaic monitoring system, greatly reduces the risk factors in the photovoltaic collector application loading process, improves the reliability and security of the firmware, greatly reduces the problem of photovoltaic collector failure due to application loading, and reduces manpower, material resources and time costs. BRIEF DESCRIPTION OF THE DRAWINGS

[0034] In order to more clearly illustrate the embodiments of the present invention 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 some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying creative work.

[0035] Figure 1 is a schematic structural diagram of the photovoltaic collector of this embodiment;

[0036] Figure 2 is a schematic structural diagram of the guide area of ​​this embodiment;

[0037] Figure 3 Schematic diagram of the flow of the method for loading an application program of the photovoltaic collector of this embodiment. DETAILED DESCRIPTION

[0038] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of the present invention.

[0039] Figure 1 FIG. 2 shows a schematic diagram of the internal structure of the photovoltaic collector of this embodiment. Figure 1As shown, the photovoltaic collector 10 includes an on-chip storage area 101 and an off-chip storage area 102, which are connected to each other and can transmit data to each other, wherein the on-chip storage area 101 includes a boot area 1011, a first storage area 1012 for storing a first application (i.e., appA), and a second storage area 1012 for storing a first application (i.e., appB).

[0040] Furthermore, the off-chip storage area 102 stores an application flag, and operation data of the first application and the second application, wherein the operation data includes a variable of the number of times the first application is loaded, recorded as the first operation number, and the number of times the first application is successfully run, recorded as the first success number;

[0041] Optionally, the boot area 1011 may be Figure 2 The structure shown. Figure 2 As shown, the boot area 1011 of the on-chip storage area 101 includes a read unit 10111, a threshold unit 10112, a comparison unit 10113, a judgment unit 10114 and a storage unit 10115; one end of the comparison unit 10113 is respectively connected to the read unit 10111 and the threshold unit 10112; the other end of the comparison unit 10113 is connected to one end of the judgment unit 10114; the other end of the judgment unit 10114 is connected to the storage unit 10115.

[0042] Optionally, the storage area 10115 of the boot area 1011 stores a first boot program for booting the loading of a first application program, and a second boot program for booting the loading of a second application program.

[0043] Optionally, the reading unit 10111 of the boot area 1011 is used to read the application flag, the first running number, the first success number, the second running number and the second success number from the off-chip storage area 102 .

[0044] Optionally, the threshold unit 10112 of the guide area 1011 is provided with a first threshold and a second threshold, and the operator can adjust the values ​​of the first threshold and the second threshold through the threshold unit 10112 .

[0045] Optionally, the comparison unit 10113 of the boot area 1011 is used to compare the first operation number, the first success number, the second operation number and the second success number with corresponding thresholds, for example, comparing the first operation number with the first success number, or comparing the second operation number with the second success number, or comparing the difference between the first operation number and the first success number with the first threshold, or comparing the difference between the second operation number and the second success number with the second threshold, etc.

[0046] Optionally, the determination unit 10114 of the boot area 1011 determines whether to load the first application or the second application according to the application flag and / or the comparison result of the comparison unit 10113 .

[0047] It should be noted that this embodiment only Figure 2 The result of the boot area 1011 is taken as an example for illustration, but is not limited to this. The reading unit, threshold unit, comparison unit and judgment unit therein can be integrated into other controllers (such as CPU).

[0048] on the other hand, Figure 3 The method for loading the application program of the photovoltaic collector of this embodiment is shown, using the photovoltaic collector as described above, such as Figure 3 As shown, the application recording method based on the photovoltaic collector includes the following steps:

[0049] Step 1, start the photovoltaic collector 10 and run the boot area 1011 program;

[0050] Step 2, the boot area 1011 reads the application flag bit in the off-chip storage area 102, and the running data of the first application (appA) and the second application (appB); and loads the first application or the second application according to the application flag bit and the running data.

[0051] Optionally, step 2 may specifically include:

[0052] Step 2.1, the boot area 1011 reads the application flag bit (sel_app_flag) in the off-chip storage area 102, and loads the first application (appA) or the second application (appB) according to the application flag bit 102; if the first application (appA) is loaded, jump to step 2.2; if the second application (appB) is loaded, jump to step 2.5;

[0053] Step 2.2, the boot area 1011 reads the variable of the number of times the first application is loaded in the off-chip storage area 102 (load_appA_cnt), recorded as the first running number, and reads the number of times the first application is successfully run in the off-chip storage area 102 (appA_cnt), recorded as the first success number;

[0054] Step 2.3, if the first running number (load_appA_cnt) is the same as the first success number (appA_cnt), the boot area 1011 loads the first boot program of the first application (appA) and runs the first application (appA); otherwise, it is determined whether the difference between the first running number (load_appA_cnt) and the first success number (appA_cnt) is greater than the first threshold value (Cnt); if the difference between the first running number (load_appA_cnt) and the first success number (appA_cnt) is greater than the first threshold value (Cnt), If the value is greater than the first threshold (which can be set to a constant Cnt), the application flag (sel_app_flag) is set to 2, and the application flag (sel_app_flag) is read again; if the difference between the first number of runs (load_appA_cnt) and the first number of successes (appA_cnt) is less than or equal to the first threshold (Cnt), the first number of runs (load_appA_cnt) is incremented by one and saved to the off-chip storage area 102. At the same time, the boot area 1011 loads the first boot program and runs the first application (appA);

[0055] Step 2.4: If the first application program (appA) runs successfully, the first success count (appA_cnt) is incremented by one and saved in the off-chip storage area 102;

[0056] Step 2.5, the boot area 1011 reads the variable (load_appB_cnt) of the number of times the second application (appB) is loaded in the off-chip storage area 102, recorded as the second running number, and the number of times the second application is successfully run (appB_cnt), recorded as the second success number;

[0057] Step 2.6, if the second running number (load_appB_cnt) is the same as the second success number (appB_cnt), the boot area 1011 loads the second boot program of the second application (appB) and jumps to run the second application (appB); otherwise, it is determined whether the difference between the second running number (load_appB_cnt) and the second success number (appB_cnt) is greater than the second threshold value; if the difference between the second running number (load_appB_cnt) and the second success number (appB_cnt) is greater than the second threshold value, the application (appB) is executed. The flag bit (sel_app_flag) is set to 1, and the application flag bit (sel_app_flag) is read again; if the difference between the second operation number (load_appB_cnt) and the second success number (appB_cnt) is less than or equal to the second threshold value (set as a constant Cnt, the first threshold value and the second threshold value may be the same or different), the second operation number (load_appB_cnt) is increased by one and saved to the off-chip storage area 102, and at the same time, the boot area 1011 loads the second boot program and runs the second application program (appB);

[0058] The recording method of this embodiment can avoid the situation where the photovoltaic collector cannot run due to defects or failures in the application program itself after the boot area has loaded the application program, thereby affecting the normal operation of the photovoltaic collector. The stability and reliability of the photovoltaic monitoring system are improved, the risk factors in the photovoltaic collector application loading process are greatly reduced, the reliability and security of the firmware are improved, the problem of photovoltaic collector failure due to application program loading is greatly reduced, and the manpower, material resources and time costs are reduced.

[0059] The "equal" or "same" or "equal" disclosed in the present invention must take into account the distribution of engineering parameters, and the error distribution is within ±30%; the definition of "parallel" of two line segments or two straight lines is that the angle between the two line segments or two straight lines is less than or equal to 45 degrees; the definition of "perpendicular" of two line segments or two straight lines is that the angle between the two line segments or two straight lines is within the range of [60, 120] degrees; the definition of "phase mismatch" also needs to take into account the distribution of engineering parameters, and the error distribution of the degree of mismatch is within ±30%. In addition, 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 includes other elements not explicitly listed, or also includes elements inherent to such process, method, article or device. Without more constraints, an element defined by the phrase "comprising a ..." does not exclude the existence of other identical elements in the process, method, article or apparatus comprising the element.

[0060] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0061] The above description of the disclosed embodiments enables one skilled in the art to implement or use the present invention. Various modifications to these embodiments will be apparent to one 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 invention. Therefore, the present invention will not be limited to the embodiments shown herein, but rather to the widest scope consistent with the principles and novel features disclosed herein.

Claims

1. A photovoltaic collector, characterized in that: The photovoltaic collector includes an on-chip storage area and an off-chip storage area; the on-chip storage area is connected to the off-chip storage area; The on-chip storage area includes a boot area, a first storage area, and a second storage area; the first storage area is used to store a first application program, and the second storage area is used to store a second application program; The off-chip storage area stores an application flag bit and running data of the first application program and the second application program; The boot area loads the first application program or the second application program according to the application flag and the running data.

2. The photovoltaic collector according to claim 1, characterized in that: The boot area includes a storage unit, a reading unit, a threshold unit, a comparison unit and a judgment unit; One end of the comparison unit is connected to the reading unit and the threshold unit respectively; the other end of the comparison unit is connected to one end of the judgment unit; the other end of the judgment unit is connected to the storage unit; The operation data includes a variable of the number of times the first application is loaded, recorded as a first operation number, and the number of times the first application is successfully run, recorded as a first success number; The storage unit of the boot area stores a first boot program for booting the first application program to load, and a second boot program for booting the second application program to load; The reading unit of the boot area is used to read the application flag, the first operation number, the first success number, the second operation number and the second success number from the off-chip storage area; The threshold unit of the guide area is used to adjust the magnitude of the first threshold and the second threshold; The comparison unit of the guide area is used to compare the first operation number, the first success number, the second operation number and the second success number with the threshold value respectively; The determination unit in the boot area determines whether to load the first application program or the second application program according to the application flag and / or the comparison result of the comparison unit.

3. The photovoltaic collector according to claim 1, characterized in that: The first application and the second application are the same application.

4. The photovoltaic collector according to claim 1, characterized in that: The first application and the second application are different applications.

5. A method for loading an application using the photovoltaic collector according to any one of claims 1 to 4, characterized in that: The following steps are involved: Step 1, start the photovoltaic collector and run the boot area program; Step 2: the boot area reads the application flag in the off-chip storage area and the running data of the first application and the second application; and loads the first application or the second application according to the application flag and the running data.

6. The application loading method according to claim 5, characterized in that: The specific steps of the boot area in step 2 reading the application flag bit in the off-chip storage area and the running data of the first application and the second application; and loading the first application or the second application according to the application flag bit and the running data are: Step 2.1: the boot area reads the application flag in the off-chip storage area, and loads the first application or the second application according to the application flag; if the first application is loaded, jump to step 2.2; if the second application is loaded, jump to step 2.5; Step 2.2, the boot area reads a variable of the number of times the first application is loaded in the off-chip storage area, recorded as a first running number, and the number of times the first application is successfully run, recorded as a first success number; Step 2.3: If the first running number is the same as the first success number, the boot area loads the first boot program of the first application and runs the first application; Otherwise, determining whether the difference between the first number of operations and the first number of successes is greater than a first threshold; If the difference between the first number of runs and the first number of successes is greater than the first threshold, the application flag is set to 2 and the application flag is read again; if the difference between the first number of runs and the first number of successes is less than or equal to the first threshold, the first number of runs is incremented by one and saved to the off-chip storage area, and at the same time, the boot area loads the first boot program and runs the first application program; Step 2.4: If the first application program runs successfully, the first number of successes is increased by one and saved in the off-chip storage area; Step 2.5, the boot area reads a variable of the number of times the second application is loaded from the off-chip storage area, recorded as a second running number, and the number of times the second application is successfully run, recorded as a second success number; Step 2.6: If the second running number is the same as the second success number, the boot area loads the second boot program of the second application program and jumps to run the second application program; Otherwise, determining whether the difference between the second number of operations and the second number of successes is greater than a second threshold; If the difference between the second number of runs and the second number of successes is greater than the second threshold, setting the application flag bit to 1, and re-reading the application flag bit; If the difference between the second running number and the second success number is less than or equal to the second threshold, the second running number is incremented by one and saved to the off-chip storage area, and at the same time, the boot area loads the second boot program and runs the second application program; Step 2.7: When the second application program runs successfully, the second number of successes is increased by one and saved in the off-chip storage area.

7. The application loading method according to claim 5, characterized in that: The first application and the second application are the same application.

8. The application loading method according to claim 5, characterized in that: The first application and the second application are different applications.