Photovoltaic panel adjusting method and system, photovoltaic panel system and medium
By setting an image sensor on the photovoltaic panel, detecting the pixel area with the greatest light intensity and adjusting the angle of the photovoltaic panel, the problem of difficulty in accurately and quickly adjusting the inclination angle of the photovoltaic panel in the prior art is solved, and the power generation efficiency is improved.
Patent Information
- Application Number
- CN202510073195.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-16
- Publication Date
- 2025-04-15
AI Technical Summary
The prior art is difficult to accurately and quickly adjust the inclination angle of the photovoltaic panel to achieve optimal power generation efficiency.
By setting an image sensor on the photovoltaic panel, dividing it into multiple pixel areas according to the grid structure, obtaining the light intensity value of each pixel area. When it is detected that the pixel area with the largest light intensity is not in the center area, adjust the angle of the photovoltaic panel to adjust the pixel area to the center area.
The angle of the photovoltaic panel is accurately and quickly adjusted, ensuring that the photovoltaic panel faces the sun, thereby improving power generation efficiency.
Smart Images

Figure CN119834717A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of photovoltaic technology, and in particular to a photovoltaic panel adjustment method and system, a photovoltaic panel system, and a medium. Background Art
[0002] Photovoltaic panels are devices that use the photovoltaic effect to convert solar energy into electrical energy. They are mainly composed of solar cell chips. When sunlight shines on the solar cell chip, the semiconductor material in the solar cell chip converts photon energy into electron energy, thereby generating electric current.
[0003] The power generation efficiency of photovoltaic panels is directly affected by the orientation and tilt of the photovoltaic panels. To achieve optimal power generation efficiency, the photovoltaic panels need to be kept close to the incident angle of sunlight.
[0004] In the prior art, in order to optimize power generation efficiency, an astronomical calendar is usually used to obtain the sun angle at different times of the day at a certain location, and then the orientation and inclination of the photovoltaic panel are adjusted. However, the method of adjusting the photovoltaic panel using the astronomical calendar is difficult to accurately and quickly adjust the inclination of the photovoltaic panel. Summary of the invention
[0005] The present invention aims at providing a photovoltaic panel adjustment method and system, which can accurately and quickly adjust the inclination angle of the photovoltaic panel.
[0006] In a first aspect, the present invention provides a photovoltaic panel adjustment method, wherein an image sensor is arranged in parallel with the photovoltaic panel, and the image sensor is divided into N pixel areas according to a grid structure, each pixel area includes at least one pixel point, N is a positive integer and N≥2; the photovoltaic panel adjustment method includes: obtaining the light intensity value collected by each pixel area; detecting that the first pixel area with the largest light intensity value is not in the central area, adjusting the angle of the photovoltaic panel to the target angle, so as to adjust the first pixel area to the central area; the central area includes M pixel areas, M is a positive integer.
[0007] Based on the light intensity values collected by all pixel areas of the image sensor, it can be determined that the first pixel area with the largest light intensity is the pixel area with the strongest sunlight. If the first pixel area is not in the center area, the angle of the photovoltaic panel is adjusted to adjust the first pixel area to the center area, so that the photovoltaic panel is facing the sun. In this way, the angle of the photovoltaic panel can be adjusted accurately and quickly.
[0008] Optionally, obtaining the light intensity value collected by each pixel area includes: obtaining the grayscale values of all pixels in the i-th pixel area; accumulating the grayscale values of all pixels in the i-th pixel area to obtain the light intensity value of the i-th pixel area; i is a positive integer and 1≤i≤N.
[0009] Optionally, the photovoltaic panel adjustment method further includes: determining that no sunlight is detected at a first moment, and determining the target angle based on an angle value of the photovoltaic panel within a first time period before the first moment.
[0010] When it is determined that no sunlight is detected at the first moment, the target angle can be determined based on the angle value of the photovoltaic panel in the first time period. Thus, when the sun is blocked by clouds, etc., the angle of the photovoltaic panel can still be adjusted, further achieving accurate and rapid adjustment of the angle of the photovoltaic panel.
[0011] Optionally, the photovoltaic panel adjustment method also includes: determining that sunlight is still not detected at the second moment, and obtaining a historical angle record; the historical angle record includes a mapping relationship between multiple different moments and historical angles; the second moment is located after the first moment in time sequence, and is separated from the first moment by a second time length; at a third moment, selecting a historical angle corresponding to the third moment from the historical angle record as the target angle corresponding to the third moment; the third moment is located after the second moment in time sequence.
[0012] If no sunlight is detected for a period of time after the second time period, the target angle is determined based on the historical angle record. In this way, the position of the sun can still be determined in complex environments such as cloudy and low light, thereby achieving accurate and rapid adjustment of the angle of the photovoltaic panel.
[0013] Optionally, the photovoltaic panel adjustment method further includes: detecting sunlight exposure and reacquiring the light intensity value collected by each pixel area.
[0014] If sunlight is detected, the light intensity value collected in each pixel area is re-acquired, thereby achieving accurate and rapid adjustment of the angle of the photovoltaic panel.
[0015] In a second aspect, the present invention provides a photovoltaic panel adjustment system, comprising: a control unit, a bracket adjustment mechanism and an image sensor, wherein: the image sensor is arranged in parallel with the photovoltaic panel; the image sensor is divided into N pixel areas according to a grid structure, each pixel area includes at least one pixel point, N is a positive integer and N≥2; the bracket adjustment mechanism is coupled to the support portion of the photovoltaic panel; the control unit is coupled to the image sensor and the bracket adjustment mechanism, and is suitable for obtaining the light intensity value collected by each pixel area; when it is detected that the first pixel area with the largest light intensity value is not in the central area, an adjustment instruction is output to the bracket adjustment mechanism; the adjustment instruction is used to control the bracket adjustment mechanism to adjust the angle of the photovoltaic panel to the target angle, so as to adjust the first pixel area to the central area; the central area includes M pixel areas, M is a positive integer.
[0016] Optionally, the control unit is further adapted to determine that no sunlight is detected at a first moment, and determine the target angle based on an angle value of the photovoltaic panel within a first time period before the first moment.
[0017] Optionally, the control unit is further suitable for determining that sunlight is still not detected at a second moment, and obtaining a historical angle record; the historical angle record includes a mapping relationship between multiple different moments and historical angles; the second moment is located after the first moment in time sequence, and is separated from the first moment by a second time length; at a third moment, selecting a historical angle corresponding to the third moment from the historical angle record as the target angle corresponding to the third moment; the third moment is located after the second moment in time sequence.
[0018] Optionally, the control unit is further adapted to detect sunlight exposure and reacquire the light intensity value collected by each pixel area.
[0019] In a third aspect, the present invention provides a photovoltaic panel system, comprising: a photovoltaic panel, and any one of the photovoltaic panel adjustment systems described above.
[0020] In a fourth aspect, the present invention further provides a computer-readable storage medium, which is a non-volatile storage medium or a non-transient storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of any of the above-mentioned photovoltaic panel adjustment methods are executed. BRIEF DESCRIPTION OF THE DRAWINGS
[0021] Figure 1 is a flow chart of a photovoltaic panel adjustment method in an embodiment of the present invention;
[0022] Figure 2is a schematic diagram of the positional relationship between an image sensor and a photovoltaic panel in an embodiment of the present invention;
[0023] Figure 3 is a schematic diagram of an application scenario in an embodiment of the present invention;
[0024] Figure 4 is a schematic diagram of the positional relationship between another image sensor and a photovoltaic panel in an embodiment of the present invention;
[0025] Figure 5 is a schematic diagram of pixel area division of an image sensor in an embodiment of the present invention;
[0026] Figure 6 Schematic diagram of the structure of a photovoltaic panel system in an embodiment of the present invention. DETAILED DESCRIPTION
[0027] In the prior art, an astronomical calendar is usually used to obtain the sun angle at a certain location at different times of the day, and then the orientation and inclination of the photovoltaic panel are adjusted. However, when the astronomical calendar is used to adjust the photovoltaic panel, it is difficult to accurately and quickly adjust the inclination of the photovoltaic panel.
[0028] In the embodiment of the present invention, based on the light intensity values collected by all pixel regions of the image sensor, it is possible to determine the first pixel region with the largest light intensity, that is, the pixel region with the strongest sunlight. If the first pixel region is not in the center region, the angle of the photovoltaic panel is adjusted to adjust the first pixel region to the center region, so as to turn the photovoltaic panel toward the sun. In this way, the angle of the photovoltaic panel can be adjusted accurately and quickly.
[0029] In order to make the above-mentioned objects, features and beneficial effects of the present invention more obvious and easy to understand, specific embodiments of the present invention are described in detail below with reference to the accompanying drawings.
[0030] Reference Figure 1 , a flow chart of a photovoltaic panel adjustment method in an embodiment of the present invention is given. The photovoltaic panel adjustment method provided in the following embodiments of the present invention can be executed by a control unit with data processing capabilities. The control unit can be a central processing unit (CPU), a microcontroller (MCU), an embedded processor, a field programmable gate array (FPGA), etc.
[0031] Step 101, obtaining the light intensity value collected in each pixel area;
[0032] Step 102 , detecting that the first pixel region with the maximum light intensity value is not in the central region, and adjusting the angle of the photovoltaic panel to a target angle.
[0033] In the embodiment of the present invention, the angle of the photovoltaic panel may refer to the inclination angle of the photovoltaic panel relative to the horizontal plane.
[0034] In a specific implementation, the image sensor may be arranged in parallel with the photovoltaic panel. The image sensor and the photovoltaic panel are arranged in parallel, which may mean that the image sensor and the photovoltaic panel have the same inclination angle relative to the horizontal plane.
[0035] In some embodiments, the image sensor can be attached to the outer surface of the photovoltaic panel, for example, the image sensor is attached to the central area of the photovoltaic panel.
[0036] like Figure 2 As shown, a schematic diagram of the positional relationship between an image sensor and a photovoltaic panel in an embodiment of the present invention is given. Figure 2 In the figure, the image sensor 22 is attached to the central area of the photovoltaic panel 21.
[0037] like Figure 3 As shown, a schematic diagram of an application scenario in an embodiment of the present invention is given. Figure 3 In the embodiment, the photovoltaic panel 21 is fixed to the ground by a support 23. The image sensor 22 is arranged in the central area of the photovoltaic panel 21. The photovoltaic panel 21 converts solar energy into electrical energy under the irradiation of sunlight.
[0038] In other embodiments, the image sensor may be disposed above the photovoltaic panel and parallel to the photovoltaic panel. For example, a bracket is disposed in the center of the photovoltaic panel, and the image sensor is disposed on the bracket, parallel to the photovoltaic panel, and not in contact with the photovoltaic panel.
[0039] In some other embodiments, the image sensor may be disposed on one side of the photovoltaic panel, and when the angle of the photovoltaic panel is adjusted, the angle of the image sensor also changes accordingly.
[0040] like Figure 4 As shown, a schematic diagram of the positional relationship between another image sensor and a photovoltaic panel in an embodiment of the present invention is given. Figure 4 In the embodiment, the image sensor 22 and the photovoltaic panel 21 are independently arranged. When the angle of the photovoltaic panel changes, the angle of the image sensor 22 changes accordingly to ensure that the image sensor 22 is parallel to the photovoltaic panel 21.
[0041] It is understandable that the positional relationship between the image sensor and the photovoltaic panel is not limited to the above example, and it is only necessary to ensure that the image sensor and the photovoltaic panel are arranged in parallel.
[0042] In the embodiment of the present invention, the image sensor may be divided into N pixel regions according to a grid structure, each pixel region includes at least one pixel point; N is a positive integer and N≥2.
[0043] In a specific implementation, for the i-th pixel region in the N pixel regions, the grayscale values of all the pixels in the i-th pixel region can be obtained, the grayscale values of all the pixels in the i-th pixel region are accumulated and summed, and the obtained sum is used as the light intensity value of the i-th pixel region; i is a positive integer and 1≤i≤N. In this way, the light intensity values corresponding to each of the N pixel regions can be obtained.
[0044] It is understandable that other methods may be used to obtain the light intensity values corresponding to each of the N pixel regions. For example, the grayscale average value of each pixel in each pixel region is obtained as the light intensity value corresponding to the corresponding pixel region.
[0045] In the embodiment of the present invention, after obtaining the light intensity value of each pixel area, the pixel area with the maximum light intensity value (hereinafter referred to as the first pixel area) can be determined. If it is detected that the first pixel area is located in the center area, there is no need to adjust the angle of the photovoltaic panel; if it is detected that the first pixel area is not in the center area, the angle of the photovoltaic panel needs to be adjusted.
[0046] In a specific implementation, the angle of the photovoltaic panel is adjusted by adjusting the angle of the photovoltaic panel to a target angle so as to adjust the first pixel area to a central area. The central area may refer to a portion of the pixel area at the middle position of the image sensor. Specifically, the central area may include M pixel areas, where M is a positive integer.
[0047] like Figure 5 As shown, a schematic diagram of pixel area division of an image sensor in an embodiment of the present invention is given.
[0048] Figure 5 In the example, the image sensor is equally divided into 16 pixel regions according to a grid structure, and the number of pixels in each pixel region is equal. Among them, region 52 is a central region, including 3 pixel regions.
[0049] In an embodiment of the present invention, a bracket adjustment mechanism coupled to the control unit may be provided. The bracket adjustment mechanism may also be coupled to the photovoltaic panel. The control unit may output an adjustment instruction to the bracket adjustment mechanism, and the adjustment instruction may be used to indicate an adjustment angle. The bracket adjustment mechanism may adjust the angle of the photovoltaic panel to a target angle based on the adjustment instruction. Thus, by adjusting the bracket adjustment mechanism, the angle of the photovoltaic panel is adjusted.
[0050] In some embodiments, the support adjustment mechanism may be disposed on the support portion of the photovoltaic panel. The angle of the photovoltaic panel can be adjusted by adjusting the angle of the support adjustment mechanism.
[0051] In other embodiments, the support adjustment mechanism may also be coupled to the photovoltaic panel through other connection methods to adjust the angle of the photovoltaic panel.
[0052] In an embodiment of the present invention, the photovoltaic panel adjustment method described above can be performed regularly according to a predetermined period. For example, if the predetermined period is 10 minutes, steps 101 to 102 are performed every 10 minutes, so that the angle of the photovoltaic panel is adjusted every 10 minutes. For another example, if the predetermined period is 2 minutes, steps 101 to 102 are performed every 2 minutes, so that the angle of the photovoltaic panel is adjusted every 2 minutes.
[0053] In a specific implementation, the longer the predetermined period is, the lower the requirement on the data processing capability of the control unit is, and accordingly, the lower the frequency of adjusting the angle of the photovoltaic panel is, which will affect the power generation efficiency of the photovoltaic panel. Conversely, the shorter the predetermined period is, the higher the requirement on the data processing capability of the control unit is, and the higher the frequency of adjusting the angle of the photovoltaic panel is, thereby improving the power generation efficiency of the photovoltaic panel.
[0054] In a specific application, the length of the predetermined period may be set based on the requirements for the processing capability of the control unit and the power generation efficiency.
[0055] In summary, the photovoltaic panel adjustment method provided in the embodiment of the present invention can determine the first pixel area with the largest light intensity based on the light intensity values collected by all pixel areas of the image sensor. If the first pixel area is not in the center area, the angle of the photovoltaic panel is adjusted to adjust the first pixel area to the center area, so as to turn the photovoltaic panel toward the sun. In this way, the angle of the photovoltaic panel can be adjusted accurately and quickly.
[0056] In actual applications, photovoltaic panels may be working in cloudy, overcast, rainy and other weather conditions. In some time periods, photovoltaic panels may not be able to detect sunlight.
[0057] For example, the control unit can detect that sunlight shines on the photovoltaic panel for a period of time. After a period of time, the sunlight is blocked by clouds and no sunlight shines on the photovoltaic panel.
[0058] In an embodiment of the present invention, if it is detected that the photovoltaic panel is illuminated by sunlight within a period of time before the first moment, and it is detected that the photovoltaic panel is not illuminated by sunlight at the first moment, the angle value of the photovoltaic panel within the first time period before the first moment can be obtained, and based on the angle value of the photovoltaic panel within the first time period, the target angle at the corresponding moment can be determined.
[0059] In a specific implementation, the angle value of the photovoltaic panel within the first time period may include the angle values of the photovoltaic panel corresponding to different moments within the first time period. Based on the angle values of the photovoltaic panel corresponding to different moments within the first time period, the angle change trend of the photovoltaic panel within the first time period may be determined. Furthermore, within a period of time after the first moment, the corresponding target angle may be determined based on different moments and angle change trends.
[0060] In some embodiments, linear interpolation can be used to determine the target angles corresponding to different moments in a period of time after the first moment. In other embodiments, a related trend function can be fitted based on the angle value of the photovoltaic panel in the first time period, and then the target angles corresponding to different moments in a period of time after the first moment can be determined based on the trend function.
[0061] For example, the first moment is 14:59 on January 1, 2024, the predetermined period is 10 minutes, and the first duration is 30 minutes. The control unit adjusts the angle value of the photovoltaic panel at 14:30, 14:40, and 14:50, respectively. The angle value obtained at 14:30 is θ1, the angle value obtained at 14:40 is θ2, and the angle value obtained at 14:50 is θ3. θ1, θ2, and θ3 are in an arithmetic progression, the difference is δ, and θ1 is the largest and θ3 is the smallest.
[0062] Therefore, it can be determined that within the first time period, the angle value of the photovoltaic panel tends to gradually decrease. Within 25 minutes after the first moment, the target angle corresponding to 15:00 is determined to be θ4=θ3-δ, the target angle corresponding to 15:10 is determined to be θ5=θ4-δ, and the target angle corresponding to 15:20 is determined to be θ5-δ.
[0063] It is understandable that other methods may also be used to obtain the angle change trend of the photovoltaic panel within the first time period based on the angle value of the photovoltaic panel within the first time period.
[0064] In an embodiment of the present invention, if the photovoltaic panel is still not detected to be irradiated by the sun at the second moment, a historical angle record can be obtained, and the historical angle record can include a mapping relationship between multiple different moments and historical angles. At the third moment, the historical angle corresponding to the third moment is selected from the historical angle record as the target angle corresponding to the third moment. In terms of timing, the second moment is located after the first moment, and the time interval between the second moment and the first moment is the second duration; the third moment is located after the second moment.
[0065] In a specific implementation, the above historical angle record can be recorded over a period of time, and the historical angle record can be updated in real time. After the control unit determines the target angle corresponding to the current moment based on steps 101 to 102, it can update the historical angle record and record the current moment and the target angle corresponding to the current moment in the historical angle record.
[0066] As shown in Table 1 below, a table schematically shows a historical angle record in an embodiment of the present invention.
[0067]
[0068] Table 1
[0069] In Table 1, the recording time is the time when the control unit adjusts the angle of the photovoltaic panel, the target angle is the angle of the photovoltaic panel corresponding to the corresponding recording time, the valid state refers to whether the corresponding recording time is in the valid period, and the last updated timestamp refers to the time when the historical angle record was last updated.
[0070] Specifically, in Table 1, the historical angle records were updated at 14:32 on January 4, 2024 and 14:42 on January 4, 2024, respectively. The target angle recorded at 14:30 on January 1, 2024 was 45°, and the target angle recorded at 14:40 on January 1, 2024 was 44.5°.
[0071] In a specific implementation, the above historical angle record has time validity. If the time validity of a piece of data in the historical angle record exceeds the validity period, the piece of data will be deleted from the historical angle record.
[0072] For example, if the validity period is 72 hours, as shown in Table 1, the data recorded at 14:30 on January 1, 2024 exceeds the validity period, so the data is deleted from the historical angle record. The data recorded at 14:40 on January 1, 2024 has not exceeded the validity period, so the data can continue to be saved in the historical angle record.
[0073] In the embodiment of the present invention, the historical record corresponding to the third moment can be directly obtained from the historical angle record by looking up a table as the target angle corresponding to the third moment.
[0074] For example, the third moment is 14:50 on January 4, 2024. From the historical angle records, the target angle corresponding to 14:50 on January 3 is selected as the target angle corresponding to the third moment.
[0075] Since the validity period of the historical angle record may include two days or more, several historical angles corresponding to the third moment can be selected from the historical angle record, and their average can be used as the target angle; or, based on the changing trends of several historical angles corresponding to the third moment, the target angle corresponding to the third moment can be determined.
[0076] For example, the third moment is 14:50 on January 4, 2024. From the historical angle records, the target angle θ11 corresponding to 14:50 on January 3 and the target angle θ12 corresponding to 14:50 on January 2 are selected, and the average of θ11 and θ12 is used as the target angle corresponding to the third moment.
[0077] For another example, based on the difference between θ11 and θ12, the target angle corresponding to the third moment is determined to be: θ12-(θ11-θ12).
[0078] In an embodiment of the present invention, if sunlight is detected to be irradiating the photovoltaic panel at any time point between the first moment and the third moment, the control unit can re-execute steps 101 to 102, that is, re-obtain the light intensity value collected in each pixel area and adjust the angle of the photovoltaic panel.
[0079] In a specific implementation, when the control unit detects that sunlight is irradiating the photovoltaic panel, it means that the obstruction (such as clouds) is no longer blocking the sun, so the control unit can continue to adjust the angle of the photovoltaic panel based on a predetermined period.
[0080] In an embodiment of the present invention, the specific values of the first duration and the second duration can be set according to a specific application scenario. For example, the first duration is set to 30 minutes and the second duration is set to 30 minutes. For another example, the first duration is set to 20 minutes and the second duration is set to 40 minutes.
[0081] In a specific implementation, the control unit may perform Hough circle detection on the image captured by the image sensor. If a circle is detected in the image captured by the image sensor, it is determined that the sun is not blocked, that is, sunlight is irradiated to the photovoltaic panel. Conversely, if no circle is detected in the image captured by the image sensor, it is determined that the sun is blocked, that is, no sunlight is irradiated on the photovoltaic panel.
[0082] In a specific implementation, the control unit may also obtain the average brightness of several brightest pixels in the image captured by the image sensor. If it is detected that the average brightness of several pixels is less than a set value (such as set to 230), it can be determined that the sun is blocked.
[0083] It is understandable that there may be other ways to detect whether the sun is blocked, and the embodiment of the present invention may use existing solutions to detect whether the sun is blocked.
[0084] The present invention also provides a photovoltaic panel adjustment system, referring to Figure 6 In the embodiment of the present invention, the photovoltaic panel adjustment system includes: a control unit 61, an image sensor 62 and a bracket adjustment mechanism 63, wherein:
[0085] The image sensor 62 is arranged in parallel with the photovoltaic panel; the image sensor 62 can be divided into N pixel areas according to a grid structure, and each pixel area includes at least one pixel point;
[0086] A support adjustment mechanism 63 coupled to a support portion of the photovoltaic panel;
[0087] The control unit 61 is coupled to the image sensor 62 and the bracket adjustment mechanism 63, and is suitable for obtaining the light intensity value collected by each pixel area; when it detects that the first pixel area with the largest light intensity value is not in the center area, an adjustment instruction is output to the bracket adjustment mechanism 63; the adjustment instruction is used to control the bracket adjustment mechanism 63 to adjust the angle of the photovoltaic panel to the target angle, so as to adjust the first pixel area to the center area.
[0088] In a specific implementation, the control unit 61 is further adapted to determine the target angle based on the angle value of the photovoltaic panel within a first time period before the first moment when it is determined that no sunlight is detected at the first moment.
[0089] In a specific implementation, the control unit 61 is also suitable for determining that no sunlight is detected at the second moment, and obtaining a historical angle record; the historical angle record includes a mapping relationship between multiple different moments and historical angles; the second moment is located after the first moment in time sequence, and is separated from the first moment by a second time length; at the third moment, the historical angle corresponding to the third moment is selected from the historical angle record as the target angle corresponding to the third moment; the third moment is located after the second moment in time sequence.
[0090] In a specific implementation, the control unit 61 is further adapted to detect sunlight exposure and reacquire the light intensity value collected by each pixel area.
[0091] In a specific implementation, the specific execution process of the above-mentioned control unit, the setting of the bracket adjustment mechanism and the image sensor, etc. can all correspond to the relevant description of the photovoltaic panel adjustment system provided in the above-mentioned embodiment, and will not be repeated here.
[0092] The present invention further provides a photovoltaic panel system, comprising a photovoltaic panel and a photovoltaic panel adjustment system provided by any of the above embodiments. The photovoltaic panel adjustment system is used to adjust the angle of the photovoltaic panel.
[0093] An embodiment of the present invention further provides a computer-readable storage medium, which is a non-volatile storage medium or a non-transient storage medium, on which a computer program is stored. When the computer program is executed by a processor, the steps of the photovoltaic panel adjustment method provided in any of the above embodiments are executed.
[0094] A person skilled in the art may understand that all or part of the steps in the various methods of the above embodiments may be completed by instructing the relevant hardware through a program, and the program may be stored in a computer-readable storage medium, which may include: ROM, RAM, disk or CD, etc.
[0095] Although the present invention is disclosed as above, the present invention is not limited thereto. Any person skilled in the art can make various changes and modifications without departing from the spirit and scope of the present invention. Therefore, the protection scope of the present invention shall be subject to the scope defined by the claims.
Claims
1. A photovoltaic panel adjustment method, characterized in that: An image sensor is arranged in parallel with the photovoltaic panel, and the image sensor is divided into N pixel areas according to a grid structure, each pixel area includes at least one pixel point, N is a positive integer and N≥2; the method includes: Get the light intensity value collected in each pixel area; When it is detected that the first pixel area with the maximum light intensity value is not in the central area, the angle of the photovoltaic panel is adjusted to the target angle to adjust the first pixel area to the central area; the central area includes M pixel areas, where M is a positive integer.
2. The photovoltaic panel adjustment method according to claim 1, characterized in that: The obtaining of the light intensity value collected in each pixel area includes: Get the grayscale values of all pixels in the i-th pixel area; The grayscale values of all pixels in the i-th pixel area are accumulated to obtain the light intensity value of the i-th pixel area; i is a positive integer and 1≤i≤N.
3. The photovoltaic panel adjustment method according to claim 1, characterized in that: Also includes: It is determined that no sunlight irradiation is detected at a first moment, and the target angle is determined based on an angle value of the photovoltaic panel within a first time period before the first moment.
4. The photovoltaic panel adjustment method according to claim 3, characterized in that: Also includes: Determine that no sunlight is detected at the second moment, and obtain a historical angle record; the historical angle record includes a mapping relationship between multiple different moments and historical angles; the second moment is located after the first moment in time sequence and is separated from the first moment by a second time length; At a third moment, a historical angle corresponding to the third moment is selected from the historical angle record as the target angle corresponding to the third moment; the third moment is located after the second moment in time sequence.
5. The photovoltaic panel adjustment method according to claim 3 or 4, characterized in that: Also includes: When sunlight is detected, the light intensity value collected in each pixel area is re-acquired.
6. A photovoltaic panel adjustment system, characterized in that: include: A control unit, a bracket adjustment mechanism and an image sensor, wherein: The image sensor is arranged in parallel with the photovoltaic panel; the image sensor is divided into N pixel areas according to a grid structure, each pixel area includes at least one pixel point, N is a positive integer and N≥2; The support adjustment mechanism is coupled to the photovoltaic panel; The control unit is coupled to the image sensor and the bracket adjustment mechanism, and is suitable for obtaining the light intensity value collected by each pixel area; when it is detected that the first pixel area with the largest light intensity value is not in the central area, an adjustment instruction is output to the bracket adjustment mechanism; the adjustment instruction is used to control the bracket adjustment mechanism to adjust the angle of the photovoltaic panel to the target angle, so as to adjust the first pixel area to the central area; the central area includes M pixel areas, and M is a positive integer.
7. The photovoltaic panel adjustment system according to claim 6, characterized in that: The control unit is further adapted to determine that no sunlight is detected at a first moment, and determine the target angle based on an angle value of the photovoltaic panel within a first time period before the first moment.
8. The photovoltaic panel adjustment system according to claim 7, characterized in that: The control unit is further adapted to determine that no sunlight is detected at a second moment, and obtain a historical angle record; the historical angle record includes a mapping relationship between a plurality of different moments and historical angles; the second moment is located after the first moment in time sequence, and is separated from the first moment by a second time length; at a third moment, selecting a historical angle corresponding to the third moment from the historical angle record as the target angle corresponding to the third moment; the third moment is located after the second moment in time sequence.
9. The photovoltaic panel adjustment system according to claim 7 or 8, characterized in that: The control unit is further adapted to detect sunlight exposure and reacquire the light intensity value collected by each pixel area.
10. A photovoltaic panel system, characterized in that: include: A photovoltaic panel, and a photovoltaic panel adjustment system as described in any one of claims 6 to 9.
11. A computer-readable storage medium, wherein the computer-readable storage medium is a non-volatile storage medium or a non-transient storage medium, and a computer program is stored thereon, wherein: When the computer program is executed by a processor, the steps of the photovoltaic panel adjustment method according to any one of claims 1 to 5 are executed.