WO2023216261A1 - Electronic device, power adjustment method, and storage medium - Google Patents

Electronic device, power adjustment method, and storage medium Download PDF

Info

Publication number
WO2023216261A1
WO2023216261A1 PCT/CN2022/092847 CN2022092847W WO2023216261A1 WO 2023216261 A1 WO2023216261 A1 WO 2023216261A1 CN 2022092847 W CN2022092847 W CN 2022092847W WO 2023216261 A1 WO2023216261 A1 WO 2023216261A1
Authority
WO
WIPO (PCT)
Prior art keywords
battery
power
output power
module
preset
Prior art date
Application number
PCT/CN2022/092847
Other languages
French (fr)
Chinese (zh)
Inventor
任春明
廖志君
李志影
Original Assignee
北京小米移动软件有限公司
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by 北京小米移动软件有限公司 filed Critical 北京小米移动软件有限公司
Priority to PCT/CN2022/092847 priority Critical patent/WO2023216261A1/en
Priority to CN202280004214.9A priority patent/CN117413499A/en
Publication of WO2023216261A1 publication Critical patent/WO2023216261A1/en

Links

Images

Classifications

    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L27/00Modulated-carrier systems

Definitions

  • the present disclosure relates to the field of intelligent electronic devices, and in particular, to an electronic device, a power adjustment method and a storage medium.
  • the fan module in the electronic equipment works at a fixed When the output power does not match the operating parameters of the electronic device, the performance of the electronic device will be poor. For example, when the output power of the fan module is too high, the battery of the electronic device will be powered off early, preventing the battery from being fully discharged, which will have a negative impact on the battery's endurance.
  • the present disclosure provides an electronic device, a power adjustment method and a storage medium.
  • an electronic device including:
  • the control module is connected to the battery module and is configured to obtain the battery parameters of the battery module when the electronic device enters the working state, and generate adjustment instructions corresponding to the battery parameters;
  • the fan module is connected to the control module and is configured to adjust the output power according to the adjustment instruction and work according to the adjusted output power.
  • control module is configured to generate an adjustment instruction when the output power of the fan module is greater than the preset power threshold and the battery parameter is less than the preset parameter threshold; wherein the adjustment instruction is used to instruct the fan to reduce
  • the battery parameters include: power reserve and/or battery temperature; the fan module is configured to reduce the output power according to the adjustment instructions and work according to the reduced output power.
  • control module is configured to generate an adjustment when the output power of the fan module is greater than the preset power threshold, the remaining power is less than the preset power threshold, and/or the battery temperature is less than the preset temperature threshold. instruction.
  • control module is configured to determine the weighted margin value based on the power margin and the first weight value
  • the weighted temperature value is determined based on the battery temperature and the second weight value; the reference value is determined based on the weighted margin value and the weighted temperature value, and when the output power of the fan module is greater than the preset power threshold and the reference value is less than the preset reference threshold Next, generate adjustment instructions.
  • control module is configured to determine the target output power from the preset power list according to the battery parameters and the initial output power of the wind turbine module; determine the power adjustment value based on the initial output power and the target output power, and based on The power adjustment value generates adjustment instructions.
  • control module is configured to obtain the battery life of the electronic device when the wind turbine module is working at each test power; when the battery life is less than the preset duration threshold, adjust the test power, Control the fan module to work at the adjusted test power until the battery life is greater than or equal to the preset duration threshold; determine the test power when the battery life is greater than or equal to the preset duration threshold as the preset output power; obtain the battery module's Test temperature and test power; generate a preset power list based on the test temperature, test power and preset output power of the battery module.
  • control module is configured to obtain the battery parameters of the battery module and generate an adjustment instruction corresponding to the battery parameters when a turn-on instruction for the electronic device is detected.
  • a power adjustment method is provided.
  • the method is applied to the electronic device of the first aspect.
  • the electronic device includes a battery module, a control module and a fan module.
  • the method includes:
  • the fan module adjusts the output power according to the adjustment instruction and works according to the adjusted output power.
  • generating an adjustment instruction corresponding to a battery parameter includes: generating an adjustment instruction when the output power of the wind turbine module is greater than a preset power threshold and the battery parameter is less than a preset parameter threshold; wherein, the battery parameter includes : Power reserve and/or battery temperature; adjusting the output power of the fan module of the electronic device according to the adjustment instruction, including: reducing the output power of the fan module according to the adjustment instruction.
  • generating an adjustment instruction includes: when the output power of the fan module is greater than the preset power threshold, And when the remaining power level is less than the preset power threshold and/or the battery temperature is less than the preset temperature threshold, an adjustment instruction is generated.
  • generating an adjustment instruction corresponding to a battery parameter includes: determining a weighted residual value based on the battery remaining capacity and the first weight value; determining a weighted temperature value based on the battery temperature and the second weight value; and determining a weighted residual value based on the weighted residual capacity.
  • the value and the weighted temperature value determine the reference value, and when the output power of the fan module is greater than the preset power threshold and the reference value is less than the preset reference threshold, an adjustment instruction is generated.
  • generating adjustment instructions corresponding to battery parameters includes: determining the target output power from a preset power list based on the battery parameters and the initial output power of the wind turbine module; determining the power based on the initial output power and the target output power. adjustment value, and generate adjustment instructions based on the power adjustment value.
  • the method also includes: obtaining the battery life of the electronic device when the fan module is working at each test power; when the battery life is less than the preset duration threshold, adjusting the test power and controlling the fan The module works at the adjusted test power until the battery life is greater than or equal to the preset duration threshold; the test power when the battery life is greater than or equal to the preset duration threshold is determined as the preset output power; according to the fan module working at the preset duration threshold Set the corresponding battery parameters and preset output power when output power, and generate a preset power list.
  • the method further includes: when a turn-on instruction for the electronic device is detected, obtaining battery parameters and generating an adjustment instruction corresponding to the battery parameters.
  • an electronic device including:
  • Memory configured to store instructions executable by the processor
  • the processor is configured to: implement the steps in any one of the power adjustment methods in the second aspect when executing.
  • a non-transitory computer-readable storage medium which when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute any of the above second aspects. Steps in the power adjustment method.
  • control module can obtain the battery parameters of the battery module when the electronic device enters the working state, and generate adjustment instructions corresponding to the battery parameters; the wind turbine module can adjust the output power according to the adjustment instructions. Adjust and work according to the adjusted output power.
  • an adjustment instruction corresponding to the battery module can be generated, and the output power of the fan module can be adjusted according to the adjustment instruction, so that the output power of the fan module can match the battery parameters of the battery module.
  • Figure 1 is a structural block diagram of an electronic device according to an exemplary embodiment of the present disclosure
  • Figure 2 is a discharge curve diagram of a battery module according to an exemplary embodiment of the present disclosure
  • Figure 3 is a schematic diagram of a preset power list according to an exemplary embodiment of the present disclosure
  • Figure 4 is a flowchart 1 of a power adjustment method according to an exemplary embodiment of the present disclosure
  • Figure 5 is a flowchart of a method of generating a preset power list according to an exemplary embodiment of the present disclosure
  • Figure 6 is a flow chart 2 of a power adjustment method according to an exemplary embodiment of the present disclosure
  • FIG. 7 is a hardware structure block diagram of an electronic device according to an exemplary embodiment of the present disclosure.
  • first, second, third, etc. may be used to describe various information in the embodiments of the present disclosure, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other.
  • first information may also be called second information, and similarly, the second information may also be called first information.
  • word “if” as used herein may be interpreted as "when” or "when” or "in response to determining.”
  • FIG. 1 is a structural block diagram of an electronic device according to an exemplary embodiment. As shown in Figure 1, the electronic device mainly includes:
  • the control module 120 is connected to the battery module 110 and is configured to obtain the battery parameters of the battery module and generate adjustment instructions corresponding to the battery parameters when the electronic device enters the working state;
  • the fan module 130 is connected to the control module 120 and is configured to adjust the output power according to the adjustment instruction and work according to the adjusted output power.
  • electronic devices may include vacuum cleaners, floor washers, air conditioners, fans, hair dryers, and sweeping robots with vacuum cleaning functions.
  • the battery module can provide power for electronic devices.
  • the battery module can include: a battery body and peripheral components of the battery body.
  • the battery module can also include: a sensor configured to collect battery parameters and/or A controller configured to control the battery body, etc.
  • the battery module may include: storage battery.
  • the battery module may be a lead-acid battery, a lithium battery, or a nickel-metal hydride battery.
  • the battery parameters may be parameters related to the battery module.
  • the battery parameters may include the remaining power of the battery module, the temperature of the battery module, the operating voltage of the battery module, the operating current of the battery module, and other parameters.
  • control module may be a CPU (central processing unit, central processing unit) of the electronic device, and may be configured to control the electronic device, or control other modules in the electronic device, etc.
  • control module can control the working mode of the electronic device, or control the output power of the wind turbine module of the electronic device, etc.
  • control module can be electrically connected to the battery module, thereby obtaining the battery parameters of the battery module from the battery module, and can also generate adjustment instructions corresponding to the battery parameters based on the battery parameters.
  • the battery module may include: a sensor configured to collect battery parameters, for example, may include: a temperature sensor, etc.
  • a sensor configured to collect battery parameters
  • the controller can obtain battery parameters through sensors installed in the battery module. Taking the battery parameter as the battery temperature and the sensor as a temperature sensor as an example, during the implementation process, the battery temperature can be obtained through the temperature sensor and the temperature can be actively sent to the control module, or the control module can send a request instruction to the temperature sensor. After receiving the request instruction, the sensor collects the battery temperature and sends the battery temperature to the control module and so on.
  • the battery module can actively send battery parameters to the control module, or can obtain battery parameters from the battery module through the control module.
  • control module can also be connected to the fan module, and can control the fan module to adjust the output power by issuing adjustment instructions to the fan module.
  • the adjustment instruction can be used to instruct the adjustment of the output power of the fan module.
  • the fan module can work in different working modes, and the output power of the fan module when working in different working modes can be different.
  • the adjustment instruction may carry the target operating mode, target output power or power adjustment value.
  • the fan module can be a core component of the electronic device.
  • the fan module can include a fan, and the functions of the electronic device can be realized through the work of the fan module.
  • the electronic equipment may also be electronic equipment such as floor washing machines, air conditioners, and electric fans.
  • the wind turbine module after the wind turbine module receives the adjustment command, it can switch from the current working mode to the target working mode, where the output power of the wind turbine module working in the current working mode is equal to The fan module has different output power when operating in the target operating mode.
  • the current output power of the fan module can be adjusted to the target output power, where the target output power is different from the current output power.
  • the fan module When the adjustment command carries a power adjustment value, after the fan module receives the adjustment command, it can adjust the output power of the fan module based on the power adjustment value, such as reducing the current output power by the power adjustment value or changing the current output Power increases the power adjustment value.
  • the current output power may be the output power before power adjustment of the wind turbine module.
  • the output power of the fan module preset by the user.
  • the first output power can be written into the adjustment instruction as the target output power, that is, the fan module can be controlled to work at the first output power
  • the second output power can be written into the adjustment instruction as the target output power, that is, the fan module is controlled to work at the second output power
  • the third output power can be written into the adjustment instruction as the target output power, that is, the fan module is controlled to work at the third output power.
  • the target output power of the fan module has a positive or negative correlation with the parameter values in different threshold intervals. For example, when the parameter value of the battery parameter in the second threshold interval is greater than the parameter value of the battery parameter in the first threshold interval, the second output power is greater than the first output power. In some embodiments, there may not be a specific linear relationship between the output power of the wind turbine module and the battery parameters.
  • adjusting the output power according to the adjustment instructions can be understood as adjusting the output power according to the battery parameters, and the output power after adjusting the output power according to the adjustment instructions can also be related to the battery parameters. correspond. Therefore, the adjusted output power can be applied to the current battery parameters.
  • the fan module works according to the adjusted output power, the performance of the electronic device is better.
  • control module can obtain the battery parameters of the battery module when the electronic device enters the working state, and generate adjustment instructions corresponding to the battery parameters; the wind turbine module can adjust the output power according to the adjustment instructions. Adjust and work according to the adjusted output power.
  • an adjustment instruction corresponding to the battery parameters of the battery module can be generated, and the output power of the fan module can be adjusted according to the adjustment instruction, so that the output power of the fan module can be consistent with the battery parameters of the battery module.
  • control module is configured to generate the adjustment instruction when the output power of the wind turbine module is greater than a preset power threshold and the battery parameter is less than a preset parameter threshold; wherein , the adjustment instruction is used to instruct to reduce the output power of the fan module, and the battery parameters include: battery remaining capacity and/or battery temperature;
  • the fan module is configured to reduce the output power according to the adjustment instruction and work according to the reduced output power.
  • the preset parameter threshold may include: a threshold set based on experience or experimental data, the remaining power may be the remaining power of the battery module, and the battery temperature may be the temperature of the surface of the battery module.
  • FIG. 2 is a discharge curve diagram of a battery module according to an exemplary embodiment.
  • Figure 2 shows the discharge curve of the battery module at different battery temperatures when the battery is fully charged.
  • the lower the battery temperature of the battery module the less power that can be effectively released.
  • the battery module can only release less than 10% of the power.
  • the battery module More than 90% of the energy cannot be released in time.
  • the discharge curve shown in Figure 2 it can be seen that the lower the battery temperature of the battery module, the more obvious the battery polarization phenomenon, and the less power the battery module can effectively discharge.
  • the battery module will trigger under-voltage protection in advance and stop discharging.
  • the phenomenon that the electrode deviates from the equilibrium electrode potential is called electrode polarization.
  • This phenomenon of battery modules triggering under-voltage protection in advance due to battery polarization is especially obvious when the battery temperature is low, the remaining battery power is low, and the output power of the fan module is high. That is to say, when the output power of the fan module is greater than the preset power threshold and the battery parameters of the battery module are less than the preset parameter threshold, for example, when the remaining power of the battery is less and/or the temperature of the battery is low, If the fan module continues to operate at a higher output power, the battery polarization phenomenon of the battery module will become more and more obvious, causing the output voltage of the battery module to continue to decrease, causing the battery module to reach under-voltage protection early due to the output voltage. The battery module stops discharging when the battery reaches the maximum value, so that the remaining power of the battery module cannot be effectively released, shortening the battery life of the electronic device.
  • the control module when the output power of the fan module is greater than the preset power threshold and the battery parameters are less than the preset parameter threshold, the control module generates an output power adjustment instruction instructing to reduce the fan module, and causes the fan module to The group can reduce the output power according to the adjustment instruction and work according to the reduced output power. In this way, the problem of battery polarization can be alleviated by reducing the output power of the fan module, so that the remaining power of the battery module can be effectively released, thereby increasing the battery life of the electronic device.
  • the greater the output power of the fan module the more obvious the battery polarization phenomenon of the battery module will be.
  • the battery polarization phenomenon of the battery module may not be obvious, so the battery module will not trigger the undervoltage protection in advance. In this case, even if the output power of the fan module is not adjusted, the battery module can effectively discharge the remaining power.
  • the battery parameters of the battery module and the current output power of the fan module can be obtained, and then it is first determined whether the current output power of the fan module is greater than the preset power Threshold; when the current output power of the wind turbine module is greater than the preset power threshold, it is then determined whether the battery parameters are less than the preset parameter threshold; when the battery parameters are less than the preset parameter threshold, an adjustment instruction is generated.
  • the preset power threshold here may be the corresponding power value when the battery polarization phenomenon of the battery module reaches a preset level. It is understandable that if the current output power of the fan module is greater than the preset power threshold, it means that the output power of the fan module is high. According to the fact that if the fan module works according to the current output power, it may cause battery polarization of the battery module. more obvious.
  • the output power of the fan module can be reduced, thereby reducing the possibility of polarization of the battery module.
  • control module is configured to operate when the output power of the fan module is greater than a preset power threshold, and the remaining power is less than a preset power threshold and/or the battery temperature is less than a preset power threshold. In the case of a temperature threshold, the adjustment instruction is generated.
  • the preset power threshold and preset temperature threshold can be thresholds set based on experience or experimental data.
  • the battery life corresponding to the battery life is set to the preset battery threshold
  • the battery temperature corresponding to the battery life is set to the preset temperature threshold.
  • the corresponding battery polarization phenomenon is very obvious; when the remaining power of the battery module is less than the preset power threshold or battery temperature When the temperature is less than the preset temperature threshold, the corresponding battery polarization phenomenon is more obvious.
  • the severity of battery polarization can be judged by the output power of the fan module, the remaining power of the battery module and/or the battery temperature, thereby determining the timing of reducing the output power of the fan module.
  • the output of the fan module can be reduced when the corresponding battery polarization phenomenon is very obvious or relatively obvious. power.
  • control module is configured to determine a weighted balance value based on the power balance and the first weight value
  • a reference value is determined according to the weighted margin value and the weighted temperature value, and when the output power of the fan module is greater than the preset power threshold and the reference value is less than the preset reference threshold, the Adjustment instructions.
  • the first weight value and the second weight value here may be weight values set in advance based on experience or experimental data.
  • the power of the battery module can be The remaining capacity and battery temperature are taken into consideration.
  • the fan module based on the output power of the fan module and the reference value obtained based on the battery module's power reserve and battery temperature.
  • the timing of power output is more precise.
  • the proportion of the remaining power and the battery temperature in the power adjustment process can be adjusted by adjusting the first weight value and the second weight value, thereby improving the flexibility of the power adjustment.
  • control module is configured to determine the target output power from a preset power list based on the battery parameters and the initial output power of the wind turbine module;
  • a power adjustment value is determined based on the initial output power and the target output power, and the adjustment instruction is generated based on the power adjustment value.
  • the initial output power of the fan module here may be a preset output power, or may be the current output power described in the above embodiment.
  • the initial output power may be the output power corresponding to the working mode preset by the user, or the output power corresponding to the working strategy preset by the control module.
  • the preset power list may include: preset output power corresponding to each battery parameter and initial output power.
  • Each preset output power in the preset power list can be determined experimentally, and has a corresponding relationship with each battery parameter and each initial output power.
  • the target output power may include: the output power obtained after reducing the initial output power of the wind turbine module. That is, after reducing the initial output power of the fan module to the target output power, the fan module operates at the target output power under the current battery parameters. The battery module will not trigger the undervoltage protection in advance, and the battery module can be The remaining power is effectively released.
  • the current battery parameters can be obtained, and then the preset output power corresponding to the current battery parameters can be searched from the preset power list, and the preset output corresponding to the current battery parameters can be found.
  • the power is determined as the target output power.
  • FIG. 3 is a schematic diagram of a preset power list according to an exemplary embodiment.
  • battery parameters may include: battery remaining capacity and battery temperature. Different battery parameters and different initial output powers correspond to different preset output powers.
  • the target output power you can use the remaining battery capacity of the battery module, the battery temperature and the initial output power of the fan module as a set of search conditions, and search for the preset output corresponding to each set of search conditions from the preset power list.
  • the initial output power of the current fan module is p1
  • the remaining power of the battery module is C2
  • the battery temperature is T2
  • (p1, C2, T2) is used as the search condition
  • the preset power is Find the preset output power corresponding to (p1, C2, T2) in the list, and determine the preset output power P4 corresponding to (p1, C2, T2) as the target output power.
  • the power adjustment value can be determined based on the initial output power and the target output power, and then the initial output power can be adjusted according to the power adjustment value, such as reducing the initial output power according to the power adjustment value.
  • the difference between the target output power and the initial output power may be determined as the power adjustment value.
  • other methods can also be used to determine the power adjustment value based on the target output power and the initial output power. For example, the ratio of the target output power to the initial output power can be determined, and then the power adjustment value can be determined based on the ratio and the target output power. The above are examples of determining the power adjustment value based on the target output power and the initial output power, and will not be listed here.
  • an adjustment instruction can be generated based on the power adjustment value.
  • the adjustment instruction can not only carry the power adjustment value, but also carry the target operating mode corresponding to the power adjustment value (which can instruct the operating mode of the wind turbine module to be adjusted. for the target working mode).
  • the target output power can be accurately determined from the preset power list. Moreover, determining the target output power from the preset power list can reduce the amount of calculation and improve the efficiency of determining the target output power.
  • control module is configured to obtain the battery life of the electronic device when the fan module operates at each test power
  • a preset power list is generated according to the test temperature, test power and the preset output power of the battery module.
  • each preset output power in the preset power list can be determined experimentally, and has a corresponding relationship with each battery parameter and each initial output power.
  • the wind turbine module can be controlled to work under different test powers, and the battery life of the electronic device under each test power can be obtained.
  • the battery life of the electronic device is less than the preset duration threshold, it means that the remaining power of the battery module has not been fully released, that is, in this case, the battery polarization phenomenon of the battery module is very obvious. Therefore, when the battery life is less than the preset duration threshold, the test power can be adjusted, and the battery life of the electronic device when the wind turbine module operates at the adjusted test power can be obtained.
  • the adjusted test power can be determined as the preset output power corresponding to the initial test power and the test temperature and test power of the battery module.
  • the test power of the fan module is p1
  • the test power of the battery module is C1
  • the test temperature is T1
  • the battery life of the electronic device is less than Default duration threshold.
  • adjust the test power p1 and after each adjustment, obtain the battery life of the electronic device when the fan module operates at the adjusted test power.
  • the test power p1 is adjusted to P1
  • the battery life of the electronic device when the fan module operates at P1 is greater than or equal to the preset duration threshold; then P1 is determined to be the same as the test power p1, test power C1, and test temperature T1 Corresponding preset output power.
  • test power is the initial output power of the wind turbine during the test
  • test power is the remaining power of the battery module during the test
  • test temperature is the battery temperature of the battery module during the test.
  • the preset output power can be accurately determined by continuously adjusting the test power. Moreover, by continuously adjusting the test power to conduct experiments, the preset output power obtained is more reasonable, which can make the determined preset output power more accurate and credible.
  • control module is configured to obtain the battery parameters of the battery module and generate an adjustment instruction corresponding to the battery parameters when a turn-on instruction for the electronic device is detected.
  • the startup instructions may include: startup instructions for electronic devices. It can be understood that after the electronic device is turned on, an adjustment instruction is generated to adjust the output power of the fan module. In this way, the probability of the fan module working at a higher output power can be reduced, thereby alleviating the battery polarization problem of the battery module; and the output power of the fan module can be adjusted when the electronic device is turned on, which can make the fan The module can enter the working state with the output power corresponding to the battery parameters, which can improve the timeliness of power adjustment.
  • FIG. 4 is a flowchart 1 of a power adjustment method according to an exemplary embodiment.
  • the power adjustment method shown in FIG. 4 can be applied to the electronic device shown in FIG. 1 .
  • the power adjustment method mainly includes the following steps:
  • Step 410 When the electronic device enters the working state, obtain battery parameters and generate adjustment instructions corresponding to the battery parameters.
  • Step 420 Adjust the output power of the fan module of the electronic device according to the adjustment instruction.
  • the battery parameters may be parameters related to the battery module of the electronic device.
  • the battery parameters may include the remaining power of the battery module, the temperature of the battery module, the operating voltage of the battery module, the operating current of the battery module, etc. parameter.
  • the battery module may include a sensor configured to collect battery parameters.
  • it can include: temperature sensor, etc.
  • the control module of the electronic device can communicate with various sensors in the battery module.
  • the controller can obtain battery parameters through sensors installed in the battery module. Taking the battery parameter as battery temperature and the sensor as a temperature sensor as an example, during the implementation process, the battery temperature can be obtained through the temperature sensor and the temperature can be actively sent to the control module, or the control module can send a request instruction to the temperature sensor. After receiving the request instruction, the sensor collects the battery temperature and sends the battery temperature to the control module and so on.
  • the battery module can actively send battery parameters to the control module, or can obtain battery parameters from the battery module through the control module.
  • the adjustment instructions here may be used to instruct the adjustment of the output power of the fan module of the electronic device.
  • the fan module can work in different working modes, and the output power of the fan module when working in different working modes can be different.
  • the adjustment instruction may carry the target operating mode, target output power or power adjustment value. Taking the target working mode carried in the adjustment command as an example, after the wind turbine module receives the adjustment command, it can switch from the current working mode to the target working mode, where the output power of the wind turbine module working in the current working mode is equal to The fan module has different output power when operating in the target operating mode.
  • the output power of the fan module can be adjusted to the target output power according to the adjustment instruction. That is, after receiving the adjustment instruction, the fan module can adjust the current output power to the target. Output power, where the target output power is different from the current output power.
  • the wind turbine module can adjust the output power based on the power adjustment value, such as reducing the current output power by the power adjustment value or increasing the current output power. Adjustment value.
  • the current output power may be the output power before power adjustment of the fan module. For example, the output power of the fan module preset by the user.
  • the first output power can be written into the adjustment instruction as the target output power, that is, the fan module can be controlled to work at the first output power
  • the second output power can be written into the adjustment instruction as the target output power, that is, the fan module is controlled to work at the second output power
  • the third output power can be written into the adjustment instruction as the target output power, that is, the fan module is controlled to work at the third output power.
  • the target output power of the fan module has a positive or negative correlation with the parameter values in different threshold intervals. For example, when the parameter value of the battery parameter in the second threshold interval is greater than the parameter value of the battery parameter in the first threshold interval, the second output power is greater than the first output power. In some embodiments, there may not be a specific linear relationship between the output power of the wind turbine module and the battery parameters. It can be understood that since the adjustment instructions correspond to battery parameters, adjusting the output power according to the adjustment instructions can be understood as adjusting the output power according to the battery parameters, and the output power after adjusting the output power according to the adjustment instructions can also be related to the battery parameters. correspond. Therefore, the adjusted output power can be applied to the current battery parameters. When the fan module works according to the adjusted output power, the performance of the electronic device is better.
  • battery parameters can be obtained when the electronic device enters the working state, and adjustment instructions corresponding to the battery parameters can be generated; the output power of the fan module of the electronic device can be adjusted according to the adjustment instructions.
  • an adjustment instruction corresponding to the battery parameters is generated, and the output power of the fan module is adjusted according to the adjustment instruction, so that the output power of the fan module can match the battery parameters of the battery module, by making The output power of the fan module is adaptively adjusted with the battery parameters of the battery module, which can reduce the possibility of premature power outage of the battery module due to excessive power of the fan module, allowing the battery module to be fully discharged, thus reducing the impact on the battery. Adverse effects on the battery life of the battery module.
  • step 410 generating an adjustment instruction corresponding to the battery parameter includes:
  • the adjustment instruction is generated; wherein the battery parameters include: battery remaining capacity and/or battery temperature;
  • Adjusting the output power of the fan module of the electronic device according to the adjustment instruction includes:
  • the preset parameter thresholds here may include: thresholds set based on experience or experimental data, the remaining power may be the remaining power of the battery module, and the battery temperature may be the temperature of the surface of the battery module.
  • the lower the battery temperature of the battery module the less power that can be effectively released. Especially at -10°C, the battery module can only release less than 10% of the power. At this time, the battery module More than 90% of the energy cannot be released in time.
  • the battery module's battery polarization is relatively obvious, which triggers the under-voltage protection in advance and causes the battery module to stop discharging.
  • the discharge curve shown in Figure 2 it can be seen that the lower the battery temperature of the battery module, the more obvious the battery polarization phenomenon, and the less power the battery module can effectively discharge.
  • the battery module will trigger under-voltage protection in advance and stop discharging. Among them, when the battery has current passing through it, the phenomenon that the electrode deviates from the equilibrium electrode potential is called electrode polarization.
  • This phenomenon of battery modules triggering under-voltage protection in advance due to battery polarization is especially obvious when the battery temperature is low, the remaining battery power is low, and the output power of the fan module is high. That is to say, when the output power of the fan module is greater than the preset power threshold and the battery parameters are less than the preset parameter threshold, for example, when the remaining power of the battery is small and/or the temperature of the battery is low, if the fan module If the battery module continues to operate at a higher output power, the battery polarization phenomenon of the battery module will become more and more obvious, causing the output voltage of the battery module to continue to decrease, causing the battery module to stop discharging because the output voltage reaches the under-voltage protection value in advance. , making it impossible to effectively release the remaining power of the battery module, shortening the battery life of the electronic device.
  • an output power adjustment instruction is generated that instructs to reduce the fan module, and allows the fan module to adjust according to the Adjust the command to reduce the output power and work according to the reduced output power.
  • the problem of battery polarization can be alleviated by reducing the output power of the fan module, so that the remaining power of the battery module can be effectively released, thereby increasing the battery life of the electronic device.
  • the greater the output power of the fan module the more obvious the battery polarization phenomenon of the battery module will be.
  • the battery polarization phenomenon of the battery module may not be obvious, so the battery module will not trigger the undervoltage protection in advance. In this case, even if the output power of the fan module is not adjusted, the battery module can effectively discharge the remaining power.
  • the battery parameters of the battery module and the current output power of the fan module can be obtained, and then it is first determined whether the current output power of the fan module is greater than the preset power Threshold; when the current output power of the wind turbine module is greater than the preset power threshold, it is then determined whether the battery parameters are less than the preset parameter threshold; when the battery parameters are less than the preset parameter threshold, an adjustment instruction is generated.
  • the preset power threshold here may be the corresponding power value when the battery polarization phenomenon of the battery module reaches a preset level. It is understandable that if the current output power of the fan module is greater than the preset power threshold, it means that the output power of the fan module is high. According to the fact that if the fan module works according to the current output power, it may cause battery polarization of the battery module. more obvious.
  • the output power of the fan module can be reduced, thereby reducing the possibility of polarization of the battery module.
  • step 410 generating the adjustment instruction when the output power of the wind turbine module is greater than a preset power threshold and the battery parameter is less than a preset parameter threshold includes:
  • the adjustment instruction is generated when the output power of the fan module is greater than the preset power threshold, the remaining power is less than the preset power threshold, and/or the battery temperature is less than the preset temperature threshold.
  • the preset power threshold and preset temperature threshold can be thresholds set based on experience or experimental data.
  • the battery life corresponding to the battery life is set to the preset battery threshold, and the battery temperature corresponding to the battery life is set to the preset temperature threshold.
  • the corresponding battery polarization phenomenon is very obvious; when the remaining power of the battery module is less than the preset power threshold or battery temperature When the temperature is less than the preset temperature threshold, the corresponding battery polarization phenomenon is more obvious.
  • the severity of battery polarization can be judged by at least one parameter of the output power of the fan module, the remaining power of the battery module, and the battery temperature, thereby determining the method for reducing the output power of the fan module. opportunity.
  • the adjustment instruction is generated when the remaining power is less than the preset power threshold and/or the battery temperature is less than the preset temperature threshold, the output of the fan module can be reduced when the corresponding battery polarization phenomenon is very obvious or relatively obvious. power.
  • step 410 generating an adjustment instruction corresponding to the battery parameter includes:
  • a reference value is determined according to the weighted margin value and the weighted temperature value, and when the output power of the fan module is greater than the preset power threshold and the reference value is less than the preset reference threshold, the Adjustment instructions.
  • the first weight value and the second weight value here may be weight values set in advance based on experience or experimental data.
  • the power of the battery module can be The remaining capacity and battery temperature are taken into consideration.
  • the fan module based on the output power of the fan module and the reference value obtained based on the battery module's power reserve and battery temperature.
  • the timing of power output is more precise.
  • the proportion of the remaining power and the battery temperature in the power adjustment process can be adjusted by adjusting the first weight value and the second weight value, thereby improving the flexibility of the power adjustment.
  • step 410 generating an adjustment instruction corresponding to the battery parameter includes:
  • a power adjustment value is determined based on the initial output power and the target output power, and the adjustment instruction is generated based on the power adjustment value.
  • the initial output power of the fan module here may be a preset output power, or may be the current output power described in the above embodiment.
  • the initial output power may be the output power corresponding to the working mode preset by the user, or the output power corresponding to the working strategy preset by the control module.
  • the preset power list may include: preset output power corresponding to each battery parameter and initial output power.
  • Each preset output power in the preset power list can be determined experimentally, and has a corresponding relationship with each battery parameter and each initial output power.
  • the target output power may include: the output power obtained after adjusting the initial output power of the wind turbine module. That is, after adjusting the initial output power of the fan module to the target output power, the fan module works with the target output power under the current battery parameters. The battery module will not trigger the undervoltage protection in advance, and the battery module can be The remaining power is effectively released.
  • the current battery parameters can be obtained, and then the preset output power corresponding to the current battery parameters can be searched from the preset power list, and the preset output corresponding to the current battery parameters can be found.
  • the power is determined as the target output power.
  • battery parameters may include: remaining battery capacity and battery temperature. Different battery parameters and different initial output powers correspond to different preset output powers.
  • the target output power you can use the remaining battery capacity of the battery module, the battery temperature and the initial output power of the fan module as a set of search conditions, and search for the preset output corresponding to each set of search conditions from the preset power list.
  • the initial output power of the current fan module is p1
  • the remaining power of the battery module is C2
  • the battery temperature is T2
  • (p1, C2, T2) is used as the search condition
  • the preset power is Find the preset output power corresponding to (p1, C2, T2) in the list, and determine the preset output power P4 corresponding to (p1, C2, T2) as the target output power.
  • the power adjustment value can be determined based on the initial output power and the target output power, and then the initial output power can be adjusted according to the power adjustment value.
  • the difference between the target output power and the initial output power may be determined as the power adjustment value.
  • other methods can also be used to determine the power adjustment value based on the target output power and the initial output power. For example, the ratio of the target output power to the initial output power can be determined, and then the power adjustment value can be determined based on the ratio and the target output power. The above are examples of determining the power adjustment value based on the target output power and the initial output power, and will not be listed here.
  • an adjustment instruction can be generated based on the power adjustment value.
  • the adjustment instruction can not only carry the power adjustment value, but also carry the target operating mode corresponding to the power adjustment value (which can instruct the operating mode of the wind turbine module to be adjusted. for the target working mode).
  • the target output power can be accurately determined from the preset power list. Moreover, determining the target output power from the preset power list can reduce the amount of calculation and improve the efficiency of determining the target output power.
  • the power adjustment method may further include a method of generating a preset power list.
  • FIG. 5 is a flowchart of a method of generating a preset power list according to an exemplary embodiment. As shown in Figure 5, the method of generating a preset power list mainly includes the following steps:
  • Step 510 Obtain the battery life of the electronic device when the fan module operates at each test power.
  • Step 520 When the endurance time is less than the preset duration threshold, adjust the test power and control the fan module to operate at the adjusted test power until the endurance duration is greater than or equal to the preset duration. threshold.
  • Step 530 Determine the test power when the battery life is greater than or equal to the preset duration threshold as the preset output power.
  • Step 540 Generate the preset power list based on the corresponding battery parameters and the preset output power when the wind turbine module operates at the preset output power.
  • each preset output power in the preset power list can be determined experimentally, and has a corresponding relationship with each battery parameter and each initial output power.
  • the wind turbine module can be controlled to work under different test powers, and the battery life of the electronic device under each test power can be obtained.
  • the test power can be adjusted, and the battery life of the electronic device when the wind turbine module operates at the adjusted test power can be obtained. If the battery life of the electronic device when the fan module operates at the adjusted test power is greater than or equal to the preset duration threshold, it can be explained that the battery polarization phenomenon of the battery module when the fan module operates at the adjusted test power is obtained. For improvement, the battery module can effectively discharge the remaining power in this situation.
  • the adjusted test power can be determined as the preset output power corresponding to the initial test power and the test temperature and test power of the battery module.
  • the test power of the fan module is p1
  • the test power of the battery module is C1
  • the test temperature is T1
  • the battery life of the electronic device is less than Default duration threshold.
  • adjust the test power p1 and after each adjustment, obtain the battery life of the electronic device when the fan module operates at the adjusted test power.
  • the test power p1 is adjusted to P1
  • the battery life of the electronic device when the fan module operates at P1 is greater than or equal to the preset duration threshold; then P1 is determined to be the same as the test power p1, test power C1, and test temperature T1 Corresponding preset output power.
  • test power is the initial output power of the wind turbine during the test
  • test power is the remaining power of the battery module during the test
  • test temperature is the battery temperature of the battery module during the test.
  • the preset output power can be accurately determined by continuously adjusting the test power.
  • the method of continuously adjusting the test power to conduct experiments to obtain the preset output power is more reasonable, and can make the determined preset output power more accurate and credible.
  • the method further includes:
  • the battery parameters are obtained, and an adjustment instruction corresponding to the battery parameters is generated.
  • the startup instructions may include: startup instructions for electronic devices. It can be understood that after the electronic device is turned on, an adjustment instruction is generated to adjust the output power of the fan module. In this way, the probability of the fan module working at a higher output power can be reduced, thereby alleviating the battery polarization problem of the battery module; and the output power of the fan module can be adjusted when the electronic device is turned on, which can make the fan The module can enter the working state with the output power corresponding to the battery parameters, which can improve the timeliness of power adjustment.
  • FIG. 6 is a flow chart 2 of a power adjustment method according to an exemplary embodiment. As shown in Figure 6, the power adjustment method mainly includes the following steps:
  • Step 610 When the electronic device enters the working state, obtain the battery parameters and the initial output power of the fan module of the electronic device.
  • the battery parameters can be obtained through various sensors on the battery module, and the initial output power of the wind turbine module can be obtained from the control unit of the wind turbine module.
  • Step 620 Determine whether the initial output power of the fan module is greater than the preset power threshold.
  • the preset power threshold here may be the corresponding power value when the battery polarization phenomenon of the battery module reaches a preset level. It can be understood that if the initial output power of the fan module is greater than the preset power threshold, it means that the output power of the fan module is higher. According to the fact that if the fan module works according to the initial output power, it may cause the battery module’s battery polarization to be relatively high. obvious.
  • Step 630 If the initial output power of the fan module is less than or equal to the preset power threshold, control the fan module to work according to the initial output power.
  • the initial output power of the fan module is less than or equal to the preset power threshold, it can mean that the output power of the fan module is low. According to the fact that if the fan module works according to the initial output power, the battery polarization phenomenon of the battery module will be less obvious. , so the fan module can work according to the initial output power.
  • Step 640 If the initial output power of the fan module is greater than the preset power threshold, determine whether the battery parameters are less than the preset parameter threshold.
  • the battery parameter may include the remaining power level and the battery temperature; the battery parameter being less than the preset parameter threshold may include the remaining power level being less than the preset power threshold, and the battery temperature being less than the preset temperature threshold.
  • the initial output power of the wind turbine module is one of the conditions for judging the degree of battery polarization of the battery module.
  • the battery parameters of the battery module also affect the degree of battery polarization of the battery module. Therefore, when it is determined that the initial output power of the wind turbine module is greater than the preset power threshold, it is also necessary to determine whether the battery parameters are less than the preset parameter threshold.
  • Step 650 If the battery parameter is less than the preset parameter threshold, an adjustment instruction corresponding to the battery parameter is generated, the output power of the fan module is reduced according to the adjustment instruction, and the fan module is controlled to work according to the reduced output power.
  • step 630 is executed to control the fan module to operate according to the initial output power.
  • the fan module If the initial output power of the fan module is greater than the preset power threshold, and the battery parameters are greater than or equal to the preset parameter threshold, it can be explained that when the fan is working under this condition, the polarization phenomenon of the battery module is less obvious, so the fan module The group can work according to the initial output power.
  • the battery parameters of the battery module and the initial output power of the fan module can be obtained when the electronic device enters the working state, and when the initial output power of the fan module is greater than the preset power threshold, and When the battery parameters are less than the preset parameter threshold, an adjustment instruction corresponding to the battery parameter is generated; the wind turbine module can reduce the output power according to the adjustment instruction and work according to the reduced output power.
  • the problem of battery polarization can be alleviated by reducing the output power of the fan module, so that the remaining power of the battery module can be effectively released, thereby extending the battery life of electronic equipment and improving the performance of electronic equipment.
  • An embodiment of the present disclosure provides an electronic device, including:
  • Memory configured to store instructions executable by the processor
  • the processor is configured to: when executed, implement the steps in any of the power adjustment methods in the above embodiments.
  • FIG. 7 is a hardware structure block diagram of an electronic device according to an exemplary embodiment.
  • the electronic device 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
  • the electronic device 700 may include one or more of the following components: a processing component 702 , a memory 704 , a power supply component 706 , a multimedia component 708 , an audio component 710 , an input/output (I/O) interface 712 , and a sensor component 714 , and communication component 716.
  • Processing component 702 generally controls the overall operations of electronic device 700, such as operations associated with display, phone calls, data communications, camera operations, and recording operations.
  • the processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above method.
  • processing component 702 may include one or more modules that facilitate interaction between processing component 702 and other components.
  • processing component 702 may include a multimedia module to facilitate interaction between multimedia component 708 and processing component 702.
  • Memory 704 is configured to store various types of data to support operations at electronic device 700 . Examples of such data include instructions for any application or method operating on the electronic device 700, contact data, phonebook data, messages, pictures, videos, etc.
  • Memory 704 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
  • SRAM static random access memory
  • EEPROM electrically erasable programmable read-only memory
  • EEPROM erasable programmable read-only memory
  • EPROM Programmable read-only memory
  • PROM programmable read-only memory
  • ROM read-only memory
  • magnetic memory flash memory, magnetic or optical disk.
  • Power supply component 706 provides power to various components of electronic device 700 .
  • Power supply components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 700 .
  • Multimedia component 708 includes a screen that provides an output interface between the electronic device 700 and the user.
  • the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user.
  • the touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide action.
  • multimedia component 708 includes a front-facing camera and/or a rear-facing camera.
  • the front camera and/or the rear camera may receive external multimedia data.
  • Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
  • Audio component 710 is configured to output and/or input audio signals.
  • audio component 710 includes a microphone (MIC) configured to receive external audio signals when electronic device 700 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 704 or sent via communication component 716 .
  • audio component 710 also includes a speaker configured to output audio signals.
  • the I/O interface 712 provides an interface between the processing component 702 and a peripheral interface module, which may be a keyboard, a click wheel, a button, etc. These buttons may include, but are not limited to: Home button, Volume buttons, Start button, and Lock button.
  • Sensor component 714 includes one or more sensors configured to provide various aspects of status assessment for electronic device 700 .
  • the sensor component 714 can detect the open/closed state of the electronic device 700, the relative positioning of components, such as the display and keypad of the electronic device 700, the sensor component 714 can also detect the electronic device 700 or an electronic device 700.
  • the position of components changes, the presence or absence of user contact with the electronic device 700 , the orientation or acceleration/deceleration of the electronic device 700 and the temperature of the electronic device 700 change.
  • Sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact.
  • Sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, configured for use in imaging applications.
  • the sensor component 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
  • Communication component 716 is configured to facilitate wired or wireless communication between electronic device 700 and other devices.
  • the electronic device 700 can access a wireless network based on a communication standard, such as WI-FI, 4G or 5G, or a combination thereof.
  • communication component 716 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel.
  • the communications component 716 also includes a near field communications (NFC) module to facilitate short-range communications.
  • NFC near field communications
  • the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
  • RFID radio frequency identification
  • IrDA infrared data association
  • UWB ultra-wideband
  • Bluetooth Bluetooth
  • electronic device 700 may be configured by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmed gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation configured to perform the above method.
  • ASICs application specific integrated circuits
  • DSPs digital signal processors
  • DSPDs digital signal processing devices
  • PLDs programmable logic devices
  • FPGA field programmable A programmed gate array
  • controller microcontroller, microprocessor or other electronic component implementation configured to perform the above method.
  • a non-transitory computer-readable storage medium including instructions such as a memory 704 including instructions, which can be executed by the processor 720 of the electronic device 700 to complete the above method is also provided.
  • the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
  • a non-transitory computer-readable storage medium which when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform a power adjustment method, including:
  • the fan module adjusts the output power according to the adjustment instruction and works according to the adjusted output power.

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)
  • Secondary Cells (AREA)

Abstract

Provided in the embodiments of the present disclosure are an electronic device, a power adjustment method, and a storage medium. The electronic device comprises a battery module; a control module which is connected to the battery module and is configured to acquire battery parameters of the battery module when the electronic device enters a working state, and generate adjustment instructions corresponding to the battery parameters; and a fan module which is connected to the control module and is configured to adjust the output power according to the adjustment instructions and work according to the adjusted output power.

Description

电子设备、功率调整方法及存储介质Electronic equipment, power adjustment method and storage medium 技术领域Technical field
本公开涉及智能电子设备领域,尤其涉及一种电子设备、功率调整方法及存储介质。The present disclosure relates to the field of intelligent electronic devices, and in particular, to an electronic device, a power adjustment method and a storage medium.
背景技术Background technique
随着科技的发展,多种多样的电子设备应运而生,电子设备的使用可以提高用户的生活水平,其中,不乏有些具有风机模组的电子设备。例如,吸尘器可以提高清洁效率且使得清洁更加便捷;空调可以提升用户的舒适度等等。With the development of science and technology, a variety of electronic devices have emerged. The use of electronic devices can improve users' living standards. Among them, there are many electronic devices with fan modules. For example, vacuum cleaners can improve cleaning efficiency and make cleaning more convenient; air conditioners can improve user comfort, etc.
然而,传统的电子设备只能按照预设的功率或者用户选择的功率运行,而无论是按照预设的功率运行,还是按照用户选择的功率运行,电子设备中的风机模组均是工作于固定的输出功率,在该输出功率与电子设备的工作参数不匹配的情况下,会导致电子设备的性能较差。如,在风机模组的输出功率过大时,会导致电子设备的电池提前断电,使得电池无法完全放电,进而对电池的续航能力产生不良影响。However, traditional electronic equipment can only operate according to the preset power or the power selected by the user. Regardless of whether it operates according to the preset power or the power selected by the user, the fan module in the electronic equipment works at a fixed When the output power does not match the operating parameters of the electronic device, the performance of the electronic device will be poor. For example, when the output power of the fan module is too high, the battery of the electronic device will be powered off early, preventing the battery from being fully discharged, which will have a negative impact on the battery's endurance.
发明内容Contents of the invention
为克服相关技术中存在的问题,本公开提供一种电子设备、功率调整方法及存储介质。In order to overcome problems existing in related technologies, the present disclosure provides an electronic device, a power adjustment method and a storage medium.
根据本公开实施例的第一方面,提供一种电子设备,包括:According to a first aspect of an embodiment of the present disclosure, an electronic device is provided, including:
电池模组;battery module;
控制模组,与电池模组连接,配置为在电子设备进入工作状态的情况下,获取电池模组的电池参数,并生成与电池参数对应的调整指令;The control module is connected to the battery module and is configured to obtain the battery parameters of the battery module when the electronic device enters the working state, and generate adjustment instructions corresponding to the battery parameters;
风机模组,与控制模组连接,配置为根据调整指令对输出功率进行调整,并按照调整后的输出功率工作。The fan module is connected to the control module and is configured to adjust the output power according to the adjustment instruction and work according to the adjusted output power.
本公开实施例中,控制模组,配置为在风机模组的输出功率大于预设功率阈值,且电池参数小于预设参数阈值的情况下,生成调整指令;其中,调整指令用于指示降低风机模组的输出功率,电池参数包括:电量余量和/或电池温度;风机模组,配置为根据调整指令降低输出功率,并按照降低后的输出功率工作。In the embodiment of the present disclosure, the control module is configured to generate an adjustment instruction when the output power of the fan module is greater than the preset power threshold and the battery parameter is less than the preset parameter threshold; wherein the adjustment instruction is used to instruct the fan to reduce The output power of the module, the battery parameters include: power reserve and/or battery temperature; the fan module is configured to reduce the output power according to the adjustment instructions and work according to the reduced output power.
本公开实施例中,控制模组,配置为在风机模组的输出功率大于预设功率阈值,且电量余量小于预设电量阈值和/或电池温度小于预设温度阈值的情况下,生成调整指令。In the embodiment of the present disclosure, the control module is configured to generate an adjustment when the output power of the fan module is greater than the preset power threshold, the remaining power is less than the preset power threshold, and/or the battery temperature is less than the preset temperature threshold. instruction.
本公开实施例中,控制模组,配置为根据电量余量和第一权重值确定加权余量值;In the embodiment of the present disclosure, the control module is configured to determine the weighted margin value based on the power margin and the first weight value;
根据电池温度和第二权重值确定加权温度值;根据加权余量值和加权温度值确定参考值,并在 风机模组的输出功率大于预设功率阈值,且参考值小于预设参考阈值的情况下,生成调整指令。The weighted temperature value is determined based on the battery temperature and the second weight value; the reference value is determined based on the weighted margin value and the weighted temperature value, and when the output power of the fan module is greater than the preset power threshold and the reference value is less than the preset reference threshold Next, generate adjustment instructions.
本公开实施例中,控制模组,配置为根据电池参数和风机模组的初始输出功率,从预设功率列表中确定目标输出功率;基于初始输出功率和目标输出功率确定功率调整值,并基于功率调整值生成调整指令。In the embodiment of the present disclosure, the control module is configured to determine the target output power from the preset power list according to the battery parameters and the initial output power of the wind turbine module; determine the power adjustment value based on the initial output power and the target output power, and based on The power adjustment value generates adjustment instructions.
本公开实施例中,控制模组,配置为在风机模组工作于各个测试功率的情况下,获取电子设备的续航时长;在续航时长小于预设时长阈值的情况下,对测试功率进行调整,控制风机模组工作于调整后的测试功率,直至续航时长大于或者等于预设时长阈值;将续航时长大于或者等于预设时长阈值时的测试功率,确定为预设输出功率;获取电池模组的测试温度和测试电量;根据电池模组的测试温度、测试电量和预设输出功率,生成预设功率列表。In the embodiment of the present disclosure, the control module is configured to obtain the battery life of the electronic device when the wind turbine module is working at each test power; when the battery life is less than the preset duration threshold, adjust the test power, Control the fan module to work at the adjusted test power until the battery life is greater than or equal to the preset duration threshold; determine the test power when the battery life is greater than or equal to the preset duration threshold as the preset output power; obtain the battery module's Test temperature and test power; generate a preset power list based on the test temperature, test power and preset output power of the battery module.
本公开实施例中,控制模块,配置为在检测到针对电子设备的开启指令的情况下,获取电池模组的电池参数,并生成与电池参数对应的调整指令。In the embodiment of the present disclosure, the control module is configured to obtain the battery parameters of the battery module and generate an adjustment instruction corresponding to the battery parameters when a turn-on instruction for the electronic device is detected.
根据本公开实施例的第二方面,提供一种功率调整方法,方法应用于第一方面的电子设备,电子设备包括电池模组、控制模组和风机模组,方法包括:According to a second aspect of an embodiment of the present disclosure, a power adjustment method is provided. The method is applied to the electronic device of the first aspect. The electronic device includes a battery module, a control module and a fan module. The method includes:
在电子设备进入工作状态的情况下,获取电池模组的电池参数,并生成与电池参数对应的调整指令;When the electronic device enters the working state, obtain the battery parameters of the battery module and generate adjustment instructions corresponding to the battery parameters;
风机模组根据调整指令对输出功率进行调整,并按照调整后的输出功率工作。The fan module adjusts the output power according to the adjustment instruction and works according to the adjusted output power.
本公开实施例中,生成与电池参数对应的调整指令包括:在风机模组的输出功率大于预设功率阈值,且电池参数小于预设参数阈值的情况下,生成调整指令;其中,电池参数包括:电量余量和/或电池温度;根据调整指令对电子设备的风机模组的输出功率进行调整,包括:根据调整指令降低风机模组的输出功率。In the embodiment of the present disclosure, generating an adjustment instruction corresponding to a battery parameter includes: generating an adjustment instruction when the output power of the wind turbine module is greater than a preset power threshold and the battery parameter is less than a preset parameter threshold; wherein, the battery parameter includes : Power reserve and/or battery temperature; adjusting the output power of the fan module of the electronic device according to the adjustment instruction, including: reducing the output power of the fan module according to the adjustment instruction.
本公开实施例中,在风机模组的输出功率大于预设功率阈值,且电池参数小于预设参数阈值的情况下,生成调整指令,包括:在风机模组的输出功率大于预设功率阈值,且电量余量小于预设电量阈值和/或电池温度小于预设温度阈值的情况下,生成调整指令。In the embodiment of the present disclosure, when the output power of the fan module is greater than the preset power threshold and the battery parameters are less than the preset parameter threshold, generating an adjustment instruction includes: when the output power of the fan module is greater than the preset power threshold, And when the remaining power level is less than the preset power threshold and/or the battery temperature is less than the preset temperature threshold, an adjustment instruction is generated.
本公开实施例中,生成与电池参数对应的调整指令包括:根据电量余量和第一权重值,确定加权余量值;根据电池温度和第二权重值,确定加权温度值;根据加权余量值和加权温度值确定参考值,并在风机模组的输出功率大于预设功率阈值,且参考值小于预设参考阈值的情况下,生成调整指令。In the embodiment of the present disclosure, generating an adjustment instruction corresponding to a battery parameter includes: determining a weighted residual value based on the battery remaining capacity and the first weight value; determining a weighted temperature value based on the battery temperature and the second weight value; and determining a weighted residual value based on the weighted residual capacity. The value and the weighted temperature value determine the reference value, and when the output power of the fan module is greater than the preset power threshold and the reference value is less than the preset reference threshold, an adjustment instruction is generated.
本公开实施例中,生成与电池参数对应的调整指令,包括:根据电池参数和风机模组的初始输出功率,从预设功率列表中确定目标输出功率;基于初始输出功率和目标输出功率确定功率调整值,并基于功率调整值生成调整指令。In the embodiment of the present disclosure, generating adjustment instructions corresponding to battery parameters includes: determining the target output power from a preset power list based on the battery parameters and the initial output power of the wind turbine module; determining the power based on the initial output power and the target output power. adjustment value, and generate adjustment instructions based on the power adjustment value.
本公开实施例中,方法还包括:在风机模组工作于各个测试功率的情况下,获取电子设备的续航时长;在续航时长小于预设时长阈值的情况下,对测试功率进行调整,控制风机模组工作于调整后的测试功率,直至续航时长大于或者等于预设时长阈值;将续航时长大于或者等于预设时长阈值时的测试功率,确定为预设输出功率;根据风机模组工作于预设输出功率时对应的电池参数和预设 输出功率,生成预设功率列表。In the embodiment of the present disclosure, the method also includes: obtaining the battery life of the electronic device when the fan module is working at each test power; when the battery life is less than the preset duration threshold, adjusting the test power and controlling the fan The module works at the adjusted test power until the battery life is greater than or equal to the preset duration threshold; the test power when the battery life is greater than or equal to the preset duration threshold is determined as the preset output power; according to the fan module working at the preset duration threshold Set the corresponding battery parameters and preset output power when output power, and generate a preset power list.
本公开实施例中,方法还包括:在检测到针对电子设备的开启指令的情况下,获取电池参数,并生成与电池参数对应的调整指令。In the embodiment of the present disclosure, the method further includes: when a turn-on instruction for the electronic device is detected, obtaining battery parameters and generating an adjustment instruction corresponding to the battery parameters.
根据本公开实施例的第三方面,提供一种电子设备,包括:According to a third aspect of an embodiment of the present disclosure, an electronic device is provided, including:
处理器;processor;
配置为存储处理器可执行指令的存储器;Memory configured to store instructions executable by the processor;
其中,处理器被配置为:执行时实现上述第二方面中任一种功率调整方法中的步骤。Wherein, the processor is configured to: implement the steps in any one of the power adjustment methods in the second aspect when executing.
根据本公开实施例的第四方面,提供一种非临时性计算机可读存储介质,当存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行上述第二方面中任一种功率调整方法中的步骤。According to a fourth aspect of an embodiment of the present disclosure, a non-transitory computer-readable storage medium is provided, which when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to execute any of the above second aspects. Steps in the power adjustment method.
本公开的实施例提供的技术方案可以包括以下有益效果:The technical solutions provided by the embodiments of the present disclosure may include the following beneficial effects:
在本公开实施例中,控制模组可以在电子设备进入工作状态的情况下,获取电池模组的电池参数,并生成与电池参数对应的调整指令;风机模组可以根据调整指令对输出功率进行调整,并按照调整后的输出功率工作。In the embodiment of the present disclosure, the control module can obtain the battery parameters of the battery module when the electronic device enters the working state, and generate adjustment instructions corresponding to the battery parameters; the wind turbine module can adjust the output power according to the adjustment instructions. Adjust and work according to the adjusted output power.
本公开实施例中,可以生成与电池模组的对应的调整指令,并根据该调整指令对风机模组的输出功率进行调整,能够使得风机模组的输出功率与电池模组的电池参数相匹配,通过使得风机模组的输出功率随着电池模组的电池参数自适应调整,能够减少因为风机模组的功率过大导致电池模组提前断电的可能性,使得电池模组能够完全放电,进而减少对电池模组的续航能力的不良影响。In the embodiment of the present disclosure, an adjustment instruction corresponding to the battery module can be generated, and the output power of the fan module can be adjusted according to the adjustment instruction, so that the output power of the fan module can match the battery parameters of the battery module. , by making the output power of the fan module adaptively adjust with the battery parameters of the battery module, it can reduce the possibility of premature power outage of the battery module due to excessive power of the fan module, allowing the battery module to be fully discharged. This reduces the negative impact on the battery module's endurance.
应当理解的是,以上的一般描述和后文的细节描述仅是示例性和解释性的,并不能限制本公开实施例。It should be understood that the above general description and the following detailed description are only exemplary and explanatory, and do not limit the embodiments of the present disclosure.
附图说明Description of the drawings
此处的附图被并入说明书中并构成本说明书的一部分,示出了符合本公开实施例,并与说明书一起用于解释本公开实施例的原理。The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the disclosure and together with the description serve to explain the principles of the disclosed embodiments.
图1是根据本公开一示例性实施例示出的一种电子设备的结构框图;Figure 1 is a structural block diagram of an electronic device according to an exemplary embodiment of the present disclosure;
图2是根据本公开一示例性实施例示出的电池模组的放电曲线图;Figure 2 is a discharge curve diagram of a battery module according to an exemplary embodiment of the present disclosure;
图3是根据本公开一示例性实施例示出的一种预设功率列表的示意图;Figure 3 is a schematic diagram of a preset power list according to an exemplary embodiment of the present disclosure;
图4是根据本公开一示例性实施例示出的一种功率调整方法的流程图一;Figure 4 is a flowchart 1 of a power adjustment method according to an exemplary embodiment of the present disclosure;
图5是根据本公开一示例性实施例示出的一种生成预设功率列表的方法的流程图;Figure 5 is a flowchart of a method of generating a preset power list according to an exemplary embodiment of the present disclosure;
图6是根据本公开一示例性实施例示出的一种功率调整方法的流程图二;Figure 6 is a flow chart 2 of a power adjustment method according to an exemplary embodiment of the present disclosure;
图7是根据本公开一示例性实施例示出的一种电子设备的硬件结构框图。FIG. 7 is a hardware structure block diagram of an electronic device according to an exemplary embodiment of the present disclosure.
具体实施方式Detailed ways
这里将详细地对示例性实施例进行说明,其示例表示在附图中。下面的描述涉及附图时,除非 另有表示,不同附图中的相同数字表示相同或相似的要素。以下示例性实施例中所描述的实施方式并不代表与本公开实施例相一致的所有实施方式。相反,它们仅是本公开实施例的一些方面相一致的装置和方法的例子。Exemplary embodiments will be described in detail herein, examples of which are illustrated in the accompanying drawings. When the following description refers to the drawings, the same numbers in different drawings refer to the same or similar elements unless otherwise indicated. The implementations described in the following exemplary embodiments do not represent all implementations consistent with embodiments of the present disclosure. Rather, they are merely examples of apparatus and methods consistent with some aspects of embodiments of the present disclosure.
在本公开实施例使用的术语是仅仅出于描述特定实施例的目的,而非旨在限制本公开实施例。在本公开所使用的单数形式的“一种”、“所述”和“该”也旨在包括多数形式,除非上下文清楚地表示其他含义。还应当理解,本文中使用的术语“和/或”是指并包含一个或多个相关联的列出项目的任何或所有可能组合。The terminology used in the embodiments of the present disclosure is for the purpose of describing specific embodiments only and is not intended to limit the embodiments of the present disclosure. As used in this disclosure, the singular forms "a," "the" and "the" are intended to include the plural forms as well, unless the context clearly dictates otherwise. It will also be understood that the term "and/or" as used herein refers to and includes any and all possible combinations of one or more of the associated listed items.
应当理解,尽管在本公开实施例可能采用术语第一、第二、第三等来描述各种信息,但这些信息不应限于这些术语。这些术语仅用来将同一类型的信息彼此区分开。例如,在不脱离本公开实施例范围的情况下,第一信息也可以被称为第二信息,类似地,第二信息也可以被称为第一信息。取决于语境,如在此所使用的词语“如果”可以被解释成为“在……时”或“当……时”或“响应于确定”。It should be understood that although the terms first, second, third, etc. may be used to describe various information in the embodiments of the present disclosure, the information should not be limited to these terms. These terms are only used to distinguish information of the same type from each other. For example, without departing from the scope of the embodiments of the present disclosure, the first information may also be called second information, and similarly, the second information may also be called first information. Depending on the context, the word "if" as used herein may be interpreted as "when" or "when" or "in response to determining."
图1是根据一示例性实施例示出的电子设备的结构框图,如图1所示,所述电子设备主要包括:Figure 1 is a structural block diagram of an electronic device according to an exemplary embodiment. As shown in Figure 1, the electronic device mainly includes:
电池模组110; battery module 110;
控制模组120,与所述电池模组110连接,配置为在所述电子设备进入工作状态的情况下,获取所述电池模组的电池参数,并生成与所述电池参数对应的调整指令;The control module 120 is connected to the battery module 110 and is configured to obtain the battery parameters of the battery module and generate adjustment instructions corresponding to the battery parameters when the electronic device enters the working state;
风机模组130,与所述控制模组120连接,配置为根据所述调整指令对输出功率进行调整,并按照调整后的输出功率工作。The fan module 130 is connected to the control module 120 and is configured to adjust the output power according to the adjustment instruction and work according to the adjusted output power.
这里,电子设备可以包括吸尘器、洗地机、空调、电扇、吹风机以及具有吸尘功能的扫地机器人等。Here, electronic devices may include vacuum cleaners, floor washers, air conditioners, fans, hair dryers, and sweeping robots with vacuum cleaning functions.
可以理解的是,电池模组可以为电子设备提供电能,电池模组可以包括:电池本体和电池本体的外围元器件,如,电池模组还可以包括:配置为采集电池参数的传感器和/或配置为控制电池本体的控制器等。电池模组可以包括:蓄电池。在一些实施例中,电池模组可以为铅酸电池、锂电池或镍氢电池。电池参数可以为与电池模组相关的参数,例如,电池参数可以包括电池模组的剩余电量、电池模组的温度、电池模组的工作电压、电池模组的工作电流等参数。It can be understood that the battery module can provide power for electronic devices. The battery module can include: a battery body and peripheral components of the battery body. For example, the battery module can also include: a sensor configured to collect battery parameters and/or A controller configured to control the battery body, etc. The battery module may include: storage battery. In some embodiments, the battery module may be a lead-acid battery, a lithium battery, or a nickel-metal hydride battery. The battery parameters may be parameters related to the battery module. For example, the battery parameters may include the remaining power of the battery module, the temperature of the battery module, the operating voltage of the battery module, the operating current of the battery module, and other parameters.
在一些实施例中,控制模组可以为电子设备的CPU(central processing unit,中央处理器),可以配置为控制电子设备,或者控制电子设备内的其它模组等。例如,控制模组可以控制电子设备的工作模式,或者控制电子设备中风机模组的输出功率等。In some embodiments, the control module may be a CPU (central processing unit, central processing unit) of the electronic device, and may be configured to control the electronic device, or control other modules in the electronic device, etc. For example, the control module can control the working mode of the electronic device, or control the output power of the wind turbine module of the electronic device, etc.
这里,控制模组可以与电池模组电连接,进而从电池模组中获取电池模组的电池参数,还可以根据电池参数生成与电池参数对应的调整指令。Here, the control module can be electrically connected to the battery module, thereby obtaining the battery parameters of the battery module from the battery module, and can also generate adjustment instructions corresponding to the battery parameters based on the battery parameters.
在一些实施例中,电池模组中可以包括:配置为采集电池参数的传感器,例如,可以包括:温度传感器等。在建立控制模组与电池模组之间的电连接之后,可以实现控制模组与电池模组中的各个传感器之间的通信。例如,控制器可以通过设置于电池模组中传感器获取电池参数。以电池参数是电池温度,传感器是温度传感器为例,在实现的过程中,可以通过温度传感器获取电池温度,并主动将温度发送至控制模组,或者控制模组向温度传感器发送请求指令,温度传感器在接收到该请 求指令之后,采集电池温度,并将电池温度发送至控制模组等。In some embodiments, the battery module may include: a sensor configured to collect battery parameters, for example, may include: a temperature sensor, etc. After establishing the electrical connection between the control module and the battery module, communication between the control module and each sensor in the battery module can be achieved. For example, the controller can obtain battery parameters through sensors installed in the battery module. Taking the battery parameter as the battery temperature and the sensor as a temperature sensor as an example, during the implementation process, the battery temperature can be obtained through the temperature sensor and the temperature can be actively sent to the control module, or the control module can send a request instruction to the temperature sensor. After receiving the request instruction, the sensor collects the battery temperature and sends the battery temperature to the control module and so on.
可以理解为,电池模组可以主动向控制模组发送电池参数,也可以通过控制模组从电池模组获取电池参数。It can be understood that the battery module can actively send battery parameters to the control module, or can obtain battery parameters from the battery module through the control module.
本公开实施例中,控制模组还可以与风机模组连接,可以通过向风机模组下发调整指令,来控制风机模组调整输出功率。可以理解的是,调整指令可以用于指示调整风机模组的输出功率。在一些实施例中,风机模组可以工作于不同的工作模式,风机模组工作于不同工作模式时的输出功率可以不同。在此实施例中,调整指令中可以携带有目标工作模式、目标输出功率或功率调整值。In the embodiment of the present disclosure, the control module can also be connected to the fan module, and can control the fan module to adjust the output power by issuing adjustment instructions to the fan module. It can be understood that the adjustment instruction can be used to instruct the adjustment of the output power of the fan module. In some embodiments, the fan module can work in different working modes, and the output power of the fan module when working in different working modes can be different. In this embodiment, the adjustment instruction may carry the target operating mode, target output power or power adjustment value.
需要说明的是,风机模组可以为电子设备的核心器件,风机模组可以包括风机,可以通过风机模组的工作来实现电子设备的功能。以电子设备是吸尘器为例,在吸尘器中的风机模组工作时,风机的马达会高速转动,从而形成负压,将灰尘和颗粒等异物吸入吸尘器的尘盒中。在另一些实施例中,电子设备还可以为洗地机、空调、电扇等电子设备。It should be noted that the fan module can be a core component of the electronic device. The fan module can include a fan, and the functions of the electronic device can be realized through the work of the fan module. Take an electronic device such as a vacuum cleaner as an example. When the fan module in the vacuum cleaner is working, the fan motor will rotate at a high speed, thereby forming a negative pressure and sucking foreign matter such as dust and particles into the dust box of the vacuum cleaner. In other embodiments, the electronic equipment may also be electronic equipment such as floor washing machines, air conditioners, and electric fans.
以调整指令中携带有目标工作模式为例,在风机模组接收到该调整指令之后,可以由当前工作模式切换至该目标工作模式,其中,风机模组在当前工作模式下工作的输出功率与该风机模组在目标工作模式下工作的输出功率不同。Taking the target working mode carried in the adjustment command as an example, after the wind turbine module receives the adjustment command, it can switch from the current working mode to the target working mode, where the output power of the wind turbine module working in the current working mode is equal to The fan module has different output power when operating in the target operating mode.
在调整指令中携带有目标输出功率的情况下,风机模组接收到该调整指令之后,可以将风机模组当前输出功率调整为目标输出功率,其中,目标输出功率与当前的输出功率不同。When the adjustment instruction carries the target output power, after the fan module receives the adjustment instruction, the current output power of the fan module can be adjusted to the target output power, where the target output power is different from the current output power.
在调整指令中携带有功率调整值的情况下,风机模组接收到该调整指令之后,可以基于功率调整值调整风机模组的输出功率,如将当前输出功率减小功率调整值或将当前输出功率增大功率调整值。这里,当前输出功率可以为对风机模组进行功率调整之前的输出功率。如,用户预先设置的风机模组的输出功率。When the adjustment command carries a power adjustment value, after the fan module receives the adjustment command, it can adjust the output power of the fan module based on the power adjustment value, such as reducing the current output power by the power adjustment value or changing the current output Power increases the power adjustment value. Here, the current output power may be the output power before power adjustment of the wind turbine module. For example, the output power of the fan module preset by the user.
例如,在电池模组的电池参数位于第一阈值区间的情况下,可以将第一输出功率作为目标输出功率写入调整指令中,即可以控制风机模组工作于第一输出功率;在电池模组的电池参数位于第二阈值区间的情况下,可以将第二输出功率作为目标输出功率写入调整指令中,即控制风机模组工作于第二输出功率;在电池模组的电池参数位于第三阈值区间的情况下,可以将第三输出功率作为目标输出功率写入调整指令中,即控制风机模组工作于第三输出功率。For example, when the battery parameters of the battery module are within the first threshold interval, the first output power can be written into the adjustment instruction as the target output power, that is, the fan module can be controlled to work at the first output power; in the battery module When the battery parameters of the group are in the second threshold interval, the second output power can be written into the adjustment instruction as the target output power, that is, the fan module is controlled to work at the second output power; when the battery parameters of the battery module are in the In the case of three threshold intervals, the third output power can be written into the adjustment instruction as the target output power, that is, the fan module is controlled to work at the third output power.
其中,风机模组的目标输出功率与不同阈值区间内的参数值呈正相关关系或者负相关关系。例如,在第二阈值区间的电池参数的参数值大于第一阈值区间的电池参数的参数值的情况下,第二输出功率大于第一输出功率。在一些实施例中,风机模组的输出功率与电池参数之间也可以不存在特定的线性关系。Among them, the target output power of the fan module has a positive or negative correlation with the parameter values in different threshold intervals. For example, when the parameter value of the battery parameter in the second threshold interval is greater than the parameter value of the battery parameter in the first threshold interval, the second output power is greater than the first output power. In some embodiments, there may not be a specific linear relationship between the output power of the wind turbine module and the battery parameters.
可以理解的是,由于调整指令是与电池参数对应的,因此根据调整指令调整输出功率可以理解为根据电池参数调整输出功率,且根据调整指令对输出功率进行调整之后的输出功率也可以与电池参数对应。所以,调整后的输出功率可以适用于当前的电池参数,风机模组按照调整后的输出功率工作时,电子设备的性能更好。It can be understood that since the adjustment instructions correspond to battery parameters, adjusting the output power according to the adjustment instructions can be understood as adjusting the output power according to the battery parameters, and the output power after adjusting the output power according to the adjustment instructions can also be related to the battery parameters. correspond. Therefore, the adjusted output power can be applied to the current battery parameters. When the fan module works according to the adjusted output power, the performance of the electronic device is better.
在本公开实施例中,控制模组可以在电子设备进入工作状态的情况下,获取电池模组的电池参 数,并生成与电池参数对应的调整指令;风机模组可以根据调整指令对输出功率进行调整,并按照调整后的输出功率工作。In the embodiment of the present disclosure, the control module can obtain the battery parameters of the battery module when the electronic device enters the working state, and generate adjustment instructions corresponding to the battery parameters; the wind turbine module can adjust the output power according to the adjustment instructions. Adjust and work according to the adjusted output power.
本公开实施例中,可以生成与电池模组的电池参数对应的调整指令,并根据该调整指令对风机模组的输出功率进行调整,能够使得风机模组的输出功率与电池模组的电池参数相匹配,通过使得风机模组的输出功率随着电池模组的电池参数自适应调整,能够减少因为风机模组的功率过大导致电池模组提前断电的可能性,使得电池模组能够完全放电,进而减少对电池模组的续航能力的不良影响。In the embodiment of the present disclosure, an adjustment instruction corresponding to the battery parameters of the battery module can be generated, and the output power of the fan module can be adjusted according to the adjustment instruction, so that the output power of the fan module can be consistent with the battery parameters of the battery module. By matching the output power of the fan module with the battery parameters of the battery module, it can reduce the possibility of premature power outage of the battery module due to excessive power of the fan module, allowing the battery module to fully Discharge, thereby reducing the adverse impact on the battery module's endurance.
在一些实施例中,所述控制模组,配置为在所述风机模组的输出功率大于预设功率阈值,且所述电池参数小于预设参数阈值的情况下,生成所述调整指令;其中,所述调整指令用于指示降低所述风机模组的输出功率,所述电池参数包括:电量余量和/或电池温度;In some embodiments, the control module is configured to generate the adjustment instruction when the output power of the wind turbine module is greater than a preset power threshold and the battery parameter is less than a preset parameter threshold; wherein , the adjustment instruction is used to instruct to reduce the output power of the fan module, and the battery parameters include: battery remaining capacity and/or battery temperature;
所述风机模组,配置为根据所述调整指令降低输出功率,并按照降低后的输出功率工作。The fan module is configured to reduce the output power according to the adjustment instruction and work according to the reduced output power.
这里,预设参数阈值可以包括:根据经验或根据实验数据设定的阈值,电量余量可以为电池模组的剩余电量,电池温度可以为电池模组表面的温度。Here, the preset parameter threshold may include: a threshold set based on experience or experimental data, the remaining power may be the remaining power of the battery module, and the battery temperature may be the temperature of the surface of the battery module.
图2是根据一示例性实施例示出的电池模组的放电曲线图。图2示出的电池模组在满电量的情况下,在不同电池温度下的放电曲线。如图2所示,电池模组的电池温度越低,可以有效释放的电量就越少,尤其是在-10℃时,电池模组仅能放出不到10%的电量,此时电池模组仍有90%以上的能量无法及时放出。这种情况就是因为电池模组的电池极化现象比较明显,导致提前触发了欠压保护而使得电池模组停止放电。根据图2所示的放电曲线可知,电池模组的电池温度越低,电池极化现象就越明显,电池模组能够有效放出的电量越少。当温度低到一定程度时,电池模组会提前触发欠压保护,从而停止放电。其中,当电池有电流通过,使电极偏离了平衡电极电位的现象,称为电极极化。FIG. 2 is a discharge curve diagram of a battery module according to an exemplary embodiment. Figure 2 shows the discharge curve of the battery module at different battery temperatures when the battery is fully charged. As shown in Figure 2, the lower the battery temperature of the battery module, the less power that can be effectively released. Especially at -10°C, the battery module can only release less than 10% of the power. At this time, the battery module More than 90% of the energy cannot be released in time. This situation is because the battery module's battery polarization is relatively obvious, which triggers the under-voltage protection in advance and causes the battery module to stop discharging. According to the discharge curve shown in Figure 2, it can be seen that the lower the battery temperature of the battery module, the more obvious the battery polarization phenomenon, and the less power the battery module can effectively discharge. When the temperature drops to a certain level, the battery module will trigger under-voltage protection in advance and stop discharging. Among them, when the battery has current passing through it, the phenomenon that the electrode deviates from the equilibrium electrode potential is called electrode polarization.
这种电池模组因为电池极化而提前触发欠压保护的现象,在电池温度低、电池剩余电量低和风机模组的输出功率高的时候尤为明显。也就是说,在风机模组的输出功率大于预设功率阈值,且电池模组的电池参数小于预设参数阈值,例如在电池的剩余电量较少和/或电池的温度较低的情况下,若风机模组以较高的输出功率持续运行,电池模组的电池极化现象则会愈发明显,使得电池模组的输出电压持续降低,从而导致电池模组因输出电压提前达到欠压保护值而停止放电,使得电池模组的剩余电量无法有效释放,缩短了电子设备的续航时长。This phenomenon of battery modules triggering under-voltage protection in advance due to battery polarization is especially obvious when the battery temperature is low, the remaining battery power is low, and the output power of the fan module is high. That is to say, when the output power of the fan module is greater than the preset power threshold and the battery parameters of the battery module are less than the preset parameter threshold, for example, when the remaining power of the battery is less and/or the temperature of the battery is low, If the fan module continues to operate at a higher output power, the battery polarization phenomenon of the battery module will become more and more obvious, causing the output voltage of the battery module to continue to decrease, causing the battery module to reach under-voltage protection early due to the output voltage. The battery module stops discharging when the battery reaches the maximum value, so that the remaining power of the battery module cannot be effectively released, shortening the battery life of the electronic device.
本公开实施例中,控制模组在风机模组的输出功率大于预设功率阈值,且电池参数小于预设参数阈值的情况下,生成指示降低风机模组的输出功率调整指令,并使得风机模组可以根据调整指令降低输出功率,按照降低后的输出功率工作。这样,可以通过降低风机模组的输出功率来减轻电池极化的问题,使得电池模组的剩余电量可以有效放出,从而可以增长电子设备的续航时间。In the embodiment of the present disclosure, when the output power of the fan module is greater than the preset power threshold and the battery parameters are less than the preset parameter threshold, the control module generates an output power adjustment instruction instructing to reduce the fan module, and causes the fan module to The group can reduce the output power according to the adjustment instruction and work according to the reduced output power. In this way, the problem of battery polarization can be alleviated by reducing the output power of the fan module, so that the remaining power of the battery module can be effectively released, thereby increasing the battery life of the electronic device.
可以理解的是,风机模组的输出功率越大,电池模组的电池极化现象越明显。在风机模组的输出功率较低的情况下,电池模组的电池极化现象可能并不明显,从而电池模组不会提前触发欠压保护。在此情况下,即使不对风机模组的输出功率进行调整,电池模组也可以将剩余电量有效放出。It is understandable that the greater the output power of the fan module, the more obvious the battery polarization phenomenon of the battery module will be. When the output power of the wind turbine module is low, the battery polarization phenomenon of the battery module may not be obvious, so the battery module will not trigger the undervoltage protection in advance. In this case, even if the output power of the fan module is not adjusted, the battery module can effectively discharge the remaining power.
因此,在一些实施例中,在电子设备进入工作状态的情况下,可以获取电池模组的电池参数和风机模组当前的输出功率,然后先判断风机模组当前的输出功率是否大于预设功率阈值;在风机模组当前的输出功率大于预设功率阈值的情况下,再判断电池参数是否小于预设参数阈值;在电池参数小于预设参数阈值的情况下,生成调整指令。Therefore, in some embodiments, when the electronic device enters the working state, the battery parameters of the battery module and the current output power of the fan module can be obtained, and then it is first determined whether the current output power of the fan module is greater than the preset power Threshold; when the current output power of the wind turbine module is greater than the preset power threshold, it is then determined whether the battery parameters are less than the preset parameter threshold; when the battery parameters are less than the preset parameter threshold, an adjustment instruction is generated.
这里的预设功率阈值可以为,电池模组的电池极化现象达到预设程度时对应的功率值。可以理解的是,风机模组的当前输出功率大于预设功率阈值可以说明风机模组的输出功率较高,按照风机模组若按照当前输出功率工作,可能会导致电池模组的电池极化现象较明显。The preset power threshold here may be the corresponding power value when the battery polarization phenomenon of the battery module reaches a preset level. It is understandable that if the current output power of the fan module is greater than the preset power threshold, it means that the output power of the fan module is high. According to the fact that if the fan module works according to the current output power, it may cause battery polarization of the battery module. more obvious.
这样,可以在风机模组按照当前的输出功率工作,电池模组的电池极化现象较明显时,降低风机模组的输出功率,进而减少电池模组出现极化现象的可能性。In this way, when the fan module operates at the current output power and the battery module has obvious battery polarization, the output power of the fan module can be reduced, thereby reducing the possibility of polarization of the battery module.
在一些实施例中,所述控制模组,配置为在所述风机模组的输出功率大于预设功率阈值,且所述电量余量小于预设电量阈值和/或所述电池温度小于预设温度阈值的情况下,生成所述调整指令。In some embodiments, the control module is configured to operate when the output power of the fan module is greater than a preset power threshold, and the remaining power is less than a preset power threshold and/or the battery temperature is less than a preset power threshold. In the case of a temperature threshold, the adjustment instruction is generated.
这里的预设电量阈值和预设温度阈值,可以为根据经验或根据实验数据设定的阈值。The preset power threshold and preset temperature threshold here can be thresholds set based on experience or experimental data.
例如,可以通过实验的方式,在风机模组工作在不同输出功率的情况下,改变电池模组的电量余量和电池温度;并获取电子设备在不同电量余量和不同电池温度下的续航时长,在续航时长低于该电量余量对应的正常续航时长的情况下,将该续航时长对应的电量余量设置为预设电量阈值,将该续航时长对应的电池温度设置为预设温度阈值。For example, you can experimentally change the battery module's remaining power and battery temperature when the fan module operates at different output powers; and obtain the battery life of the electronic device under different power levels and different battery temperatures. , when the battery life is lower than the normal battery life corresponding to the battery life, the battery life corresponding to the battery life is set to the preset battery threshold, and the battery temperature corresponding to the battery life is set to the preset temperature threshold.
可以理解的是,电池模组的电量余量越小,对应的电池极化现象越明显;电池模组的电池温度越低,对应的电池极化现象越明显。在电池模组的电量余量小于预设电量阈值且电池温度小于预设温度阈值的情况下,对应的电池极化现象非常明显;在电池模组的电量余量小于预设电量阈值或电池温度小于预设温度阈值的情况下,对应的电池极化现象较为明显。It is understandable that the smaller the power reserve of the battery module, the more obvious the corresponding battery polarization phenomenon; the lower the battery temperature of the battery module, the more obvious the corresponding battery polarization phenomenon. When the remaining power of the battery module is less than the preset power threshold and the battery temperature is less than the preset temperature threshold, the corresponding battery polarization phenomenon is very obvious; when the remaining power of the battery module is less than the preset power threshold or battery temperature When the temperature is less than the preset temperature threshold, the corresponding battery polarization phenomenon is more obvious.
本公开实施例中,可以通过风机模组的输出功率,以及电池模组的电量余量和/或电池温度中的来判断电池极化的严重性,从而判断降低风机模组的输出功率的时机。在电量余量小于预设电量阈值和/或电池温度小于预设温度阈值的情况下生成调整指令,则可以在对应的电池极化现象非常明显或较为明显的情况下,降低风机模组的输出功率。In the embodiment of the present disclosure, the severity of battery polarization can be judged by the output power of the fan module, the remaining power of the battery module and/or the battery temperature, thereby determining the timing of reducing the output power of the fan module. . When the adjustment instruction is generated when the remaining power is less than the preset power threshold and/or the battery temperature is less than the preset temperature threshold, the output of the fan module can be reduced when the corresponding battery polarization phenomenon is very obvious or relatively obvious. power.
在一些实施例中,所述控制模组,配置为根据所述电量余量和第一权重值确定加权余量值;In some embodiments, the control module is configured to determine a weighted balance value based on the power balance and the first weight value;
根据所述电池温度和第二权重值确定加权温度值;Determine a weighted temperature value based on the battery temperature and the second weight value;
根据所述加权余量值和所述加权温度值确定参考值,并在所述风机模组的输出功率大于预设功率阈值,且所述参考值小于预设参考阈值的情况下,生成所述调整指令。A reference value is determined according to the weighted margin value and the weighted temperature value, and when the output power of the fan module is greater than the preset power threshold and the reference value is less than the preset reference threshold, the Adjustment instructions.
这里的第一权重值和第二权重值可以为预先根据经验或根据实验数据设定的权重值。The first weight value and the second weight value here may be weight values set in advance based on experience or experimental data.
可以理解的是,仅通过电量余量或电池温度中的一种参数,判断降低风机模组输出功率的时机,较为片面。通过根据电量余量和第一权重值确定加权余量值,根据电池温度和第二权重值确定加权温度值,并根据加权余量值和加权温度值确定参考值,可以将电池模组的电量余量和电池温度综合考虑。It is understandable that it is relatively one-sided to judge the timing of reducing the output power of the fan module through only one parameter, the remaining power or the battery temperature. By determining the weighted residual value based on the remaining power level and the first weighting value, determining the weighted temperature value based on the battery temperature and the second weighting value, and determining the reference value based on the weighted residual value and the weighted temperature value, the power of the battery module can be The remaining capacity and battery temperature are taken into consideration.
这样,综合考虑电池模组的电量余量和电池温度,得到参考值之后,基于风机模组的输出功率 和根据电池模组的电量余量和电池温度得到的参考值,来判断降低风机模组输出功率的时机,更加精确。且在实现的过程中,可以通过调整第一权重值和第二权重值,来调整电量余量和电池温度在功率调整过程中的比重,进而提高功率调整的灵活性。In this way, after comprehensively considering the battery module's power reserve and battery temperature, and obtaining the reference value, it is judged to reduce the fan module based on the output power of the fan module and the reference value obtained based on the battery module's power reserve and battery temperature. The timing of power output is more precise. And during the implementation process, the proportion of the remaining power and the battery temperature in the power adjustment process can be adjusted by adjusting the first weight value and the second weight value, thereby improving the flexibility of the power adjustment.
在一些实施例中,所述控制模组,配置为根据所述电池参数和所述风机模组的初始输出功率,从预设功率列表中确定目标输出功率;In some embodiments, the control module is configured to determine the target output power from a preset power list based on the battery parameters and the initial output power of the wind turbine module;
基于所述初始输出功率和所述目标输出功率确定功率调整值,并基于所述功率调整值生成所述调整指令。A power adjustment value is determined based on the initial output power and the target output power, and the adjustment instruction is generated based on the power adjustment value.
这里的风机模组的初始输出功率可以为预先设置的输出功率,可以为上述实施例中所述的当前输出功率。例如,初始输出功率可以是用户预先设置的工作模式对应的输出功率,或者控制模组预先设置的工作策略对应的输出功率。The initial output power of the fan module here may be a preset output power, or may be the current output power described in the above embodiment. For example, the initial output power may be the output power corresponding to the working mode preset by the user, or the output power corresponding to the working strategy preset by the control module.
在一些实施例中,预设功率列表中可以包括:各个电池参数和初始输出功率对应的预设输出功率。预设功率列表中的各个预设输出功率,可以是根据实验的方式确定的,且与各个电池参数和各个初始输出功率具有对应关系。目标输出功率可以包括:降低风机模组的初始输出功率之后,得到的输出功率。即,在将风机模组的初始输出功率降低为目标输出功率之后,风机模组以目标输出功率在当前的电池参数下工作,电池模组不会提前触发欠压保护,可以将电池模组的剩余电量有效释放。In some embodiments, the preset power list may include: preset output power corresponding to each battery parameter and initial output power. Each preset output power in the preset power list can be determined experimentally, and has a corresponding relationship with each battery parameter and each initial output power. The target output power may include: the output power obtained after reducing the initial output power of the wind turbine module. That is, after reducing the initial output power of the fan module to the target output power, the fan module operates at the target output power under the current battery parameters. The battery module will not trigger the undervoltage protection in advance, and the battery module can be The remaining power is effectively released.
在确定目标输出功率的过程中,可以获取当前的电池参数,然后从预设功率列表中查找与当前的电池参数对应的预设输出功率,将查找到的与当前的电池参数对应的预设输出功率确定为目标输出功率。In the process of determining the target output power, the current battery parameters can be obtained, and then the preset output power corresponding to the current battery parameters can be searched from the preset power list, and the preset output corresponding to the current battery parameters can be found. The power is determined as the target output power.
图3是根据一示例性实施例示出的预设功率列表的示意图,如图3所示,电池参数可以包括:电量余量和电池温度。不同的电池参数和不同的初始输出功率对应的预设输出功率不同。FIG. 3 is a schematic diagram of a preset power list according to an exemplary embodiment. As shown in FIG. 3 , battery parameters may include: battery remaining capacity and battery temperature. Different battery parameters and different initial output powers correspond to different preset output powers.
在确定目标输出功率时,可以以电池模组的电量余量、电池温度和风机模组的初始输出功率作为一组查找条件,从预设功率列表中查找与各组查找条件对应的预设输出功率。例如,在当前的风机模组的初始输出功率为p1,电池模组的电量余量为C2,电池温度为T2的情况下,则以(p1,C2,T2)作为查找条件,从预设功率列表中查找与(p1,C2,T2)对应的预设输出功率,将与(p1,C2,T2)对应的预设输出功率P4确定为目标输出功率。When determining the target output power, you can use the remaining battery capacity of the battery module, the battery temperature and the initial output power of the fan module as a set of search conditions, and search for the preset output corresponding to each set of search conditions from the preset power list. power. For example, if the initial output power of the current fan module is p1, the remaining power of the battery module is C2, and the battery temperature is T2, then (p1, C2, T2) is used as the search condition, and the preset power is Find the preset output power corresponding to (p1, C2, T2) in the list, and determine the preset output power P4 corresponding to (p1, C2, T2) as the target output power.
在得到目标输出功率之后,可以基于初始输出功率和目标输出功率确定功率调整值,进而根据该功率调整值对初始输出功率进行调整,如根据功率调整值降低初始输出功率。在一些实施例中,可以将目标输出功率与初始输出功率的差值确定为功率调整值。当然,也可以利用其他方式,根据目标输出功率和初始输出功率确定功率调整值,如,可以确定目标输出功率与初始输出功率的比值,然后根据比值和目标输出功率,确定功率调整值。以上是根据目标输出功率和初始输出功率确定功率调整值的示例说明,在此不一一列举。After the target output power is obtained, the power adjustment value can be determined based on the initial output power and the target output power, and then the initial output power can be adjusted according to the power adjustment value, such as reducing the initial output power according to the power adjustment value. In some embodiments, the difference between the target output power and the initial output power may be determined as the power adjustment value. Of course, other methods can also be used to determine the power adjustment value based on the target output power and the initial output power. For example, the ratio of the target output power to the initial output power can be determined, and then the power adjustment value can be determined based on the ratio and the target output power. The above are examples of determining the power adjustment value based on the target output power and the initial output power, and will not be listed here.
在得到功率调整值之后,可以基于功率调整值生成调整指令,其中,调整指令不仅可以携带功率调整值,还可以携带与功率调整值对应的目标工作模式(可以指示将风机模组的工作模式调整为 目标工作模式)。After the power adjustment value is obtained, an adjustment instruction can be generated based on the power adjustment value. The adjustment instruction can not only carry the power adjustment value, but also carry the target operating mode corresponding to the power adjustment value (which can instruct the operating mode of the wind turbine module to be adjusted. for the target working mode).
这样,可以精确地从预设功率列表中确定出目标输出功率。并且,从预设功率列表中确定目标输出功率,可以减少计算量,提高确定目标输出功率的效率。In this way, the target output power can be accurately determined from the preset power list. Moreover, determining the target output power from the preset power list can reduce the amount of calculation and improve the efficiency of determining the target output power.
在一些实施例中,所述控制模组,配置为在所述风机模组工作于各个测试功率的情况下,获取所述电子设备的续航时长;In some embodiments, the control module is configured to obtain the battery life of the electronic device when the fan module operates at each test power;
在所述续航时长小于预设时长阈值的情况下,对所述测试功率进行调整,控制所述风机模组工作于调整后的测试功率,直至所述续航时长大于或者等于预设时长阈值;When the endurance time is less than the preset duration threshold, adjust the test power and control the fan module to operate at the adjusted test power until the endurance duration is greater than or equal to the preset duration threshold;
将所述续航时长大于或者等于预设时长阈值时的测试功率,确定为预设输出功率;Determine the test power when the battery life is greater than or equal to the preset duration threshold as the preset output power;
获取所述电池模组的测试温度和测试电量;Obtain the test temperature and test power of the battery module;
根据所述电池模组的测试温度、测试电量和所述预设输出功率,生成预设功率列表。A preset power list is generated according to the test temperature, test power and the preset output power of the battery module.
这里,预设功率列表中的各个预设输出功率,可以是根据实验的方式确定的,且与各个电池参数和各个初始输出功率具有对应关系。在确定预设功率列表中的各个预设输出功率的过程中,可以控制风机模组工作于不同的测试功率下,并获取电子设备在各个测试功率下的续航时长。Here, each preset output power in the preset power list can be determined experimentally, and has a corresponding relationship with each battery parameter and each initial output power. In the process of determining each preset output power in the preset power list, the wind turbine module can be controlled to work under different test powers, and the battery life of the electronic device under each test power can be obtained.
可以理解的是,在电子设备的续航时长小于预设时长阈值时,可以说明电池模组的剩余电量没有全部释放,即在此情况下电池模组的电池极化现象非常明显。因此,可以在续航时长小于预设时长阈值的情况下,对测试功率进行调整,并获取电子设备在风机模组工作于调整后的测试功率下的续航时长。It can be understood that when the battery life of the electronic device is less than the preset duration threshold, it means that the remaining power of the battery module has not been fully released, that is, in this case, the battery polarization phenomenon of the battery module is very obvious. Therefore, when the battery life is less than the preset duration threshold, the test power can be adjusted, and the battery life of the electronic device when the wind turbine module operates at the adjusted test power can be obtained.
若电子设备在风机模组工作于调整后的测试功率下的续航时长大于或等于预设时长阈值,则可以说明电池模组在风机模组工作于调整后的测试功率时的电池极化现象得到了改善,电池模组在此情况下可以将剩余电量有效放出。此时,则可以将调整后的测试功率确定为,与初始的测试功率和电池模组的测试温度和测试电量对应的预设输出功率。If the battery life of the electronic device when the fan module operates at the adjusted test power is greater than or equal to the preset duration threshold, it can be explained that the battery polarization phenomenon of the battery module when the fan module operates at the adjusted test power is obtained. For improvement, the battery module can effectively discharge the remaining power in this situation. At this time, the adjusted test power can be determined as the preset output power corresponding to the initial test power and the test temperature and test power of the battery module.
例如,在进行实验以确定预设输出功率的过程中,测试得到在风机模组的测试功率为p1,电池模组的测试电量为C1,测试温度为T1的情况下,电子设备的续航时长小于预设时长阈值。则对测试功率p1进行调整,并在每次调整之后,获取电子设备在风机模组工作于调整后的测试功率下的续航时长。在将测试功率p1调整至P1的情况下,电子设备在风机模组工作于P1下的续航时长大于或等于预设时长阈值;则将P1确定为与测试功率p1,测试电量C1,测试温度T1对应的预设输出功率。For example, in the process of conducting experiments to determine the preset output power, it was found that when the test power of the fan module is p1, the test power of the battery module is C1, and the test temperature is T1, the battery life of the electronic device is less than Default duration threshold. Then adjust the test power p1, and after each adjustment, obtain the battery life of the electronic device when the fan module operates at the adjusted test power. When the test power p1 is adjusted to P1, the battery life of the electronic device when the fan module operates at P1 is greater than or equal to the preset duration threshold; then P1 is determined to be the same as the test power p1, test power C1, and test temperature T1 Corresponding preset output power.
可以理解的是,测试功率为测试过程中风机的初始输出功率,测试电量为测试时电池模组的剩余电量,测试温度为测试时电池模组的电池温度。It can be understood that the test power is the initial output power of the wind turbine during the test, the test power is the remaining power of the battery module during the test, and the test temperature is the battery temperature of the battery module during the test.
这样,可以通过不断调整测试功率,来准确地确定出预设输出功率。并且,通过不断调整测试功率来进行实验得到的预设输出功率的更加合理,能够使得确定的预设输出功率具有依据,更加准确可信。In this way, the preset output power can be accurately determined by continuously adjusting the test power. Moreover, by continuously adjusting the test power to conduct experiments, the preset output power obtained is more reasonable, which can make the determined preset output power more accurate and credible.
在一些实施例中,所述控制模块,配置为在检测到针对所述电子设备的开启指令的情况下,获取所述电池模组的电池参数,并生成与所述电池参数对应的调整指令。In some embodiments, the control module is configured to obtain the battery parameters of the battery module and generate an adjustment instruction corresponding to the battery parameters when a turn-on instruction for the electronic device is detected.
这里的开启指令可以包括:针对电子设备的开机指令。可以理解的是,在电子设备开机之后,即生成调整指令,调整风机模组的输出功率。这样,可以减少风机模组以较高的输出功率工作的概率,从而减轻电池模组的电池极化问题;且在电子设备开机的时候就可以对风机模组的输出功率进行调整,能够使得风机模组能够以与电池参数对应的输出功率进入工作状态,能够提高功率调整的及时性。The startup instructions here may include: startup instructions for electronic devices. It can be understood that after the electronic device is turned on, an adjustment instruction is generated to adjust the output power of the fan module. In this way, the probability of the fan module working at a higher output power can be reduced, thereby alleviating the battery polarization problem of the battery module; and the output power of the fan module can be adjusted when the electronic device is turned on, which can make the fan The module can enter the working state with the output power corresponding to the battery parameters, which can improve the timeliness of power adjustment.
图4是根据一示例性实施例示出的一种功率调整方法的流程图一。图4所示的功率调整方法可以应用于图1所示的电子设备。如图4所示,所述功率调整方法主要包括如下步骤:Figure 4 is a flowchart 1 of a power adjustment method according to an exemplary embodiment. The power adjustment method shown in FIG. 4 can be applied to the electronic device shown in FIG. 1 . As shown in Figure 4, the power adjustment method mainly includes the following steps:
步骤410,在所述电子设备进入工作状态的情况下,获取电池参数,并生成与所述电池参数对应的调整指令。Step 410: When the electronic device enters the working state, obtain battery parameters and generate adjustment instructions corresponding to the battery parameters.
步骤420,根据所述调整指令对所述电子设备的风机模组的输出功率进行调整。Step 420: Adjust the output power of the fan module of the electronic device according to the adjustment instruction.
这里,电池参数可以为与电子设备的电池模组相关的参数,例如,电池参数可以包括电池模组的剩余电量、电池模组的温度、电池模组的工作电压、电池模组的工作电流等参数。电池模组中可以包括配置为采集电池参数的传感器。例如,可以包括:温度传感器等。电子设备的控制模组可以与电池模组中的各个传感器通信。例如,控制器可以通过设置于电池模组中传感器获取电池参数。以电池参数是电池温度,传感器是温度传感器为例,在实现的过程中,可以通过温度传感器获取电池温度,并主动将温度发送至控制模组,或者控制模组向温度传感器发送请求指令,温度传感器在接收到该请求指令之后,采集电池温度,并将电池温度发送至控制模组等。Here, the battery parameters may be parameters related to the battery module of the electronic device. For example, the battery parameters may include the remaining power of the battery module, the temperature of the battery module, the operating voltage of the battery module, the operating current of the battery module, etc. parameter. The battery module may include a sensor configured to collect battery parameters. For example, it can include: temperature sensor, etc. The control module of the electronic device can communicate with various sensors in the battery module. For example, the controller can obtain battery parameters through sensors installed in the battery module. Taking the battery parameter as battery temperature and the sensor as a temperature sensor as an example, during the implementation process, the battery temperature can be obtained through the temperature sensor and the temperature can be actively sent to the control module, or the control module can send a request instruction to the temperature sensor. After receiving the request instruction, the sensor collects the battery temperature and sends the battery temperature to the control module and so on.
可以理解为,电池模组可以主动向控制模组发送电池参数,也可以通过控制模组从电池模组获取电池参数。It can be understood that the battery module can actively send battery parameters to the control module, or can obtain battery parameters from the battery module through the control module.
这里的调整指令可以用于指示调整电子设备的风机模组的输出功率。在一些实施例中,风机模组可以工作于不同的工作模式,风机模组工作于不同工作模式时的输出功率可以不同。在此实施例中,调整指令中可以携带有目标工作模式、目标输出功率或功率调整值。以调整指令中携带有目标工作模式为例,在风机模组接收到该调整指令之后,可以由当前工作模式切换至该目标工作模式,其中,风机模组在当前工作模式下工作的输出功率与该风机模组在目标工作模式下工作的输出功率不同。The adjustment instructions here may be used to instruct the adjustment of the output power of the fan module of the electronic device. In some embodiments, the fan module can work in different working modes, and the output power of the fan module when working in different working modes can be different. In this embodiment, the adjustment instruction may carry the target operating mode, target output power or power adjustment value. Taking the target working mode carried in the adjustment command as an example, after the wind turbine module receives the adjustment command, it can switch from the current working mode to the target working mode, where the output power of the wind turbine module working in the current working mode is equal to The fan module has different output power when operating in the target operating mode.
在调整指令中携带有目标输出功率的情况下,可以根据调整指令将风机模组的输出功率调整为目标输出功率,即风机模组在接收到该调整指令之后,可以将当前输出功率调整为目标输出功率,其中,目标输出功率与当前的输出功率不同。When the adjustment instruction carries the target output power, the output power of the fan module can be adjusted to the target output power according to the adjustment instruction. That is, after receiving the adjustment instruction, the fan module can adjust the current output power to the target. Output power, where the target output power is different from the current output power.
在调整指令中携带有功率调整值的情况下,风机模组接收到该调整指令之后,可以基于功率调整值调整输出功率,如将当前输出功率减小功率调整值或将当前输出功率增大功率调整值。这里,当前输出功率可以为对风机模组进行功率调整之前的输出功率。如,用户预先设置的风机模组的输出功率。When the adjustment command carries a power adjustment value, after receiving the adjustment command, the wind turbine module can adjust the output power based on the power adjustment value, such as reducing the current output power by the power adjustment value or increasing the current output power. Adjustment value. Here, the current output power may be the output power before power adjustment of the fan module. For example, the output power of the fan module preset by the user.
例如,在电池模组的电池参数位于第一阈值区间的情况下,可以将第一输出功率作为目标输出功率写入调整指令中,即可以控制风机模组工作于第一输出功率;在电池模组的电池参数位于第二 阈值区间的情况下,可以将第二输出功率作为目标输出功率写入调整指令中,即控制风机模组工作于第二输出功率;在电池模组的电池参数位于第三阈值区间的情况下,可以将第三输出功率作为目标输出功率写入调整指令中,即控制风机模组工作于第三输出功率。For example, when the battery parameters of the battery module are within the first threshold interval, the first output power can be written into the adjustment instruction as the target output power, that is, the fan module can be controlled to work at the first output power; in the battery module When the battery parameters of the group are in the second threshold interval, the second output power can be written into the adjustment instruction as the target output power, that is, the fan module is controlled to work at the second output power; when the battery parameters of the battery module are in the In the case of three threshold intervals, the third output power can be written into the adjustment instruction as the target output power, that is, the fan module is controlled to work at the third output power.
其中,风机模组的目标输出功率与不同阈值区间内的参数值呈正相关关系或者负相关关系。例如,在第二阈值区间的电池参数的参数值大于第一阈值区间的电池参数的参数值的情况下,第二输出功率大于第一输出功率。在一些实施例中,风机模组的输出功率与电池参数之间也可以不存在特定的线性关系。可以理解的是,由于调整指令是与电池参数对应的,因此根据调整指令调整输出功率可以理解为根据电池参数调整输出功率,且根据调整指令对输出功率进行调整之后的输出功率也可以与电池参数对应。所以,调整后的输出功率可以适用于当前的电池参数,风机模组按照调整后的输出功率工作时,电子设备的性能更好。Among them, the target output power of the fan module has a positive or negative correlation with the parameter values in different threshold intervals. For example, when the parameter value of the battery parameter in the second threshold interval is greater than the parameter value of the battery parameter in the first threshold interval, the second output power is greater than the first output power. In some embodiments, there may not be a specific linear relationship between the output power of the wind turbine module and the battery parameters. It can be understood that since the adjustment instructions correspond to battery parameters, adjusting the output power according to the adjustment instructions can be understood as adjusting the output power according to the battery parameters, and the output power after adjusting the output power according to the adjustment instructions can also be related to the battery parameters. correspond. Therefore, the adjusted output power can be applied to the current battery parameters. When the fan module works according to the adjusted output power, the performance of the electronic device is better.
在本公开实施例中,可以在电子设备进入工作状态的情况下,获取电池参数,并生成与电池参数对应的调整指令;根据调整指令对电子设备的风机模组的输出功率进行调整。本公开实施例中,生成与电池参数对应的调整指令,并根据该调整指令对风机模组的输出功率进行调整,能够使得风机模组的输出功率与电池模组的电池参数相匹配,通过使得风机模组的输出功率随着电池模组的电池参数自适应调整,能够减少因为风机模组的功率过大导致电池模组提前断电的可能性,使得电池模组能够完全放电,进而减少对电池模组的续航能力的不良影响。In the embodiment of the present disclosure, battery parameters can be obtained when the electronic device enters the working state, and adjustment instructions corresponding to the battery parameters can be generated; the output power of the fan module of the electronic device can be adjusted according to the adjustment instructions. In the embodiment of the present disclosure, an adjustment instruction corresponding to the battery parameters is generated, and the output power of the fan module is adjusted according to the adjustment instruction, so that the output power of the fan module can match the battery parameters of the battery module, by making The output power of the fan module is adaptively adjusted with the battery parameters of the battery module, which can reduce the possibility of premature power outage of the battery module due to excessive power of the fan module, allowing the battery module to be fully discharged, thus reducing the impact on the battery. Adverse effects on the battery life of the battery module.
在一些实施例中,在步骤410中,所述生成与所述电池参数对应的调整指令包括:In some embodiments, in step 410, generating an adjustment instruction corresponding to the battery parameter includes:
在所述风机模组的输出功率大于预设功率阈值,且所述电池参数小于预设参数阈值的情况下,生成所述调整指令;其中,所述电池参数包括:电量余量和/或电池温度;When the output power of the fan module is greater than the preset power threshold and the battery parameter is less than the preset parameter threshold, the adjustment instruction is generated; wherein the battery parameters include: battery remaining capacity and/or battery temperature;
所述根据所述调整指令对所述电子设备的风机模组的输出功率进行调整,包括:Adjusting the output power of the fan module of the electronic device according to the adjustment instruction includes:
根据所述调整指令降低所述风机模组的输出功率。Reduce the output power of the fan module according to the adjustment instruction.
这里的预设参数阈值可以包括:根据经验或根据实验数据设定的阈值,电量余量可以为电池模组的剩余电量,电池温度可以为电池模组表面的温度。The preset parameter thresholds here may include: thresholds set based on experience or experimental data, the remaining power may be the remaining power of the battery module, and the battery temperature may be the temperature of the surface of the battery module.
如图2所示,电池模组的电池温度越低,可以有效释放的电量就越少,尤其是在-10℃时,电池模组仅能放出不到10%的电量,此时电池模组仍有90%以上的能量无法及时放出。这种情况就是因为电池模组的电池极化现象比较明显,导致提前触发了欠压保护而使得电池模组停止放电。根据图2所示的放电曲线可知,电池模组的电池温度越低,电池极化现象就越明显,电池模组能够有效放出的电量越少。当温度低到一定程度时,电池模组会提前触发欠压保护,从而停止放电。其中,当电池有电流通过,使电极偏离了平衡电极电位的现象,称为电极极化。As shown in Figure 2, the lower the battery temperature of the battery module, the less power that can be effectively released. Especially at -10°C, the battery module can only release less than 10% of the power. At this time, the battery module More than 90% of the energy cannot be released in time. This situation is because the battery module's battery polarization is relatively obvious, which triggers the under-voltage protection in advance and causes the battery module to stop discharging. According to the discharge curve shown in Figure 2, it can be seen that the lower the battery temperature of the battery module, the more obvious the battery polarization phenomenon, and the less power the battery module can effectively discharge. When the temperature drops to a certain level, the battery module will trigger under-voltage protection in advance and stop discharging. Among them, when the battery has current passing through it, the phenomenon that the electrode deviates from the equilibrium electrode potential is called electrode polarization.
这种电池模组因为电池极化而提前触发欠压保护的现象,在电池温度低、电池剩余电量低和风机模组的输出功率高的时候尤为明显。也就是说,在风机模组的输出功率大于预设功率阈值,且电池参数小于预设参数阈值,例如在电池的剩余电量较少和/或电池的温度较低的情况下,若风机模组以较高的输出功率持续运行,电池模组的电池极化现象则会愈发明显,使得电池模组的输出电压持续降低,从而导致电池模组因输出电压提前达到欠压保护值而停止放电,使得电池模组的剩余电量 无法有效释放,缩短了电子设备的续航时长。This phenomenon of battery modules triggering under-voltage protection in advance due to battery polarization is especially obvious when the battery temperature is low, the remaining battery power is low, and the output power of the fan module is high. That is to say, when the output power of the fan module is greater than the preset power threshold and the battery parameters are less than the preset parameter threshold, for example, when the remaining power of the battery is small and/or the temperature of the battery is low, if the fan module If the battery module continues to operate at a higher output power, the battery polarization phenomenon of the battery module will become more and more obvious, causing the output voltage of the battery module to continue to decrease, causing the battery module to stop discharging because the output voltage reaches the under-voltage protection value in advance. , making it impossible to effectively release the remaining power of the battery module, shortening the battery life of the electronic device.
本公开实施例中,在风机模组的输出功率大于预设功率阈值,且电池参数小于预设参数阈值的情况下,生成指示降低风机模组的输出功率调整指令,并使得风机模组可以根据调整指令降低输出功率,并按照降低后的输出功率工作。这样,可以通过降低风机模组的输出功率来减轻电池极化的问题,使得电池模组的剩余电量可以有效放出,从而可以增长电子设备的续航时间。In the embodiment of the present disclosure, when the output power of the fan module is greater than the preset power threshold and the battery parameters are less than the preset parameter threshold, an output power adjustment instruction is generated that instructs to reduce the fan module, and allows the fan module to adjust according to the Adjust the command to reduce the output power and work according to the reduced output power. In this way, the problem of battery polarization can be alleviated by reducing the output power of the fan module, so that the remaining power of the battery module can be effectively released, thereby increasing the battery life of the electronic device.
可以理解的是,风机模组的输出功率越大,电池模组的电池极化现象越明显。在风机模组的输出功率较低的情况下,电池模组的电池极化现象可能并不明显,从而电池模组不会提前触发欠压保护。在此情况下,即使不对风机模组的输出功率进行调整,电池模组也可以将剩余电量有效放出。It is understandable that the greater the output power of the fan module, the more obvious the battery polarization phenomenon of the battery module will be. When the output power of the wind turbine module is low, the battery polarization phenomenon of the battery module may not be obvious, so the battery module will not trigger the undervoltage protection in advance. In this case, even if the output power of the fan module is not adjusted, the battery module can effectively discharge the remaining power.
因此,在一些实施例中,在电子设备进入工作状态的情况下,可以获取电池模组的电池参数和风机模组的当前输出功率,然后先判断风机模组的当前输出功率是否大于预设功率阈值;在风机模组的当前输出功率大于预设功率阈值的情况下,再判断电池参数是否小于预设参数阈值;在电池参数小于预设参数阈值的情况下,生成调整指令。Therefore, in some embodiments, when the electronic device enters the working state, the battery parameters of the battery module and the current output power of the fan module can be obtained, and then it is first determined whether the current output power of the fan module is greater than the preset power Threshold; when the current output power of the wind turbine module is greater than the preset power threshold, it is then determined whether the battery parameters are less than the preset parameter threshold; when the battery parameters are less than the preset parameter threshold, an adjustment instruction is generated.
这里的预设功率阈值可以为,电池模组的电池极化现象达到预设程度时对应的功率值。可以理解的是,风机模组的当前输出功率大于预设功率阈值可以说明风机模组的输出功率较高,按照风机模组若按照当前输出功率工作,可能会导致电池模组的电池极化现象较明显。The preset power threshold here may be the corresponding power value when the battery polarization phenomenon of the battery module reaches a preset level. It is understandable that if the current output power of the fan module is greater than the preset power threshold, it means that the output power of the fan module is high. According to the fact that if the fan module works according to the current output power, it may cause battery polarization of the battery module. more obvious.
这样,可以在风机模组按照当前输出功率工作,电池模组的电池极化现象较明显时,降低风机模组的输出功率,进而减少电池模组出现极化现象的可能性。In this way, when the fan module operates according to the current output power and the battery module's battery polarization is obvious, the output power of the fan module can be reduced, thereby reducing the possibility of polarization of the battery module.
在一些实施例中,在步骤410中,所述在所述风机模组的输出功率大于预设功率阈值,且所述电池参数小于预设参数阈值的情况下,生成所述调整指令,包括:In some embodiments, in step 410, generating the adjustment instruction when the output power of the wind turbine module is greater than a preset power threshold and the battery parameter is less than a preset parameter threshold includes:
在所述风机模组的输出功率大于预设功率阈值,且所述电量余量小于预设电量阈值和/或所述电池温度小于预设温度阈值的情况下,生成所述调整指令。The adjustment instruction is generated when the output power of the fan module is greater than the preset power threshold, the remaining power is less than the preset power threshold, and/or the battery temperature is less than the preset temperature threshold.
这里的预设电量阈值和预设温度阈值,可以为根据经验或根据实验数据设定的阈值。The preset power threshold and preset temperature threshold here can be thresholds set based on experience or experimental data.
例如,可以通过实验的方式,在风机模组工作在不同输出功率的情况下,改变电量余量和电池温度;并获取电子设备在不同电量余量和不同电池温度下的续航时长,在续航时长低于该电量余量对应的正常续航时长的情况下,将该续航时长对应的电量余量设置为预设电量阈值,将该续航时长对应的电池温度设置为预设温度阈值。For example, you can experiment by changing the battery capacity and battery temperature when the fan module is working at different output powers; and obtain the battery life of the electronic device under different battery capacity and battery temperature. If the battery life is lower than the normal battery life corresponding to the battery life, the battery life corresponding to the battery life is set to the preset battery threshold, and the battery temperature corresponding to the battery life is set to the preset temperature threshold.
可以理解的是,电池模组的电量余量越小,对应的电池极化现象越明显;电池模组的电池温度越低,对应的电池极化现象越明显。在电池模组的电量余量小于预设电量阈值且电池温度小于预设温度阈值的情况下,对应的电池极化现象非常明显;在电池模组的电量余量小于预设电量阈值或电池温度小于预设温度阈值的情况下,对应的电池极化现象较为明显。It is understandable that the smaller the power reserve of the battery module, the more obvious the corresponding battery polarization phenomenon; the lower the battery temperature of the battery module, the more obvious the corresponding battery polarization phenomenon. When the remaining power of the battery module is less than the preset power threshold and the battery temperature is less than the preset temperature threshold, the corresponding battery polarization phenomenon is very obvious; when the remaining power of the battery module is less than the preset power threshold or battery temperature When the temperature is less than the preset temperature threshold, the corresponding battery polarization phenomenon is more obvious.
本公开实施例中,可以通过风机模组的输出功率,以及电池模组的电量余量和电池温度中的至少一个参数来判断电池极化的严重性,从而判断降低风机模组的输出功率的时机。在电量余量小于预设电量阈值和/或电池温度小于预设温度阈值的情况下生成调整指令,则可以在对应的电池极化现象非常明显或较为明显的情况下,降低风机模组的输出功率。In the embodiment of the present disclosure, the severity of battery polarization can be judged by at least one parameter of the output power of the fan module, the remaining power of the battery module, and the battery temperature, thereby determining the method for reducing the output power of the fan module. opportunity. When the adjustment instruction is generated when the remaining power is less than the preset power threshold and/or the battery temperature is less than the preset temperature threshold, the output of the fan module can be reduced when the corresponding battery polarization phenomenon is very obvious or relatively obvious. power.
在一些实施例中,在步骤410中,所述生成与所述电池参数对应的调整指令包括:In some embodiments, in step 410, generating an adjustment instruction corresponding to the battery parameter includes:
根据所述电量余量和第一权重值,确定加权余量值;Determine a weighted balance value based on the power balance and the first weight value;
根据所述电池温度和第二权重值,确定加权温度值;Determine a weighted temperature value based on the battery temperature and the second weight value;
根据所述加权余量值和所述加权温度值确定参考值,并在所述风机模组的输出功率大于预设功率阈值,且所述参考值小于预设参考阈值的情况下,生成所述调整指令。A reference value is determined according to the weighted margin value and the weighted temperature value, and when the output power of the fan module is greater than the preset power threshold and the reference value is less than the preset reference threshold, the Adjustment instructions.
这里的第一权重值和第二权重值可以为预先根据经验或根据实验数据设定的权重值。The first weight value and the second weight value here may be weight values set in advance based on experience or experimental data.
可以理解的是,仅通过电量余量或电池温度中的一种参数,判断降低风机模组输出功率的时机,较为片面。通过根据电量余量和第一权重值确定加权余量值,根据电池温度和第二权重值确定加权温度值,并根据加权余量值和加权温度值确定参考值,可以将电池模组的电量余量和电池温度综合考虑。It is understandable that it is relatively one-sided to judge the timing of reducing the output power of the fan module through only one parameter, the remaining power or the battery temperature. By determining the weighted residual value based on the remaining power level and the first weighting value, determining the weighted temperature value based on the battery temperature and the second weighting value, and determining the reference value based on the weighted residual value and the weighted temperature value, the power of the battery module can be The remaining capacity and battery temperature are taken into consideration.
这样,综合考虑电池模组的电量余量和电池温度,得到参考值之后,基于风机模组的输出功率和根据电池模组的电量余量和电池温度得到的参考值,来判断降低风机模组输出功率的时机,更加精确。且在实现的过程中,可以通过调整第一权重值和第二权重值,来调整电量余量和电池温度在功率调整过程中的比重,进而提高功率调整的灵活性。In this way, after comprehensively considering the battery module's power reserve and battery temperature, and obtaining the reference value, it is judged to reduce the fan module based on the output power of the fan module and the reference value obtained based on the battery module's power reserve and battery temperature. The timing of power output is more precise. And during the implementation process, the proportion of the remaining power and the battery temperature in the power adjustment process can be adjusted by adjusting the first weight value and the second weight value, thereby improving the flexibility of the power adjustment.
在一些实施例中,在步骤410中,所述生成与所述电池参数对应的调整指令,包括:In some embodiments, in step 410, generating an adjustment instruction corresponding to the battery parameter includes:
根据所述电池参数和所述风机模组的初始输出功率,从预设功率列表中确定目标输出功率;Determine the target output power from the preset power list according to the battery parameters and the initial output power of the wind turbine module;
基于所述初始输出功率和所述目标输出功率确定功率调整值,并基于所述功率调整值生成所述调整指令。A power adjustment value is determined based on the initial output power and the target output power, and the adjustment instruction is generated based on the power adjustment value.
这里的风机模组的初始输出功率可以为预先设置的输出功率,可以为上述实施例中所述的当前输出功率。例如,初始输出功率可以是用户预先设置的工作模式对应的输出功率,或者控制模组预先设置的工作策略对应的输出功率。The initial output power of the fan module here may be a preset output power, or may be the current output power described in the above embodiment. For example, the initial output power may be the output power corresponding to the working mode preset by the user, or the output power corresponding to the working strategy preset by the control module.
在一些实施例中,预设功率列表中可以包括:各个电池参数和初始输出功率对应的预设输出功率。预设功率列表中的各个预设输出功率,可以是根据实验的方式确定的,且与各个电池参数和各个初始输出功率具有对应关系。目标输出功率可以包括:对风机模组的初始输出功率进行调整之后,得到的输出功率。即,在将风机模组的初始输出功率调整为目标输出功率之后,风机模组以目标输出功率在当前的电池参数下工作,电池模组不会提前触发欠压保护,可以将电池模组的剩余电量有效释放。In some embodiments, the preset power list may include: preset output power corresponding to each battery parameter and initial output power. Each preset output power in the preset power list can be determined experimentally, and has a corresponding relationship with each battery parameter and each initial output power. The target output power may include: the output power obtained after adjusting the initial output power of the wind turbine module. That is, after adjusting the initial output power of the fan module to the target output power, the fan module works with the target output power under the current battery parameters. The battery module will not trigger the undervoltage protection in advance, and the battery module can be The remaining power is effectively released.
在确定目标输出功率的过程中,可以获取当前的电池参数,然后从预设功率列表中查找与当前的电池参数对应的预设输出功率,将查找到的与当前的电池参数对应的预设输出功率确定为目标输出功率。In the process of determining the target output power, the current battery parameters can be obtained, and then the preset output power corresponding to the current battery parameters can be searched from the preset power list, and the preset output corresponding to the current battery parameters can be found. The power is determined as the target output power.
如图3所示,电池参数可以包括:电量余量和电池温度。不同的电池参数和不同的初始输出功率对应的预设输出功率不同。As shown in Figure 3, battery parameters may include: remaining battery capacity and battery temperature. Different battery parameters and different initial output powers correspond to different preset output powers.
在确定目标输出功率时,可以以电池模组的电量余量、电池温度和风机模组的初始输出功率作为一组查找条件,从预设功率列表中查找与各组查找条件对应的预设输出功率。例如,在当前的风 机模组的初始输出功率为p1,电池模组的电量余量为C2,电池温度为T2的情况下,则以(p1,C2,T2)作为查找条件,从预设功率列表中查找与(p1,C2,T2)对应的预设输出功率,将与(p1,C2,T2)对应的预设输出功率P4确定为目标输出功率。When determining the target output power, you can use the remaining battery capacity of the battery module, the battery temperature and the initial output power of the fan module as a set of search conditions, and search for the preset output corresponding to each set of search conditions from the preset power list. power. For example, if the initial output power of the current fan module is p1, the remaining power of the battery module is C2, and the battery temperature is T2, then (p1, C2, T2) is used as the search condition, and the preset power is Find the preset output power corresponding to (p1, C2, T2) in the list, and determine the preset output power P4 corresponding to (p1, C2, T2) as the target output power.
在得到目标输出功率之后,可以基于初始输出功率和目标输出功率确定功率调整值,进而根据该功率调整值对初始输出功率进行调整。在一些实施例中,可以将目标输出功率与初始输出功率的差值确定为功率调整值。当然,也可以利用其他方式,根据目标输出功率和初始输出功率确定功率调整值,如,可以确定目标输出功率与初始输出功率的比值,然后根据比值和目标输出功率,确定功率调整值。以上是根据目标输出功率和初始输出功率确定功率调整值的示例说明,在此不一一列举。After the target output power is obtained, the power adjustment value can be determined based on the initial output power and the target output power, and then the initial output power can be adjusted according to the power adjustment value. In some embodiments, the difference between the target output power and the initial output power may be determined as the power adjustment value. Of course, other methods can also be used to determine the power adjustment value based on the target output power and the initial output power. For example, the ratio of the target output power to the initial output power can be determined, and then the power adjustment value can be determined based on the ratio and the target output power. The above are examples of determining the power adjustment value based on the target output power and the initial output power, and will not be listed here.
在得到功率调整值之后,可以基于功率调整值生成调整指令,其中,调整指令不仅可以携带功率调整值,还可以携带与功率调整值对应的目标工作模式(可以指示将风机模组的工作模式调整为目标工作模式)。After the power adjustment value is obtained, an adjustment instruction can be generated based on the power adjustment value. The adjustment instruction can not only carry the power adjustment value, but also carry the target operating mode corresponding to the power adjustment value (which can instruct the operating mode of the wind turbine module to be adjusted. for the target working mode).
这样,可以精确地从预设功率列表中确定出目标输出功率。并且,从预设功率列表中确定目标输出功率,可以减少计算量,提高确定目标输出功率的效率。In this way, the target output power can be accurately determined from the preset power list. Moreover, determining the target output power from the preset power list can reduce the amount of calculation and improve the efficiency of determining the target output power.
在一些实施例中,所述功率调整方法中还可以包括一种生成预设功率列表的方法。图5是根据一示例性实施例示出的一种生成预设功率列表的方法的流程图。如图5所示,生成预设功率列表的方法主要包括如下步骤:In some embodiments, the power adjustment method may further include a method of generating a preset power list. FIG. 5 is a flowchart of a method of generating a preset power list according to an exemplary embodiment. As shown in Figure 5, the method of generating a preset power list mainly includes the following steps:
步骤510,在所述风机模组工作于各个测试功率的情况下,获取所述电子设备的续航时长。Step 510: Obtain the battery life of the electronic device when the fan module operates at each test power.
步骤520,在所述续航时长小于预设时长阈值的情况下,对所述测试功率进行调整,控制所述风机模组工作于调整后的测试功率,直至所述续航时长大于或者等于预设时长阈值。Step 520: When the endurance time is less than the preset duration threshold, adjust the test power and control the fan module to operate at the adjusted test power until the endurance duration is greater than or equal to the preset duration. threshold.
步骤530,将所述续航时长大于或者等于预设时长阈值时的测试功率,确定为预设输出功率。Step 530: Determine the test power when the battery life is greater than or equal to the preset duration threshold as the preset output power.
步骤540,根据所述风机模组工作于所述预设输出功率时对应的电池参数和所述预设输出功率,生成所述预设功率列表。Step 540: Generate the preset power list based on the corresponding battery parameters and the preset output power when the wind turbine module operates at the preset output power.
这里,预设功率列表中的各个预设输出功率,可以是根据实验的方式确定的,且与各个电池参数和各个初始输出功率具有对应关系。在确定预设功率列表中的各个预设输出功率的过程中,可以控制风机模组工作于不同的测试功率下,并获取电子设备在各个测试功率下的续航时长。Here, each preset output power in the preset power list can be determined experimentally, and has a corresponding relationship with each battery parameter and each initial output power. In the process of determining each preset output power in the preset power list, the wind turbine module can be controlled to work under different test powers, and the battery life of the electronic device under each test power can be obtained.
可以理解的是,在电子设备的续航时长小于预设时长阈值时,可以说明电池模组的剩余电量没有全部释放,即在此情况下电池模组的电池极化现象非常明显。因此,可以在续航时长小于预设时长阈值的情况下,对测试功率进行调整,并获取电子设备在风机模组工作于调整后的测试功率下的续航时长。若电子设备在风机模组工作于调整后的测试功率下的续航时长大于或等于预设时长阈值,则可以说明电池模组在风机模组工作于调整后的测试功率时的电池极化现象得到了改善,电池模组在此情况下可以将剩余电量有效放出。此时,则可以将调整后的测试功率确定为,与初始的测试功率和电池模组的测试温度和测试电量对应的预设输出功率。It can be understood that when the battery life of the electronic device is less than the preset duration threshold, it means that the remaining power of the battery module has not been fully released, that is, in this case, the battery polarization phenomenon of the battery module is very obvious. Therefore, when the battery life is less than the preset duration threshold, the test power can be adjusted, and the battery life of the electronic device when the wind turbine module operates at the adjusted test power can be obtained. If the battery life of the electronic device when the fan module operates at the adjusted test power is greater than or equal to the preset duration threshold, it can be explained that the battery polarization phenomenon of the battery module when the fan module operates at the adjusted test power is obtained. For improvement, the battery module can effectively discharge the remaining power in this situation. At this time, the adjusted test power can be determined as the preset output power corresponding to the initial test power and the test temperature and test power of the battery module.
例如,在进行实验以确定预设输出功率的过程中,测试得到在风机模组的测试功率为p1,电池 模组的测试电量为C1,测试温度为T1的情况下,电子设备的续航时长小于预设时长阈值。则对测试功率p1进行调整,并在每次调整之后,获取电子设备在风机模组工作于调整后的测试功率下的续航时长。在将测试功率p1调整至P1的情况下,电子设备在风机模组工作于P1下的续航时长大于或等于预设时长阈值;则将P1确定为与测试功率p1,测试电量C1,测试温度T1对应的预设输出功率。For example, in the process of conducting experiments to determine the preset output power, it was found that when the test power of the fan module is p1, the test power of the battery module is C1, and the test temperature is T1, the battery life of the electronic device is less than Default duration threshold. Then adjust the test power p1, and after each adjustment, obtain the battery life of the electronic device when the fan module operates at the adjusted test power. When the test power p1 is adjusted to P1, the battery life of the electronic device when the fan module operates at P1 is greater than or equal to the preset duration threshold; then P1 is determined to be the same as the test power p1, test power C1, and test temperature T1 Corresponding preset output power.
可以理解的是,测试功率为测试过程中风机的初始输出功率,测试电量为测试时电池模组的剩余电量,测试温度为测试时电池模组的电池温度。It can be understood that the test power is the initial output power of the wind turbine during the test, the test power is the remaining power of the battery module during the test, and the test temperature is the battery temperature of the battery module during the test.
这样,可以通过不断调整测试功率,来准确地确定出预设输出功率。并且,通过不断调整测试功率来进行实验得到的预设输出功率的方法更加合理,能够使得确定的预设输出功率具有依据,更加准确可信。In this way, the preset output power can be accurately determined by continuously adjusting the test power. Moreover, the method of continuously adjusting the test power to conduct experiments to obtain the preset output power is more reasonable, and can make the determined preset output power more accurate and credible.
在一些实施例中,所述方法还包括:In some embodiments, the method further includes:
在检测到针对所述电子设备的开启指令的情况下,获取所述电池参数,并生成与所述电池参数对应的调整指令。When a turn-on instruction for the electronic device is detected, the battery parameters are obtained, and an adjustment instruction corresponding to the battery parameters is generated.
这里的开启指令可以包括:针对电子设备的开机指令。可以理解的是,在电子设备开机之后,即生成调整指令,调整风机模组的输出功率。这样,可以减少风机模组以较高的输出功率工作的概率,从而减轻电池模组的电池极化问题;且在电子设备开机的时候就可以对风机模组的输出功率进行调整,能够使得风机模组能够以与电池参数对应的输出功率进入工作状态,能够提高功率调整的及时性。The startup instructions here may include: startup instructions for electronic devices. It can be understood that after the electronic device is turned on, an adjustment instruction is generated to adjust the output power of the fan module. In this way, the probability of the fan module working at a higher output power can be reduced, thereby alleviating the battery polarization problem of the battery module; and the output power of the fan module can be adjusted when the electronic device is turned on, which can make the fan The module can enter the working state with the output power corresponding to the battery parameters, which can improve the timeliness of power adjustment.
图6是根据一示例性实施例示出的一种功率调整方法的流程图二。如图6所示,所述功率调整方法主要包括如下步骤:Figure 6 is a flow chart 2 of a power adjustment method according to an exemplary embodiment. As shown in Figure 6, the power adjustment method mainly includes the following steps:
步骤610,在电子设备进入工作状态的情况下,获取电池参数和电子设备的风机模组的初始输出功率。Step 610: When the electronic device enters the working state, obtain the battery parameters and the initial output power of the fan module of the electronic device.
这里,电池参数可以通过电池模组上的各种传感器获取,风机模组的初始输出功率可以从风机模组的控制单元中获取。Here, the battery parameters can be obtained through various sensors on the battery module, and the initial output power of the wind turbine module can be obtained from the control unit of the wind turbine module.
步骤620,判断风机模组的初始输出功率是否大于预设功率阈值。Step 620: Determine whether the initial output power of the fan module is greater than the preset power threshold.
这里的预设功率阈值可以为,电池模组的电池极化现象达到预设程度时对应的功率值。可以理解的是,风机模组初始输出功率大于预设功率阈值可以说明风机模组的输出功率较高,按照风机模组若按照初始输出功率工作,可能会导致电池模组的电池极化现象较明显。The preset power threshold here may be the corresponding power value when the battery polarization phenomenon of the battery module reaches a preset level. It can be understood that if the initial output power of the fan module is greater than the preset power threshold, it means that the output power of the fan module is higher. According to the fact that if the fan module works according to the initial output power, it may cause the battery module’s battery polarization to be relatively high. obvious.
步骤630,若风机模组的初始输出功率小于或等于预设功率阈值,控制风机模组按照初始输出功率工作。Step 630: If the initial output power of the fan module is less than or equal to the preset power threshold, control the fan module to work according to the initial output power.
若风机模组的初始输出功率小于或等于预设功率阈值,则可以说明风机模组的输出功率较低,按照风机模组若按照初始输出功率工作,电池模组的电池极化现象较为不明显,因此风机模组可以按照初始输出功率工作。If the initial output power of the fan module is less than or equal to the preset power threshold, it can mean that the output power of the fan module is low. According to the fact that if the fan module works according to the initial output power, the battery polarization phenomenon of the battery module will be less obvious. , so the fan module can work according to the initial output power.
步骤640,若风机模组的初始输出功率大于预设功率阈值,判断电池参数是否小于预设参数阈 值。Step 640: If the initial output power of the fan module is greater than the preset power threshold, determine whether the battery parameters are less than the preset parameter threshold.
这里,电池参数可以包括电量余量和电池温度;电池参数小于预设参数阈值可以包括电量余量小于预设电量阈值,且电池温度小于预设温度阈值。Here, the battery parameter may include the remaining power level and the battery temperature; the battery parameter being less than the preset parameter threshold may include the remaining power level being less than the preset power threshold, and the battery temperature being less than the preset temperature threshold.
可以理解的是,风机模组的初始输出功率是判断电池模组的电池极化程度的条件之一,电池模组的电池参数同样影响电池模组的电池极化程度。因此,在判断风机模组的初始输出功率大于预设功率阈值的情况下,还需判断电池参数是否小于预设参数阈值。It can be understood that the initial output power of the wind turbine module is one of the conditions for judging the degree of battery polarization of the battery module. The battery parameters of the battery module also affect the degree of battery polarization of the battery module. Therefore, when it is determined that the initial output power of the wind turbine module is greater than the preset power threshold, it is also necessary to determine whether the battery parameters are less than the preset parameter threshold.
步骤650,若电池参数小于预设参数阈值,生成与电池参数对应的调整指令,根据调整指令降低风机模组的输出功率,并控制风机模组按照降低后的输出功率工作。Step 650: If the battery parameter is less than the preset parameter threshold, an adjustment instruction corresponding to the battery parameter is generated, the output power of the fan module is reduced according to the adjustment instruction, and the fan module is controlled to work according to the reduced output power.
可以理解的是,在风机模组的初始输出功率大于预设功率阈值,且电池参数小于预设参数阈值的情况下运行风机模组,电池模组的极化现象会非常明显。因此,此时需要生成调整指令,需要降低风机模组的输出功率,并控制风机模组按照降低后的输出功率工作。It can be understood that when the initial output power of the wind turbine module is greater than the preset power threshold and the battery parameters are less than the preset parameter threshold, the polarization phenomenon of the battery module will be very obvious. Therefore, at this time, an adjustment instruction needs to be generated, the output power of the fan module needs to be reduced, and the fan module needs to be controlled to work according to the reduced output power.
若电池参数大于或等于预设参数阈值,则执行步骤630,控制风机模组按照初始输出功率工作。If the battery parameter is greater than or equal to the preset parameter threshold, step 630 is executed to control the fan module to operate according to the initial output power.
若风机模组的初始输出功率大于预设功率阈值,且电池参数大于或等于预设参数阈值;则可以说明风机在此情况下工作时,电池模组的极化现象较为不明显,因此风机模组可以按照初始输出功率工作。If the initial output power of the fan module is greater than the preset power threshold, and the battery parameters are greater than or equal to the preset parameter threshold, it can be explained that when the fan is working under this condition, the polarization phenomenon of the battery module is less obvious, so the fan module The group can work according to the initial output power.
在本公开实施例中,可以在电子设备进入工作状态的情况下,获取电池模组的电池参数和风机模组的初始输出功率,并在风机模组的初始输出功率大于预设功率阈值,且电池参数小于预设参数阈值的情况下,生成与电池参数对应的调整指令;风机模组可以根据调整指令降低输出功率,并按照降低后的输出功率工作。可以通过降低风机模组的输出功率来减轻电池极化的问题,使得电池模组的剩余电量可以有效放出,从而可以增长电子设备的续航时间,提高电子设备的性能。In the embodiment of the present disclosure, the battery parameters of the battery module and the initial output power of the fan module can be obtained when the electronic device enters the working state, and when the initial output power of the fan module is greater than the preset power threshold, and When the battery parameters are less than the preset parameter threshold, an adjustment instruction corresponding to the battery parameter is generated; the wind turbine module can reduce the output power according to the adjustment instruction and work according to the reduced output power. The problem of battery polarization can be alleviated by reducing the output power of the fan module, so that the remaining power of the battery module can be effectively released, thereby extending the battery life of electronic equipment and improving the performance of electronic equipment.
本公开实施例提供一种电子设备,包括:An embodiment of the present disclosure provides an electronic device, including:
处理器;processor;
配置为存储处理器可执行指令的存储器;Memory configured to store instructions executable by the processor;
其中,所述处理器被配置为:执行时实现上述实施例中的任一种功率调整方法中的步骤。Wherein, the processor is configured to: when executed, implement the steps in any of the power adjustment methods in the above embodiments.
图7是根据一示例性实施例示出的一种电子设备的硬件结构框图。例如,电子设备700可以是移动电话,计算机,数字广播终端,消息收发设备,游戏控制台,平板设备,医疗设备,健身设备,个人数字助理等。FIG. 7 is a hardware structure block diagram of an electronic device according to an exemplary embodiment. For example, the electronic device 700 may be a mobile phone, a computer, a digital broadcast terminal, a messaging device, a game console, a tablet device, a medical device, a fitness device, a personal digital assistant, or the like.
参照图7,电子设备700可以包括以下一个或多个组件:处理组件702,存储器704,电源组件706,多媒体组件708,音频组件710,输入/输出(I/O)的接口712,传感器组件714,以及通信组件716。Referring to FIG. 7 , the electronic device 700 may include one or more of the following components: a processing component 702 , a memory 704 , a power supply component 706 , a multimedia component 708 , an audio component 710 , an input/output (I/O) interface 712 , and a sensor component 714 , and communication component 716.
处理组件702通常控制电子设备700的整体操作,诸如与显示,电话呼叫,数据通信,相机操作和记录操作相关联的操作。处理组件702可以包括一个或多个处理器720来执行指令,以完成上述的方法的全部或部分步骤。此外,处理组件702可以包括一个或多个模块,便于处理组件702和其他组件之间的交互。例如,处理组件702可以包括多媒体模块,以方便多媒体组件708和处理组 件702之间的交互。 Processing component 702 generally controls the overall operations of electronic device 700, such as operations associated with display, phone calls, data communications, camera operations, and recording operations. The processing component 702 may include one or more processors 720 to execute instructions to complete all or part of the steps of the above method. Additionally, processing component 702 may include one or more modules that facilitate interaction between processing component 702 and other components. For example, processing component 702 may include a multimedia module to facilitate interaction between multimedia component 708 and processing component 702.
存储器704被配置为存储各种类型的数据以支持在电子设备700的操作。这些数据的示例包括用于在电子设备700上操作的任何应用程序或方法的指令,联系人数据,电话簿数据,消息,图片,视频等。存储器704可以由任何类型的易失性或非易失性存储设备或者它们的组合实现,如静态随机存取存储器(SRAM),电可擦除可编程只读存储器(EEPROM),可擦除可编程只读存储器(EPROM),可编程只读存储器(PROM),只读存储器(ROM),磁存储器,快闪存储器,磁盘或光盘。 Memory 704 is configured to store various types of data to support operations at electronic device 700 . Examples of such data include instructions for any application or method operating on the electronic device 700, contact data, phonebook data, messages, pictures, videos, etc. Memory 704 may be implemented by any type of volatile or non-volatile storage device, or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EEPROM), Programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, magnetic or optical disk.
电源组件706为电子设备700的各种组件提供电力。电源组件706可以包括电源管理系统,一个或多个电源,及其他与为电子设备700生成、管理和分配电力相关联的组件。 Power supply component 706 provides power to various components of electronic device 700 . Power supply components 706 may include a power management system, one or more power supplies, and other components associated with generating, managing, and distributing power to electronic device 700 .
多媒体组件708包括在所述电子设备700和用户之间的提供一个输出接口的屏幕。在一些实施例中,屏幕可以包括液晶显示器(LCD)和触摸面板(TP)。如果屏幕包括触摸面板,屏幕可以被实现为触摸屏,以接收来自用户的输入信号。触摸面板包括一个或多个触摸传感器以感测触摸、滑动和触摸面板上的手势。所述触摸传感器可以不仅感测触摸或滑动动作的边界,而且还检测与所述触摸或滑动操作相关的持续时间和压力。在一些实施例中,多媒体组件708包括一个前置摄像头和/或后置摄像头。当电子设备700处于操作模式,如拍摄模式或视频模式时,前置摄像头和/或后置摄像头可以接收外部的多媒体数据。每个前置摄像头和后置摄像头可以是一个固定的光学透镜系统或具有焦距和光学变焦能力。 Multimedia component 708 includes a screen that provides an output interface between the electronic device 700 and the user. In some embodiments, the screen may include a liquid crystal display (LCD) and a touch panel (TP). If the screen includes a touch panel, the screen may be implemented as a touch screen to receive input signals from the user. The touch panel includes one or more touch sensors to sense touches, swipes, and gestures on the touch panel. The touch sensor may not only sense the boundary of a touch or slide action, but also detect the duration and pressure associated with the touch or slide action. In some embodiments, multimedia component 708 includes a front-facing camera and/or a rear-facing camera. When the electronic device 700 is in an operating mode, such as a shooting mode or a video mode, the front camera and/or the rear camera may receive external multimedia data. Each front-facing camera and rear-facing camera can be a fixed optical lens system or have a focal length and optical zoom capabilities.
音频组件710被配置为输出和/或输入音频信号。例如,音频组件710包括一个麦克风(MIC),当电子设备700处于操作模式,如呼叫模式、记录模式和语音识别模式时,麦克风被配置为接收外部音频信号。所接收的音频信号可以被进一步存储在存储器704或经由通信组件716发送。在一些实施例中,音频组件710还包括一个扬声器,配置为输出音频信号。 Audio component 710 is configured to output and/or input audio signals. For example, audio component 710 includes a microphone (MIC) configured to receive external audio signals when electronic device 700 is in operating modes, such as call mode, recording mode, and voice recognition mode. The received audio signal may be further stored in memory 704 or sent via communication component 716 . In some embodiments, audio component 710 also includes a speaker configured to output audio signals.
I/O接口712为处理组件702和外围接口模块之间提供接口,上述外围接口模块可以是键盘,点击轮,按钮等。这些按钮可包括但不限于:主页按钮、音量按钮、启动按钮和锁定按钮。The I/O interface 712 provides an interface between the processing component 702 and a peripheral interface module, which may be a keyboard, a click wheel, a button, etc. These buttons may include, but are not limited to: Home button, Volume buttons, Start button, and Lock button.
传感器组件714包括一个或多个传感器,配置为为电子设备700提供各个方面的状态评估。例如,传感器组件714可以检测到电子设备700的打开/关闭状态,组件的相对定位,例如所述组件为电子设备700的显示器和小键盘,传感器组件714还可以检测电子设备700或电子设备700一个组件的位置改变,用户与电子设备700接触的存在或不存在,电子设备700方位或加速/减速和电子设备700的温度变化。传感器组件714可以包括接近传感器,被配置用来在没有任何的物理接触时检测附近物体的存在。传感器组件714还可以包括光传感器,如CMOS或CCD图像传感器,配置为在成像应用中使用。在一些实施例中,该传感器组件714还可以包括加速度传感器,陀螺仪传感器,磁传感器,压力传感器或温度传感器。 Sensor component 714 includes one or more sensors configured to provide various aspects of status assessment for electronic device 700 . For example, the sensor component 714 can detect the open/closed state of the electronic device 700, the relative positioning of components, such as the display and keypad of the electronic device 700, the sensor component 714 can also detect the electronic device 700 or an electronic device 700. The position of components changes, the presence or absence of user contact with the electronic device 700 , the orientation or acceleration/deceleration of the electronic device 700 and the temperature of the electronic device 700 change. Sensor assembly 714 may include a proximity sensor configured to detect the presence of nearby objects without any physical contact. Sensor assembly 714 may also include a light sensor, such as a CMOS or CCD image sensor, configured for use in imaging applications. In some embodiments, the sensor component 714 may also include an acceleration sensor, a gyroscope sensor, a magnetic sensor, a pressure sensor, or a temperature sensor.
通信组件716被配置为便于电子设备700和其他设备之间有线或无线方式的通信。电子设备700可以接入基于通信标准的无线网络,如WI-FI,4G或5G,或它们的组合。在一个示例性实施例中,通信组件716经由广播信道接收来自外部广播管理系统的广播信号或广播相关信息。在一个示例性 实施例中,所述通信组件716还包括近场通信(NFC)模块,以促进短程通信。例如,在NFC模块可基于射频识别(RFID)技术,红外数据协会(IrDA)技术,超宽带(UWB)技术,蓝牙(BT)技术和其他技术来实现。 Communication component 716 is configured to facilitate wired or wireless communication between electronic device 700 and other devices. The electronic device 700 can access a wireless network based on a communication standard, such as WI-FI, 4G or 5G, or a combination thereof. In one exemplary embodiment, communication component 716 receives broadcast signals or broadcast related information from an external broadcast management system via a broadcast channel. In an exemplary embodiment, the communications component 716 also includes a near field communications (NFC) module to facilitate short-range communications. For example, the NFC module can be implemented based on radio frequency identification (RFID) technology, infrared data association (IrDA) technology, ultra-wideband (UWB) technology, Bluetooth (BT) technology and other technologies.
在示例性实施例中,电子设备700可以被一个或多个应用专用集成电路(ASIC)、数字信号处理器(DSP)、数字信号处理设备(DSPD)、可编程逻辑器件(PLD)、现场可编程门阵列(FPGA)、控制器、微控制器、微处理器或其他电子元件实现,配置为执行上述方法。In an exemplary embodiment, electronic device 700 may be configured by one or more application specific integrated circuits (ASICs), digital signal processors (DSPs), digital signal processing devices (DSPDs), programmable logic devices (PLDs), field programmable A programmed gate array (FPGA), controller, microcontroller, microprocessor or other electronic component implementation configured to perform the above method.
在示例性实施例中,还提供了一种包括指令的非临时性计算机可读存储介质,例如包括指令的存储器704,上述指令可由电子设备700的处理器720执行以完成上述方法。例如,所述非临时性计算机可读存储介质可以是ROM、随机存取存储器(RAM)、CD-ROM、磁带、软盘和光数据存储设备等。In an exemplary embodiment, a non-transitory computer-readable storage medium including instructions, such as a memory 704 including instructions, which can be executed by the processor 720 of the electronic device 700 to complete the above method is also provided. For example, the non-transitory computer-readable storage medium may be ROM, random access memory (RAM), CD-ROM, magnetic tape, floppy disk, optical data storage device, etc.
在一些实施例中,提供一种非临时性计算机可读存储介质,当所述存储介质中的指令由电子设备的处理器执行时,使得电子设备能够执行一种功率调整方法,包括:In some embodiments, a non-transitory computer-readable storage medium is provided, which when instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform a power adjustment method, including:
在所述电子设备进入工作状态的情况下,获取所述电池模组的电池参数,并生成与所述电池参数对应的调整指令;When the electronic device enters the working state, obtain the battery parameters of the battery module and generate adjustment instructions corresponding to the battery parameters;
所述风机模组根据所述调整指令对输出功率进行调整,并按照调整后的输出功率工作。The fan module adjusts the output power according to the adjustment instruction and works according to the adjusted output power.
本领域技术人员在考虑说明书及实践这里公开的发明后,将容易想到本公开的其它实施方案。本公开旨在涵盖本公开的任何变型、用途或者适应性变化,这些变型、用途或者适应性变化遵循本公开的一般性原理并包括本公开未公开的本技术领域中的公知常识或惯用技术手段。说明书和实施例仅被视为示例性的,本公开的真正范围和精神由下面的权利要求指出。Other embodiments of the disclosure will be readily apparent to those skilled in the art from consideration of the specification and practice of the invention disclosed herein. The present disclosure is intended to cover any variations, uses, or adaptations of the disclosure that follow the general principles of the disclosure and include common common sense or customary technical means in the technical field that are not disclosed in the disclosure. . It is intended that the specification and examples be considered as exemplary only, with a true scope and spirit of the disclosure being indicated by the following claims.
应当理解的是,本公开并不局限于上面已经描述并在附图中示出的精确结构,并且可以在不脱离其范围进行各种修改和改变。本公开的范围仅由所附的权利要求来限制。It is to be understood that the present disclosure is not limited to the precise structures described above and illustrated in the accompanying drawings, and various modifications and changes may be made without departing from the scope thereof. The scope of the disclosure is limited only by the appended claims.

Claims (16)

  1. 一种电子设备,所述电子设备包括:An electronic device, the electronic device includes:
    电池模组;battery module;
    控制模组,与所述电池模组连接,配置为在所述电子设备进入工作状态的情况下,获取所述电池模组的电池参数,并生成与所述电池参数对应的调整指令;A control module, connected to the battery module, configured to obtain battery parameters of the battery module when the electronic device enters a working state, and generate adjustment instructions corresponding to the battery parameters;
    风机模组,与所述控制模组连接,配置为根据所述调整指令对输出功率进行调整,并按照调整后的输出功率工作。The fan module is connected to the control module and is configured to adjust the output power according to the adjustment instruction and work according to the adjusted output power.
  2. 根据权利要求1所述的电子设备,其中,所述控制模组,配置为在所述风机模组的输出功率大于预设功率阈值,且所述电池参数小于预设参数阈值的情况下,生成所述调整指令;其中,所述调整指令用于指示降低所述风机模组的输出功率,所述电池参数包括:电量余量和/或电池温度;The electronic device according to claim 1, wherein the control module is configured to generate a The adjustment instruction; wherein the adjustment instruction is used to instruct to reduce the output power of the fan module, and the battery parameters include: battery remaining capacity and/or battery temperature;
    所述风机模组,配置为根据所述调整指令降低输出功率,并按照降低后的输出功率工作。The fan module is configured to reduce the output power according to the adjustment instruction and work according to the reduced output power.
  3. 根据权利要求2所述的电子设备,其中,The electronic device according to claim 2, wherein
    所述控制模组,配置为在所述风机模组的输出功率大于所述预设功率阈值,且所述电量余量小于预设电量阈值和/或所述电池温度小于预设温度阈值的情况下,生成所述调整指令。The control module is configured to operate when the output power of the fan module is greater than the preset power threshold, the remaining power is less than the preset power threshold, and/or the battery temperature is less than the preset temperature threshold. Next, the adjustment instructions are generated.
  4. 根据权利要求2所述的电子设备,其中,所述控制模组,配置为根据所述电量余量和第一权重值确定加权余量值;The electronic device according to claim 2, wherein the control module is configured to determine a weighted residual value based on the power balance and the first weight value;
    根据所述电池温度和第二权重值确定加权温度值;Determine a weighted temperature value based on the battery temperature and the second weight value;
    根据所述加权余量值和所述加权温度值确定参考值,并在所述风机模组的输出功率大于所述预设功率阈值,且所述参考值小于预设参考阈值的情况下,生成所述调整指令。A reference value is determined according to the weighted margin value and the weighted temperature value, and when the output power of the fan module is greater than the preset power threshold and the reference value is less than the preset reference threshold, a The adjustment instructions.
  5. 根据权利要求1所述的电子设备,其中,所述控制模组,配置为根据所述电池参数和所述风机模组的初始输出功率,从预设功率列表中确定目标输出功率;The electronic device according to claim 1, wherein the control module is configured to determine the target output power from a preset power list based on the battery parameters and the initial output power of the wind turbine module;
    基于所述初始输出功率和所述目标输出功率确定功率调整值,并基于所述功率调整值生成所述调整指令。A power adjustment value is determined based on the initial output power and the target output power, and the adjustment instruction is generated based on the power adjustment value.
  6. 根据权利要求5所述的电子设备,其中,所述控制模组,配置为在所述风机模组工作于各个测试功率的情况下,获取所述电子设备的续航时长;The electronic device according to claim 5, wherein the control module is configured to obtain the battery life of the electronic device when the fan module operates at each test power;
    在所述续航时长小于预设时长阈值的情况下,对所述测试功率进行调整,控制所述风机模组工作于调整后的测试功率,直至所述续航时长大于或者等于预设时长阈值;When the endurance time is less than the preset duration threshold, adjust the test power and control the fan module to operate at the adjusted test power until the endurance duration is greater than or equal to the preset duration threshold;
    将所述续航时长大于或者等于预设时长阈值时的测试功率,确定为预设输出功率;Determine the test power when the battery life is greater than or equal to the preset duration threshold as the preset output power;
    获取所述电池模组的测试温度和测试电量;Obtain the test temperature and test power of the battery module;
    根据所述电池模组的测试温度、测试电量和所述预设输出功率,生成所述预设功率列表。The preset power list is generated according to the test temperature, test power and the preset output power of the battery module.
  7. 根据权利要求1所述的电子设备,其中,所述控制模块,配置为在检测到针对所述电子设备的开启指令的情况下,获取所述电池模组的电池参数,并生成与所述电池参数对应的调整指令。The electronic device according to claim 1, wherein the control module is configured to obtain the battery parameters of the battery module and generate the battery parameters corresponding to the battery module when a turn-on instruction for the electronic device is detected. Adjustment instructions corresponding to the parameters.
  8. 一种功率调整方法,所述方法应用于权利要求1至7任一项所述的电子设备,所述方法包括:A power adjustment method, the method is applied to the electronic device according to any one of claims 1 to 7, the method includes:
    在所述电子设备进入工作状态的情况下,获取电池参数,并生成与所述电池参数对应的调整指令;When the electronic device enters the working state, obtain battery parameters and generate adjustment instructions corresponding to the battery parameters;
    根据所述调整指令对所述电子设备的风机模组的输出功率进行调整。The output power of the fan module of the electronic device is adjusted according to the adjustment instruction.
  9. 根据权利要求8所述的方法,其中,所述生成与所述电池参数对应的调整指令包括:The method of claim 8, wherein generating an adjustment instruction corresponding to the battery parameter includes:
    在所述风机模组的输出功率大于预设功率阈值,且所述电池参数小于预设参数阈值的情况下,生成所述调整指令;其中,所述电池参数包括:电量余量和/或电池温度;When the output power of the fan module is greater than the preset power threshold and the battery parameter is less than the preset parameter threshold, the adjustment instruction is generated; wherein the battery parameters include: battery remaining capacity and/or battery temperature;
    所述根据所述调整指令对所述电子设备的风机模组的输出功率进行调整,包括:Adjusting the output power of the fan module of the electronic device according to the adjustment instruction includes:
    根据所述调整指令降低所述风机模组的输出功率。Reduce the output power of the fan module according to the adjustment instruction.
  10. 根据权利要求9所述的方法,其中,所述在所述风机模组的输出功率大于预设功率阈值,且所述电池参数小于预设参数阈值的情况下,生成所述调整指令,包括:The method according to claim 9, wherein generating the adjustment instruction when the output power of the wind turbine module is greater than a preset power threshold and the battery parameter is less than a preset parameter threshold includes:
    在所述风机模组的输出功率大于所述预设功率阈值,且所述电量余量小于预设电量阈值和/或所述电池温度小于预设温度阈值的情况下,生成所述调整指令。The adjustment instruction is generated when the output power of the fan module is greater than the preset power threshold, the remaining power is less than the preset power threshold, and/or the battery temperature is less than the preset temperature threshold.
  11. 根据权利要求9所述的方法,其中,所述生成与所述电池参数对应的调整指令包括:The method of claim 9, wherein generating an adjustment instruction corresponding to the battery parameter includes:
    根据所述电量余量和第一权重值,确定加权余量值;Determine a weighted balance value based on the power balance and the first weight value;
    根据所述电池温度和第二权重值,确定加权温度值;Determine a weighted temperature value based on the battery temperature and the second weight value;
    根据所述加权余量值和所述加权温度值确定参考值,并在所述风机模组的输出功率大于所述预设功率阈值,且所述参考值小于预设参考阈值的情况下,生成所述调整指令。A reference value is determined according to the weighted margin value and the weighted temperature value, and when the output power of the fan module is greater than the preset power threshold and the reference value is less than the preset reference threshold, a The adjustment instructions.
  12. 根据权利要求8所述的方法,其中,所述生成与所述电池参数对应的调整指令,包括:The method of claim 8, wherein generating an adjustment instruction corresponding to the battery parameter includes:
    根据所述电池参数和所述风机模组的初始输出功率,从预设功率列表中确定目标输出功率;Determine the target output power from the preset power list according to the battery parameters and the initial output power of the wind turbine module;
    基于所述初始输出功率和所述目标输出功率确定功率调整值,并基于所述功率调整值生成所述调整指令。A power adjustment value is determined based on the initial output power and the target output power, and the adjustment instruction is generated based on the power adjustment value.
  13. 根据权利要求12所述的方法,其中,所述方法还包括:The method of claim 12, further comprising:
    在所述风机模组工作于各个测试功率的情况下,获取所述电子设备的续航时长;When the fan module operates at each test power, obtain the battery life of the electronic device;
    在所述续航时长小于预设时长阈值的情况下,对所述测试功率进行调整,控制所述风机模组工作于调整后的测试功率,直至所述续航时长大于或者等于预设时长阈值;When the endurance time is less than the preset duration threshold, adjust the test power and control the fan module to operate at the adjusted test power until the endurance duration is greater than or equal to the preset duration threshold;
    将所述续航时长大于或者等于预设时长阈值时的测试功率,确定为预设输出功率;Determine the test power when the battery life is greater than or equal to the preset duration threshold as the preset output power;
    根据所述风机模组工作于所述预设输出功率时对应的电池参数和所述预设输出功率,生成所述预设功率列表。The preset power list is generated according to the corresponding battery parameters and the preset output power when the fan module operates at the preset output power.
  14. 根据权利要求8所述的方法,其中,所述方法还包括:The method of claim 8, further comprising:
    在检测到针对所述电子设备的开启指令的情况下,获取所述电池参数,并生成与所述电池参数对应的调整指令。When a turn-on instruction for the electronic device is detected, the battery parameters are obtained, and an adjustment instruction corresponding to the battery parameters is generated.
  15. 一种电子设备,包括:An electronic device including:
    处理器;processor;
    配置为存储处理器可执行指令的存储器;Memory configured to store instructions executable by the processor;
    其中,所述处理器被配置为:执行时实现上述权利要求8至14中任一种功率调整方法中的步骤。Wherein, the processor is configured to: when executed, implement the steps in any one of the power adjustment methods of claims 8 to 14.
  16. 一种非临时性计算机可读存储介质,当所述存储介质中的指令由电子设备的处理器执行时,使得所述电子设备能够执行上述权利要求8至14中任一种功率调整方法中的步骤。A non-transitory computer-readable storage medium that, when the instructions in the storage medium are executed by a processor of an electronic device, enables the electronic device to perform any one of the power adjustment methods of claims 8 to 14. step.
PCT/CN2022/092847 2022-05-13 2022-05-13 Electronic device, power adjustment method, and storage medium WO2023216261A1 (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
PCT/CN2022/092847 WO2023216261A1 (en) 2022-05-13 2022-05-13 Electronic device, power adjustment method, and storage medium
CN202280004214.9A CN117413499A (en) 2022-05-13 2022-05-13 Electronic device, power adjustment method, and storage medium

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
PCT/CN2022/092847 WO2023216261A1 (en) 2022-05-13 2022-05-13 Electronic device, power adjustment method, and storage medium

Publications (1)

Publication Number Publication Date
WO2023216261A1 true WO2023216261A1 (en) 2023-11-16

Family

ID=88729553

Family Applications (1)

Application Number Title Priority Date Filing Date
PCT/CN2022/092847 WO2023216261A1 (en) 2022-05-13 2022-05-13 Electronic device, power adjustment method, and storage medium

Country Status (2)

Country Link
CN (1) CN117413499A (en)
WO (1) WO2023216261A1 (en)

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002360484A (en) * 2001-06-05 2002-12-17 Toshiba Tec Corp Vacuum cleaner
CN109587777A (en) * 2018-12-12 2019-04-05 上海联影医疗科技有限公司 Device and method, computer readable storage medium, remote control device and the medical imaging device of power management
CN110224461A (en) * 2019-06-14 2019-09-10 桑顿新能源科技(长沙)有限公司 Battery power limit method, apparatus, computer equipment and storage medium
CN112009270A (en) * 2020-08-31 2020-12-01 安徽江淮汽车集团股份有限公司 Motor output power control method, power automobile and readable storage medium
CN112540304A (en) * 2020-11-19 2021-03-23 Oppo广东移动通信有限公司 Battery power management method, electronic device and computer storage medium
CN113733913A (en) * 2021-09-24 2021-12-03 天津天汽集团有限公司 Automobile electric quantity adjusting system and automobile electric quantity adjusting method

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2002360484A (en) * 2001-06-05 2002-12-17 Toshiba Tec Corp Vacuum cleaner
CN109587777A (en) * 2018-12-12 2019-04-05 上海联影医疗科技有限公司 Device and method, computer readable storage medium, remote control device and the medical imaging device of power management
CN110224461A (en) * 2019-06-14 2019-09-10 桑顿新能源科技(长沙)有限公司 Battery power limit method, apparatus, computer equipment and storage medium
CN112009270A (en) * 2020-08-31 2020-12-01 安徽江淮汽车集团股份有限公司 Motor output power control method, power automobile and readable storage medium
CN112540304A (en) * 2020-11-19 2021-03-23 Oppo广东移动通信有限公司 Battery power management method, electronic device and computer storage medium
CN113733913A (en) * 2021-09-24 2021-12-03 天津天汽集团有限公司 Automobile electric quantity adjusting system and automobile electric quantity adjusting method

Also Published As

Publication number Publication date
CN117413499A (en) 2024-01-16

Similar Documents

Publication Publication Date Title
CN112542863B (en) Charging method and device, and readable storage medium
US20220271557A1 (en) Charging method and apparatus, electronic device and storage medium
JP7100696B2 (en) Battery charging method, battery charging device and storage medium
CN105137831B (en) Energy-saving mode open method and device
KR20210121303A (en) Reverse charging device, and method and device for regulating reverse charging current
WO2018058626A1 (en) Mobile terminal and charging method
EP3832840A1 (en) Charging method and device, terminal device and storage medium
CN113224822A (en) Charging control method and device and storage medium
CN112217242A (en) Charging control method and device
CN115579971A (en) Charging control method, charging control device, electronic device, and storage medium
WO2023216261A1 (en) Electronic device, power adjustment method, and storage medium
CN113285499A (en) Charging control method, electronic device, control device, and storage medium
CN116679220A (en) Electronic equipment, battery control method and device and storage medium
CN112448053B (en) Charging method and device of mobile terminal, terminal and storage medium
CN113451670B (en) Battery charging method, device and medium
CN115173495A (en) Charging control method, charging control device and storage medium
CN109560335A (en) Battery and its charging/discharging thereof, device, terminal, storage medium
EP4135152A1 (en) Charging method, electronic device and storage medium
WO2023240533A1 (en) Battery control method and device, terminal, and storage medium
CN112448054B (en) Charging method and device of mobile terminal, terminal and storage medium
US20220045535A1 (en) Charging control method, charging control device and storage medium
CN117375125A (en) Charging control method and device, electronic equipment and storage medium
CN111817362A (en) Charging method, charging device, electronic equipment and readable storage medium
CN115548488A (en) Charging control method and device, electronic equipment, storage medium and chip
CN114006429A (en) Charging method, charging device, terminal equipment and computer readable storage medium

Legal Events

Date Code Title Description
WWE Wipo information: entry into national phase

Ref document number: 202280004214.9

Country of ref document: CN

121 Ep: the epo has been informed by wipo that ep was designated in this application

Ref document number: 22941213

Country of ref document: EP

Kind code of ref document: A1