Weak light early warning control method, electronic equipment and computer readable storage medium

By calculating the rate of decrease of the input current of the photovoltaic module and updating the current reference value, the problem of judging the weak light state when the light source conditions change rapidly is solved, enabling timely early warning and stable operation of the equipment, and extending its service life.

CN116298480BActive Publication Date: 2026-06-26ECOFLOW INC

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
ECOFLOW INC
Filing Date
2023-03-28
Publication Date
2026-06-26

AI Technical Summary

Technical Problem

Existing technologies cannot effectively determine the weak light state of photovoltaic power supply when light source conditions change rapidly, causing electronic devices to malfunction.

Method used

By acquiring the input current value of the photovoltaic module, calculating its rate of decrease, and updating the current reference value when the rate of decrease exceeds a preset threshold to determine the low light condition, a warning signal is generated to remind the user to adjust the power consumption.

Benefits of technology

When light source conditions change rapidly, it can provide timely warnings to prevent damage to electronic devices caused by a rapid decrease in light intensity, thereby extending the lifespan of the equipment.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN116298480B_ABST
    Figure CN116298480B_ABST
Patent Text Reader

Abstract

The application relates to the new energy technology field and provides a weak light early warning control method, an electronic device and a computer readable storage medium, which are applied to an electronic device connected with a photovoltaic module; the method comprises the following steps: acquiring an input current value of the photovoltaic module connected with the electronic device; when the input current value decreases, calculating a falling rate of the input current value according to the input current value sampled; if the falling rate is greater than or equal to a preset rate threshold value, updating a current reference value for performing weak light state judgment from a first current threshold value to a second current threshold value; the second current threshold value is greater than the first current threshold value. The above method can perform weak light early warning in time by controlling the current reference value, and improves the power utilization experience of a user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This application relates to the field of new energy technology, and in particular to a control method, electronic device and computer-readable storage medium for low light warning. Background Technology

[0002] Photovoltaic (PV) power supply has become a trend, relying on photovoltaic panels to convert electrical energy to power loads. When sunlight weakens, the PV panels receive less light and cannot convert it into more electrical energy, causing the input current to decrease. While related technologies typically consider setting a current threshold to allow users to assess low-light conditions, these technologies cannot meet the needs of users operating PV power normally in scenarios with rapidly changing light conditions, given the rapid changes in light sources and complex load conditions. Summary of the Invention

[0003] This application discloses a control method, electronic device, and computer-readable storage medium for low light warning, which solves the technical problem that photovoltaic power supply cannot be used normally when the light source conditions change rapidly.

[0004] This application provides a control method for low light warning, applied to an electronic device, the electronic device being connected to a photovoltaic module; the method includes: acquiring the input current value of the photovoltaic module connected to the electronic device; when the input current value decreases, calculating the rate of decrease of the input current value based on the sampled input current value; if the rate of decrease is greater than or equal to a preset rate threshold, updating the current reference value used for judging the low light state from a first current threshold to a second current threshold; the second current threshold is greater than the first current threshold.

[0005] In the low-light warning control method provided in this application, the intensity of light received by the photovoltaic module is determined by whether the input current value is decreasing, providing a basis for whether to enter the low-light warning mode. When it is determined that the input current value is decreasing, its decreasing rate is calculated. If the decreasing rate is rapid, corresponding measures can be taken. Specifically, when the decreasing rate is greater than or equal to a preset rate threshold, the current reference value used to determine whether to enter the low-light state is updated from a first current threshold to a second current threshold. The second current threshold is greater than the first current threshold, which can prevent the light intensity from decreasing too quickly, leaving insufficient time for timely processing and thus avoiding damage to electronic equipment. This application can provide early warning when light source conditions change rapidly, which can extend the service life of electronic equipment to a certain extent.

[0006] This application also provides an early warning device applied to an electronic device for connection to a photovoltaic module; the early warning device includes: an acquisition module for acquiring the input current value of the photovoltaic module connected to the electronic device; a calculation module for calculating the rate of decrease of the input current value based on the sampled input current value when the input current value decreases; and an adjustment module for updating the current reference value used for weak light state judgment from a first current threshold to a second current threshold if the rate of decrease is greater than or equal to a preset rate threshold; the second current threshold is greater than the first current threshold.

[0007] This application also provides an electronic device, which includes a processor and a memory, wherein the processor is used to execute a computer program stored in the memory to implement the aforementioned low light warning control method.

[0008] This application also provides a computer-readable storage medium storing at least one instruction, which, when executed by a processor, implements the aforementioned low-light warning control method. Attached Figure Description

[0009] Figure 1 This is a schematic diagram illustrating an application scenario of the low-light warning control method provided in an embodiment of this application.

[0010] Figure 2 This is a flowchart of a low-light warning control method provided in an embodiment of this application.

[0011] Figure 3 This is a flowchart of a control method for low light warning provided in another embodiment of this application.

[0012] Figure 4 This is a flowchart of a low-light warning control method provided in another embodiment of this application.

[0013] Figure 5 This is a flowchart of an undervoltage protection method provided in an embodiment of this application.

[0014] Figure 6 This is a flowchart of an undervoltage protection method provided in another embodiment of this application.

[0015] Figure 7 This is a schematic diagram of the structure of a control device for low light warning provided in an embodiment of this application. Detailed Implementation

[0016] For ease of understanding, exemplary descriptions of some concepts related to the embodiments of this application are provided for reference.

[0017] It should be noted that the terms "first," "second," etc., in the specification, claims, and drawings of this application are used to distinguish similar objects, rather than to describe a specific order or sequence.

[0018] Photovoltaic (PV) power supply has become a trend, relying on photovoltaic panels to convert electrical energy to power loads. When sunlight weakens, the PV panels receive less light and cannot convert it into more electrical energy, causing the input current to decrease. While related technologies typically consider setting a current threshold to allow users to assess low-light conditions, these technologies cannot meet the needs of users operating PV power normally in scenarios with rapidly changing light conditions, given the rapid changes in light sources and complex load conditions.

[0019] To avoid the technical problem of photovoltaic power supply not working properly when light source conditions change rapidly, this application provides a control method, electronic device, and computer-readable storage medium for low light warning. It can form a current range by controlling the current reference value to promptly remind users of the light weakening, thus avoiding the inability to handle sudden low light mode and affecting the user's power experience.

[0020] To better understand the control method, electronic device, and computer-readable storage medium for low light warning provided in the embodiments of this application, the application scenarios of the control method for low light warning in this application are described below.

[0021] Figure 1 This is a schematic diagram illustrating an application scenario of the low-light warning control method provided in an embodiment of this application. For example... Figure 1 As shown in the embodiment of this application, the electronic device 100 is connected to the photovoltaic module 200 and the load 300 respectively. The electronic device 100 is used to receive the input current value of the photovoltaic module 200 and supply power to the load 300.

[0022] In this embodiment, the electronic device 100 includes, but is not limited to, a memory 110 and at least one processor 120 that are interconnected via a communication bus.

[0023] Electronic device 100 can be a smart home device, in-vehicle device, home electronic device, mobile electronic device, or other device with energy storage function.

[0024] Photovoltaic module 200 can be a photovoltaic power generation device used to convert received sunlight into electrical energy.

[0025] The load 300 can be electrical equipment such as household appliances, outdoor equipment, and other smart devices.

[0026] Figure 1This is merely an illustrative description of the electronic device 100, photovoltaic module 200, and load 300, and does not constitute a limitation. In other embodiments, the electronic device 100, photovoltaic module 200, and load 300 may include more or fewer components than illustrated, or combine certain components, or replace different components. For example, the electronic device 100 may also include input / output components, network access components, etc.

[0027] Figure 2 This is a flowchart of a low-light warning control method provided in an embodiment of this application, as shown below. Figure 2 As shown, the low-light warning control method provided in this application embodiment is applied to electronic devices (such as...). Figure 1 In electronic devices 100). Depending on different requirements, the order of steps in this flowchart can be changed, and some steps can be omitted. For example... Figure 2 As shown, the process includes the following steps S201 to S203.

[0028] Step S201: Obtain the input current value of the photovoltaic module connected to the electronic device.

[0029] When an electronic device is charged via a photovoltaic module (e.g., a photovoltaic power generation device), the electronic device is connected to the photovoltaic module, which may contain multiple photovoltaic panels arranged in parallel. In some embodiments of this application, the input current value of the photovoltaic module can be obtained. This input current value reflects the intensity of sunlight at that time. For example, a smaller input current value indicates weaker light intensity, which cannot convert more electrical energy into the electronic device; a larger input current value indicates stronger light intensity, which can provide more electrical energy to the electronic device.

[0030] Step S202: When the input current value decreases, calculate the rate of decrease of the input current value based on the sampled input current value.

[0031] In some embodiments of this application, during the detection of input current values, the detected input current values ​​can be stored sequentially over time. If the currently detected input current value is less than the input current value detected at the previous moment, it can be determined that the current input current value is decreasing compared to the previous moment. Conversely, if the currently detected input current value is greater than the input current value detected at the previous moment, it can be determined that the current input current value is increasing compared to the previous moment. If it is determined that the input current value is decreasing, the input current values ​​at multiple moments can be continuously detected within a certain time period.

[0032] In one embodiment, the input current value can be detected multiple times. If the input current value is decreasing multiple times, it is determined that the input current value of the photovoltaic module is decreasing. This avoids the problem of a temporary drop in the input current value of the photovoltaic module caused by a temporary decrease in light intensity. In this embodiment, there are no restrictions on the detection time or the number of detections for the input current value.

[0033] For example, in some cases, the current (e.g., 2:05) detected input current value is 3 amperes (A), and the previous (e.g., 2:00) detected input current value was 5A. Therefore, 5A > 3A, indicating that the input current value of the photovoltaic module is decreasing. Conversely, if the current detected input current value is 6A, and the previous detected input current value was 5A, then 5A < 6A, indicating that the input current value of the photovoltaic module is increasing.

[0034] For example, during the detection of input current values ​​at multiple moments, if the input current is 8A at the first moment, 7A at the second moment, 6A at the third moment, and 5A at the fourth moment, and the input current value shows a continuous decrease for three consecutive moments (8A>7A, 7A>6A, 6A>5A), then it can be determined that the input current value of the photovoltaic module is decreasing. However, if the input current is 8A at the first moment, 6A at the second moment, 5A at the third moment, and 7A at the fourth moment, and the input current value is decreasing for three consecutive moments (8A>6A), decreasing for three consecutive moments (6A>5A), and increasing for four consecutive moments (5A<7A), then the condition of a continuous decrease for three consecutive moments is not met. This indicates that the input current value of the photovoltaic module may have experienced a temporary decrease, meaning that there may be a temporary dimming of sunlight.

[0035] In some embodiments of this application, when it is determined that the input current value is decreasing, the rate of decrease of the input current value is calculated based on the sampled input current value.

[0036] For example, in some examples, the input current values ​​at multiple consecutive moments are recorded. The input current value at the first moment is 8A, and the input current value at the second moment is 4A. The rate of decrease of the input current value at the second moment compared to the input current value at the first moment is calculated to be 50A / s. This application embodiment can calculate the rate of decrease at multiple moments, and is not limited thereto.

[0037] Step S203: If the descent rate is greater than or equal to a preset rate threshold, the current reference value used for weak light state judgment is updated from the first current threshold to the second current threshold.

[0038] In some embodiments of this application, a current reference value for determining the low-light state can be preset. This current reference value can correspond to multiple different values. For example, if the current reference value is set to 3A, and the current input current is 2A, then 2A < 3A, indicating that the system is in a low-light state and the photovoltaic module cannot receive strong light. This application does not limit the magnitude of the current reference value and it can be adjusted according to actual conditions.

[0039] Specifically, when it is determined that the input current value of the photovoltaic module is decreasing, the calculated rate of decrease is compared with a preset rate threshold. If the rate of decrease is greater than or equal to the preset rate threshold, it indicates that the sunlight is weakening rapidly. At this time, if the current reference value is not adjusted, the user will not be able to adjust the power consumption of electronic devices or loads in time due to the relatively rapid rate of decrease, causing power fluctuations and affecting the user experience. The preset rate threshold can be a pre-set rate reference value, such as 90 A / s. This application does not limit the size of the preset rate threshold.

[0040] For example, in some cases, the current reference value is 3A and the preset rate threshold is 90A / S. In this case, the current rate of decrease is calculated to be 95A / S. That is, the rate of decrease 95A / S > the preset rate threshold 90A / S. The rate of decrease is relatively fast, indicating that the input current value will soon drop below 3A. At this time, the photovoltaic module may not be able to directly drive the electronic equipment.

[0041] In some embodiments of this application, when it is determined that the descent rate is greater than or equal to a preset rate threshold, the current reference value is updated from a first current threshold to a second current threshold, wherein the first current threshold is less than the second current threshold. For example, the first current threshold of 3A is updated to the second current threshold of 4A.

[0042] After adjusting the current reference value, a current range can be established before truly entering a low-light state. Within this current range, users can promptly check the power consumption of electronic devices or other loads connected to them and make timely adjustments. The first and second current thresholds can also encompass a specific current range. For example, the first current threshold could be 3A = 1A + 2A, where 1A represents a user-set current interference prevention error value, i.e., the current range between 3A and 2A, and 2A represents the actual set current reference value. Therefore, when the user sets 2A as the first current threshold, the current interference prevention error value (e.g., 1A) is effectively set to 3A, thus avoiding certain errors. Similarly, the second current threshold will also have a current interference prevention error value, which can be the same as or different from the first current threshold; this application does not limit this.

[0043] In the embodiments of this application, the intensity of light received by the photovoltaic module is determined by whether the input current value is decreasing, providing a basis for whether to enter a low-light warning mode. When it is determined that the input current value is decreasing, its decreasing rate is calculated. If the decreasing rate is rapid, corresponding measures can be taken. Specifically, when the decreasing rate is greater than or equal to a preset rate threshold, the current reference value used to determine whether to enter a low-light state is updated from a first current threshold to a second current threshold. The second current threshold is greater than the first current threshold, which forms a current range when the light is weak, preventing the light intensity from decreasing too quickly and causing insufficient time for timely processing, thus avoiding damage to the electronic equipment. This application can provide early warning when light source conditions change rapidly, which can extend the service life of electronic equipment to a certain extent.

[0044] Figure 3 This is a flowchart of a low-light warning control method provided in another embodiment of this application. To determine whether a low-light warning signal is generated, an explanation is given using a first current threshold and a second current threshold as examples, where the current reference values ​​are respectively provided. Figure 3 The illustrated embodiment includes the following steps:

[0045] Step S301: Obtain the input current value of the photovoltaic module connected to the electronic device.

[0046] Step S302: When the input current value decreases, calculate the rate of decrease of the input current value based on the sampled input current value.

[0047] Step S303: Determine whether the descent rate is greater than or equal to a preset rate threshold.

[0048] Step S304: When the descent rate is greater than or equal to a preset rate threshold, the current reference value used for weak light state judgment is updated from the first current threshold to the second current threshold.

[0049] In some embodiments of this application, the specific descriptions of steps S301 to S304 can be found as follows: Figure 2 Steps S201 to S203 in the provided embodiments will not be described again here.

[0050] Step S305: After updating the current reference value from the first current threshold to the second current threshold, determine whether the input current value is less than or equal to the second current threshold.

[0051] In some embodiments of this application, after updating the current reference value from the first current threshold to the second current threshold, it can be determined whether a low light warning signal needs to be generated by judging whether the input current value is less than or equal to the second current threshold, so as to remind the user to check whether the power consumption needs to be adjusted, so as to ensure the stable operation of the electronic device.

[0052] When the input current value is less than or equal to the second current threshold, step S308 is executed to generate a low light warning signal; when the input current value is greater than the second current threshold, the process returns to step S301.

[0053] Step S306: When the descent rate is less than the preset rate threshold, the first current threshold is maintained as the condition for judging the weak light state.

[0054] In some embodiments of this application, when the calculated rate of decrease is less than a preset rate threshold, it indicates that the light intensity is relatively stable. In this case, the current reference value used for weak light judgment can be left unchanged, that is, the first current threshold is maintained as the condition for weak light state judgment.

[0055] For example, in some examples, the preset rate threshold is 90A / S, the first current threshold of the current reference value is 3A, and the current drop rate is calculated to be 85A / S. Then, the drop rate 85A / S < the preset rate threshold 90A / S, so the first current threshold of 3A can be kept as the condition for judging weak light at this time. That is, when the input current value is less than 3A, it is judged as weak light, and when the input current value is greater than or equal to 3A, it is judged as not weak light.

[0056] Step S307: While maintaining the first current threshold as the condition for judging the weak light state, determine whether the input current value is less than or equal to the first current threshold.

[0057] In some embodiments of this application, after maintaining the first current threshold as the condition for judging the low light state, it can be determined whether a low light warning signal needs to be generated by judging whether the input current value is less than or equal to the first current threshold, so as to remind the user to check whether the power consumption needs to be adjusted to ensure the stable operation of the electronic device. When the input current value is less than or equal to the first current threshold, step S308 is executed to generate a low light warning signal.

[0058] If the input current value is greater than the first current threshold, then return to step S301.

[0059] Step S308: Generate a low light warning signal.

[0060] In some embodiments of this application, a low light warning signal is used to alert the user that a low light state is about to be entered. The low light warning signal is issued when the conditions for generating the low light warning signal are met; the low light warning signal is not issued when the conditions for generating the low light warning signal are not met.

[0061] In this embodiment, by judging the magnitude of the input current value and the current reference value (including the first current threshold and the second current threshold), it is determined whether a low light warning signal needs to be issued. When the input current value is less than or equal to the current reference value, a low light warning signal can be issued to promptly remind the user of the light status and avoid the inability to take corresponding measures in time when the light source changes rapidly.

[0062] Figure 4 This is a flowchart of a low-light warning control method provided in another embodiment of this application. To avoid frequent low-light warning signals or false alarms, in such cases... Figure 4 In the embodiment shown, a certain warning time is set. Taking the first current threshold and the second current threshold as examples, the following steps are included:

[0063] Step S401: Obtain the input current value of the photovoltaic module connected to the electronic device.

[0064] Step S402: When the input current value decreases, calculate the rate of decrease of the input current value based on the sampled input current value.

[0065] Step S403: Determine whether the descent rate is greater than or equal to a preset rate threshold.

[0066] Step S404: When the descent rate is greater than or equal to a preset rate threshold, the current reference value used for weak light state judgment is updated from the first current threshold to the second current threshold.

[0067] Step S405: After updating the current reference value to the second current threshold, determine whether the input current value is less than or equal to the second current threshold.

[0068] In some embodiments of this application, the specific descriptions of steps S401 to S405 can be found as follows: Figure 3 Steps S301 to S305 in the provided embodiments will not be described again here.

[0069] In some embodiments of this application, when the input current value is greater than the second current threshold, the process returns to step S401 until the input current value is less than or equal to the second current threshold.

[0070] When the input current value is less than or equal to the second current threshold, step S406 begins timing. After timing ends, it is determined whether the input current value is still less than or equal to the second current threshold.

[0071] In some embodiments of this application, to avoid frequent warnings or false alarms, a certain warning time can be set during detection. Timing begins when the input current value is determined to be less than or equal to a second current threshold, for example, 3 minutes. Since the second current threshold is used for weak light judgment, when the input current value is less than or equal to the second current threshold, it indicates that the light is weak, and a warning message can be issued to prompt the user to adjust the power consumption of the electronic device. If a warning is issued immediately upon determining that the input current value is less than or equal to the second current threshold, false alarms may occur due to the temporary weakening of the light. Therefore, timing is set according to the warning time when the input current value is determined to be less than or equal to the second current threshold, for example, 3 minutes. After the timing ends, the input current value and the second current threshold are further compared.

[0072] If the input current value is still less than or equal to the second current threshold after the timing ends, proceed to step S411 to generate a low light warning. If the input current value is greater than the second current threshold after the timing ends, proceed to step S407 to determine whether the input current value is greater than or equal to the third current threshold.

[0073] If the input current value is greater than or equal to the third current threshold, the process returns to step S401 to obtain the input current value of the photovoltaic module connected to the electronic device. If the input current is less than the third current threshold, step S411 is executed to generate a low light warning signal.

[0074] In some embodiments of this application, if the lighting conditions improve during the timing process and the input current value rises back to the second current threshold after the timing ends, a third current threshold higher than the second current threshold can be set to ensure that the current lighting meets the requirements. When the input current value is greater than or equal to the third current threshold, it indicates that the light has returned to a strong light state, and the current weak light warning logic can be terminated to continue the next round of weak light detection. The size of the third current threshold can be set according to the actual situation, and this application does not limit it.

[0075] For example, if the current reference value is 4A (second current threshold) and 6A (third current threshold), after 3 minutes, the input current value is detected, for example, 5A. At this point, the second current threshold 4A < the input current value 5A < the third current threshold 6A. Although the input current value is greater than the second current threshold, a brief backflow may have occurred. To avoid frequent triggering of the warning, the situation can be judged as still weak light, and step S411 can be executed to generate a weak light warning signal. Otherwise, if the input current value is 7A, and the detected input current value is greater than the third current threshold, it indicates that the light has returned to a strong light state, and step S401 can be returned to execution.

[0076] Step S408: When the descent rate is greater than the preset rate threshold, the first current threshold is maintained as the condition for judging the weak light state.

[0077] Step S409: While maintaining the first current threshold as the condition for judging the weak light state, determine whether the input current value is less than or equal to the first current threshold.

[0078] In some embodiments of this application, the specific descriptions of steps S408 to S409 can be found as follows: Figure 3 Steps S306 to S307 in the provided embodiments will not be described again here.

[0079] When the input current value is less than the first current threshold, in step S410, timing begins, and after the timing ends, it is determined whether the input current value is still less than or equal to the first current threshold.

[0080] In some embodiments of this application, to avoid frequent warnings or false alarms, a certain warning time can be set during detection. When the input current value is determined to be less than or equal to a first current threshold, timing begins, for example, 3 minutes. Since the first current threshold is used as a condition for weak light judgment, when the input current value is less than or equal to the first current threshold, it indicates that the light is weak at this time, and a warning message can be issued to prompt the user to adjust the power consumption of the electronic device. If the warning is issued when the input current value is determined to be less than or equal to the first current threshold, false alarms may occur due to the temporary weakening of the light. Therefore, when the input current value is determined to be less than or equal to the first current threshold, a preset time is calculated, for example, 3 minutes. After the timing ends, the magnitude of the input current value and the first current threshold is further judged.

[0081] If the input current value is less than or equal to the first current threshold after the timing ends, execute step S411 to generate a low light warning. If the input current value is greater than the first current threshold after the timing ends, execute step S407 to determine whether the input current is greater than or equal to the third current threshold.

[0082] Before executing step S407, to determine if there is a brief backflow, the current input current value can be compared with the third current threshold. The current reference value corresponds to the first current threshold. For example, if the current reference value is 3A (first current threshold), the third current threshold could be 4A. After 3 minutes, the current input current value is detected, for example, 3.5A. At this point, the first current threshold 4A < the input current value 3.5A < the third current threshold 4A. Although the current input current value is greater than the first current threshold, a brief backflow may have occurred. To avoid frequent triggering of the warning, this situation can be judged as weak light, and step S411 can be executed to generate a weak light warning signal. If the detected current value is greater than the third current threshold, it indicates that the light has entered a very stable strong light state, and step S401 can be returned to be executed.

[0083] In some embodiments of this application, a detailed description of step S411 can be found as follows: Figure 3 Step S308 in the provided embodiments will not be described again here.

[0084] In this embodiment, determining whether the current reference value needs adjustment based on the descent rate can avoid the inability to adjust the power consumption of electronic devices in a timely manner when the descent rate is fast. Furthermore, when the input current value is less than or equal to the current reference value, a certain timing period is preset to form a time interval to prevent false alarms. After the timing ends, by comparing the input current value at this time with a third current threshold that is greater than the current reference value, the situation of frequent warnings caused by brief backflow of the input current value can be avoided, and weak light warning can be effectively performed.

[0085] Figure 5 This is a flowchart of an undervoltage protection method provided in an embodiment of this application. To avoid the input current value being less than the undervoltage protection current threshold, a method is provided as follows: Figure 5 The illustrated embodiment includes the following steps:

[0086] Step S501: Obtain the input current value of the photovoltaic module connected to the electronic device.

[0087] In some embodiments of this application, the specific description of step S501 can be found as follows: Figure 2 Step S201 in the provided embodiments will not be described again here.

[0088] Step S502: Determine whether the input current value is less than or equal to the undervoltage protection current threshold.

[0089] In some embodiments of this application, in order to avoid the situation where the input current value is less than the undervoltage protection current threshold, resulting in the photovoltaic module being unable to charge the electronic device, an undervoltage protection current threshold can be preset. The undervoltage protection current threshold can be set according to the actual situation and is not limited here.

[0090] Step S503: When the input current value is less than or equal to the undervoltage protection current threshold, disconnect the connection with the photovoltaic module.

[0091] In some embodiments of this application, the input current value is monitored in real time when the photovoltaic module and electronic device are started. During the monitoring process, since the power consumption of the electronic device is constant, while sunlight is constantly changing, the electrical energy that the photovoltaic module can convert varies with the intensity of sunlight. Therefore, when the input current value is detected to be less than or equal to the undervoltage protection current threshold, it is considered that the current lighting conditions are insufficient to charge the electronic device. If the electronic device continues to be connected to the photovoltaic module, the battery management system in the electronic device, which manages the discharge of the battery pack, may be frequently awakened by the input current of the photovoltaic module after entering undervoltage protection. This could cause the battery management system to control the battery pack to continue discharging at a low voltage, leading to a battery pack voltage depletion problem. Therefore, the connection with the photovoltaic module can be disconnected, and other power supply methods can be used to power the electronic device to ensure its stable operation.

[0092] When the input current value is greater than the undervoltage protection current threshold, that is, when the electrical energy converted by the photovoltaic module is sufficient to charge the electronic device, the process can return to step S501 to obtain the input current value of the photovoltaic module connected to the electronic device.

[0093] In this embodiment, when the input current value is less than or equal to the undervoltage protection current threshold, the connection with the photovoltaic module can be disconnected, and other power supply methods can be used to ensure the stable operation of the electronic equipment and extend the service life of the electronic equipment and the photovoltaic module to a certain extent.

[0094] Figure 6 This is a flowchart of an undervoltage protection method provided in another embodiment of this application. To avoid undervoltage protection, a method is provided as follows: Figure 6 The illustrated embodiment includes the following steps:

[0095] Step S601: Obtain the load power of the electronic device.

[0096] In some embodiments of this application, the electronic device can be an energy storage device, which can be connected to a load for operation. The load can be a household appliance or other smart mobile device, such as a lawnmower. Real-time detection of the load power of the electronic device can provide data support for monitoring the operating status of the electronic device.

[0097] Step S602: Determine whether the load power is greater than or equal to the preset power threshold.

[0098] In some embodiments of this application, a preset power threshold can be set in advance to determine whether the power supply equipment can drive the load to operate stably at this time, that is, to determine the magnitude of the load power and the preset power threshold.

[0099] When the load power is greater than or equal to a preset power threshold, return to step S201, i.e., step S603 in the figure, to obtain the input current value of the photovoltaic module connected to the electronic device, so as to further continue to execute as follows. Figure 2 Steps S202 to S203 of the illustrated embodiment. In some embodiments of this application, when the load power is determined to be greater than or equal to a preset power threshold, it indicates that although the load can be stably driven, there is still a risk that the electronic device's power will be depleted in a short time when the photovoltaic module's output current is insufficient. Therefore, the process of obtaining the input current value of the photovoltaic module connected to the electronic device and subsequent procedures can continue (see the above description for details). Figure 4 (The steps in the flowchart shown) are used to make a low light warning judgment. For example, in step S201 of the above embodiment, the input current value of the photovoltaic module connected to the electronic device is obtained.

[0100] When the load power is less than the preset power threshold, step S604 is executed to obtain the input current value of the photovoltaic module connected to the electronic device and determine whether the input current value is less than or equal to the undervoltage protection current threshold.

[0101] In some embodiments of this application, when the load power is determined to be less than a preset power threshold, it indicates that the load can be stably driven to operate. Even if the input current of the photovoltaic module is insufficient, there will be no phenomenon that the power of the electronic device will be exhausted in a short period of time. Therefore, it is only necessary to obtain the input current value of the photovoltaic module at this time to determine whether undervoltage protection will occur, that is, to determine whether the input current value is less than or equal to the undervoltage protection current threshold.

[0102] If the input current value is less than or equal to the undervoltage protection current threshold, proceed to step S605 to disconnect from the photovoltaic module. If the input current value is greater than the undervoltage protection current threshold, return to step S601 to obtain the load power of the electronic device.

[0103] In some embodiments of this application, when the photovoltaic module and electronic equipment are started and running, the input current value is detected in real time. During the detection process, since the load power of the electronic equipment is constant, while the sunlight is constantly changing, that is, the electrical energy that the photovoltaic module can convert varies with the intensity of sunlight, undervoltage protection may occur in this situation. When the input current value is detected to be less than or equal to the undervoltage protection current threshold, the connection with the photovoltaic module is disconnected, and other power supply methods are used to power the load of the electronic equipment to ensure the stable operation of the electronic equipment and the load.

[0104] In this embodiment, when the input current value is less than or equal to the undervoltage protection, the connection with the photovoltaic module can be disconnected, and other power supply methods can be used to ensure the stable operation of the electronic equipment and extend the service life of the electronic equipment and the photovoltaic module to a certain extent.

[0105] Figure 7 This is a schematic diagram of the structure of a low-light warning control device 700 provided in an embodiment of this application. Figure 7 As shown in the embodiments of this application, the control device 700 for low light warning can be divided into multiple functional modules according to the functions it performs, including: an acquisition module 710, a calculation module 720, and an adjustment module 730.

[0106] The acquisition module 710 is used to acquire the input current value of the photovoltaic module connected to the electronic device;

[0107] The calculation module 720 is used to calculate the rate of decrease of the input current value based on the sampled input current value when the input current value decreases;

[0108] If the descent rate is greater than or equal to a preset rate threshold, the adjustment module 730 updates the current reference value used for weak light state judgment from the first current threshold to the second current threshold; the second current threshold is greater than the first current threshold.

[0109] In some embodiments of this application, when the input current value is less than or equal to the current reference value, a low light warning signal is output. The low light warning signal is used to remind the user that the current photovoltaic module is under low light conditions.

[0110] In some embodiments of this application, when the input current value is less than or equal to the current reference value, a low light warning signal is output, including: starting a timer when the input current value is less than or equal to the current reference value; and generating a low light warning signal if the input current value is still less than or equal to the current reference value after the timer ends.

[0111] In some embodiments of this application, if the input current value is greater than or equal to a third current threshold after the timing ends, the process returns to the step of obtaining the input current value of the photovoltaic module connected to the electronic device; the third current threshold is greater than the current reference value.

[0112] In some embodiments of this application, if the rate of decrease is less than a preset rate threshold, the first current threshold is maintained as the condition for determining the weak light state.

[0113] In some embodiments of this application, if the input current value is less than or equal to the undervoltage protection current threshold, the connection with the photovoltaic module is disconnected, and the undervoltage protection current threshold is less than the first current threshold.

[0114] In some embodiments of this application, before obtaining the input current value of the photovoltaic module connected to the electronic device, the method includes: obtaining the load power of the electronic device; if the load power is greater than or equal to a preset power threshold, then returning to the step of obtaining the input current value of the photovoltaic module connected to the electronic device.

[0115] In some embodiments of this application, if the load power is less than a preset power threshold, the input current value of the photovoltaic module connected to the electronic device is obtained; if the input current value is less than or equal to the undervoltage protection current threshold, the connection with the photovoltaic module is disconnected, and the undervoltage protection current threshold is less than the first current threshold.

[0116] The control device for low light warning provided in this embodiment can execute the above method embodiment. Its implementation principle and technical effect are similar, and will not be described again here.

[0117] Please continue reading. Figure 1 In this embodiment, the memory 110 can be the internal memory of the electronic device 100, that is, the memory built into the electronic device 100. In other embodiments, the memory 110 can also be the external memory of the electronic device 100, that is, the memory externally connected to the electronic device 100.

[0118] In some embodiments, the memory 110 is used to store program code and various data, and to enable high-speed and automatic access to programs or data during the operation of the electronic device 100.

[0119] The memory 110 may include random access memory, and may also include non-volatile memory, such as hard disk, memory, plug-in hard disk, smart media card (SMC), secure digital (SD) card, flash card, at least one disk storage device, flash memory device, or other volatile solid-state storage device.

[0120] In one embodiment, the processor 120 may be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSPs), application-specific integrated circuits (ASICs), field-programmable gate arrays (FPGAs), or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc. The general-purpose processor may be a microprocessor or a processor, or any other conventional processor.

[0121] If the program code and various data in memory 110 are implemented as software functional units and sold or used as independent products, they can be stored in a computer-readable storage medium. Based on this understanding, all or part of the processes in the methods of the above embodiments, such as the control method for weak light warning, can also be implemented by a computer program instructing related hardware. The computer program can be stored in a computer-readable storage medium, and when the computer program is executed by a processor, it can implement the steps of the various method embodiments described above. The computer program includes computer program code, which can be in the form of source code, object code, executable files, or certain intermediate forms. The computer-readable medium can include: any entity or device capable of carrying computer program code, recording media, USB flash drives, portable hard drives, magnetic disks, optical disks, computer memory, read-only memory (ROM), etc.

[0122] It is understood that the module division described above is a logical functional division, and there may be other division methods in actual implementation. Furthermore, the functional modules in the various embodiments of this application can be integrated into the same processing unit, or each module can exist physically separately, or two or more modules can be integrated into the same unit. The integrated modules described above can be implemented in hardware or in a combination of hardware and software functional modules.

[0123] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of this application and are not intended to limit it. Although this application has been described in detail with reference to preferred embodiments, those skilled in the art should understand that modifications or equivalent substitutions can be made to the technical solutions of this application without departing from the spirit and scope of the technical solutions of this application.

Claims

1. A control method for low-light warning, characterized in that, Applied to an electronic device for connection to a photovoltaic module; the method includes: Obtain the input current value of the photovoltaic module connected to the electronic device; As the input current value decreases, the rate of decrease of the input current value is calculated based on the sampled input current value. If the rate of decrease is greater than or equal to a preset rate threshold, the current reference value used for weak light state determination is updated from the first current threshold to the second current threshold; the second current threshold is greater than the first current threshold. When the input current value is less than or equal to the current reference value, a low light warning signal is output. The low light warning signal is used to remind the user that the photovoltaic module is currently under low light conditions.

2. The method according to claim 1, characterized in that, When the input current value is less than or equal to the current reference value, a low light warning signal is output, including: Timing begins when the input current value is less than or equal to the current reference value; If the input current value is still less than or equal to the current reference value after the timing ends, the low light warning signal is generated.

3. The method according to claim 2, characterized in that, The method further includes: If, after the timing ends, the input current value is greater than or equal to the third current threshold, then the process returns to the step of obtaining the input current value of the photovoltaic module connected to the electronic device; the third current threshold is greater than the current reference value.

4. The method according to claim 1, characterized in that, The method includes: If the rate of decrease is less than the preset rate threshold, then the first current threshold is maintained as the condition for determining the weak light state.

5. The method according to claim 1, characterized in that, The method includes: If the input current value is less than or equal to the undervoltage protection current threshold, the connection with the photovoltaic module is disconnected, and the undervoltage protection current threshold is less than the first current threshold.

6. The method according to claim 1, characterized in that, Before acquiring the input current value of the photovoltaic module connected to the electronic device, the method includes: Obtain the load power of the electronic device; If the load power is greater than or equal to a preset power threshold, then return to the step of obtaining the input current value of the photovoltaic module connected to the electronic device.

7. The method according to claim 6, characterized in that, The method further includes: If the load power is less than a preset power threshold, the input current value of the photovoltaic module connected to the electronic device is obtained; If the input current value is less than or equal to the undervoltage protection current threshold, the connection with the photovoltaic module is disconnected, and the undervoltage protection current threshold is less than the first current threshold.

8. An electronic device, characterized in that, The electronic device includes a processor and a memory, the processor being used to execute a computer program stored in the memory to implement the control method for low light warning as described in any one of claims 1 to 7.

9. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores at least one instruction, which, when executed by a processor, implements the control method for low-light warning as described in any one of claims 1 to 7.