Disclosure of Invention
The embodiment of the invention provides a charging current control method and device, a computer device and a readable storage medium, which are used for adjusting the charging current of a battery charger in real time according to different influence factors so as to maintain the thermal balance of the environment where the battery charger is located and reduce the influence of abnormal phenomena of the influence factors on the battery charger.
A first aspect of the present invention provides a charging current control method for a UPS system including at least one battery charger, the method comprising:
determining a current status of an influencing factor of the at least one battery charger;
judging whether the charging current of the battery charger needs to be adjusted according to the current condition;
if yes, the charging current is adjusted according to a preset rule.
Further, when the influencing factors include a plurality of influencing factors, judging whether the charging current of the battery charger needs to be adjusted according to the current condition includes:
prioritizing the plurality of influencing factors;
judging whether the charging current of the battery charger needs to be adjusted or not according to the current condition of the influence factor corresponding to the first priority;
if not, judging whether the charging current needs to be adjusted or not according to the current condition of the influence factors corresponding to the second priority, wherein the first priority is higher than the second priority.
Further, when the influencing factors include a plurality of influencing factors, judging whether the charging current of the battery charger needs to be adjusted according to the current condition includes:
respectively judging whether the charging current of the battery charger needs to be adjusted according to the current conditions of the plurality of influence factors;
if the charging current needs to be adjusted, adjusting the charging current according to a preset rule comprises:
when the charging current is determined to be required to be adjusted according to the current condition corresponding to a first target influence factor in the multiple influence factors, determining a second target influence factor with the highest priority in the first target influence factors;
and adjusting the charging current according to a preset rule according to the second target influence factor.
Further, the influencing factor includes at least one of the running state of the fan, the mains voltage, the ambient temperature and the inversion load.
Further, when the influence factor is the fan running state, judging whether the charging current of the battery charger needs to be adjusted according to the current condition includes:
detecting whether the running state of the fan is normal or not, and if not, determining that the charging current needs to be adjusted;
adjusting the charging current according to a preset rule includes:
the charging current is adjusted down to a first threshold.
Further, when the influencing factor is the mains voltage, judging whether the charging current of the battery charger needs to be adjusted according to the current condition includes:
detecting whether the mains voltage is lower than a preset voltage threshold value, if so, determining that the charging current needs to be adjusted;
adjusting the charging current according to a preset rule includes:
the charging current is adjusted down according to the mains voltage.
Further, when the influencing factor is the environmental temperature, judging whether the charging current of the battery charger needs to be adjusted according to the current condition includes:
detecting whether the ambient temperature is higher than a preset temperature threshold value, if so, determining that the charging current needs to be adjusted;
adjusting the charging current according to a preset rule includes:
the charging current is adjusted down to a second threshold.
Further, when the influencing factor is an inverter load, judging whether the charging current of the battery charger needs to be adjusted according to the current condition includes:
detecting whether the inversion load is higher than a preset load threshold value, if so, determining that the charging current needs to be adjusted;
adjusting the charging current according to a preset rule includes:
the charging current is adjusted down to a third threshold.
In a second aspect, the present invention provides a charging current control apparatus for a UPS system including at least one battery charger, the apparatus may include:
a determination unit for determining a current status of an influencing factor of the at least one battery charger;
the judging unit is used for judging whether the charging current of the battery charger needs to be adjusted according to the current condition;
and the adjusting unit is used for adjusting the charging current according to a preset rule when the charging current needs to be adjusted.
Further, when the influencing factor includes a plurality of influencing factors, the determining unit is specifically configured to:
prioritizing the plurality of influencing factors;
judging whether the charging current of the battery charger needs to be adjusted or not according to the current condition of the influence factor corresponding to the first priority;
if not, judging whether the charging current needs to be adjusted or not according to the current condition of the influence factors corresponding to the second priority, wherein the first priority is higher than the second priority.
Further, when the influencing factor includes a plurality of influencing factors, the determining unit is specifically configured to:
respectively judging whether the charging current of the battery charger needs to be adjusted according to the current conditions of the plurality of influence factors;
the adjusting unit is specifically configured to:
when the charging current is determined to be required to be adjusted according to the current condition corresponding to a first target influence factor in the multiple influence factors, determining a second target influence factor with the highest priority in the first target influence factors;
and adjusting the charging current according to a preset rule according to the second target influence factor.
Further, the influencing factor includes at least one of the running state of the fan, the mains voltage, the ambient temperature and the inversion load.
Further, when the influence factor is the running state of the fan, the judgment unit is specifically configured to:
detecting whether the running state of the fan is normal or not, and if not, determining that the charging current needs to be adjusted;
the adjusting unit is specifically configured to:
the charging current is adjusted down to a first threshold.
Further, when the influencing factor is the mains voltage, the determining unit is specifically configured to:
detecting whether the mains voltage is lower than a preset voltage threshold value, if so, determining that the charging current needs to be adjusted;
the adjusting unit is specifically configured to:
the charging current is adjusted down according to the mains voltage.
Further, when the influencing factor is the environmental temperature, the determining unit is specifically configured to:
detecting whether the ambient temperature is higher than a preset temperature threshold value, if so, determining that the charging current needs to be adjusted;
the adjusting unit is specifically configured to:
the charging current is adjusted down to a second threshold.
Further, when the influence factor is an inverter load, the determining unit is specifically configured to:
detecting whether the inversion load is higher than a preset load threshold value, if so, determining that the charging current needs to be adjusted;
the adjusting unit is specifically configured to:
the charging current is adjusted down to a third threshold.
A third aspect of the invention provides a computer arrangement comprising a processor arranged, when executing a computer program stored in a memory, to carry out the steps of:
determining a current status of an influencing factor of the at least one battery charger;
judging whether the charging current of the battery charger needs to be adjusted according to the current condition;
if yes, the charging current is adjusted according to a preset rule.
A fourth aspect of the present invention provides a computer-readable storage medium having a computer program stored thereon, the computer program, when executed by a processor, implementing the steps of:
determining a current status of an influencing factor of the at least one battery charger;
judging whether the charging current of the battery charger needs to be adjusted according to the current condition;
if yes, the charging current is adjusted according to a preset rule.
According to the technical scheme, the embodiment of the invention has the following advantages:
the embodiment of the invention provides a charging current control method, which can monitor the current condition of the influencing factors of at least one battery charger, and can adjust the charging current according to a preset rule when the current condition of the influencing factors indicates that the charging current of the corresponding battery charger needs to be adjusted. Compared with the prior art, the charging current of the battery charger is not constant, and can be adjusted in real time according to the current condition of the influence factors, so that the heat generated by the battery charger during charging can be controlled through the adjustment of the charging current, the thermal balance of the environment where the battery charger is located can be maintained, and the influence of the abnormal phenomenon of the influence factors on the battery charger is reduced.
Detailed Description
The embodiment of the invention provides a charging current control method and device, a computer device and a readable storage medium, which are used for adjusting the charging current of a battery charger in real time according to different influence factors so as to maintain the thermal balance of the environment where the battery charger is located and reduce the influence of abnormal phenomena of the influence factors on the battery charger.
In order to make the technical solutions of the present invention better understood, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
The terms "first," "second," "third," "fourth," and the like in the description and in the claims, as well as in the drawings, if any, are used for distinguishing between similar elements and not necessarily for describing a particular sequential or chronological order. It will be appreciated that the data so used may be interchanged under appropriate circumstances such that the embodiments described herein may be practiced otherwise than as specifically illustrated or described herein. Furthermore, the terms "comprises," "comprising," and "having," and any variations thereof, are intended to cover a non-exclusive inclusion, such that a process, method, system, article, or apparatus that comprises a list of steps or elements is not necessarily limited to those steps or elements expressly listed, but may include other steps or elements not expressly listed or inherent to such process, method, article, or apparatus.
For convenience of understanding, a detailed flow in the embodiment of the present invention is described below, and referring to fig. 1, an embodiment of a charging current control method in the embodiment of the present invention includes:
101. determining a current status of an influencing factor of the at least one battery charger;
in this embodiment, the UPS system may include at least one battery charger, and the at least one battery charger may be disposed in the cabinet, and each battery charger may charge a battery for use. The battery charger is used for monitoring the influence factors of the thermal balance of the environment where the battery charger is located in real time, acquiring the current condition of the influence factors of at least one battery charger, maintaining the thermal balance of the environment where the battery charger is located through the current condition of the influence factors, and reducing the influence of abnormal phenomena of the influence factors on the battery charger.
The influencing factor may be one or more, and is not specifically limited herein.
102. Judging whether the charging current of the battery charger needs to be adjusted according to the current condition, if so, executing a step 103, otherwise, executing a step 104;
in this embodiment, after determining the current status of the influencing factor of at least one battery charger, it may be determined whether the charging current of the battery charger needs to be adjusted according to the current status.
Specifically, when the current condition of the influencing factor is not abnormal, if the battery charger is charged with the originally set charging current, the thermal balance of the environment where the battery charger is located is maintained, and in this case, the current condition of the influencing factor can indicate that the charging current of the battery charger does not need to be adjusted; when the current condition of the influencing factor is abnormal, if the battery charger is still charged with the original charging current, the thermal balance of the environment where the battery charger is located is damaged due to insufficient heat dissipation conditions or increased heat generation, and in this case, the current condition of the influencing factor can indicate that the charging current of the battery charger needs to be adjusted.
It will be appreciated that when the influencing factor comprises a plurality, the charging current of the battery charger may be adjusted as long as the present condition of one of the influencing factors determines that the charging current of the battery charger needs to be adjusted.
103. Adjusting the charging current according to a preset rule;
in this embodiment, if it is determined that the charging current of the battery charger needs to be adjusted according to the current status of the influencing factor, the charging current of the battery charger may be adjusted according to a preset rule.
Specifically, when the charging current of the battery charger is determined to be adjusted, the charging current can be adjusted according to a uniform rule no matter how the influence factors influence the thermal balance of the environment where the battery charger is located; or, because the influence degrees of the influence factors on the thermal balance of the environment where the battery charger is located are different, a corresponding preset rule can be set for each influence factor, so that the charging current can be adjusted according to the preset rule corresponding to a certain influence factor; or, when the current conditions of the plurality of influence factors all determine that the charging current of the battery charger needs to be adjusted, a corresponding preset rule may be set for the plurality of influence factors, and the charging current is adjusted according to the preset rule, but when the influence factors decrease or increase, the preset rule will change correspondingly according to the decrease or increase of the influence factors.
It should be understood that the present embodiment only describes the adjustment manner of the charging current in the foregoing, and in practical applications, other manners may also be adopted as long as the charging current can be controlled to maintain the thermal balance of the environment where the battery charger is located, and the present embodiment is not limited specifically herein.
104. And ending the flow.
In this embodiment, if it is determined that the charging current of the battery charger does not need to be adjusted according to the current status of the influencing factor, the process may be ended without performing other operations, so that the battery charger charges at the current charging current.
It can be understood that, in practical applications, when the current charging current of the battery charger does not need to be adjusted, the current condition of the influencing factor can be continuously monitored in real time, so that when the current condition of the influencing factor indicates that the charging current of the battery charger needs to be adjusted, the magnitude of the charging current can be timely controlled, and the thermal balance of the environment where the battery charger is located can be balanced.
In this embodiment, the current status of the influencing factor of at least one battery charger may be monitored, and when the current status of the influencing factor indicates that the charging current of the corresponding battery charger needs to be adjusted, the charging current may be adjusted according to a preset rule. Compared with the prior art, the charging current of the battery charger is not constant, and can be adjusted in real time according to the current condition of the influence factors, so that the heat generated by the battery charger during charging can be controlled through the adjustment of the charging current, the thermal balance of the environment where the battery charger is located can be maintained, and the influence of the abnormal phenomenon of the influence factors on the battery charger is reduced.
Referring to fig. 2, another embodiment of the charging current control method according to the embodiment of the present invention includes:
201. determining a current status of an influencing factor of the at least one battery charger;
step 201 in this embodiment is the same as step 101 in the embodiment shown in fig. 1, and is not described here again.
202. When the influencing factors comprise a plurality of influencing factors, the plurality of influencing factors are subjected to priority sorting;
in this embodiment, after determining the current status of the influencing factors of at least one battery charger, when the influencing factors include a plurality of influencing factors, the plurality of influencing factors may be prioritized.
Specifically, the influencing factor in the present embodiment may include, but is not limited to, at least one of a fan operating state, a mains voltage, an ambient temperature, and an inverter load. Assuming that the influencing factors may include four types, i.e., the fan operation state, the utility voltage, the ambient temperature, and the inverter load may be sorted according to priority, for example, after sorting according to the principle that the priority is from high to low, the sorting result may be, for example: fan operating conditions, mains voltage, ambient temperature (in parallel with the inverter load).
In the UPS system, when the AC mains is normal, the AC mains voltage is rectified to obtain a DC voltage, i.e., AC is converted into DC, and the DC voltage is inverted into an AC voltage, i.e., DC is inverted into AC, so as to supply power to the load and charge the battery pack through the battery charger. As can be seen, the inverter load is an output power when the dc voltage is inverted to the ac voltage and the load is supplied with power.
It should be understood that the above description of the priority of the influencing factor in this embodiment is only an example, and in practical applications, the priority may be set according to actual needs, for example, the priority may be set according to the magnitude of the degree of influence on the battery charger when the influencing factor is abnormal, and if the degree of influence on the battery charger is larger, the priority of the influencing factor is higher, which is not specifically limited herein.
203. Judging whether the charging current of the battery charger needs to be adjusted according to the current condition of the influence factors corresponding to the first priority, if not, executing step 204, and if so, executing step 205;
in this embodiment, after the plurality of influencing factors are prioritized, whether the charging current of the battery charger needs to be adjusted may be determined according to the current status of the influencing factor corresponding to the first priority.
For example, assuming that the influencing factors may include four types, i.e., a fan operating state, a mains voltage, an ambient temperature, and an inverter load, after sorting according to a principle that priorities are from high to low, a sorting result is as follows: the method comprises the steps that a fan running state, mains voltage, environment temperature and an inversion load are determined, whether the charging current of the battery charger needs to be adjusted or not can be judged according to the current state of the fan running state, if the charging current needs to be adjusted, the charging current of the battery charger can be adjusted according to a preset rule, otherwise, whether the charging current of the battery charger needs to be adjusted or not can be judged continuously according to the current state of the mains voltage, and the like.
Wherein, when the influence factor is fan running state, judge whether the charging current of battery charger needs to adjust according to the present situation and include:
and detecting whether the running state of the fan is normal or not, and if not, determining that the charging current needs to be adjusted.
Specifically, the fan can set up in the rack at battery charger place, the fan can dispel the heat to the rack at battery charger place and handle, when the fan operation is normal, can acquiesce to the heat dissipation condition that battery charger place environment can satisfy the demand, the charging current of battery charger need not adjust, and when the fan operation is unusual, if the fan stall, can acquiesce to the heat dissipation condition that the battery charger place environment is not enough, if the battery charger still charges with original charging current, probably lead to the thermal balance of battery charger place environment to suffer destruction, then the charging current of battery charger needs to be adjusted.
When the influence factor is mains voltage, judging whether the charging current of the battery charger needs to be adjusted according to the current condition comprises the following steps:
and detecting whether the mains voltage is lower than a preset voltage threshold value, if so, determining that the charging current needs to be adjusted.
Specifically, the utility voltage is generally 220V, and when the utility voltage is lower than a preset voltage threshold, for example, 176V, the charging current of the battery charger will be limited, and the charging current of the battery charger needs to be adjusted.
When the influencing factor is the environmental temperature, judging whether the charging current of the battery charger needs to be adjusted according to the current condition comprises the following steps:
and detecting whether the ambient temperature is higher than a preset temperature threshold value, and if so, determining that the charging current needs to be adjusted.
Specifically, the ambient temperature of the environment where the battery charger is located can intuitively show whether the thermal balance is damaged, when the ambient temperature of the battery charger is maintained below a preset temperature threshold, the current heat generation and heat dissipation of the battery charger can be considered to be balanced, and when the ambient temperature of the battery charger is higher than the preset temperature threshold, the insufficient heat dissipation condition of the environment where the battery charger is located or the heat generation of the battery charger during charging can be considered to be increased, so that the charging current of the battery charger needs to be adjusted.
When the influence factor is the inverter load, judging whether the charging current of the battery charger needs to be adjusted according to the current condition comprises the following steps:
and detecting whether the inversion load is higher than a preset load threshold value, if so, determining that the charging current needs to be adjusted.
Specifically, the inversion load is used as a part of the direct-current voltage which is inverted into the alternating-current voltage, when the inversion load is higher than the preset load threshold, the charging current of the battery charger can be adjusted, so that the charging power is properly reduced, the inversion output power is preferentially ensured, and the charging and inversion normal work is ensured. The preset load threshold depends on the rated output power of the ac voltage, and may be a preset percentage of the rated output power, for example, the rated output power is 1000W, when the inverter load should not exceed 50% of the rated output power (i.e., the inverter load may be 150% of the rated output power at maximum), if the inverter load is 1600W, the inverter load is higher than the preset load threshold.
204. Judging whether the charging current needs to be adjusted according to the current condition of the influence factors corresponding to the second priority, if so, executing step 205, and if not, executing step 203;
in this embodiment, when the current status of the influencing factor corresponding to the first priority determines that the charging current needs to be adjusted, whether the charging current needs to be adjusted may be determined according to the current status of the influencing factor corresponding to the second priority. Wherein the first priority is higher than the second priority.
For example, following the example illustrated in step 203, assuming that the influencing factors may include four types, i.e., a fan operating state, a mains voltage, an ambient temperature, and an inverter load, after sorting according to a principle that the priority is from high to low, the sorting result is: the method comprises the steps of judging whether the charging current of the battery charger needs to be adjusted according to the current state of the fan running state if the fan running state, the mains supply voltage, the ambient temperature and the inversion load need not to be adjusted, and judging whether the charging current of the battery charger needs to be adjusted according to the current state of the mains supply voltage if the charging current of the battery charger needs to be adjusted. The operating state of the fan can be used as an influence factor corresponding to the first priority, the mains voltage can be used as an influence factor corresponding to the second priority, if the charging current of the battery charger is judged not to need to be adjusted according to the current condition of the mains voltage, whether the charging current of the battery charger needs to be adjusted or not can be continuously judged according to the current condition of the environment temperature, at the moment, the environment temperature is used as an influence factor corresponding to the first priority, and the inversion load is used as an influence factor corresponding to the second priority.
205. Adjusting the charging current according to a preset rule;
in this embodiment, when it is determined that the charging current of the battery charger needs to be adjusted, the charging current may be adjusted according to a preset rule.
Specifically, whether the charging current of the battery charger needs to be adjusted or not can be sequentially judged according to the current conditions of the influencing factors according to the priority levels, once the charging current of the battery charger needs to be adjusted is determined according to the current conditions of the influencing factors of the previous priority level, the charging current can be adjusted according to a preset rule without judging whether the charging current of the battery charger needs to be adjusted or not according to the current conditions of the influencing factors corresponding to the next priority level, otherwise, whether the charging current of the battery charger needs to be adjusted or not is continuously judged according to the current conditions of the influencing factors corresponding to the next priority level, and the steps are repeated until whether the charging current of the battery charger needs to be adjusted or not is judged according to the current conditions of the influencing factors corresponding to the lowest priority level. In practical application, when the current condition of an influencing factor determines that the charging current needs to be adjusted, the charging current can be adjusted according to a preset rule corresponding to the influencing factor.
When the influence factor is the running state of the fan, the charging current can be adjusted to be lower than a first threshold value, such as 1A; when the influence factor is the mains voltage, the charging current can be adjusted downward according to the mains voltage, for example, the charging current can be subjected to linear derating according to different voltages; when the influencing factor is ambient temperature, the charging current may be adjusted down to a second threshold, such as 4A; when the influencing factor is the inverting load, the charging current may also be adjusted down to the third threshold, and in practical applications, since the inverting load is associated with the ambient temperature, optionally, the second threshold may be the same as the third threshold, such as 4A.
When the current condition of any influencing factor determines that the charging current of the battery charger does not need to be adjusted, other operations are not performed, that is, the process is ended, so that the battery charger is charged at the current charging current.
It can be understood that, in practical applications, when the current charging current of the battery charger does not need to be adjusted, the current condition of the influencing factor can be continuously monitored in real time, so that when the current condition of the influencing factor indicates that the charging current of the battery charger needs to be adjusted, the magnitude of the charging current can be timely controlled, and the thermal balance of the environment where the battery charger is located can be balanced.
Referring to fig. 3, another embodiment of the charging current control method according to the embodiment of the present invention includes:
301. determining a current status of an influencing factor of the at least one battery charger;
302. when the influence factors include a plurality of influence factors, respectively judging whether the charging current of the battery charger needs to be adjusted according to the current conditions of the plurality of influence factors, if so, executing step 303, and if not, executing step 305;
in this embodiment, after determining the current status of the influencing factor of the at least one battery charger, when the influencing factor includes a plurality of influencing factors, whether the charging current of the battery charger needs to be adjusted may be respectively determined according to the current statuses of the plurality of influencing factors, that is, whether the charging current of the battery charger needs to be adjusted may be determined according to the current status of each influencing factor.
In this embodiment, when the influencing factors are the running state of the fan, the commercial power voltage, the ambient temperature, and the inverter load, the manner of determining whether the charging current of the battery charger needs to be adjusted according to the current status of the battery charger may refer to the content described in step 203 in the embodiment shown in fig. 2, and will not be described herein again.
303. When the charging current is determined to be required to be adjusted according to the current condition corresponding to a first target influence factor in the multiple influence factors, determining a second target influence factor with the highest priority in the first target influence factors;
in this embodiment, when it is determined that the charging current needs to be adjusted according to the current condition corresponding to the first target influence factor among the plurality of influence factors, the second target influence factor with the highest priority among the first target influence factors may be determined.
For example, it is assumed that the influence factors may include four types, that is, a fan operating state, a mains voltage, an ambient temperature, and an inverter load, where the fan operating state and the mains voltage serve as first target influence factors, and when the current conditions of the fan operating state and the mains voltage respectively determine that the charging current of the battery charger needs to be adjusted, the priority order of the two influence factors, that is, the fan operating state and the mains voltage, may be further determined, and a second target influence factor with the highest priority among the fan operating state and the mains voltage may be determined, for example, if the priority of the fan operating state is higher than the priority of the mains voltage, the fan operating state is the second target influence factor.
304. Adjusting the charging current according to a preset rule according to a second target influence factor;
in this embodiment, after the second target influence factor is determined, the charging current may be adjusted according to a preset rule according to the second target influence factor.
In this embodiment, when the second target influence factor is the running state of the fan, the commercial power voltage, the ambient temperature, or the inverter load, the content described in step 205 in the embodiment shown in fig. 2 may be referred to in a manner that the charging current of the battery charger is adjusted according to the preset rule according to the second target influence factor, and details are not described here.
305. And ending the flow.
When the current condition of any influencing factor determines that the charging current of the battery charger does not need to be adjusted, other operations are not performed, that is, the process is ended, so that the battery charger is charged at the current charging current.
It can be understood that, in practical applications, when the current charging current of the battery charger does not need to be adjusted, the current condition of the influencing factor can be continuously monitored in real time, so that when the current condition of the influencing factor indicates that the charging current of the battery charger needs to be adjusted, the magnitude of the charging current can be timely controlled to balance the thermal balance of the environment where the battery charger is located
The charging current control method in the embodiment of the present invention is explained above, and the charging current control device in the embodiment of the present invention is explained below:
referring to fig. 4, an embodiment of a charging current control apparatus according to an embodiment of the present invention includes:
a determining unit 401 for determining a current status of influencing factors of at least one battery charger;
a determining unit 402, configured to determine whether a charging current of the battery charger needs to be adjusted according to a current status;
an adjusting unit 403, configured to adjust the charging current according to a preset rule when the charging current needs to be adjusted.
Optionally, in some embodiments of the present invention, when the influencing factor includes a plurality of influencing factors, the determining unit 402 may be further specifically configured to:
prioritizing the plurality of influencing factors;
judging whether the charging current of the battery charger needs to be adjusted or not according to the current condition of the influence factor corresponding to the first priority;
if not, judging whether the charging current needs to be adjusted or not according to the current condition of the influence factors corresponding to the second priority, wherein the first priority is higher than the second priority.
Optionally, in some embodiments of the present invention, when the influencing factor includes a plurality of influencing factors, the determining unit 402 may be further specifically configured to:
respectively judging whether the charging current of the battery charger needs to be adjusted according to the current conditions of the plurality of influence factors;
the adjusting unit 403 may be further specifically configured to:
when the charging current is determined to be required to be adjusted according to the current condition corresponding to a first target influence factor in the multiple influence factors, determining a second target influence factor with the highest priority in the first target influence factors;
and adjusting the charging current according to a preset rule according to the second target influence factor.
Optionally, in some embodiments of the present invention, when the influencing factor is a fan operating state, the determining unit 402 may be further specifically configured to:
detecting whether the running state of the fan is normal or not, and if not, determining that the charging current needs to be adjusted;
the adjusting unit 403 may be further specifically configured to:
the charging current is adjusted down to a first threshold.
Optionally, in some embodiments of the present invention, when the influencing factor is the mains voltage, the determining unit 402 may be further specifically configured to:
detecting whether the mains voltage is lower than a preset voltage threshold value, if so, determining that the charging current needs to be adjusted;
the adjusting unit 403 may be further specifically configured to:
the charging current is adjusted down according to the mains voltage.
Optionally, in some embodiments of the present invention, when the influencing factor is an ambient temperature, the determining unit 402 may be further specifically configured to:
detecting whether the ambient temperature is higher than a preset temperature threshold value, if so, determining that the charging current needs to be adjusted;
the adjusting unit 403 may be further specifically configured to:
the charging current is adjusted down to a second threshold.
Optionally, in some embodiments of the present invention, when the influencing factor is an inverting load, the determining unit 402 may be further specifically configured to:
detecting whether the inversion load is higher than a preset load threshold value, if so, determining that the charging current needs to be adjusted;
the adjusting unit 403 may be further specifically configured to:
the charging current is adjusted down to a third threshold.
The charging current control device in the embodiment of the present invention is described above from the perspective of the modular functional entity, and the computer device in the embodiment of the present invention is described below from the perspective of hardware processing:
referring to fig. 5, an embodiment of a computer apparatus according to the present invention includes:
a processor 501 and a memory 502;
the memory 502 is used for storing computer programs, and the processor 501 is used for implementing the computer programs stored in the memory 502, and the following steps can be implemented:
determining a current status of an influencing factor of the at least one battery charger;
judging whether the charging current of the battery charger needs to be adjusted according to the current condition;
if yes, the charging current is adjusted according to a preset rule.
In some embodiments of the invention, when the influencing factor comprises a plurality, the processor 501 is configured to execute the computer program stored in the memory 502, and further to implement the following steps:
prioritizing the plurality of influencing factors;
judging whether the charging current of the battery charger needs to be adjusted or not according to the current condition of the influence factor corresponding to the first priority;
if not, judging whether the charging current needs to be adjusted or not according to the current condition of the influence factors corresponding to the second priority, wherein the first priority is higher than the second priority.
In some embodiments of the invention, when the influencing factor comprises a plurality, the processor 501 is configured to execute the computer program stored in the memory 502, and further to implement the following steps:
respectively judging whether the charging current of the battery charger needs to be adjusted according to the current conditions of the plurality of influence factors;
if the charging current needs to be adjusted, adjusting the charging current according to a preset rule comprises:
when the charging current is determined to be required to be adjusted according to the current condition corresponding to a first target influence factor in the multiple influence factors, determining a second target influence factor with the highest priority in the first target influence factors;
and adjusting the charging current according to a preset rule according to the second target influence factor.
In some embodiments of the present invention, when the influencing factor is the fan operating state, the processor 501 is configured to execute the computer program stored in the memory 502, and further implement the following steps:
detecting whether the running state of the fan is normal or not, and if not, determining that the charging current needs to be adjusted;
adjusting the charging current according to a preset rule includes:
the charging current is adjusted down to a first threshold.
In some embodiments of the invention, when the influencing factor is the mains voltage, the processor 501 is configured to execute the computer program stored in the memory 502, and further implements the following steps:
detecting whether the mains voltage is lower than a preset voltage threshold value, if so, determining that the charging current needs to be adjusted;
adjusting the charging current according to a preset rule includes:
the charging current is adjusted down according to the mains voltage.
In some embodiments of the invention, when the influencing factor is the ambient temperature, the processor 501 is configured to execute the computer program stored in the memory 502, and further to implement the following steps:
detecting whether the ambient temperature is higher than a preset temperature threshold value, if so, determining that the charging current needs to be adjusted;
adjusting the charging current according to a preset rule includes:
the charging current is adjusted down to a second threshold.
In some embodiments of the present invention, when the influencing factor is an inverting load, the processor 501 is configured to execute the computer program stored in the memory 502, and further implements the following steps:
detecting whether the inversion load is higher than a preset load threshold value, if so, determining that the charging current needs to be adjusted;
adjusting the charging current according to a preset rule includes:
the charging current is adjusted down to a third threshold.
It is to be understood that, when the processor in the computer apparatus described above executes the computer program, the functions of each unit in the corresponding apparatus embodiments may also be implemented, and are not described herein again. Illustratively, the computer program may be partitioned into one or more modules/units that are stored in the memory and executed by the processor to implement the invention. The one or more modules/units may be a series of computer program instruction segments capable of performing specific functions, which are used to describe the execution process of the computer program in the charging current control apparatus. For example, the computer program may be divided into units in the above-described charge current control device, and each unit may realize specific functions as described in the above-described corresponding charge current control device.
The computer device can be a desktop computer, a notebook, a palm computer, a cloud server and other computing equipment. The computer device may include, but is not limited to, a processor, a memory. It will be appreciated by those skilled in the art that the processor, memory are merely examples of a computer apparatus and are not meant to be limiting, and that more or fewer components may be included, or certain components may be combined, or different components may be included, for example, the computer apparatus may also include input output devices, network access devices, buses, etc.
The Processor may be a Central Processing Unit (CPU), other general purpose Processor, a Digital Signal Processor (DSP), an Application Specific Integrated Circuit (ASIC), a Field-Programmable gate array (FPGA) or other Programmable logic device, discrete gate or transistor logic device, discrete hardware component, etc. The general purpose processor may be a microprocessor or the processor may be any conventional processor or the like which is the control center for the computer device and which connects the various parts of the overall computer device using various interfaces and lines.
The memory may be used to store the computer programs and/or modules, and the processor may implement various functions of the computer device by running or executing the computer programs and/or modules stored in the memory and invoking data stored in the memory. The memory may mainly include a storage program area and a storage data area, wherein the storage program area may store an operating system, an application program required for at least one function, and the like; the storage data area may store data created according to the use of the terminal, and the like. In addition, the memory may include high speed random access memory, and may also include non-volatile memory, such as a hard disk, a memory, a plug-in hard disk, a Smart Media Card (SMC), a Secure Digital (SD) Card, a Flash memory Card (Flash Card), at least one magnetic disk storage device, a Flash memory device, or other volatile solid state storage device.
The present invention also provides a computer-readable storage medium having a computer program stored thereon, which when executed by a processor, performs the steps of:
determining a current status of an influencing factor of the at least one battery charger;
judging whether the charging current of the battery charger needs to be adjusted according to the current condition;
if yes, the charging current is adjusted according to a preset rule.
In some embodiments of the present invention, when the influencing factor includes a plurality, the computer program stored in the computer-readable storage medium is executed by the processor, and the following steps are further implemented:
prioritizing the plurality of influencing factors;
judging whether the charging current of the battery charger needs to be adjusted or not according to the current condition of the influence factor corresponding to the first priority;
if not, judging whether the charging current needs to be adjusted or not according to the current condition of the influence factors corresponding to the second priority, wherein the first priority is higher than the second priority.
In some embodiments of the present invention, when the influencing factor includes a plurality, the computer program stored in the computer-readable storage medium is executed by the processor, and the following steps are further implemented:
respectively judging whether the charging current of the battery charger needs to be adjusted according to the current conditions of the plurality of influence factors;
if the charging current needs to be adjusted, adjusting the charging current according to a preset rule comprises:
when the charging current is determined to be required to be adjusted according to the current condition corresponding to a first target influence factor in the multiple influence factors, determining a second target influence factor with the highest priority in the first target influence factors;
and adjusting the charging current according to a preset rule according to the second target influence factor.
In some embodiments of the present invention, when the influencing factor is the fan operating state, the computer program stored in the computer-readable storage medium is executed by the processor, and the following steps are further implemented:
detecting whether the running state of the fan is normal or not, and if not, determining that the charging current needs to be adjusted;
adjusting the charging current according to a preset rule includes:
the charging current is adjusted down to a first threshold.
In some embodiments of the present invention, when the influencing factor is the mains voltage, the computer program stored by the computer-readable storage medium is executed by the processor, and the following steps are further implemented:
detecting whether the mains voltage is lower than a preset voltage threshold value, if so, determining that the charging current needs to be adjusted;
adjusting the charging current according to a preset rule includes:
the charging current is adjusted down according to the mains voltage.
In some embodiments of the present invention, when the influencing factor is an ambient temperature, the computer program stored in the computer-readable storage medium is executed by the processor, and further implements the steps of:
detecting whether the ambient temperature is higher than a preset temperature threshold value, if so, determining that the charging current needs to be adjusted;
adjusting the charging current according to a preset rule includes:
the charging current is adjusted down to a second threshold.
In some embodiments of the present invention, when the influencing factor is an inverting load, the computer program stored in the computer readable storage medium is executed by the processor, and the following steps are further implemented:
detecting whether the inversion load is higher than a preset load threshold value, if so, determining that the charging current needs to be adjusted;
adjusting the charging current according to a preset rule includes:
the charging current is adjusted down to a third threshold.
It will be appreciated that the integrated units, if implemented as software functional units and sold or used as a stand-alone product, may be stored in a corresponding one of the computer readable storage media. Based on such understanding, all or part of the flow of the method according to the above embodiments may be implemented by a computer program, which may be stored in a computer-readable storage medium and used by a processor to implement the steps of the above embodiments of the method. Wherein the computer program comprises computer program code, which may be in the form of source code, object code, an executable file or some intermediate form, etc. The computer-readable medium may include: any entity or device capable of carrying the computer program code, recording medium, usb disk, removable hard disk, magnetic disk, optical disk, computer Memory, Read-only Memory (ROM), Random Access Memory (RAM), electrical carrier wave signals, telecommunications signals, software distribution medium, etc. It should be noted that the computer readable medium may contain content that is subject to appropriate increase or decrease as required by legislation and patent practice in jurisdictions, for example, in some jurisdictions, computer readable media does not include electrical carrier signals and telecommunications signals as is required by legislation and patent practice.
It is clear to those skilled in the art that, for convenience and brevity of description, the specific working processes of the above-described systems, apparatuses and units may refer to the corresponding processes in the foregoing method embodiments, and are not described herein again.
In the several embodiments provided in the present application, it should be understood that the disclosed system, apparatus and method may be implemented in other manners. For example, the above-described apparatus embodiments are merely illustrative, and for example, the division of the units is only one logical division, and other divisions may be realized in practice, for example, a plurality of units or components may be combined or integrated into another system, or some features may be omitted, or not executed. In addition, the shown or discussed mutual coupling or direct coupling or communication connection may be an indirect coupling or communication connection through some interfaces, devices or units, and may be in an electrical, mechanical or other form.
The units described as separate parts may or may not be physically separate, and parts displayed as units may or may not be physical units, may be located in one place, or may be distributed on a plurality of network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of the embodiment.
In addition, functional units in the embodiments of the present invention may be integrated into one processing unit, or each unit may exist alone physically, or two or more units are integrated into one unit.
The above-mentioned embodiments are only used for illustrating the technical solutions of the present invention, and not for limiting the same; although the present invention has been described in detail with reference to the foregoing embodiments, it will be understood by those of ordinary skill in the art that: the technical solutions described in the foregoing embodiments may still be modified, or some technical features may be equivalently replaced; and such modifications or substitutions do not depart from the spirit and scope of the corresponding technical solutions of the embodiments of the present invention.