Charging and discharging control method, device and equipment, and storage medium
By introducing customizable or automatically configured charging and discharging parameters through an interactive interface into the battery management system, and combining these with battery state parameters to generate target strategies, the problem of rapid battery aging caused by fixed charging strategies in existing technologies is solved, thereby extending battery life and enhancing device intelligence.
Patent Information
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- SHENZHEN MAMMOTION INNOVATION CO LTD
- Filing Date
- 2026-03-25
- Publication Date
- 2026-06-23
AI Technical Summary
In existing battery management systems, the charging strategy is fixed, and the user has limited room for self-adjustment. It is difficult to make personalized settings according to actual usage scenarios, resulting in rapid battery aging, rapid battery capacity decay, and short overall battery life.
A charging and discharging control method is provided, which displays charging and discharging parameters through an interactive interface, allows users to customize or automatically configure them according to the operating mode, and generates a target charging and discharging strategy by combining battery status parameters, thereby realizing personalized charging and discharging control.
It improves the precision control of battery life management, extends battery life, enhances the flexibility and intelligence of equipment, and improves energy utilization and user satisfaction.
Smart Images

Figure CN122267969A_ABST
Abstract
Description
Technical Field
[0001] This application relates to the field of equipment charging and discharging technology, specifically to charging and discharging control methods, devices, equipment, and storage media. Background Technology
[0002] The core functions of mainstream battery management systems include monitoring battery power, controlling charging and discharging, battery protection, and lifespan management. Traditional solutions control charging limits, overcharge protection, and over-discharge protection by collecting information such as battery voltage, current, and temperature.
[0003] In related technologies, the charging strategy is relatively fixed, and users have limited room to adjust parameters such as charging limit and recharge capacity. It is difficult to make personalized settings according to actual usage scenarios, and there is a lack of fine control over battery life management. Users cannot judge whether the current charging and discharging method is harmful to the battery, nor can they actively intervene in the charging and discharging strategy. This leads to problems such as rapid battery aging, rapid battery capacity decay, and short overall battery life in long-term use. Summary of the Invention
[0004] This application provides a charging and discharging control method, apparatus, device, and storage medium to solve the problem that users cannot actively intervene in the charging and discharging strategy, resulting in rapid battery aging, rapid battery capacity decay, and short overall battery life during long-term use.
[0005] In a first aspect, this application provides a charging and discharging control method, applied to a device with an interactive interface, the method comprising: Determine the current operating mode of the equipment, collect the current battery status parameters of the equipment, and display the charging and discharging parameters to be configured on the interactive interface. The charging and discharging parameters include at least one of the following: charging cut-off condition, recharge trigger condition, and continuous operation condition. In response to the user's configuration of charging and discharging parameters through the interactive interface, the target charging and discharging strategy for the current operating mode is determined based on the operation. The device performs charge and discharge control in the current operating mode based on the current battery state parameters and the target charge and discharge strategy.
[0006] This application embodiment determines the current operating mode, battery status parameters under the current operating mode, and the charge / discharge parameters to be configured by collecting and displaying battery status parameters on the interface. It receives user charge / discharge parameter configuration operations and generates a target charge / discharge strategy in the corresponding operating mode based on the operation. Combining the current battery status parameters and the predetermined target charge / discharge strategy, it controls the charging and discharging of the device in the current operating mode, demonstrating the combination of configurability of charge / discharge parameters and adaptability to operating modes. By allowing users to independently configure charge / discharge parameters on the interactive interface and dynamically matching the charge / discharge strategy with the current operating mode and battery status, it realizes personalized configuration of target charge / discharge strategies in different operating modes according to the actual working scenario of the device. This improves the device's adaptability to different operating scenarios, helps extend battery life, thereby improving energy utilization and enhancing the flexibility and intelligence of device use.
[0007] In one optional implementation, the charging and discharging parameters to be configured are displayed on the interactive interface, including: The interactive interface displays the configuration mode corresponding to each charge and discharge parameter to be configured. The configuration mode includes at least a first configuration mode and a second configuration mode. The first configuration mode is used to indicate that the user customizes the charge and discharge parameter configuration, and the second configuration mode is used to indicate that the charge and discharge parameter configuration is performed automatically according to the current operation mode.
[0008] This application embodiment associates each charge / discharge parameter to be configured with two configuration modes. The first configuration mode allows users to customize the charge / discharge parameter configuration, while the second configuration mode automatically generates the charge / discharge parameter configuration based on the current operating mode. This provides users with the ability to configure or select parameters independently at the interactive level, which helps meet users' needs for fine adjustment of charge / discharge parameters while also ensuring the convenience of charge / discharge parameter configuration. This makes the setting of charge / discharge parameters more flexible and convenient, and automatically adapts the charge / discharge parameters according to the actual operating scenario, thereby improving the applicability and intelligence level of the equipment under different user groups and operating conditions.
[0009] In one optional implementation, in response to a user configuring charging and discharging parameters via an interactive interface, a target charging and discharging strategy for the current operating mode is determined based on the operation, including: For each charge / discharge parameter to be configured, in response to the user selecting the target configuration mode corresponding to the current charge / discharge parameter through the interactive interface, the parameter configuration result of the current charge / discharge parameter is determined based on the target configuration mode. Based on the parameter configuration results corresponding to all charging and discharging parameters, a target charging and discharging strategy is generated.
[0010] In this embodiment, for each charge / discharge parameter to be configured, the final configuration result of the charge / discharge parameter is determined according to the target configuration mode selected by the user for the parameter in the interactive interface. This allows the user to choose to configure the parameter using either a first configuration mode or a second configuration mode for each charge / discharge parameter to be configured. Then, based on the parameter configuration results corresponding to all charge / discharge parameters, a target charge / discharge strategy is generated. Through the intelligent charge / discharge parameter configuration mode, it is beneficial to meet the user's need for fine-grained control over individual parameters, thereby improving the accuracy and reliability of charge / discharge strategy generation. This also helps the equipment to accurately execute the user-set charge / discharge strategy under different operating modes and improves user satisfaction.
[0011] In one optional implementation, determining the parameter configuration result of the current charge / discharge parameters based on the target configuration mode includes: When the target configuration mode is the first configuration mode, the custom configuration interface of the current charging and discharging parameters is displayed on the interactive interface. The custom configuration interface includes: the allowable setting range of the current charging and discharging parameters corresponding to the current working mode. In response to the parameter values determined by the user through the custom configuration interface, the parameter configuration result of the current charging and discharging parameters is determined, and the parameter values are within the allowed setting range.
[0012] This application embodiment displays a custom configuration interface for the current charging and discharging parameters on the interactive interface after the user selects the first configuration mode. The interface presents the allowable setting range corresponding to the current working mode. After the user determines the parameter value within the allowable setting range, the parameter value is used as the configuration result of the current charging and discharging parameters. This is beneficial for users to configure parameters within a reasonable and safe parameter configuration range, improves the working capability of the equipment in different working scenarios, and helps to meet the user's fine-grained custom adjustment needs for charging and discharging parameters in different working scenarios.
[0013] In one optional implementation, determining the parameter configuration result of the current charge / discharge parameters based on the target configuration mode further includes: When the target configuration mode is the second configuration mode, based on the historical parameter configuration results corresponding to the current operation mode, it is recommended to set the charging cutoff threshold, the recharge capacity threshold, and the continuous operation capacity threshold. Based on the recommended charging cutoff threshold, recharge capacity threshold, and continuous operation capacity threshold, the parameter configuration result of the current charging and discharging parameters is determined.
[0014] This application embodiment, when the user selects the second configuration mode, recommends charging cutoff threshold, recharge capacity threshold, and continuous operation capacity threshold based on the historical parameter configuration results corresponding to the current operation mode, thereby determining the parameter configuration results of the current charging and discharging parameters. This is beneficial to improving user selectivity and providing different configuration modes for different parameters. It also helps to simplify the charging and discharging parameter configuration operation of the equipment in the same working scenario, thereby improving the working efficiency of the equipment and taking into account the rationality of the charging and discharging strategy. This helps to achieve stable charging and discharging control of the equipment in repetitive or similar working scenarios.
[0015] In one alternative implementation, the method further includes: The current battery status parameters are displayed on the interactive interface, and the display of the current battery status parameters is updated at preset time intervals during the charging and discharging control of the device.
[0016] This application embodiment displays the current battery status parameters on the interactive interface. On the other hand, during the charging and discharging control of the device, the charging and discharging parameters are continuously displayed and updated at preset time intervals. This helps users to keep abreast of the dynamic changes in the battery status in real time, improves their ability to perceive the device's operating status, and enhances the transparency and controllability of the device's use.
[0017] In one alternative implementation, the method further includes: During the charging and discharging control of the equipment, in response to the detection of the current battery status parameters, the preset battery protection conditions are triggered, and the battery protection type is determined. Based on the battery protection type, determine the target battery charge and discharge protection strategy and execute the target battery charge and discharge protection strategy.
[0018] This application embodiment monitors battery status parameters in real time during the charging and discharging control process and determines the battery protection type when a preset battery protection condition is triggered. Then, it executes a corresponding protection strategy according to the battery protection type. This is beneficial for taking appropriate protection measures in a timely manner when the battery status is abnormal, which helps to improve the safety of battery use and extend battery life.
[0019] In one optional implementation, a target battery charge / discharge protection strategy is determined based on the battery protection type, including: When the battery protection type is over-temperature protection, the over-temperature threshold level corresponding to the current battery temperature is determined according to the preset over-temperature threshold level. The over-temperature threshold level includes a first over-temperature threshold level and a second over-temperature threshold level. The temperature threshold of the first over-temperature threshold level is less than the temperature threshold of the second over-temperature threshold level. When the current temperature of the battery is detected to exceed the first over-temperature threshold level, the target battery charge and discharge protection strategy is determined to be the first charge and discharge protection strategy. The first charge and discharge protection strategy includes at least reducing the current charging current or pausing charging. When the battery temperature is detected to rise continuously within a preset time and exceed the second over-temperature threshold level, the target battery charge and discharge protection strategy is determined to be the second charge and discharge protection strategy. The second charge and discharge protection strategy is to stop charging, control the equipment to stop executing the current operation task and enter the standby state, and resume the current operation task when the battery temperature is lower than the first over-temperature threshold level.
[0020] This application embodiment achieves graded control of battery over-temperature conditions by setting two progressively increasing threshold levels in the over-temperature protection and matching them with differentiated protection strategies. At the first over-temperature threshold, current limiting or charging suspension measures are adopted, which is beneficial to take battery protection measures without affecting the continuity of equipment operation. At the second over-temperature threshold, shutdown protection and standby cooling mechanisms are adopted when the temperature is continuously high, which is beneficial to ensure the safety of the battery and equipment. Through the graded response mechanism, the effectiveness of the operation task and the recovery efficiency are taken into account while ensuring battery safety.
[0021] In one optional implementation, determining the target battery charge / discharge protection strategy based on the battery protection type further includes: When the battery protection type is overvoltage protection, the target battery charge / discharge protection strategy is determined to be at least to stop charging and record the current overvoltage state; In response to battery protection types such as undervoltage or low power, when the power level is not lower than the minimum safe power threshold, a recharge path is planned between the device and the charging station in the current working environment. Select the path with the lowest energy consumption among the return paths as the target return path, and determine the target battery charge and discharge protection strategy as returning to the charging pile according to the target return path; When the battery level is determined to be below the minimum safe battery level threshold, the control device stops executing the current task and enters a low-power protection mode.
[0022] This application's embodiments formulate differentiated protection strategies for different battery protection types such as overvoltage and undervoltage, and further classify the processing according to the power level in the undervoltage scenario. This is beneficial for timely cutting off charging to protect the battery in the event of overvoltage, and for guiding the device to autonomously recharge through the optimal energy consumption path when the power is low. When the power is severely insufficient, it enters a low-power protection mode to protect the battery, which is beneficial for battery protection.
[0023] Secondly, this application provides a charge / discharge control device for use in a device with an interactive interface, the device comprising: The display module is used to determine the current operating mode of the device, collect the current battery status parameters of the device, and display the charging and discharging parameters to be configured on the interactive interface. The charging and discharging parameters include at least one of the following: charging cut-off condition, recharge trigger condition, and continuous operation condition. The operation module is used to respond to the user's operation of configuring charging and discharging parameters through the interactive interface, and to determine the target charging and discharging strategy for the current working mode based on the operation. The control module is used to control the charging and discharging of the device in the current operating mode based on the current battery state parameters and the target charging and discharging strategy.
[0024] Thirdly, this application provides a device having an interactive interface, the device comprising: a controller, the controller comprising: The memory and the processor are interconnected and communicate with each other. The memory stores computer instructions, and the processor executes the computer instructions to perform the method described in the first aspect or any of its corresponding embodiments.
[0025] In one alternative implementation, the device is a lawnmower.
[0026] Fourthly, this application provides a computer-readable storage medium storing computer instructions for causing a computer to perform the method described in the first aspect or any corresponding embodiment thereof. Attached Figure Description
[0027] To more clearly illustrate the technical solutions in the specific embodiments of this application or the prior art, the drawings used in the description of the specific embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are some embodiments of this application. For those skilled in the art, other drawings can be obtained from these drawings without creative effort.
[0028] Figure 1 This is a schematic diagram illustrating an application scenario according to one or more embodiments of this application; Figure 2 This is a schematic flowchart of a first type of charge-discharge control method according to one or more embodiments of this application; Figure 3 This is a second flowchart illustrating a charge / discharge control method according to one or more embodiments of this application; Figure 4 This is a schematic diagram of the interactive interface of a charging and discharging control method according to one or more embodiments of this application (I); Figure 5 This is a schematic diagram of the interactive interface of a charging and discharging control method according to one or more embodiments of this application (II); Figure 6 This is a schematic diagram of the interactive interface of a charging and discharging control method according to one or more embodiments of this application (III); Figure 7 This is a schematic diagram of the interactive interface of a charging and discharging control method according to one or more embodiments of this application (IV); Figure 8 This is a structural block diagram of a charge / discharge control device according to one or more embodiments of this application; Figure 9 This is a schematic diagram of the hardware structure of the controller of a device according to one or more embodiments of this application. Detailed Implementation
[0029] To make the objectives, technical solutions, and advantages of the embodiments of this application clearer, the technical solutions of the embodiments of this application will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only some embodiments of this application, not all embodiments. Based on the embodiments of this application, all other embodiments obtained by those skilled in the art without creative effort are within the scope of protection of this application.
[0030] It is understood that before using the technical solutions disclosed in the various embodiments of this application, users should be informed of the types, scope of use, and usage scenarios of the personal information involved in this application in an appropriate manner in accordance with relevant laws and regulations, and user authorization should be obtained.
[0031] The terms "first" and "second" are used for descriptive purposes only and should not be construed as indicating or implying relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined as "first" or "second" may explicitly or implicitly include one or more of that feature. In the description of this application, "multiple" means two or more, unless otherwise explicitly specified.
[0032] As one optional application scenario in the embodiments of this application, such as Figure 1 As shown, a device includes a controller 101 and an interactive interface 102. The interactive interface 102 is used to display charging and discharging parameters and to allow users to configure the charging and discharging parameters to be configured. The controller 101 is used to execute a charging and discharging control method. The overall process of the controller 101 executing the charging and discharging control method is detailed in the relevant description of the method embodiment below, and will not be repeated here.
[0033] In some optional embodiments of this example, taking a lawnmower as an example, the lawnmower includes a controller 101 and has an interactive interface 102. The interactive interface 102 is used to display the charging and discharging parameters of the lawnmower and to allow the user to configure the charging and discharging parameters of the lawnmower. The controller 101 is used to execute the charging and discharging control method. For details on the overall process of the controller 101 executing the charging and discharging control method, please refer to the relevant description of the method embodiment below, which will not be repeated here.
[0034] The device provided in this embodiment can also be a swimming pool robot, a coffee machine, or other smart devices.
[0035] Currently, mainstream Battery Management Systems (BMS) are mainly used in mobile phones, smart devices, power tools, and new energy equipment. Their core functions include battery power monitoring, charge / discharge control, battery protection, and lifespan management. Traditional solutions typically collect battery status information in real time using sensors such as voltage, current, and temperature, and the control chip or software system makes judgments to control charging limits, overcharge, and over-discharge protection. For example, charging stops when the battery reaches 100% and prompts the user to charge when the battery level is low.
[0036] While existing battery management technologies can meet basic safety and charge / discharge control requirements, several shortcomings remain. First, charging strategies are relatively fixed, limiting user flexibility in adjusting parameters such as charging limits and recharge capacity, making it difficult to personalize settings based on actual usage scenarios. Second, the system focuses more on "safety" than on "how to extend battery life," for example, it doesn't adequately guide users to avoid frequent full charging or deep discharging.
[0037] Furthermore, existing systems present information such as battery cycle count and maximum capacity decay in a rather simplistic way, lacking intuitive and actionable suggestions. While users can see the data, they struggle to understand its actual impact on battery life. Ultimately, this leads to problems such as accelerated battery aging and battery anxiety during long-term use.
[0038] In some optional implementations of this embodiment, a configurable, visualized, and intelligent battery management method and system are proposed, focusing on addressing the problems of insufficient user control and inefficient battery life management in existing solutions. By introducing functional modules such as "charging upper limit setting," "recharge capacity threshold," and "continuous operation power setting," users can flexibly adjust battery strategies according to their needs. For example, users can set the charging upper limit to 80% to extend battery life, or adjust the upper limit to 100% before high-load operation.
[0039] Meanwhile, the system displays key battery metrics such as current charge level, maximum capacity, and cycle count through an intuitive interface, and links these metrics with charging and discharging strategies to help users develop scientific usage habits. The system can also dynamically adjust the charging and discharging logic based on the user-selected mode (intelligent / custom), thereby achieving more refined battery life management and energy scheduling optimization while ensuring safety.
[0040] For a long time, users have generally faced problems such as "short battery life," "charging anxiety," and "rapid battery life degradation." Traditional devices often only display the battery percentage, making it difficult for users to determine whether the current charging method is harmful to the battery, and they also cannot actively intervene in the charging and discharging strategy. By providing clear charging limits, recharge capacity, and continuous operating power settings, users can flexibly adjust battery management methods according to their own usage scenarios.
[0041] For example, users who frequently perform long-duration tasks can set a higher continuous operating power threshold; while users with light daily use can choose a lower charging limit to extend battery life. At the same time, by displaying the battery cycle count and maximum capacity degradation, users can better understand the battery's health status, thereby rationally planning usage and maintenance strategies and effectively alleviating battery anxiety and unstable device battery life.
[0042] According to an embodiment of this application, a charging and discharging control method embodiment is provided. It should be noted that the steps shown in the flowchart in the accompanying drawings can be executed in a computer system such as a set of computer-executable instructions. Furthermore, although a logical order is shown in the flowchart, in some cases, the steps shown or described may be executed in a different order than that shown here.
[0043] This embodiment provides a charging and discharging control method, which can be used in the controller of the aforementioned device, such as a lawnmower controller. Figure 2 This is a schematic flowchart of a first embodiment of the charge / discharge control method according to this application, as shown below. Figure 2 As shown, the process includes the following steps: Step S201: Determine the current operating mode of the device, collect the current battery status parameters of the device, and display the charging and discharging parameters to be configured on the interactive interface. The charging and discharging parameters include at least one of the following: charging cut-off condition, recharge trigger condition, and continuous operation condition.
[0044] It should be noted that the current operating mode of the equipment refers to the current operating scenario and the operating tasks set in the current operating scenario. Taking a lawnmower as an example, a lawnmower has different mowing scenarios, i.e., different mowing modes; in some optional implementations of this embodiment, the charging limit, recharge capacity, and continuous operating power threshold of the lawnmower can be configured in different mowing scenarios.
[0045] The current battery status parameters of the device include, but are not limited to, real-time collected data such as battery charge, voltage, current, temperature, cycle count, and maximum capacity.
[0046] In some optional implementations of this embodiment, the way to display the charge and discharge parameters to be configured on the interactive interface can be to display each charge and discharge parameter simultaneously or to display each charge and discharge parameter in sequence. Users can perform parameter configuration operations on each charge and discharge parameter on the interactive interface.
[0047] Among them, the charging cutoff condition refers to the appropriate charging limit that the user can configure according to the current working mode of the device. When the device's power reaches the charging cutoff condition, charging will stop. The recharge trigger condition refers to the appropriate recharge capacity threshold that the user can configure according to the current working mode of the device. When the device is performing a task in the current working mode, based on the power consumption of the working mode, when the configured recharge trigger condition is reached, the device will return to the charging station for autonomous charging. The continuous working condition refers to the power level that needs to be maintained to complete the task in the current working mode.
[0048] The interactive interface is the display and operation interface used for information exchange between the user and the device. The interactive interface can be a touch screen, which displays the charging and discharging parameters to be configured. The user then performs touch operations on the touch screen to configure these parameters.
[0049] Step S202: In response to the user's operation of configuring charging and discharging parameters through the interactive interface, the target charging and discharging strategy for the current operating mode is determined based on the operation.
[0050] It should be noted that the user can configure the charging and discharging parameters through the interactive interface by at least one touch operation, that is, by touching the display position of the charging and discharging parameters in the interactive interface to complete the configuration of the charging and discharging parameters.
[0051] Step S203: Based on the current battery state parameters and the target charge / discharge strategy, the device is controlled to charge and discharge in the current operating mode.
[0052] Among them, the charging and discharging control of the equipment in the current operating mode includes charging and discharging control according to the configured charging cutoff conditions, recharge trigger conditions and continuous operating conditions in the current operating mode.
[0053] Specifically, when the current power level of the device reaches the charging cutoff condition configured in the target charging and discharging strategy, the device is controlled to execute the work task in the current working mode; when the current power level of the device reaches the recharge trigger condition configured in the target charging and discharging strategy, the device is controlled to return to the charging pile for charging; when the current power level of the device meets the continuous working conditions configured in the target charging and discharging strategy, the device continues to execute the work task in the current working mode; when the current power level of the device does not meet the continuous working conditions configured in the target charging and discharging strategy, the device is controlled to return to the charging pile for charging.
[0054] The charging and discharging control method provided in this embodiment determines the current operating mode, battery status parameters, and configurable charging and discharging parameters under the current operating mode by collecting and displaying battery status parameters on the interface. It receives user charging and discharging parameter configuration operations and generates a target charging and discharging strategy in the corresponding operating mode based on these operations. Combining the current battery status parameters with the predetermined target charging and discharging strategy, it executes charging and discharging control, demonstrating the combination of configurability of charging and discharging parameters and adaptability to operating modes. By allowing users to independently configure charging and discharging parameters on the interactive interface and dynamically matching the charging and discharging strategy with the current operating mode and battery status, it achieves personalized configuration of target charging and discharging strategies under different operating modes according to the actual working scenario of the equipment. This improves the equipment's adaptability to different operating scenarios, helps extend battery life, thereby improving energy utilization and enhancing the flexibility and intelligence of equipment use.
[0055] This embodiment provides a charging and discharging control method, which can be used in the controller of the aforementioned device, such as a lawnmower controller. Figure 3 This is a second flowchart illustrating the charging and discharging control method according to an embodiment of this application, as shown below. Figure 3 As shown, the process includes the following steps: Step S301: Determine the current operating mode of the device, collect the current battery status parameters of the device, and display the charging and discharging parameters to be configured on the interactive interface. The charging and discharging parameters include at least one of the following: charging cut-off condition, recharge trigger condition, and continuous operation condition.
[0056] Specifically, step S301 includes: Step S3011: Display the configuration mode corresponding to each charge / discharge parameter to be configured on the interactive interface. The configuration mode includes at least: a first configuration mode and a second configuration mode. The first configuration mode is used to indicate that the user customizes the charge / discharge parameter configuration, and the second configuration mode is used to indicate that the charge / discharge parameter configuration is performed automatically according to the current operation mode.
[0057] It should be noted that in the first configuration mode, the interactive interface displays the charging and discharging parameter thresholds corresponding to each charging and discharging parameter. In the first configuration mode, you can select a parameter threshold from the charging and discharging parameter thresholds for custom configuration, or you can enter the charging and discharging parameter thresholds in the input fields corresponding to each charging and discharging parameter for custom configuration. In the second configuration mode, the interactive interface displays the system's recommended pre-configured charging and discharging parameters. You can select the recommended charging and discharging parameters for automatic configuration.
[0058] The charging and discharging control method provided in this embodiment associates each charging and discharging parameter to be configured with two configuration modes. The first configuration mode allows users to customize the charging and discharging parameter configuration, while the second configuration mode automatically generates the charging and discharging parameter configuration based on the current operating mode. This provides users with the ability to configure or select parameters independently at the interactive level, which helps to meet users' needs for fine adjustment of charging and discharging parameters while taking into account the convenience of charging and discharging parameter configuration. This makes the setting of charging and discharging parameters more flexible and convenient, and automatically adapts the charging and discharging parameters according to the actual operating scenario, thereby improving the applicability and intelligence level of the equipment under different user groups and operating conditions.
[0059] Step S302: In response to the user's operation of configuring charging and discharging parameters through the interactive interface, the target charging and discharging strategy for the current operating mode is determined based on the operation.
[0060] Specifically, step S302 includes: Step S3021: For each charge / discharge parameter to be configured, in response to the user selecting the target configuration mode corresponding to the current charge / discharge parameter through the interactive interface, the parameter configuration result of the current charge / discharge parameter is determined based on the target configuration mode.
[0061] Specifically, each charging and discharging parameter to be configured can be configured through a first configuration mode and a second configuration mode. For example, for the charging cutoff condition parameter, the parameter can be configured by first or second configuration mode. If the first configuration mode is selected, then the first configuration mode is the target configuration mode for the charging cutoff condition parameter. If the second configuration mode is selected, then the second configuration mode is the target configuration mode for the charging cutoff condition parameter. The method for selecting the target configuration mode for the recharge trigger condition and the continuous operation condition is the same as the method for selecting the target configuration mode for the charging cutoff condition parameter.
[0062] Specifically, after selecting the target configuration mode, the charging cutoff condition is configured based on the target configuration mode. For example, when the target configuration mode is the first configuration mode, the configuration is completed by inputting a custom charging cutoff threshold; when the target configuration mode is the second configuration mode, the configuration is completed by selecting the charging cutoff threshold recommended by the system. The method for configuring the parameters of the recharge trigger condition and the continuous operation condition in the target configuration mode is the same as the method for configuring the parameters of the charging cutoff condition in the target configuration mode.
[0063] Specifically, step S3021 includes: Step a1: When the target configuration mode is the first configuration mode, the custom configuration interface of the current charging and discharging parameters is displayed on the interactive interface. The custom configuration interface includes: the allowable setting range of the current charging and discharging parameters corresponding to the current working mode.
[0064] For example, the current charge / discharge parameters refer to the charging cutoff conditions, recharge trigger conditions, or continuous operation conditions that the user is currently configuring related to charge / discharge.
[0065] The custom configuration interface is the interface area in the first configuration mode where users can manually input or set parameter values.
[0066] The current operating mode refers to the category of operating status of the equipment, such as different work scenarios or operating modes.
[0067] The allowed setting range refers to the range of parameter values that can be selected by the user under the current operating mode for the current charging and discharging parameters.
[0068] It should be noted that there is a correlation between the current charging and discharging parameters and the current operating mode, and the allowed setting range is set for this parameter under this operating mode.
[0069] Step a2: In response to the parameter values determined by the user through the custom configuration interface, determine the parameter configuration result of the current charging and discharging parameters, and the parameter values are within the allowed setting range.
[0070] It should be noted that the custom configuration interface can provide a numerical input box for users to input specific parameter values, or a drop-down menu that includes different numerical parameter values. Users can select parameter values by selecting from the drop-down menu, or by dragging a progress bar. When selecting parameter values by dragging the progress bar, the value of the progress bar represents the magnitude of the parameter value.
[0071] The parameter value refers to the specific value that the user sets for the current charging and discharging parameters through the custom configuration interface. For example, the parameter value set for the charging cutoff condition is 80%.
[0072] The parameter configuration result refers to the final configuration content of the current charging and discharging parameters after user setting and confirmation. In some optional implementations of this embodiment, the parameter configuration result can be adjusted again in subsequent operating modes.
[0073] The charging and discharging control method provided in this embodiment displays a custom configuration interface for the current charging and discharging parameters on the interactive interface after the user selects the first configuration mode. The interface presents the allowable setting range corresponding to the current working mode. After the user determines the parameter value within the allowable setting range, the parameter value is used as the configuration result of the current charging and discharging parameters. This method helps users configure parameters within a reasonable and safe parameter configuration range, improves the working capability of the equipment in different working scenarios, and meets the user's needs for fine-grained custom adjustment of charging and discharging parameters in different working scenarios.
[0074] Step a3: When the target configuration mode is the second configuration mode, based on the historical parameter configuration results corresponding to the current operation mode, recommend the charging cutoff threshold, the recharge capacity threshold, and the continuous operation capacity threshold.
[0075] It should be noted that the historical parameter configuration results can be the parameter settings generated and recorded when configuring charging and discharging parameters in the past under the same operating mode.
[0076] Among them, the charging cutoff setting threshold refers to a parameter value recommended by the system, which is used to set the conditions for terminating the charging process; the recharge capacity threshold refers to the capacity threshold used to set the power threshold that triggers the return to the charging pile for charging; and the continuous operation capacity threshold refers to the minimum power condition required for the equipment to operate continuously.
[0077] Step a4: Based on the recommended charging cutoff threshold, recharge capacity threshold, and continuous operation capacity threshold, determine the parameter configuration result of the current charging and discharging parameters.
[0078] It should be noted that users can determine the current charging and discharging parameter configuration by selecting or confirming the recommended charging cutoff threshold, recharge capacity threshold, and continuous operation capacity threshold in the interactive interface.
[0079] The charging and discharging control method provided in this embodiment recommends charging cutoff threshold, recharge capacity threshold, and continuous operation capacity threshold based on the historical parameter configuration results corresponding to the current operation mode when the user selects the second configuration mode. This determines the parameter configuration results of the current charging and discharging parameters, which helps to improve user selectivity and provide different configuration modes for different parameters. It also simplifies the charging and discharging parameter configuration operation of the equipment in the same working scenario, thereby improving the working efficiency of the equipment and taking into account the rationality of the charging and discharging strategy. This helps to achieve stable charging and discharging control of the equipment in repetitive or similar working scenarios.
[0080] Step S3022: Generate the target charging and discharging strategy based on the parameter configuration results corresponding to all charging and discharging parameters.
[0081] It should be noted that this target charge / discharge strategy is applicable to the current operating mode. Target charge / discharge strategies can be generated for different operating modes according to the methods described above.
[0082] The charging and discharging control method provided in this embodiment determines the final configuration result of each charging and discharging parameter to be configured based on the target configuration mode selected by the user for that parameter in the interactive interface. This facilitates the user's ability to choose between configuring the parameter using a first configuration mode or a second configuration mode for each charging and discharging parameter to be configured. Then, based on the parameter configuration results corresponding to all charging and discharging parameters, a target charging and discharging strategy is generated. Through the intelligent charging and discharging parameter configuration mode, it is beneficial to meet the user's need for fine-grained control over individual parameters, thereby improving the accuracy and reliability of charging and discharging strategy generation. This also helps the equipment to accurately execute the user-set charging and discharging strategy under different operating modes and improves user satisfaction.
[0083] Step S303: Based on the current battery state parameters and the target charge / discharge strategy, the device performs charge / discharge control in the current operating mode. For details, please refer to [link to relevant documentation]. Figure 2 Step S203 of the illustrated embodiment will not be described again here.
[0084] Step S304: Display the current battery status parameters on the interactive interface, and update the display of the current battery status parameters according to a preset time interval during the charging and discharging control of the device.
[0085] The charge / discharge control process refers to the management and regulation of charging or discharging the device's battery.
[0086] The preset time interval is a fixed time period that is set in advance and used to periodically update the real-time battery level of the device and to periodically display the real-time battery level of the device on the interactive interface.
[0087] The charging and discharging control method provided in this embodiment displays the current battery status parameters on the interactive interface. On the other hand, during the charging and discharging control of the device, the charging and discharging parameters are continuously displayed and updated at preset time intervals. This helps users to keep abreast of the dynamic changes in the battery status in real time, improves their ability to perceive the device's operating status, and enhances the transparency and controllability of the device's use.
[0088] Step S305: During the charging and discharging control of the device, in response to the detection of the current battery state parameters triggering the preset battery protection conditions, the battery protection type is determined.
[0089] It should be noted that the preset battery protection strategy refers to the pre-set conditions used to determine whether the battery needs to enter a protection state, such as at least over-temperature threshold, over-voltage threshold and under-voltage threshold.
[0090] During the charging and discharging control process, the system monitors the battery status and triggers preset battery protection conditions when the battery voltage or temperature reaches a certain protection threshold. Battery protection types include at least over-temperature protection, over-voltage protection, and under-voltage protection.
[0091] Step S306: Determine the target battery charge / discharge protection strategy according to the battery protection type, and execute the target battery charge / discharge protection strategy.
[0092] It should be noted that the protection strategy differs for each type of battery protection.
[0093] The charging and discharging control method provided in this embodiment monitors battery status parameters in real time during the charging and discharging control process and determines the battery protection type when a preset battery protection condition is triggered. Then, it executes a corresponding protection strategy according to the battery protection type. This is beneficial for taking appropriate protection measures in a timely manner when the battery status is abnormal, which helps to improve the safety of battery use and extend battery life.
[0094] Specifically, step S306 includes: Step b1: In response to the battery protection type being over-temperature protection, determine the over-temperature threshold level corresponding to the current battery temperature according to the preset over-temperature threshold level. The over-temperature threshold level includes a first over-temperature threshold level and a second over-temperature threshold level. The temperature threshold of the first over-temperature threshold level is less than the temperature threshold of the second over-temperature threshold level.
[0095] It should be noted that over-temperature protection refers to a type of battery protection that is triggered when the battery temperature exceeds a preset safety range. The preset over-temperature threshold level refers to the pre-set different levels used to classify the severity of battery temperature and their corresponding temperature critical values.
[0096] The current battery temperature refers to the battery temperature value monitored by the device at the current moment.
[0097] The over-temperature threshold level is a temperature level determined by comparing the current battery temperature with a preset over-temperature threshold level.
[0098] Step b2: When the current temperature of the battery is detected to exceed the first over-temperature threshold level, the target battery charge and discharge protection strategy is determined to be the first charge and discharge protection strategy. The first charge and discharge protection strategy includes at least reducing the current charging current or pausing charging.
[0099] For example, when an overheating condition is detected, the system will handle it in stages according to temperature thresholds. When the battery temperature exceeds a preset first safety threshold, the system will reduce the charging current or suspend charging and limit the operating power of the lawnmower robot to reduce the battery load.
[0100] Step b3: When the battery temperature is detected to rise continuously within a preset time and exceed the second over-temperature threshold level, the target battery charge and discharge protection strategy is determined to be the second charge and discharge protection strategy. The second charge and discharge protection strategy is to stop charging, control the device to stop executing the current operation task and enter the standby state, and resume the current operation task when the battery temperature is lower than the first over-temperature threshold level.
[0101] For example, when the temperature continues to rise and exceeds the second safety threshold, the system immediately stops charging and suspends the mowing operation, putting the equipment into a safe standby state, and resumes normal operation after the temperature returns to a safe range.
[0102] The charging and discharging control method provided in this embodiment achieves graded control of battery over-temperature conditions by setting two progressively increasing threshold levels in the over-temperature protection and matching them with differentiated protection strategies. At the first over-temperature threshold, current limiting or charging suspension measures are adopted, which is beneficial to take battery protection measures without affecting the continuity of equipment operation. At the second over-temperature threshold, shutdown protection and standby cooling mechanisms are adopted when the temperature is continuously high, which is beneficial to ensure the safety of the battery and equipment. Through the graded response mechanism, the effectiveness of the operation task and the recovery efficiency are taken into account while ensuring battery safety.
[0103] Step b4: In response to the battery protection type being overvoltage protection, determine that the target battery charge / discharge protection strategy is at least to stop charging and record the current overvoltage state.
[0104] It should be noted that the current overvoltage status refers to the status information related to overvoltage protection recorded by the device at the current moment, including but not limited to the time of overvoltage occurrence and voltage value.
[0105] For example, taking a lawnmower as an example, when an overvoltage condition is detected in the battery, the system will immediately stop the charging process and cut off the charging circuit through the vehicle-side control module or the charging pile-side control module to prevent the battery from continuing to increase in voltage; at the same time, the system records the abnormal state and stores it in the log for subsequent maintenance or fault diagnosis.
[0106] Step b5: In response to the battery protection type being undervoltage or low power, when the power level is not lower than the minimum safe power threshold, plan the recharge path between the device and the charging station in the current operating environment.
[0107] It should be noted that "battery undervoltage" refers to the protection mechanism triggered when the current battery voltage is lower than the preset safe range, while "low charge" refers to the protection mechanism triggered when the remaining battery charge is lower than the preset safe charge threshold.
[0108] The minimum safe power threshold is a critical value for the remaining battery power set based on factors such as the device's operating performance. It is used to determine whether the device needs to take immediate low power protection measures.
[0109] The current operating environment refers to the physical scene or spatial range in which the equipment performs its tasks. A charging station is a fixed or mobile charging device that provides charging services to the equipment.
[0110] The recharge path is the accessible route from the device's current location to the charging station. In some optional embodiments of this example, under various operating modes of the device, at least one charging station can be set up in the corresponding operating scenario for the device to charge.
[0111] Step b6: Select the path with the lowest energy consumption among the recharge paths as the target recharge path, and determine the target battery charge and discharge protection strategy as returning to the charging station according to the target recharge path.
[0112] It should be noted that the path with the lowest energy consumption is the one that consumes the least amount of power among all available charging paths, and this path is used as the target charging path. The device then moves to the location of the charging station according to this target charging path.
[0113] Step b7: When the power level is determined to be lower than the minimum safe power level threshold, the control device stops executing the current task and enters the low power protection mode.
[0114] For example, taking a lawnmower as an example, when the system detects low battery voltage or low power, it will prioritize triggering the recharge mechanism. If the device is far from the charging station, the system will use the path planning module to select the lowest energy consumption path back to the charging station and limit the power of the lawnmower motor to ensure that the remaining power is sufficient to support the device's safe return to the charging station. When the power level falls below the minimum safe power threshold, the device will stop operating and enter a low-power protection mode, waiting for manual intervention or external charging.
[0115] The charging and discharging control method provided in this embodiment formulates differentiated protection strategies for different battery protection types such as overvoltage and undervoltage, and further classifies the processing according to the power level in the undervoltage scenario. This is beneficial for timely cutting off charging to protect the battery in the event of overvoltage, and for guiding the device to autonomously recharge through the optimal energy consumption path when the power is low. When the power is severely insufficient, it enters a low power protection mode to protect the battery, which is beneficial for battery protection.
[0116] The following is combined with Figure 4 This describes one or more specific application embodiments based on the embodiments of this application.
[0117] For example, Figure 4 This is a schematic diagram of the interactive interface (a) of a charging and discharging control method according to one or more embodiments of this application. The interactive interface displays the current power level.
[0118] Figure 5 This is a schematic diagram (II) of the interactive interface of a charging and discharging control method according to one or more embodiments of this application. The interactive interface displays the charging limit and selectable smart mode and custom mode, wherein the smart mode corresponds to the second configuration mode in the above method embodiments, and the custom mode corresponds to the first configuration mode in the above method embodiments. In this embodiment, the parameter configuration operation of the charging limit can be implemented by dragging the progress bar. Figure 5 The maximum capacity and battery cycle count displayed on the interactive interface are also shown.
[0119] For example, Figure 6 This is a schematic diagram of the interactive interface of a charging and discharging control method according to one or more embodiments of this application (III). Figure 6 An example of an interactive interface displaying recharge capacity is shown. The recharge capacity parameter includes a selectable smart mode and a custom mode. The smart mode corresponds to the second configuration mode in the above method embodiment, and the custom mode corresponds to the first configuration mode in the above method embodiment. The recharge capacity parameter value can be configured through one of these two modes, and the configuration operation can be performed by dragging a progress bar.
[0120] For example, Figure 7 This is a schematic diagram of the interactive interface of a charging and discharging control method according to one or more embodiments of this application (IV). Figure 7 The continuous operation power displayed in the interactive interface is shown. The continuous operation power also includes selectable smart mode and custom mode. The smart mode corresponds to the second configuration mode in the above method embodiment, and the custom mode corresponds to the first configuration mode in the above method embodiment. The configuration operation can be performed by dragging the progress bar.
[0121] It should be noted that when configuring parameter values by dragging the progress bar, the corresponding parameter value configuration result will change as the progress bar is dragged to a different position.
[0122] The charge / discharge control logic is designed based on the battery's electrochemical characteristics and lifespan degradation mechanism. Studies have shown that prolonged exposure to high voltage or deep discharge accelerates battery aging; therefore, limiting the charging upper limit and setting a reasonable recharge threshold can effectively extend battery life.
[0123] After the system starts up, it collects the current battery status parameters; the user selects "Custom" mode (first configuration mode) or "Smart" (second configuration mode) in the interactive interface.
[0124] In custom mode (first configuration mode), users set the charging limit, recharge capacity threshold, and continuous operation capacity threshold.
[0125] Taking lawnmowers as an example, the battery power strategy requirements differ significantly across different operating modes in intelligent lawnmower robot applications. For instance, in routine maintenance mowing modes, the robot typically performs low-load, periodic operations along a preset route. In this case, the system can recommend setting the charging limit to a lower value (e.g., 80%–90%) and the recharge threshold to a higher value (e.g., 30%–40%) to reduce the battery's prolonged fully charged state and extend its lifespan. However, in high-intensity operating modes, such as initial mowing, long-grass mowing, or large-area lawn operations, the system recommends increasing the charging limit to nearly 100% and appropriately lowering the recharge threshold, for example, to 20%–25%, to ensure the device can continuously complete tasks for extended periods. By automatically recommending battery strategy parameters based on different mowing modes, battery health management can be optimized while maintaining operational efficiency.
[0126] The system controls the charging and discharging circuit of the device according to the set parameters; and updates the battery data in real time, displaying the updated battery data in the interactive interface. The battery data includes at least the current remaining battery power.
[0127] When overheating or overvoltage of the battery is detected, protection strategies are immediately implemented.
[0128] It should be noted that when an overheating condition is detected, the system will handle it in stages according to temperature thresholds. When the battery temperature exceeds the preset first safety threshold, the system will reduce the charging current or suspend charging and limit the operating power of the lawnmower robot to reduce the battery load; when the temperature continues to rise and exceeds the second safety threshold, the system will immediately stop charging and suspend the lawnmower operation, putting the equipment into a safe standby state, and will resume normal operation after the temperature returns to a safe range.
[0129] Secondly, upon detecting an overvoltage condition in the battery, the system immediately stops the charging process and disconnects the charging circuit via the vehicle-side control module or the charging pile-side control module to prevent the battery voltage from continuing to rise. Simultaneously, the system records this abnormal state and stores it in the log for subsequent maintenance or fault diagnosis.
[0130] When the system detects low battery voltage or low power, it will prioritize triggering the recharge mechanism. If the device is far from the charging station, the system will use the path planning module to select the lowest energy consumption path back to the charging station and limit the power of the lawnmower motor to ensure that the remaining power is sufficient to support the device's safe return to the charging station. When the power level falls below the minimum safe power threshold, the device will stop operating and enter a low-power protection mode, awaiting manual intervention or external charging.
[0131] In this embodiment, by introducing configurable charging upper limits, recharge capacity thresholds, and continuous operating power setting mechanisms, fine-grained control of the battery charging and discharging process is achieved. Compared with existing fixed charging strategies, this solution can dynamically adjust charging behavior according to different usage scenarios, effectively preventing the battery from being in a high-voltage or deep-discharge state for a long time, thereby significantly reducing the rate of battery capacity decay and extending the overall battery life.
[0132] By monitoring and visualizing the battery's maximum capacity and cycle count in real time, users can intuitively understand the battery's health status and make reasonable adjustments based on charging and discharging parameters, thus improving the transparency and controllability of battery management. Simultaneously, the system supports switching between "intelligent mode" and "custom mode," balancing safety with personalized user needs and enhancing the flexibility and adaptability of battery management strategies.
[0133] Furthermore, by setting a recharge capacity threshold, the device automatically starts charging when the battery level drops to a preset level, preventing performance degradation or operational interruptions due to low battery, thereby improving the stability and reliability of equipment operation. The continuous operation power setting function ensures that the device maintains sufficient power when performing critical tasks, reducing the risks associated with insufficient power.
[0134] While ensuring battery safety, it achieves precise control over the charging and discharging process, which not only effectively extends battery life but also increases user participation and satisfaction in battery management, demonstrating good practical value and promising prospects for promotion.
[0135] This embodiment also provides a charge / discharge control device for implementing the above embodiments and preferred embodiments; details already described will not be repeated. As used below, the term "module" can refer to a combination of software and / or hardware that implements a predetermined function. Although the device described in the following embodiments is preferably implemented in software, hardware implementation, or a combination of software and hardware, is also possible and contemplated.
[0136] This embodiment provides a charging and discharging control device, applied to devices with an interactive interface, such as... Figure 8 As shown, the device includes: Display module 801 is used to determine the current operating mode of the device, collect the current battery status parameters of the device, and display the charging and discharging parameters to be configured on the interactive interface. The charging and discharging parameters include at least one of the following: charging cut-off condition, recharge trigger condition, and continuous operation condition. Operation module 802 is used to respond to the user's operation of configuring charging and discharging parameters through the interactive interface, and determine the target charging and discharging strategy of the current working mode based on the operation; The control module 803 is used to control the charging and discharging of the device in the current operating mode based on the current battery state parameters and the target charging and discharging strategy.
[0137] In some alternative implementations, the display module 801 includes: The mode display unit is used to display the configuration mode corresponding to each charge and discharge parameter to be configured on the interactive interface. The configuration mode includes at least a first configuration mode and a second configuration mode. The first configuration mode is used to indicate that the user customizes the charge and discharge parameter configuration, and the second configuration mode is used to indicate that the charge and discharge parameter configuration is performed automatically according to the current operation mode.
[0138] In some alternative implementations, the operation module 802 includes: The first configuration unit is used to determine the parameter configuration result of the current charge and discharge parameter based on the target configuration mode selected by the user through the interactive interface for each charge and discharge parameter to be configured.
[0139] The generation unit is used to generate the target charge and discharge strategy based on the parameter configuration results corresponding to all charge and discharge parameters.
[0140] In some alternative implementations, the first configuration unit includes: The first configuration subunit is used to display a custom configuration interface for the current charging and discharging parameters on the interactive interface when the target configuration mode is the first configuration mode. The custom configuration interface includes the allowable setting range of the current charging and discharging parameters corresponding to the current operating mode.
[0141] The first determining subunit is used to determine the parameter configuration result of the current charging and discharging parameters in response to the parameter values determined by the user through the custom configuration interface, and the parameter values are within the allowable setting range.
[0142] The second configuration subunit is used to recommend charging cutoff threshold, recharge capacity threshold and continuous operation capacity threshold based on the historical parameter configuration results corresponding to the current operation mode when the target configuration mode is the second configuration mode.
[0143] The second determining subunit is used to determine the parameter configuration result of the current charging and discharging parameters based on the recommended charging cutoff setting threshold, recharge capacity threshold, and continuous operation capacity threshold.
[0144] In some alternative embodiments, the device further includes: The update module is used to display the current battery status parameters on the interactive interface and update the display of the current battery status parameters at preset time intervals during the charging and discharging control of the device.
[0145] The monitoring module is used to determine the battery protection type in response to the detection of current battery status parameters and the triggering of preset battery protection conditions during the charging and discharging control of the device.
[0146] The battery protection module is used to determine the target battery charge and discharge protection strategy based on the battery protection type, and to execute the target battery charge and discharge protection strategy.
[0147] In some alternative implementations, the battery protection module includes: The over-temperature protection unit is used to determine the over-temperature threshold level corresponding to the current battery temperature according to the preset over-temperature threshold level when the battery protection type is over-temperature protection. The over-temperature threshold level includes a first over-temperature threshold level and a second over-temperature threshold level, and the temperature threshold of the first over-temperature threshold level is lower than the temperature threshold of the second over-temperature threshold level.
[0148] The first temperature monitoring unit is used to determine the target battery charge and discharge protection strategy as the first charge and discharge protection strategy when the current temperature of the battery exceeds the first over-temperature threshold level. The first charge and discharge protection strategy includes at least reducing the current charging current or pausing charging.
[0149] The second temperature monitoring unit is used to determine the target battery charge and discharge protection strategy as the second charge and discharge protection strategy when the current battery temperature is detected to rise continuously within a preset time and exceed the second over-temperature threshold level. The second charge and discharge protection strategy is to stop charging, control the equipment to stop executing the current operation task and enter the standby state until the current battery temperature is lower than the first over-temperature threshold level and then resume the current operation task.
[0150] The overvoltage protection unit is used to determine the target battery charge / discharge protection strategy, which is at least to stop charging and record the current overvoltage state, in response to the battery protection type being overvoltage protection.
[0151] The battery protection unit is used to plan a recharge path between the device and the charging station in the current operating environment when the battery protection type is undervoltage or low power, provided that the power level is not lower than the minimum safe power threshold.
[0152] The recharge unit is used to select the path with the lowest energy consumption among the recharge paths as the target recharge path, and to determine the target battery charge and discharge protection strategy as returning to the charging pile according to the target recharge path.
[0153] The control unit is used to control the device to stop performing the current task and enter a low-power protection mode when it is determined that the power level is lower than the minimum safe power level threshold.
[0154] The charge / discharge control device provided in this application can execute the charge / discharge control method provided in any embodiment of this application, and has the corresponding functional modules and beneficial effects for executing the method. Further functional descriptions of the various modules and units described above are the same as those in the corresponding embodiments described above, and will not be repeated here.
[0155] Figure 9 This is a schematic diagram of the structure of a device controller provided in an embodiment of this application.
[0156] The following is a detailed reference. Figure 9 The diagram illustrates a suitable structural schematic for implementing the controller in the embodiments of this application. The controller may include a processor (e.g., a central processing unit, graphics processing unit, etc.) 901, which can perform various appropriate actions and processes according to a program stored in read-only memory (ROM) 902 or a program loaded from memory 908 into random access memory (RAM) 903. RAM 903 also stores various programs and data required for controller operation. The processor 901, ROM 902, and RAM 903 are interconnected via bus 904. Input / output (I / O) interface 905 is also connected to bus 904.
[0157] Typically, the following devices can be connected to I / O interface 905: input devices 906 including, for example, touchscreens, touchpads, keyboards, mice, cameras, microphones, accelerometers, gyroscopes, etc.; output devices 907 including, for example, liquid crystal displays (LCDs), speakers, vibrators, etc.; memory devices 908 including, for example, magnetic tapes, hard disks, etc.; and communication devices 909. Communication device 909 allows the controller to communicate wirelessly or wiredly with other devices to exchange data. Although Figure 9 A controller with various devices is shown, but it should be understood that it is not required to implement or have all of the devices shown, and may alternatively implement or have more or fewer devices.
[0158] Specifically, according to embodiments of this application, the processes described above with reference to the flowcharts can be implemented as computer software programs. For example, embodiments of this application include a computer program product comprising a computer program carried on a non-transitory computer-readable medium, the computer program containing program code for performing the methods shown in the flowcharts. In such embodiments, the computer program can be downloaded and installed from a network via a communication device 909, or installed from a memory 908, or installed from a ROM 902. When the computer program is executed by the processor 901, it performs the functions defined in the charge / discharge control method of embodiments of this application.
[0159] Figure 9 The controller shown is merely an example and should not impose any limitation on the functionality and scope of use of the embodiments of this application.
[0160] This application also provides a computer-readable storage medium. The methods described in this application can be implemented in hardware or firmware, or implemented as recordable on a storage medium, or implemented as computer code downloaded via a network and originally stored on a remote storage medium or a non-transitory machine-readable storage medium and then stored on a local storage medium. Thus, the methods described herein can be processed by software stored on a storage medium using a general-purpose computer, a dedicated processor, or programmable or dedicated hardware. The storage medium can be a magnetic disk, optical disk, read-only memory, random access memory, flash memory, hard disk, or solid-state drive, etc.; further, the storage medium can also include combinations of the above types of memory. It is understood that computers, processors, microprocessor controllers, or programmable hardware include storage components capable of storing or receiving software or computer code. When the software or computer code is accessed and executed by the computer, processor, or hardware, the charge / discharge control method shown in the above embodiments is implemented.
[0161] A portion of this application can be applied as a computer program product, such as computer program instructions, which, when executed by a computer, can invoke or provide the methods and / or technical solutions according to this application through the operation of the computer. Those skilled in the art will understand that the forms in which computer program instructions exist in a computer-readable medium include, but are not limited to, source files, executable files, installation package files, etc. Correspondingly, the ways in which computer program instructions are executed by a computer include, but are not limited to: the computer directly executing the instructions, or the computer compiling the instructions and then executing the corresponding compiled program, or the computer reading and executing the instructions, or the computer reading and installing the instructions and then executing the corresponding installed program. Here, the computer-readable medium can be any available computer-readable storage medium or communication medium accessible to a computer.
[0162] Although embodiments of this application have been described in conjunction with the accompanying drawings, those skilled in the art can make various modifications and variations without departing from the spirit and scope of this application, and all such modifications and variations fall within the scope defined by the appended claims.
Claims
1. A charging and discharging control method, applied to a device with an interactive interface, characterized in that, The method includes: The current operating mode of the device is determined, the current battery status parameters of the device are collected, and the charging and discharging parameters to be configured are displayed on the interactive interface. The charging and discharging parameters include at least one of the following: charging cut-off condition, recharge trigger condition, and continuous operation condition. In response to a user configuring the charging and discharging parameters through the interactive interface, a target charging and discharging strategy for the current operating mode is determined based on the user's configuration. The device performs charge and discharge control in the current operating mode based on the current battery state parameters and the target charge and discharge strategy.
2. The method according to claim 1, characterized in that, The step of displaying the charge / discharge parameters to be configured on the interactive interface includes: The interactive interface displays the configuration mode corresponding to each charge / discharge parameter to be configured. The configuration mode includes at least a first configuration mode and a second configuration mode. The first configuration mode is used to indicate that the user customizes the charge / discharge parameter configuration, and the second configuration mode is used to indicate that the charge / discharge parameter configuration is performed automatically according to the current working mode.
3. The method according to claim 1 or 2, characterized in that, The step of responding to a user's configuration of the charging and discharging parameters through the interactive interface, and determining the target charging and discharging strategy for the current operating mode based on the operation, includes: For each charge / discharge parameter to be configured, in response to the user selecting the target configuration mode corresponding to the current charge / discharge parameter through the interactive interface, the parameter configuration result of the current charge / discharge parameter is determined based on the target configuration mode. Based on the parameter configuration results corresponding to all charging and discharging parameters, the target charging and discharging strategy is generated.
4. The method according to claim 3, characterized in that, The parameter configuration result for determining the current charge / discharge parameters based on the target configuration mode includes: When the target configuration mode is the first configuration mode, a custom configuration interface for the current charging and discharging parameters is displayed on the interactive interface. The custom configuration interface includes: the allowable setting range of the current charging and discharging parameters corresponding to the current operating mode. In response to the parameter values determined by the user through the custom configuration interface, the parameter configuration result of the current charging and discharging parameters is determined, and the parameter values are within the allowed setting range.
5. The method according to claim 3 or 4, characterized in that, The parameter configuration result of determining the current charging and discharging parameters based on the target configuration mode also includes: When the target configuration mode is the second configuration mode, based on the historical parameter configuration results corresponding to the current operation mode, it is recommended to set the charging cutoff threshold, the recharge capacity threshold, and the continuous operation capacity threshold. Based on the recommended charging cutoff setting threshold, the recharge capacity threshold, and the continuous operation capacity threshold, the parameter configuration result of the current charging and discharging parameters is determined.
6. The method according to claim 1, characterized in that, The method further includes: The current battery status parameters are displayed on the interactive interface, and during the charging and discharging control of the device, the display of the current battery status parameters is updated at preset time intervals.
7. The method according to claim 1, characterized in that, The method further includes: During the charging and discharging control of the device, in response to the detection of the current battery state parameters triggering preset battery protection conditions, the battery protection type is determined; Based on the battery protection type, determine the target battery charge / discharge protection strategy and execute the target battery charge / discharge protection strategy.
8. The method according to claim 7, characterized in that, The step of determining the target battery charge / discharge protection strategy based on the battery protection type includes: When the battery protection type is over-temperature protection, the over-temperature threshold level corresponding to the current battery temperature is determined according to the preset over-temperature threshold level. The over-temperature threshold level includes a first over-temperature threshold level and a second over-temperature threshold level. The temperature threshold of the first over-temperature threshold level is less than the temperature threshold of the second over-temperature threshold level. When the current temperature of the battery is detected to exceed the first over-temperature threshold level, the target battery charge and discharge protection strategy is determined to be the first charge and discharge protection strategy, which includes at least reducing the current charging current or pausing charging. When the battery temperature is detected to rise continuously within a preset time and exceed the second over-temperature threshold level, the target battery charge and discharge protection strategy is determined to be the second charge and discharge protection strategy. The second charge and discharge protection strategy is to stop charging, control the device to stop executing the current operation task and enter the standby state, and resume the current operation task when the battery temperature is lower than the first over-temperature threshold level.
9. The method according to claim 7, characterized in that, The step of determining the target battery charge / discharge protection strategy based on the battery protection type further includes: When the battery protection type is overvoltage protection, the target battery charge / discharge protection strategy is determined to be at least to stop charging and record the current overvoltage state; In response to the battery protection type being undervoltage or low power, when the power level is not lower than the minimum safe power threshold, a recharge path is planned between the device and the charging station in the current operating environment. The path with the lowest energy consumption among the recharge paths is selected as the target recharge path, and the target battery charge and discharge protection strategy is determined to return to the charging pile according to the target recharge path. When the power level is determined to be below the minimum safe power threshold, the control device stops executing the current task and enters a low-power protection mode.
10. A charging and discharging control device, applied to a device with an interactive interface, characterized in that, The device includes: The display module is used to determine the current operating mode of the device, collect the current battery status parameters of the device, and display the charging and discharging parameters to be configured on the interactive interface. The charging and discharging parameters include at least one of the following: charging cut-off condition, recharge trigger condition, and continuous operation condition. The operation module is used to respond to the user's operation of configuring the charging and discharging parameters through the interactive interface, and to determine the target charging and discharging strategy of the current working mode based on the operation; The control module is used to control the charging and discharging of the device in the current operating mode based on the current battery state parameters and the target charging and discharging strategy.
11. A device having an interactive interface, characterized in that, The device includes: a controller, the controller comprising: A memory and a processor, the memory and the processor being communicatively connected to each other, the memory storing computer instructions, the processor executing the computer instructions to perform the method of any one of claims 1 to 9.
12. The device according to claim 11, characterized in that, The device in question is a lawnmower.
13. A computer-readable storage medium, characterized in that, The computer-readable storage medium stores computer instructions for causing a computer to perform the method of any one of claims 1 to 9.