A control method, device, equipment and storage medium for a solar panel
By generating a sun-chasing plan on the solar panel and gradually adjusting the attitude of the solar panel, the problem of insufficient power generation when the sun's position changes is solved, and the solar energy reception volume and power generation efficiency are improved.
Patent Information
- Application Number
- CN202211275394.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-10-18
- Publication Date
- 2025-06-13
- Estimated Expiration
- 2042-10-18
AI Technical Summary
Existing solar panels are difficult to receive sufficient solar energy when the sun's position changes, resulting in insufficient power generation.
By obtaining the current power generation power of the solar panel, if it is less than the preset value, the incident direction of the sun ray is determined, and N postures are divided between the first posture and the second posture to generate a day-chasing plan, so that the solar panel gradually changes from the first posture to the second posture, ensuring that the power generation power reaches the preset value.
The solar energy reception volume on the light receiving surface of the solar panel is improved, ensuring that the power generation power reaches the preset value, and at the same time reducing the number of rotations of the solar panel and improving the power generation efficiency.
Smart Images

Figure CN115657736B_ABST
Abstract
Description
Technical Field
[0001] This specification relates to the field of automatic control technology, and particularly to a control method, device, equipment and storage medium for a solar panel. Background Art
[0002] In the case of the decreasing of fossil fuels, solar energy has become an important part of the energy used by humans and is constantly developing. The solar panel is the core part of the solar power generation system and can convert solar light energy into electrical energy or heat energy.
[0003] In the prior art, the solar panel is usually placed in a fixed posture and generates electricity by receiving sunlight. This leads to the difficulty for the solar panel to receive sufficient solar energy when the sun's position changes. Therefore, a solution is needed to obtain enough solar energy by controlling the posture transformation of the solar panel. Summary of the Invention
[0004] To overcome the problems existing in the related art, this specification provides a control method, device, equipment and storage medium for a solar panel.
[0005] According to the first aspect of the embodiments of this specification, a control method for a solar panel is provided, including:
[0006] Obtain the power generation power of the solar panel generating electricity in the first posture currently;
[0007] If the power generation power is less than the preset power generation power, determine the incident direction of the sun's rays currently incident on the solar panel;
[0008] Determine a second posture that makes the light receiving surface of the solar panel perpendicular to the incident direction, and determine N postures between the first posture and the second posture, and generate a sun-tracking plan for controlling the solar panel to sequentially pass through N postures from the first posture to the second posture; where N is a natural number and N≥1;
[0009] During the execution of the sun-tracking plan, when it is detected that the solar panel rotates to the i-th posture, calculate the power generation power of the solar panel generating electricity in the i-th posture; where i is a natural number and i is any value among 0, 1,..., N, N + 1; when i = 0, the i-th posture is the first posture, and when i = N + 1, the i-th posture is the second posture;
[0010] If it is determined that the power generation power at the i-th posture reaches the preset power generation power, control the solar panel to stop rotating and control the solar panel to generate electricity in the i-th posture.
[0011] According to the second aspect of the embodiments of the present specification, a control device for a solar panel is provided. The device includes:
[0012] A first acquisition unit, configured to acquire the power generation power of the solar panel when generating electricity in a first posture.
[0013] A first determination unit, configured to determine the incident direction of the sun rays on the solar panel currently if the power generation power is less than a preset power generation power.
[0014] A second determination unit, configured to determine a second posture in which the light receiving surface of the solar panel is perpendicular to the incident direction, and determine N postures between the first posture and the second posture, and generate a sun-tracking plan for controlling the solar panel to sequentially pass through the N postures from the first posture to the second posture; where N is a natural number and N≥1.
[0015] A calculation unit, configured to calculate the power generation power of the solar panel when generating electricity in the i-th posture when it is detected that the solar panel rotates to the i-th posture during the execution of the sun-tracking plan; where i is a natural number and i is any value among 0, 1, ……, N, N + 1; when i = 0, the i-th posture is the first posture, and when i = N + 1, the i-th posture is the second posture.
[0016] A first control unit, configured to control the solar panel to stop rotating and control the solar panel to generate electricity in the i-th posture if it is determined that the power generation power at the i-th posture reaches the preset power generation power.
[0017] According to the third aspect of the embodiments of the present specification, a computer-readable storage medium is provided, on which a computer program is stored. When the program is executed by a processor, the steps of the control method for the solar panel as described in any of the embodiments provided in the first aspect are implemented.
[0018] According to the fourth aspect of the embodiments of the present specification, a computer device is provided, including a memory, a processor, and a computer program stored on the memory and executable on the processor; wherein, the processor is configured to execute the steps of the control method for the solar panel as described in any of the embodiments provided in the first aspect.
[0019] The technical solutions provided by the embodiments of the present specification may include the following beneficial effects:
[0020] In the embodiments of this specification, by obtaining the power generation power of the solar panel when it is in the first posture, when it is detected that the power generation power is less than the preset power generation power, the solar panel can be controlled to rotate towards the second posture perpendicular to the sun rays. Compared with the prior art method of setting the solar panel in a fixed posture, the solar energy received by the light receiving surface of the solar panel can be effectively increased.
[0021] Furthermore, by dividing N postures between the first posture and the second posture, when the solar panel is in any one of the first posture, the N postures, and the second posture, by calculating the power generation power when generating electricity in this posture, it is ensured that when the power generation power reaches the preset power generation power, power generation is directly carried out in this posture without directly rotating to the second posture, which is beneficial to reducing the rotation of the solar panel while ensuring that the solar panel generates electricity according to the preset power generation power.
[0022] It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and cannot limit this specification. Brief Description of the Drawings
[0023] The accompanying drawings herein are incorporated into the specification and constitute a part of this specification, showing the embodiments consistent with this specification, and are used together with the specification to explain the principles of this specification.
[0024] Figure 1 Shows a flowchart of a control method for a solar panel provided by an embodiment of this specification.
[0025] Figure 2 Shows a schematic diagram of the posture of a solar panel generating electricity in the first posture provided by an embodiment of this specification.
[0026] Figure 3a Shows a schematic diagram of the N postures determined between the first posture and the second posture of a solar panel provided by an embodiment of this specification.
[0027] Figure 3b Shows another schematic diagram of the N postures determined between the first posture and the second posture of a solar panel provided by an embodiment of this specification.
[0028] Figure 4 Shows a schematic diagram of the structure of a control device for a solar panel provided by an embodiment of this specification.
[0029] Figure 5 Is a hardware structure diagram of a computer device where a control device for a solar panel is located according to an exemplary embodiment of this specification. Detailed Embodiments
[0030] Exemplary embodiments will be described in detail herein, and examples thereof are shown in the accompanying drawings. When the following description refers to the accompanying drawings, unless otherwise indicated, the same numbers in different drawings represent the same or similar elements. The embodiments described in the following exemplary embodiments do not represent all embodiments consistent with this specification. On the contrary, they are merely examples of devices and methods consistent with some aspects of this specification as detailed in the appended claims.
[0031] The terms used in this specification are for the purpose of describing particular embodiments only and are not intended to limit this specification. The singular forms "a", "the", and "said" used in this specification and the appended claims are also intended to include the plural forms unless the context clearly dictates otherwise. It should also be understood that the term "and / or" as used herein refers to and encompasses any and all possible combinations of one or more of the associated listed items.
[0032] It should be understood that although the terms first, second, third, etc. may be used in this specification to describe various information, such information should not be limited to these terms. These terms are only used to distinguish the same type of information from each other. For example, without departing from the scope of this specification, the first information may also be referred to as the second information, and similarly, the second information may also be referred to as the first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "while" or "in response to determining".
[0033] This embodiment runs in the control center of the solar panel, and the control center controls the solar panel to operate automatically every day. Specifically, it includes: automatically turning on at a specific time (such as in the morning), and then automatically following the sun's rays for attitude transformation as the relationship between the sun's rays and the position of the solar panel itself changes, so as to obtain sufficient solar energy, and automatically turning off after meeting specific conditions (such as reaching a certain time in the afternoon, or the power generation power is less than a certain specific value). This embodiment can be executed periodically or non-periodically. Next, the embodiments of this specification will be described in detail.
[0034] Figure 1 The flowchart of a control method for a solar panel provided by an embodiment of this specification is shown, as Figure 1 shown, the method includes the following steps:
[0035] Step 101, obtain the power generation power of the solar panel currently generating electricity in a first attitude.
[0036] Specifically, the first attitude refers to the attitude of the solar panel when step 101 is executed. Assuming that the power generation power of the solar panel at the first moment is obtained, then the first attitude is the attitude of the solar panel at the first moment. Figure 2The figure shows a schematic diagram of a solar panel generating electricity in a first posture. The sun rays are schematically intercepted several of the rays emitted by the sun, and the solar panel receives the sun rays in a posture horizontal to the ground (i.e., the first posture in the figure).
[0037] Step 102, if the generated power is less than the preset generated power, determine the incident direction of the sun rays currently incident on the solar panel.
[0038] Specifically, the preset generated power can be the maximum generated power, average generated power, or minimum generated power that the solar panel is desired to reach. For example, if the current generated power range that the solar panel can achieve is: 0KW - 100KW, then the preset generated power can be set to any value within the range of 0KW - 100KW, such as 100KW, 20KW, 36KW, 1KW, etc.
[0039] The incident direction of the sun rays currently incident on the solar panel is related to the geographical longitude and latitude of the solar panel, as well as the current time and date. The solar altitude angle and solar azimuth angle of the sun relative to the solar panel can be calculated through the current time, date, and the geographical longitude and latitude of the solar panel. The specific calculation formulas are as follows:
[0040]
[0041] ω = true solar time at the current geographical longitude and latitude × 15 - 180°;
[0042]
[0043]
[0044] θ = 90° - α;
[0045] Where, δ is the declination angle, n is the ranking of the date when step 101 is executed in the total number of days N in the Gregorian calendar of the current year. For example, if the date when step 101 is executed is January 1, 2018, then N is 365 and n = 1. ω is the latitude angle, α is the solar altitude angle at the geographical longitude and latitude where the solar panel is located at the current moment, θ is the zenith angle at the geographical longitude and latitude where the solar panel is located at the current moment, and γ is the solar azimuth angle at the geographical longitude and latitude where the solar panel is located at the current moment.
[0046] Based on the solar azimuth angle and solar altitude angle, the incident direction of the sun rays incident on the solar panel at the current moment can be determined.
[0047] Step 103: Determine a second attitude that makes the light receiving surface of the solar panel perpendicular to the incident direction, determine N attitudes between the first attitude and the second attitude, and generate a sun-tracking plan for controlling the solar panel to sequentially pass through the N attitudes from the first attitude to the second attitude; where N is a natural number and N≥1.
[0048] Specifically, the solar panel has a light receiving surface for receiving solar energy. When the light receiving surface is irradiated by sunlight, current can be generated in the solar panel (the battery inside the solar panel) through the received sunlight for power generation. Therefore, after determining the current incident direction of the sunlight on the solar panel according to Step 102, a second attitude that makes the light receiving surface perpendicular to the incident direction of the sunlight can be determined. When the incident direction of the sunlight is perpendicular to the light receiving surface, the light receiving surface receives the most sunlight. In an ideal situation, if the solar panel generates power in the second attitude at this time, since the number of sunlight rays vertically irradiating the light receiving surface is the largest, the solar energy received by the solar panel is also the largest. At this time, the power generation power of the solar panel generating power in the second attitude can reach the ideal maximum power.
[0049] However, when presetting the power generation, considering reasons such as power generation loss and component loss, a preset power generation power smaller than the ideal maximum power generation is often set (for the setting method, see Step 102) to ensure that the solar panel can complete the power generation task. Therefore, the solar panel often does not have to rotate completely to the second attitude to achieve the preset power generation power.
[0050] Therefore, by determining N (N≥1) attitudes between the first attitude and the second attitude, it can be ensured that the solar panel must pass through at least one intermediate attitude during the process of turning from the first attitude to the second attitude before it can rotate to the second attitude.
[0051] Figure 3a The figure shows an attitude schematic diagram of N attitudes determined by a solar panel provided by an embodiment of this specification between the first attitude and the second attitude. Among them, assuming N is 2, the figure respectively includes schematic diagrams of sunlight, the solar panel, and the light received by the solar panel when generating power in the first attitude, intermediate attitude 1, intermediate attitude 2, and second attitude; Figure 3b The figure shows another attitude schematic diagram of N attitudes determined by a solar panel provided by an embodiment of this specification between the first attitude and the second attitude. Among them, assuming N is 2, the figure respectively includes schematic diagrams of sunlight, the solar panel, and the light received by the solar panel when generating power in the first attitude, intermediate attitude 3, intermediate attitude 4, and second attitude.
[0052] The determination method of N postures can be equally spaced according to the positional relationship between the first posture and the second posture (refer to Figure 3a ), or it can be non-equally spaced (refer to Figure 3b , and the division is finer closer to the second posture). The following takes Figure 3a as an example for illustration. As can be seen from Figure 3a , there are a total of 4 postures in the figure. Two postures are divided between the first posture and the second posture (i.e., N = 2), which are the first posture, intermediate posture 1, intermediate posture 2, and the second posture. Therefore, the sun-tracking plan is to control the solar panel to rotate from the first posture to intermediate posture 1, then to intermediate posture 2, and finally to the second posture. After reaching the second posture, the sun-tracking plan is completed.
[0053] Step 104, during the execution of the sun-tracking plan, when it is detected that the solar panel rotates to the i-th posture, calculate the power generation power of the solar panel for power generation in the i-th posture; where i is a natural number, and i is any value in 0, 1,..., N, N + 1; when i = 0, the i-th posture is the first posture, and when i = N + 1, the i-th posture is the second posture.
[0054] Specifically, during the execution of the sun-tracking plan, the power generation function of the solar panel is turned on so that the solar panel can generate power for a certain duration in the i-th posture, thereby calculating the power generation power of the solar panel for power generation in the i-th posture.
[0055] For example, assume i = 0, which means that the solar panel is in the first posture at this time. Then the power generation power for power generation in the i-th posture is the power generation power determined in step 101; when i = 1, it means that the solar panel has rotated to intermediate posture 1 at this time, and the power generation power of the solar panel for power generation in intermediate posture 1 is calculated at this time, and so on.
[0056] It should be noted that at the i-th posture, in order to ensure the accuracy of the power generation power of the i-th posture obtained, the solar panel can be controlled to stay at the i-th posture for a preset duration (for example, the accuracy can be ensured at 400 ms, then the preset duration can be set to 500 ms, 600 ms), so as to ensure that the power generation power obtained at this time is indeed the power generated at the i-th posture, rather than the power generated at the posture before the i-th posture. However, the preset duration in the embodiments of the present application is not limited. In order to reduce the rotation time consumed by the solar panel during rotation, the preset duration can also be set to be less than 400 ms (for example, 100 ms).
[0057] Step 105, if it is determined that the power generation power at the i-th attitude reaches the preset power generation power, control the solar panel to stop rotating, and control the solar panel to generate power in the i-th attitude.
[0058] Specifically, after determining the power generation power of the current solar panel in the i-th attitude through Step 104, it is judged whether the power generation power in the i-th attitude reaches (is greater than or equal to) the preset power generation power. If it reaches, it means that the power generation requirement can be met here, so there is no need to continue rotating to the second attitude. By controlling the solar panel to stop rotating, the solar panel is controlled to continuously generate power in the current i-th attitude.
[0059] For example: if N = 2, then there are 4 attitudes in the sun-tracking plan. Assuming the preset power generation power is 53KW, then:
[0060] When the solar panel is in the 1st attitude (the first attitude), the power generation power is 50KW.
[0061] The power generation power in the 1st attitude (50KW) < the preset power generation power (53KW), then continue to execute the sun-tracking plan, that is, rotate from the 1st attitude to the 2nd attitude:
[0062] When the solar panel is in the 2nd attitude, the power generation power is 53KW.
[0063] The power generation power in the 2nd attitude (53KW) ≥ the preset power generation power (53KW), then control the solar panel to stop in the 2nd attitude and continuously generate power in this 2nd attitude (no longer rotate to the 3rd attitude and the 4th attitude).
[0064] In the embodiments of this specification, by obtaining the power generation power of the solar panel when it is in the first attitude, when it is detected that the power generation power is less than the preset power generation power, the solar panel can be controlled to rotate towards the second attitude perpendicular to the sun rays. Compared with the prior art in which the solar panel is set in a fixed attitude, it can effectively increase the solar energy received by the light receiving surface of the solar panel.
[0065] Furthermore, by dividing N attitudes between the first attitude and the second attitude, when the solar panel is in any one of the first attitude, N attitudes, and the second attitude, by calculating the power generation power when generating power in this attitude, it is ensured that when the power generation power reaches the preset power generation power, it directly generates power in this attitude without having to directly rotate to the second attitude, which is beneficial to reducing the rotation of the solar panel while ensuring that the solar panel generates power according to the preset power generation power.
[0066] In a feasible implementation, after performing step 104 to calculate the power generation power of the solar panel in the i-th attitude, the method further includes the following steps:
[0067] Step 1041, store the i-th attitude and its corresponding power generation power. After executing the sun-tracking plan, if each of the stored power generation powers is less than the preset power generation power, determine the maximum power generation power from the stored several power generation powers, and determine the attitude corresponding to the maximum power generation power as the target attitude.
[0068] Specifically, by executing step 1041, when the solar panel reaches each attitude in the sun-tracking plan and obtains the power generation power in that attitude, the corresponding relationship between each attitude and the power generation power can be stored.
[0069] For example, if N = 2 and the preset power generation power is 60KW, then when the solar panel is in the 1st attitude, the stored content is:
[0070] Current attitude Power generation The 1st attitude (the first attitude) 50KW
[0071] When the solar panel rotates to the 2nd attitude, the stored content is:
[0072] Current attitude Power generation The 1st attitude (the first attitude) 50KW The 2nd attitude (the intermediate attitude 1) 53KW
[0073] When the solar panel rotates to the 3rd attitude, the stored content is:
[0074]
[0075]
[0076] When the solar panel rotates to the 4th attitude (the sun-tracking plan is executed), the stored content is:
[0077] Current attitude Power generation The 1st attitude (the first attitude) 50KW The 2nd attitude (the intermediate attitude 1) 53KW The 3rd attitude (the intermediate attitude 2) 55KW The 4th attitude (the second attitude) 51KW
[0078] After executing the sun-tracking plan, the total number of stored power generation powers is N + 2, and each power generation power is less than the preset power generation power (60KW). Therefore, the maximum power generation power at this time is 55KW, and the 3rd attitude corresponding to 55KW is the target attitude.
[0079] It should be noted that the data in the above table is only for illustrative purposes, and the embodiments of the present application do not limit the specific amount of the power generation power. When the solar panel is installed on a mobile device such as a vehicle, due to the limited space on the mobile device, the area of the solar panel and the attitude of the solar panel are restricted by the space of the mobile device (for example, the solar panel is installed on the roof or around the body of a hatchback car), and the power generation power of the solar panel in any attitude is about 2KW.
[0080] Step 1042: If the maximum power generation meets the target condition, control the solar panel to rotate to the target attitude and generate electricity in the target attitude.
[0081] Specifically, after determining the maximum power generation according to Step 1041, when it is determined that the maximum power generation meets the target condition, control the solar panel to rotate to the target attitude.
[0082] The embodiments of the present application do not limit the target condition. For example, the target condition may be that the maximum power generation reaches a specific value (for example, the minimum operating power of the preset solar panel to ensure that the solar panel can operate normally at this maximum power generation).
[0083] Ideally, when the current solar panel generates electricity in the second attitude (receiving the most solar energy), the above preset power generation can be achieved. If not, it means that the light receiving surface of the solar panel may be blocked by an obstacle, resulting in a reduction in solar light. In this case, it is difficult to find an attitude that can reach the preset power generation. By determining the maximum power generation from several (N + 2) stored power generations, the solar panel can be rotated to the position of the target attitude corresponding to the maximum power generation for power generation, improving the power generation efficiency.
[0084] Moreover, since the calculation of the power generation at each attitude has been completed when executing the sun-tracking plan, there is no need to control the movement of the solar panel to find the position where the maximum power generation may exist, reducing the rotation consumption of the solar panel and being beneficial to increasing the power generation duration of the solar panel.
[0085] In a feasible implementation, after determining the maximum power generation from several stored power generations according to Step 1041, the method further includes the following steps:
[0086] Step 1043: If the maximum power generation does not meet the target condition, based on the rotatable range of the solar panel, determine several test attitudes of the solar panel.
[0087] Specifically, taking the target condition that the maximum power generation reaches the minimum operating power of the solar panel as an example, if the maximum power generation does not meet the target condition, it is considered that the power generation obtained by the solar panel generating electricity in the target attitude cannot support the operation of the solar panel, and thus it is necessary to re-determine the attitude for power generation that meets the target condition.
[0088] The rotatable range of the solar panel is preset according to the rotation structure of the solar panel and the activity space of the solar panel. Several test attitudes are determined equidistantly from each attitude that the solar panel can achieve under the limitation of its own rotation structure.
[0089] Step 1044, for each of the several test postures, control the solar panel to rotate to this test posture, and calculate the test power generation power for power generation in this test posture.
[0090] Specifically, control the solar panel to stay at each test posture for a target duration (such as 1 s, 0.5 s, etc.), and control the solar panel to generate power in this test posture within this target duration, so as to calculate the test power generation power for the solar panel to generate power in each test posture.
[0091] Step 1045, determine the maximum test power generation power from the test power generation powers corresponding to each of the several test postures, and determine the target test posture corresponding to the maximum test power generation power. Update the maximum test power generation power to the maximum power generation power, update the target test posture to the target posture, and re-determine whether the updated maximum power generation power meets the target condition.
[0092] Specifically, after obtaining the test power generation power corresponding to each test posture according to Step 1044, determine the maximum test power generation power from the several test power generation powers corresponding to the several test postures, and determine the test posture corresponding to the maximum test power generation power as the target test posture.
[0093] By updating the maximum test power generation power to the maximum power generation power in Step 1041 and updating the target test posture to the target posture in Step 1042, thus re-determine whether the updated maximum power generation power (i.e., the above-mentioned maximum test power generation power) reaches the minimum operating power (target condition), and execute Step 1042 based on the updated maximum power generation power and the target posture, that is, control the solar panel to rotate to the updated target posture (i.e., the above-mentioned target test posture) after the maximum power generation power (i.e., the above-mentioned maximum test power generation power) meets the target condition.
[0094] Through the above method, it is possible to traverse and find the test posture with the maximum power generation power among several test postures only after Step 1042 is executed, so as to ensure that the solar panel can operate effectively under the condition of meeting the minimum operating power and prevent the situation that the power generation power of the solar panel is less than the minimum operating power.
[0095] In a feasible implementation, after executing Step 101 to obtain the power generation power of the solar panel currently generating power in the first posture, the method further includes the following steps:
[0096] Obtain the current temperature of the solar panel; determine the maximum power generation power that can be achieved by the solar panel at this temperature, and determine the achievable maximum power generation power as the preset power generation power.
[0097] Specifically, the temperature of the solar panel depends on the average ambient temperature around the solar panel and the temperature generated by its own power generation. Due to the limitations of its own physical characteristics (such as the performance of electronic components in the solar panel and power generation losses), the maximum power generation that can be achieved under different lighting conditions is different. By presetting the relationship between the temperature of the solar panel and the maximum achievable power generation, the maximum power generation that can be achieved by the solar panel at the current temperature can be determined by obtaining the current temperature of the solar panel. By setting this maximum power generation as the preset power generation, it can ensure that the solar panel generates electricity at the maximum achievable power, which is beneficial to improving the power generation efficiency of the solar panel.
[0098] Furthermore, when the sunlight is insufficient (such as on cloudy days, rainy or snowy days), the light-receiving surface of the solar panel receives less sunlight, resulting in less power generation. Therefore, the temperature of the solar panel is relatively low, and the maximum power generation that can be achieved at this temperature is also relatively low. This ensures that the preset power generation is also relatively low, and the preset power generation can automatically adjust its value according to the temperature of the solar panel, thus avoiding the problem that the solar panel cannot find the attitude to achieve the preset power generation value on days with insufficient sunlight due to setting a fixed preset power generation value.
[0099] In a feasible implementation, when the solar panel is installed on a mobile device with movable geographical longitude and latitude, when obtaining the power generation of the solar panel in the first attitude currently, the geographical longitude and latitude coordinates of the solar panel are obtained synchronously. Determining the current incident direction of the sunlight on the solar panel includes: based on the geographical longitude and latitude coordinates, determining the current incident direction of the sunlight on the solar panel.
[0100] Specifically, the mobile device is, for example: a movable bracket, a vehicle, a ship, an airplane, etc. Since the mobile device may move at any time, resulting in changes in the geographical longitude and latitude of the solar panel, at this time, the incident direction of the sunlight on the solar panel is affected not only by time but also by the changes in the geographical longitude and latitude of the solar panel.
[0101] At this time, by obtaining the geographical longitude and latitude coordinates of the solar panel synchronously when performing step 101 to obtain the power generation of the solar panel in the first attitude currently, the accurate incident direction of the sunlight at this time (current time, date) can be calculated based on the geographical longitude and latitude coordinates of the solar panel, thereby ensuring the accuracy of the determined incident direction of the sunlight on this solar panel currently, and improving the calculation accuracy.
[0102] In a feasible implementation, when calculating the power generation power of the solar panel in the i-th posture, the following steps are specifically included:
[0103] Read the power generation parameters of the solar panel in the n-th posture; where n is a natural number, n ∈ {0, 1, ……, N, N + 1}, the power generation parameters are generated by the solar panel in the i-th posture and converted into readable parameters in the n-th posture, and the corresponding relationship between n and i is determined according to a preset algorithm; determine the target power generation power calculated based on the power generation parameters as the power generation power of the solar panel in the i-th posture.
[0104] Specifically, taking i as 2 for illustration:
[0105] Suppose that the first power generation parameters (for example, current is I and voltage is U) are actually generated in the second posture. However, during solar power generation, it is necessary to convert solar energy into available electrical energy through peripherals such as inverters and voltage regulators. Therefore, after a certain period of energy conversion, the above first power generation parameters (current is I and voltage is U) can be successfully read.
[0106] That is, it is possible that the above first power generation parameters can be read only when the solar panel has rotated to the n-th posture (n may be equal to i or may not be equal to i. Here, it is illustrated with n ≠ i). Therefore, the power generation parameters obtained in the n-th posture are actually generated in the i-th posture.
[0107] At this time, to calculate the power generation power of the solar panel in the i-th posture, it is necessary to obtain the power generation parameters in the n-th posture, so as to obtain the actual power generation power in the i-th posture through the power calculation formula (for example, power generation power = U × I), and reduce the error caused by the too long conversion time of the power generation parameters through the above method. It should be noted that when n = i, it means that the duration of the solar panel staying and generating power in the i-th posture exceeds the conversion duration of converting the first power generation parameters generated in the i-th posture into readable parameters. Therefore, the first power generation parameters generated in the i-th posture can be read in the i-th posture.
[0108] Since there is a corresponding relationship between n and i, for each i, the value of n can be determined according to this corresponding relationship, so as to obtain the power generation parameters required for calculating the power generation power of the i-th power generation posture. The corresponding relationship between n and i can be preset according to multiple experiments or calculated according to a preset algorithm.
[0109] Taking the preset algorithm as the PID algorithm (Proportion Integral Differential, an automatic controller) for illustration.
[0110] The PID formula is as follows:
[0111]
[0112] Among them, K P is the proportional value P set in the PID algorithm, K i is the integral value I set in the PID algorithm, K d is the differential value D set in the PID algorithm. The proportional value P, the integral value I, and the differential value D are obtained through testing. e(t) represents the angular difference between two postures, and A out is the output value.
[0113] Assume that the solar panel is in the first posture (i = 0, the 0th posture), and the residence time in the first posture exceeds the conversion time. Therefore, at the first posture, the power generation parameters of the solar panel generating electricity in the first posture can be read and the power generation power of the first posture can be calculated.
[0114] When i = 1, the solar panel is in the next posture of the first posture (the 1st posture). At this time, since the power generation parameters generated at the 1st posture are not yet readable, the power generation parameters read are still the power generation parameters at the 0th posture. Therefore, at this time, e(t) = the angle between the solar panel and the ground plane at the 1st posture - the angle between the solar panel and the ground plane at the 0th posture. The value of t is the duration from the 0th posture to the 1st posture, and A out The value of is the angle between the solar panel and the ground plane at the 0th posture. Therefore, the power generation power corresponding to the power generation parameters at the 1st posture is corrected to the power generation power at the 0th posture again.
[0115] Similarly, assume that the power generation parameters at the 1st posture are read at the 2nd posture. Then, the power generation power corresponding to the power generation parameters at the 2nd posture is updated to the power generation parameters at the 1st posture again. By analogy, during the rotation of the solar panel, the true power generation power of each posture is obtained.
[0116] Through the above method, when the residence time of the solar panel in each posture is too short (the residence time is less than the time required to convert the actually generated power generation parameters at this posture into readable power generation parameters), the true power generation power corresponding to each posture can be determined by the above method, improving the control accuracy.
[0117] In a feasible implementation, the method further includes:
[0118] If the maximum power generation power does not meet the target condition, then turn off the power generation function of the solar panel.
[0119] By using the above method, when the maximum power generation that meets the target conditions cannot be found through steps 1041 - 1042, the solar panel can be timely turned off to reduce energy loss.
[0120] Figure 4 The figure shows a schematic structural diagram of a control device for a solar panel provided by an embodiment of this specification. As Figure 4 shown, the device includes:
[0121] A first acquisition unit 401, configured to acquire the power generation power of the solar panel currently generating electricity in a first posture.
[0122] A first determination unit 402, configured to determine the incident direction of the sun's rays currently incident on the solar panel if the power generation power is less than a preset power generation power.
[0123] A second determination unit 403, configured to determine a second posture that makes the light receiving surface of the solar panel perpendicular to the incident direction, and determine N postures between the first posture and the second posture, and generate a sun-tracking plan for controlling the solar panel to sequentially pass through the N postures from the first posture to the second posture; where N is a natural number and N≥1.
[0124] A calculation unit 404, configured to calculate the power generation power of the solar panel in the i-th posture when it is detected that the solar panel rotates to the i-th posture during the execution of the sun-tracking plan; where i is a natural number and i is any value among 0, 1,..., N, N + 1; when i = 0, the i-th posture is the first posture, and when i = N + 1, the i-th posture is the second posture.
[0125] A first control unit 405, configured to control the solar panel to stop rotating if it is determined that the power generation power at the i-th posture reaches the preset power generation power, and control the solar panel to generate electricity in the i-th posture.
[0126] In a feasible implementation, the device further includes:
[0127] A storage unit, configured to store the i-th posture and its corresponding power generation power after calculating the power generation power of the solar panel in the i-th posture.
[0128] A third determination unit, configured to, after the execution of the sun-tracking plan, if each stored power generation power is less than the preset power generation power, determine the maximum power generation power from the stored several power generation powers, and determine the posture corresponding to the maximum power generation power as the target posture.
[0129] A second control unit, configured to control the solar panel to rotate to the target attitude and generate electricity in the target attitude if the maximum power generation meets the target condition.
[0130] In a feasible implementation, the target condition includes:
[0131] The maximum power generation reaches the minimum operating power of the solar panel.
[0132] The device further includes:
[0133] A fourth determination unit, configured to, after determining the maximum power generation from a plurality of stored power generations, if the maximum power generation does not meet the target condition, determine a plurality of test attitudes of the solar panel based on the rotatable range of the solar panel.
[0134] A third control unit, configured to control the solar panel to rotate to each test attitude among the plurality of test attitudes and calculate the test power generation for generating electricity in the test attitude.
[0135] A fifth determination unit, configured to determine the maximum test power generation from the test power generations corresponding to each test attitude among the plurality of test attitudes and determine the target test attitude corresponding to the maximum test power generation.
[0136] A judgment unit, configured to update the maximum test power generation to the maximum power generation, update the target test attitude to the target attitude, and re-judge whether the updated maximum power generation meets the target condition.
[0137] In a feasible implementation, the device further includes:
[0138] A second acquisition unit, configured to acquire the current temperature of the solar panel after acquiring the power generation of the solar panel in the first attitude.
[0139] A sixth determination unit, configured to determine the maximum power generation achievable by the solar panel at the temperature and determine the achievable maximum power generation as the preset power generation.
[0140] In a feasible implementation, when the solar panel is installed on a mobile device with movable geographical longitude and latitude, the device further includes:
[0141] A third acquisition unit, configured to synchronously acquire the geographical longitude and latitude coordinates of the solar panel when acquiring the power generation of the solar panel in the first attitude.
[0142] When determining the current incident direction of sunlight on the solar panel, the first determination unit is specifically configured to:
[0143] Based on the geographical longitude and latitude coordinates, determine the current incident direction of sunlight on the solar panel.
[0144] In a feasible implementation, when the calculation unit is used to calculate the power generation power of the solar panel in the i-th posture, it is specifically configured to:
[0145] Read the power generation parameters of the solar panel in the n-th posture; where n is a natural number, n ∈ {0, 1,..., N, N + 1}, the power generation parameters are generated by the solar panel in the i-th posture and converted into readable parameters in the n-th posture, and the corresponding relationship between n and i is determined according to a preset algorithm.
[0146] Determine the target power generation power calculated based on the power generation parameters as the power generation power of the solar panel in the i-th posture.
[0147] In a feasible implementation, the device further includes:
[0148] An automatic shutdown unit, configured to turn off the power generation function of the solar panel if the maximum power generation power does not meet the target condition.
[0149] For the implementation processes of the functions and roles of each module in the above device, please refer to the implementation processes of the corresponding steps in the above method for details, which will not be elaborated here.
[0150] For the device embodiments, since they basically correspond to the method embodiments, the relevant parts can refer to the partial descriptions of the method embodiments. The device embodiments described above are only illustrative. The modules described as separate components may or may not be physically separated, and the components shown as modules may or may not be physical modules, that is, they may be located in one place or distributed to multiple network modules. Some or all of the modules can be selected according to actual needs to achieve the purpose of the solution in this specification. Those of ordinary skill in the art can understand and implement it without creative efforts.
[0151] Figure 5 is a hardware structure diagram of a computer device where a control device of a solar panel shown in this specification according to an exemplary embodiment, as Figure 5As shown, the device may include: a processor 501, a memory 502, an input / output interface 503, a communication interface 504, and a bus 505. Among them, the processor 501, the memory 502, the input / output interface 503, and the communication interface 504 are communicatively connected to each other inside the device through the bus 505.
[0152] The processor 501 can be implemented in the form of a general-purpose CPU (Central Processing Unit), a microprocessor, an application-specific integrated circuit (ASIC), or one or more integrated circuits, etc., and is used to execute relevant programs to implement the control method of the solar panel provided in the embodiments of this specification.
[0153] The memory 502 can be implemented in the form of a ROM (Read Only Memory), a RAM (Random Access Memory), a static storage device, a dynamic storage device, etc. The memory 502 can store an operating system and other application programs. When implementing the technical solutions provided in the embodiments of this specification through software or firmware, the relevant program codes are stored in the memory 502 and are called and executed by the processor 501.
[0154] The input / output interface 503 is used to connect to an input / output module to implement information input and output. The input / output module can be configured as a component in the device (not shown in the figure) or can be externally connected to the device to provide corresponding functions. Among them, the input device can include a keyboard, a mouse, a touch screen, a microphone, various sensors, etc., and the output device can include a display, a speaker, a vibrator, an indicator light, etc.
[0155] The communication interface 504 is used to connect to a communication module (not shown in the figure) to implement communication interaction between this device and other devices. Among them, the communication module can implement communication through a wired method (such as USB, network cable, etc.) or can also implement communication through a wireless method (such as a mobile network, WIFI, Bluetooth, etc.).
[0156] The bus 505 includes a path for transmitting information between various components of the device (such as the processor 501, the memory 502, the input / output interface 503, and the communication interface 504).
[0157] It should be noted that although the above device only shows the processor 501, the memory 502, the input / output interface 503, the communication interface 504, and the bus 505, in the specific implementation process, the device may also include other components necessary for normal operation. In addition, those skilled in the art can understand that the above device may also only include the components necessary to implement the solution of the embodiments of this specification, and does not necessarily include all the components shown in the figure.
[0158] The embodiments of this specification also provide a computer-readable storage medium, on which a computer program is stored. When the program is executed by a processor, it implements the steps of any of the solar panel control methods provided in the embodiments of this specification.
[0159] Computer-readable media includes both permanent and non-permanent, removable and non-removable media and can be implemented by any method or technology for storing information. The information can be computer-readable instructions, data structures, program modules, or other data. Examples of computer storage media include, but are not limited to, phase change memory (PRAM), static random access memory (SRAM), dynamic random access memory (DRAM), other types of random access memory (RAM), read-only memory (ROM), electrically erasable programmable read-only memory (EEPROM), flash memory or other memory technologies, compact disc read-only memory (CD-ROM), digital versatile disc (DVD) or other optical storage, magnetic cassettes, magnetic tape magnetic disk storage or other magnetic storage devices, or any other non-transmission media that can be used to store information that can be accessed by a computing device. As defined herein, computer-readable media does not include transitory media such as modulated data signals and carrier waves.
[0160] It should also be noted that the term "comprising", "including" or any other variant thereof is intended to cover non-exclusive inclusion, so that a process, method, commodity or device comprising a series of elements not only includes those elements, but also includes other elements not expressly listed, or further includes elements inherent to such process, method, commodity or device. Without further limitation, an element defined by the statement "comprising one..." does not exclude the existence of additional identical elements in the process, method, commodity or device comprising the said element.
[0161] The above description has been made of specific embodiments of this specification. Other embodiments are within the scope of the appended claims. In some cases, the acts or steps recited in the claims may be performed in a different order than in the embodiments and still achieve the desired result. Additionally, the processes depicted in the figures do not necessarily require the particular order or sequential order shown to achieve the desired result. In certain embodiments, multitasking and parallel processing are also possible or may be advantageous.
Claims
1. A control method for a solar panel, characterized in that, it includes: Obtain the power generation power of the solar panel currently generating electricity in the first posture; If the power generation power is less than the preset power generation power, determine the incident direction of the sun's rays currently incident on the solar panel; Determine a second posture that makes the light receiving surface of the solar panel perpendicular to the incident direction, and determine N postures between the first posture and the second posture, and generate a sun-tracking plan for controlling the solar panel to sequentially pass through N postures from the first posture to the second posture; where N is a natural number and N≥1; During the execution of the sun-tracking plan, when it is detected that the solar panel rotates to the i-th posture, calculate the power generation power of the solar panel generating electricity in the i-th posture; where i is a natural number and i is any value in 0, 1,..., N, N + 1; when i = 0, the i-th posture is the first posture, and when i = N + 1, the i-th posture is the second posture; If it is determined that the power generation power at the i-th posture reaches the preset power generation power, control the solar panel to stop rotating and control the solar panel to generate electricity in the i-th posture.
2. The method according to claim 1, characterized in that, After calculating the power generation power of the solar panel generating electricity in the i-th posture, the method further includes: Store the i-th posture and its corresponding power generation power; After the sun-tracking plan is executed, if each stored power generation power is less than the preset power generation power, determine the maximum power generation power from the stored several power generation powers, and determine the posture corresponding to the maximum power generation power as the target posture; If the maximum power generation power meets the target condition, control the solar panel to rotate to the target posture and generate electricity in the target posture.
3. The method according to claim 2, characterized in that, The target condition includes: The maximum power generation power reaches the minimum operating power of the solar panel; After determining the maximum power generation power from the stored several power generation powers, if the maximum power generation power does not meet the target condition, based on the rotatable range of the solar panel, determine several test postures of the solar panel; For each test posture in the several test postures, control the solar panel to rotate to the test posture and calculate the test power generation power for generating electricity in the test posture; Determine the maximum test power generation power from the test power generation powers corresponding to each test posture in the several test postures, and determine the target test posture corresponding to the maximum test power generation power; Update the maximum test power generation power to the maximum power generation power, update the target test posture to the target posture, and re-determine whether the updated maximum power generation power meets the target condition.
4. The method according to claim 1, characterized in that, After obtaining the power generation power of the solar panel currently generating electricity in the first posture, the method further includes: Obtain the current temperature of the solar panel; Determine the maximum power generation achievable by the solar panel at the temperature, and determine the achievable maximum power generation as the preset power generation.
5. The method according to claim 1, wherein, when the solar panel is installed on a mobile device with movable geographical longitude and latitude, the method further includes: when obtaining the power generation of the solar panel currently generating electricity in the first posture, synchronously obtain the current geographical longitude and latitude coordinates of the solar panel; Determine the current incident direction of the sun's rays on the solar panel, including: Based on the geographical longitude and latitude coordinates, determine the current incident direction of the sun's rays on the solar panel.
6. The method according to claim 1, wherein, Calculating the power generation of the solar panel in the i-th posture includes: Read the power generation parameters of the solar panel in the n-th posture; where n is a natural number, n ∈ {0, 1,..., N, N + 1}, and the power generation parameters are generated by the solar panel in the i-th posture and converted into readable parameters in the n-th posture, and the corresponding relationship between n and i is determined according to a preset algorithm; Determine the target power generation calculated based on the power generation parameters as the power generation of the solar panel in the i-th posture.
7. The method according to any one of claims 2-3, wherein, The method further includes: If the maximum power generation does not meet the target condition, turn off the power generation function of the solar panel.
8. A control device for a solar panel, wherein, The device includes: A first acquisition unit for acquiring the power generation of the solar panel currently generating electricity in the first posture; A first determination unit for determining the current incident direction of the sun's rays on the solar panel if the power generation is less than the preset power generation; A second determination unit for determining a second posture in which the light receiving surface of the solar panel is perpendicular to the incident direction, and determining N postures between the first posture and the second posture, and generating a sun-tracking plan for controlling the solar panel to sequentially pass through N postures from the first posture to the second posture; where N is a natural number, N ≥ 1; A calculation unit for calculating the power generation of the solar panel in the i-th posture when detecting that the solar panel rotates to the i-th posture during the execution of the sun-tracking plan; where i is a natural number, and i is any value in 0, 1,..., N, N + 1; when i = 0, the i-th posture is the first posture, and when i = N + 1, the i-th posture is the second posture; A first control unit for controlling the solar panel to stop rotating and controlling the solar panel to generate electricity in the i-th posture if it is determined that the power generation at the i-th posture reaches the preset power generation.
9. A computer-readable storage medium, on which a computer program is stored, wherein, The program, when executed by a processor, implements the steps of the method according to any one of claims 1-7.
10. A computer device, wherein, It includes a memory, a processor, and a computer program stored on the memory and executable on the processor. Wherein, when the processor executes the computer program, it implements the steps of the method according to any one of claims 1-7.
Citation Information
Patent Citations
Sun-chasing system device and method for overwater photovoltaic power station
CN110855226A
Smart sunlight tracking control system and method for photovoltaic power station
CN113359877A