Vacuum cleaner battery charge and discharge control method, system, device and storage medium

By identifying and adjusting the charging cycle mode of the vacuum cleaner battery, the problem of low utilization of conventional system resources is solved, more efficient battery charge and discharge management and DC brushless motor control are achieved, and the service life of the microcontroller is extended.

CN117811141BActive Publication Date: 2024-10-18苏州星德胜智能电气有限公司
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202311836784.7
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2023-12-28
Publication Date
2024-10-18
Estimated Expiration
2043-12-28

AI Technical Summary

Technical Problem

Conventional DC brushless handheld vacuum cleaner systems have low resource utilization due to the same two microcontroller hardware devices, and the service life after replacing a new microcontroller is short. Frequent replacement fails to effectively improve resource utilization.

Method used

By obtaining the current input voltage value of the battery pack, identify the charging cycle mode, collect the battery voltage and charging current, determine whether it is full, and adjust the charging cycle mode when it is not full, until the battery is full, exit the charging mode, and control the battery to operate with low power consumption mode, reducing the number of controllers and improving resource utilization.

Benefits of technology

It achieves an improvement in the resource utilization of the hardware equipment of the brushless DC handheld vacuum cleaner system, satisfies the battery charge and discharge management and brushless DC motor control functions, and extends the service life of the microcontroller.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN117811141B_ABST
    Figure CN117811141B_ABST
Patent Text Reader

Abstract

The present application relates to a charge and discharge control method, system, device and storage medium for a vacuum cleaner battery. The method includes: when the current input voltage value meets the preset input voltage lower limit, based on the current input voltage value, identifying the current charging cycle mode of the battery pack; based on the current charging cycle mode, charging the battery pack, and collecting the current battery voltage of the battery pack and the current charging current of the battery pack; based on the current battery voltage and the current charging current, judging whether the battery pack is full, and identifying the new charging cycle mode of the battery pack; replacing the current charging cycle mode of the battery pack with the new charging cycle mode of the battery pack, and returning to execute the charging process step of the battery pack based on the current charging cycle mode, until the battery pack is full, and then exiting the charging mode of the battery pack. The use of this method can improve the resource utilization of the hardware equipment of the DC brushless handheld vacuum cleaner system.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the technical field of charge and discharge control of vacuum cleaner batteries, and in particular to a charge and discharge control method, system, device and storage medium for vacuum cleaner batteries. Background Art

[0002] The conventional DC brushless handheld vacuum cleaner system (hereinafter referred to as the conventional system) includes two microcontrollers, a DC brushless motor controller and a battery charge and discharge management controller, which serve as carriers of the control software of the controlled object. However, the hardware devices used by the two microcontrollers are the same, which makes the conventional system load more hardware devices, resulting in low resource utilization of the hardware devices.

[0003] In order to improve resource utilization, traditional DC brushless handheld vacuum cleaner systems often replace traditional microcontrollers with more recommended microcontrollers to improve resource utilization. However, this method often has a short service life and requires frequent replacement, which does not substantially improve the resource utilization of conventional systems, resulting in low resource utilization of the hardware equipment of the DC brushless handheld vacuum cleaner system. Summary of the invention

[0004] Based on this, it is necessary to provide a method, device, computer equipment, computer-readable storage medium and computer program product for controlling the charge and discharge of a vacuum cleaner battery in response to the above-mentioned technical problems.

[0005] In a first aspect, the present application provides a method for controlling the charge and discharge of a vacuum cleaner battery. The method comprises:

[0006] Acquire a current input voltage value of the battery pack, and identify a current charging cycle mode of the battery pack based on the current input voltage value when the current input voltage value meets a preset input voltage lower limit;

[0007] Based on the current charging cycle mode, charging the battery pack, and collecting the current battery voltage of the battery pack and the current charging current of the battery pack;

[0008] Determining whether the battery pack is fully charged based on the current battery voltage and the current charging current, and identifying a new charging cycle mode of the battery pack based on the current battery voltage and the current charging current if the battery pack is not fully charged;

[0009] The new charging cycle mode of the battery pack replaces the current charging cycle mode of the battery pack, and the charging process steps for the battery pack based on the current charging cycle mode are returned to be executed until the battery pack is fully charged, and then the charging mode of the battery pack is exited.

[0010] Optionally, the identifying a current charging cycle mode of the battery pack based on the current input voltage value includes:

[0011] When the current input voltage value is greater than the preset input voltage lower limit, determining whether the current input voltage value is greater than the preset threshold voltage, and when the current input voltage value is greater than the preset threshold voltage, determining that the current charging cycle mode of the battery pack is the first charging cycle mode;

[0012] When the current input voltage value is not greater than the preset threshold voltage, it is determined that the current charging cycle mode of the battery pack is the third charging cycle mode.

[0013] Optionally, when the current charging cycle mode of the battery pack is the first charging cycle mode, judging whether the battery pack is fully charged based on the current battery voltage and the current charging current includes:

[0014] When the current charging cycle mode of the battery pack is the first charging cycle mode, determining whether the current charging current is greater than a preset current value;

[0015] When the current charging current is greater than a preset current value, determining that the charging current of the battery pack is abnormal;

[0016] When the current charging current is not greater than the preset current value, determining whether the battery voltage of the battery pack is greater than a preset battery voltage upper limit;

[0017] When the battery voltage of the battery pack is greater than a preset battery voltage upper limit and less than a preset battery voltage threshold, determining that the battery is not fully charged;

[0018] In the case where the battery voltage of the battery pack is not greater than a preset battery voltage upper limit, reacquiring a new input voltage value of the battery pack, replacing the current input voltage value with the new input voltage value, and returning to execute the step of identifying the current charging cycle mode of the battery pack based on the current input voltage value;

[0019] When the battery voltage of the battery pack is greater than a preset battery voltage threshold, it is determined that the battery is fully charged.

[0020] Optionally, the identifying a new charging cycle mode of the battery pack based on the current battery voltage and the current charging current includes:

[0021] When the current charging current is greater than a preset current value, determining that a new charging cycle mode of the battery pack is a third charging cycle mode;

[0022] When the battery voltage of the battery pack is greater than a preset battery voltage upper limit and less than a preset battery voltage threshold, determining that a new charging cycle mode of the battery pack is a second charging cycle mode;

[0023] When the current charging cycle mode of the battery pack is the second charging cycle mode and the battery voltage of the battery pack is less than a preset battery voltage threshold, it is determined that the new charging cycle mode of the battery pack is the first charging cycle mode.

[0024] Optionally, exiting the charging mode of the battery pack when the battery pack is fully charged includes:

[0025] Re-acquire the current input voltage value of the battery pack, and when the current input voltage value is greater than the preset input voltage lower limit, return to execute the step of re-acquiring the current input voltage value of the battery pack, until the current input voltage value is not greater than the preset input voltage lower limit, then exit the charging mode of the battery pack;

[0026] The battery pack is controlled to operate in a low power consumption mode.

[0027] Optionally, when the current charging cycle mode of the battery pack is the third cycle mode, the method further includes:

[0028] Turn off the charging voltage control device;

[0029] Reacquire a new input voltage value of the battery pack, and replace the current input voltage value of the battery pack with the new input voltage value, and return to execute the step of identifying the current charging cycle mode of the battery pack based on the current input voltage value.

[0030] Optionally, the current charging cycle mode includes:

[0031] The first charging cycle mode is used to turn on the charging voltage control device to increase the current input voltage value;

[0032] The second charging cycle mode is used to turn off the charging voltage control device and stop increasing the current input voltage value;

[0033] The third charging cycle mode is used to shut down the charging voltage control device and redetermine a new charging cycle mode of the battery pack when it is detected that the new input voltage value of the battery pack is greater than a preset input voltage lower limit.

[0034] In a second aspect, the present application also provides a charge and discharge control device for a vacuum cleaner battery. The device comprises:

[0035] an acquisition module, configured to acquire a current input voltage value of the battery pack, and identify a current charging cycle mode of the battery pack based on the current input voltage value when the current input voltage value meets a preset input voltage lower limit;

[0036] A charging module, configured to charge the battery pack based on the current charging cycle mode, and collect the current battery voltage of the battery pack and the current charging current of the battery pack;

[0037] an identification module, configured to determine whether the battery pack is fully charged based on the current battery voltage and the current charging current, and to identify a new charging cycle mode of the battery pack based on the current battery voltage and the current charging current when the battery pack is not fully charged;

[0038] The adjustment module is used to replace the current charging cycle mode of the battery pack with the new charging cycle mode of the battery pack, and return to execute the charging processing steps for the battery pack based on the current charging cycle mode until the battery pack is fully charged, and then exit the charging mode of the battery pack.

[0039] Optionally, the acquisition module is specifically used to:

[0040] When the current input voltage value is greater than the preset input voltage lower limit, determining whether the current input voltage value is greater than the preset threshold voltage, and when the current input voltage value is greater than the preset threshold voltage, determining that the current charging cycle mode of the battery pack is the first charging cycle mode;

[0041] When the current input voltage value is not greater than the preset threshold voltage, it is determined that the current charging cycle mode of the battery pack is the third charging cycle mode.

[0042] Optionally, the identification module is specifically used to:

[0043] When the current charging cycle mode of the battery pack is the first charging cycle mode, determining whether the current charging current is greater than a preset current value;

[0044] When the current charging current is greater than a preset current value, determining that the charging current of the battery pack is abnormal;

[0045] When the current charging current is not greater than the preset current value, determining whether the battery voltage of the battery pack is greater than a preset battery voltage upper limit;

[0046] When the battery voltage of the battery pack is greater than a preset battery voltage upper limit and less than a preset battery voltage threshold, determining that the battery is not fully charged;

[0047] In the case where the battery voltage of the battery pack is not greater than a preset battery voltage upper limit, reacquiring a new input voltage value of the battery pack, replacing the current input voltage value with the new input voltage value, and returning to execute the step of identifying the current charging cycle mode of the battery pack based on the current input voltage value;

[0048] When the battery voltage of the battery pack is greater than a preset battery voltage threshold, it is determined that the battery is fully charged.

[0049] Optionally, the identification module is specifically used to:

[0050] When the current charging current is greater than a preset current value, determining that a new charging cycle mode of the battery pack is a third charging cycle mode;

[0051] When the battery voltage of the battery pack is greater than a preset battery voltage upper limit and less than a preset battery voltage threshold, determining that a new charging cycle mode of the battery pack is a second charging cycle mode;

[0052] When the current charging cycle mode of the battery pack is the second charging cycle mode and the battery voltage of the battery pack is less than a preset battery voltage threshold, it is determined that the new charging cycle mode of the battery pack is the first charging cycle mode.

[0053] Optionally, the adjustment module is specifically used to:

[0054] Re-acquire the current input voltage value of the battery pack, and when the current input voltage value is greater than the preset input voltage lower limit, return to execute the step of re-acquiring the current input voltage value of the battery pack, until the current input voltage value is not greater than the preset input voltage lower limit, then exit the charging mode of the battery pack;

[0055] The battery pack is controlled to operate in a low power consumption mode.

[0056] Optionally, when the current charging cycle mode of the battery pack is the third cycle mode, the device further includes:

[0057] A shutdown module, used to shut down the charging voltage control device;

[0058] The cycle module is used to reacquire a new input voltage value of the battery pack, replace the current input voltage value of the battery pack with the new input voltage value, and return to execute the step of identifying the current charging cycle mode of the battery pack based on the current input voltage value.

[0059] Optionally, the current charging cycle mode includes:

[0060] The first charging cycle mode is used to turn on the charging voltage control device to increase the current input voltage value;

[0061] The second charging cycle mode is used to turn off the charging voltage control device and stop increasing the current input voltage value;

[0062] The third charging cycle mode is used to shut down the charging voltage control device and redetermine a new charging cycle mode of the battery pack when it is detected that the new input voltage value of the battery pack is greater than a preset input voltage lower limit.

[0063] In a third aspect, the present application provides a computer device, wherein the computer device comprises a memory and a processor, wherein the memory stores a computer program, and when the processor executes the computer program, the steps of any one of the methods in the first aspect are implemented.

[0064] In a fourth aspect, the present application provides a computer-readable storage medium having a computer program stored thereon, wherein when the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.

[0065] In a fifth aspect, the present application provides a computer program product. The computer program product includes a computer program, and when the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.

[0066] The above-mentioned vacuum cleaner battery charge and discharge control method, system, device and storage medium obtain the current input voltage value of the battery pack, and identify the current charging cycle mode of the battery pack based on the current input voltage value when the current input voltage value meets the preset input voltage lower limit; charge the battery pack based on the current charging cycle mode, and collect the current battery voltage of the battery pack and the current charging current of the battery pack; judge whether the battery pack is full based on the current battery voltage and the current charging current, and identify the new charging cycle mode of the battery pack based on the current battery voltage and the current charging current when the battery pack is not full; replace the current charging cycle mode of the battery pack with the new charging cycle mode of the battery pack, and return to execute the charging process steps of the battery pack based on the current charging cycle mode until the battery pack is full, and then exit the charging mode of the battery pack. This solution redesigns the battery charge and discharge control method of the vacuum cleaner and redesigns the vacuum cleaner control system so that the vacuum cleaner only uses one microcontroller and input signal sampling circuit to control the DC brushless motor and the battery charge and discharge management, thereby reducing the number of controllers used in the vacuum cleaner control system. The application of this system can not only meet the microcontroller control battery charge and discharge management function and DC brushless motor control function, but also reduce the number of microcontrollers and improve the resource utilization of the hardware equipment of the DC brushless handheld vacuum cleaner system. BRIEF DESCRIPTION OF THE DRAWINGS

[0067] Figure 1 It is a schematic flow chart of a method for controlling the charge and discharge of a vacuum cleaner battery in one embodiment;

[0068] Figure 2 A schematic diagram of a flow chart of an example of charge and discharge control of a vacuum cleaner battery in one embodiment;

[0069] Figure 3 A system structure diagram of a vacuum cleaner battery charge and discharge control system in one embodiment;

[0070] Figure 4 The figure is a structural block diagram of a charge and discharge control device for a vacuum cleaner battery in one embodiment. DETAILED DESCRIPTION

[0071] In order to make the purpose, technical solution and advantages of the present application more clearly understood, the present application is further described in detail below in conjunction with the accompanying drawings and embodiments. It should be understood that the specific embodiments described herein are only used to explain the present application and are not used to limit the present application.

[0072] The charge and discharge control method of the vacuum cleaner battery provided in the embodiment of the present application can be applied to Figure 1In the application environment of the vacuum cleaner control system shown, the system includes a motor control and battery pack charge and discharge controller, and an input signal sampling circuit. The system includes a motor control and battery pack charge and discharge controller, which is connected in series with the input signal sampling circuit. The control center can be applied to a terminal. The terminal redesigns the battery charge and discharge energy control method of the vacuum cleaner and redesigns the vacuum cleaner control system so that the vacuum cleaner only uses one microcontroller and an input signal sampling circuit for overall regulation of the DC brushless motor control and battery charge and discharge management, thereby reducing the number of controllers used in the vacuum cleaner control system. The application of this system can not only meet the microcontroller control of the battery charge and discharge management function and the DC brushless motor control function, but also reduce the number of microcontrollers and improve the resource utilization of the hardware equipment of the DC brushless handheld vacuum cleaner system.

[0073] In one embodiment, Figure 1 As shown, a method for controlling the charge and discharge of a vacuum cleaner battery is provided, and the method is described by taking the application of the method to a terminal as an example, and the method includes the following steps:

[0074] Step S101, obtaining a current input voltage value of the battery pack, and identifying a current charging cycle mode of the battery pack based on the current input voltage value when the current input voltage value meets a preset input voltage lower limit.

[0075] In this embodiment, when the adapter is connected to the power supply, the terminal obtains the voltage value of the current input battery pack and obtains the current input voltage value of the battery pack. Among them, the terminal presets the lower limit of the input voltage and determines whether the current input voltage value is greater than the preset lower limit of the input voltage. When the current input voltage value is not greater than the preset lower limit of the input voltage, the voltage value of the current input battery pack is re-acquired until the current input voltage value is greater than the preset input voltage, and the terminal determines that the voltage is suitable for charging the battery pack (i.e., entering the zeroth charging cycle mode). Then, the terminal determines the charging cycle mode of the battery pack based on the magnitude relationship between the current input voltage value and the preset threshold voltage. Among them, the charging cycle mode includes a first charging cycle mode, a second charging cycle mode, and a third charging cycle mode. Among them, the first charging cycle mode is used to turn on the charging P-MOSFET, the second charging cycle mode is used to turn off the charging P-MOSFET, and the third charging cycle mode is used to turn off the charging P-MOSFET in the case of abnormal charging. The specific execution process will be described in detail later.

[0076] Step S102 : Based on the current charging cycle mode, the battery pack is charged, and the current battery voltage of the battery pack and the current charging current of the battery pack are collected.

[0077] In this embodiment, the terminal charges the battery pack based on the current charging cycle mode, and collects the current battery voltage of the battery pack and the current charging current of the battery pack.

[0078] Step S103, judging whether the battery pack is fully charged based on the current battery voltage and the current charging current, and identifying a new charging cycle mode of the battery pack based on the current battery voltage and the current charging current when the battery pack is not fully charged.

[0079] In this embodiment, the terminal determines whether the battery pack is full based on the current battery voltage and the current charging current, and if the battery pack is not full, identifies a new charging cycle mode of the battery pack based on the current battery voltage and the current charging current.

[0080] Step S104, replacing the current charging cycle mode of the battery pack with the new charging cycle mode of the battery pack, and returning to execute the charging processing steps for the battery pack based on the current charging cycle mode until the battery pack is fully charged, and then exiting the charging mode of the battery pack.

[0081] In this embodiment, the terminal replaces the current charging cycle mode of the battery pack with the new charging cycle mode of the battery pack, and returns to execute the charging processing steps for the battery pack based on the current charging cycle mode until the battery pack is fully charged, and then exits the charging mode of the battery pack. Figure 2 The figure shows a control flow chart of an example of charge and discharge control of a vacuum cleaner battery.

[0082] Based on the above scheme, by redesigning the battery charge and discharge energy control method of the vacuum cleaner and redesigning the vacuum cleaner control system, the vacuum cleaner only uses one microcontroller and input signal sampling circuit to control the DC brushless motor and the battery charge and discharge management for overall regulation, thereby reducing the number of controllers used in the vacuum cleaner control system. The application of this system can not only meet the microcontroller control battery charge and discharge management function and DC brushless motor control function, but also reduce the number of microcontrollers and improve the resource utilization of the hardware equipment of the DC brushless handheld vacuum cleaner system.

[0083] Optionally, identifying the current charging cycle mode of the battery pack based on the current input voltage value includes: when the current input voltage value is greater than a preset input voltage lower limit, determining whether the current input voltage value is greater than a preset threshold voltage; when the current input voltage value is greater than the preset threshold voltage, determining that the current charging cycle mode of the battery pack is a first charging cycle mode; when the current input voltage value is not greater than the preset threshold voltage, determining that the current charging cycle mode of the battery pack is a third charging cycle mode.

[0084] In this embodiment, when the current input voltage value is greater than the preset input voltage lower limit, the terminal determines whether the current input voltage value is greater than the preset threshold voltage, and when the current input voltage value is greater than the preset threshold voltage, determines that the current charging cycle mode of the battery pack is the first charging cycle mode.

[0085] When the current input voltage value is not greater than the preset threshold voltage, the terminal determines that the current charging cycle mode of the battery pack is the third charging cycle mode. When entering the third charging cycle mode, it is determined that the battery pack is abnormally charged.

[0086] Based on the above scheme, the charging cycle mode is determined by identifying the relationship between the input voltage value and the threshold voltage, thereby improving the intelligence and efficiency of determining the charging cycle mode.

[0087] Optionally, when the current charging cycle mode of the battery pack is the first charging cycle mode, judging whether the battery pack is fully charged based on the current battery voltage and the current charging current includes: when the current charging cycle mode of the battery pack is the first charging cycle mode, judging whether the current charging current is greater than a preset current value; when the current charging current is greater than the preset current value, determining that the charging current of the battery pack is abnormal; when the current charging current is not greater than the preset current value, judging whether the battery voltage of the battery pack is greater than a preset battery voltage upper limit; when the battery voltage of the battery pack is greater than the preset battery voltage upper limit and less than a preset battery voltage threshold, determining that the battery is not fully charged; when the battery voltage of the battery pack is not greater than the preset battery voltage upper limit, reacquiring a new input voltage value of the battery pack, replacing the current input voltage value with the new input voltage value, and returning to execute the step of identifying the current charging cycle mode of the battery pack based on the current input voltage value; when the battery voltage of the battery pack is greater than the preset battery voltage threshold, determining that the battery is fully charged.

[0088] In this embodiment, when the current charging cycle mode of the battery pack is the first charging cycle mode, the terminal determines whether the current charging current is greater than a preset current value.

[0089] When the current charging current is greater than a preset current value, the terminal determines that the charging current of the battery pack is abnormal.

[0090] When the current charging current is not greater than the preset current value, the terminal determines whether the battery voltage of the battery pack is greater than a preset battery voltage upper limit.

[0091] When the battery voltage of the battery pack is greater than a preset battery voltage upper limit and less than a preset battery voltage threshold, the terminal determines that the battery is not fully charged.

[0092] When the battery voltage of the battery pack is not greater than the preset battery voltage upper limit, the terminal re-acquires a new input voltage value of the battery pack, replaces the current input voltage value with the new input voltage value, and returns to execute the step of identifying the current charging cycle mode of the battery pack based on the current input voltage value.

[0093] When the battery voltage of the battery pack is greater than a preset battery voltage threshold, the terminal determines that the battery is fully charged.

[0094] Based on the above solution, the charging state of the battery is determined by the magnitude relationship between the battery voltage and the preset battery voltage upper limit, and the magnitude relationship between the charging current and the preset current value, thereby improving the accuracy of determining the battery charging state.

[0095] Optionally, identifying the new charging cycle mode of the battery pack based on the current battery voltage and the current charging current includes: when the current charging current is greater than a preset current value, determining that the new charging cycle mode of the battery pack is a third charging cycle mode; when the battery voltage of the battery pack is greater than a preset battery voltage upper limit and less than a preset battery voltage threshold, determining that the new charging cycle mode of the battery pack is the second charging cycle mode; when the current charging cycle mode of the battery pack is the second charging cycle mode and the battery voltage of the battery pack is less than a preset battery voltage threshold, determining that the new charging cycle mode of the battery pack is the first charging cycle mode.

[0096] In this embodiment, when the current charging current is greater than the preset current value, the terminal determines that the new charging cycle mode of the battery pack is the third charging cycle mode. When the battery voltage of the battery pack is greater than the preset battery voltage upper limit and less than the preset battery voltage threshold, the new charging cycle mode of the battery pack is determined to be the second charging cycle mode. When the current charging cycle mode of the battery pack is the second charging cycle mode and the battery voltage of the battery pack is less than the preset battery voltage threshold, the new charging cycle mode of the battery pack is determined to be the first charging cycle mode.

[0097] Based on the above scheme, the new charging cycle mode of the battery pack is determined by the relationship between the battery voltage and the preset battery voltage upper limit, as well as the relationship between the charging current and the preset current value, thereby improving the intelligence level of the charging cycle mode adjustment of the battery pack and improving the intelligent effect of the charging and discharging management of the battery pack.

[0098] Optionally, the step of exiting the charging mode of the battery pack until the battery pack is fully charged includes: reacquiring the current input voltage value of the battery pack, and when the current input voltage value is greater than a preset input voltage lower limit, returning to execute the step of reacquiring the current input voltage value of the battery pack, and exiting the charging mode of the battery pack when the current input voltage value is not greater than the preset input voltage lower limit; and controlling the battery pack to operate in a low power consumption mode.

[0099] In this embodiment, the terminal reacquires the current input voltage value of the battery pack, and when the current input voltage value is greater than the preset input voltage lower limit, returns to execute the step of reacquiring the current input voltage value of the battery pack, until the current input voltage value is no greater than the preset input voltage lower limit, then exits the charging mode of the battery pack; and controls the battery pack to operate in low power consumption mode.

[0100] Based on the above scheme, by determining that the charging mode is exited when the input voltage value is lower than the input voltage lower limit, the loss of the battery pack due to the instantaneous voltage when exiting the charging mode is avoided, thereby improving the health management effect of the battery pack.

[0101] Optionally, when the current charging cycle mode of the battery pack is the third cycle mode, the method further includes: turning off the charging voltage control device; reacquiring a new input voltage value of the battery pack, and replacing the current input voltage value of the battery pack with the new input voltage value, and returning to execute the step of identifying the current charging cycle mode of the battery pack based on the current input voltage value.

[0102] In this embodiment, the terminal turns off the charging voltage control device. Then, the terminal reacquires the new input voltage value of the battery pack, replaces the current input voltage value of the battery pack with the new input voltage value, and returns to the step of identifying the current charging cycle mode of the battery pack based on the current input voltage value.

[0103] Based on the above solution, when the terminal identifies that the charging voltage is abnormal, the charging P-MOSFET is turned off in time and the current input voltage value is re-identified, thereby improving the prevention and control effect of abnormal battery pack charging.

[0104] Optionally, the current charging cycle mode includes: the first charging cycle mode, used to turn on the charging voltage control device and increase the current input voltage value; the second charging cycle mode, used to turn off the charging voltage control device and stop increasing the current input voltage value; the third charging cycle mode, used to turn off the charging voltage control device and redetermine the new charging cycle mode of the battery pack when it is detected that the new input voltage value of the battery pack is greater than the preset input voltage lower limit.

[0105] In this embodiment, the first charging cycle mode is used to turn on the charging voltage control device and increase the current input voltage value; the second charging cycle mode is used to turn off the charging voltage control device and stop increasing the current input voltage value; the third charging cycle mode is used to turn off the charging voltage control device and redetermine the new charging cycle mode of the battery pack when it is detected that the new input voltage value of the battery pack is greater than the preset input voltage lower limit.

[0106] In one embodiment, a vacuum cleaner control system is provided, characterized in that the system includes a motor control and battery pack charge and discharge controller, and an input signal sampling circuit, wherein the system includes a motor control and battery pack charge and discharge controller, which is connected in series with the input signal sampling circuit; the input signal sampling circuit is used to detect user button control input signals, detect charging voltage and current input signals, control the on and off of the charging circuit, and control the low power consumption operation of the battery pack; the motor control and battery pack charge and discharge controller is used to control the operation of the vacuum cleaner motor and control the charge and discharge of the battery pack.

[0107] like Figure 3The input signal detection circuit is shown in the figure. Among them, Charge+ and Charge- are the adapter input ports; P+ and GND are the lithium battery input ports; VBUS and +5V are the system auxiliary power network input and output ports; S1 is the user control button: when S1 is pressed or popped up by the user, the K_IN port of the MCU can detect high and low level signals to identify the action state of S1, and then control the design system to perform the corresponding action; RsVH and RsVL are the MCU ports for detecting the voltage at the end of the adapter current sampling resistor; C1 and C2 are the adapter input filter capacitors; R1 is the adapter input pull-down resistor; Rs is the adapter input current sampling resistor; D1 limits the charging circuit current direction to prevent the battery from backflowing current to the adapter to cause damage; R2, R3, R5, and R6 are the adapter input voltage detection divider resistors; R4, C3, R7, and C4 are the input filter resistors and capacitors of RsVH and RsVL respectively; Q1 is a charging enable P-MOSFET, which controls the on / off of Q2 through the ChEn port of the MCU, and then controls the on / off of Q1 to achieve the on / off control of the charging circuit; similarly, Q3 is the design system auxiliary power enable P-MOSFET, which controls the on / off of Q4 through the PBEn port of the MCU, and then controls the on / off of Q3 to achieve the on / off control of the design system auxiliary power circuit.

[0108] Compared with conventional vacuum cleaner control systems, the input signal detection circuit of this vacuum cleaner control system omits two MCU ports for control signal input and feedback output, and adds two ADC input ports and three GPIO ports. Finally, through the above hardware circuit, the user key control signal input detection, charging voltage and current input signal detection, charging circuit on-off control, and low power consumption control functions of the designed system can be realized.

[0109] It should be understood that, although the various steps in the flowcharts involved in the above-mentioned embodiments are displayed in sequence according to the indication of the arrows, these steps are not necessarily executed in sequence according to the order indicated by the arrows. Unless there is a clear explanation in this article, the execution of these steps does not have a strict order restriction, and these steps can be executed in other orders. Moreover, at least a part of the steps in the flowcharts involved in the above-mentioned embodiments can include multiple steps or multiple stages, and these steps or stages are not necessarily executed at the same time, but can be executed at different times, and the execution order of these steps or stages is not necessarily to be carried out in sequence, but can be executed in turn or alternately with other steps or at least a part of the steps or stages in other steps.

[0110] Based on the same inventive concept, the embodiment of the present application also provides a vacuum cleaner battery charge and discharge control device for implementing the vacuum cleaner battery charge and discharge control method involved above. The implementation scheme for solving the problem provided by the device is similar to the implementation scheme recorded in the above method, so the specific limitations in the embodiments of one or more vacuum cleaner battery charge and discharge control devices provided below can refer to the limitations of the vacuum cleaner battery charge and discharge control method above, and will not be repeated here.

[0111] In one embodiment, Figure 4 As shown, a charge and discharge control device for a vacuum cleaner battery is provided, comprising: an acquisition module 410, a charging module 420, an identification module 430 and an adjustment module 440, wherein:

[0112] An acquisition module 410 is used to acquire a current input voltage value of the battery pack, and identify a current charging cycle mode of the battery pack based on the current input voltage value when the current input voltage value meets a preset input voltage lower limit;

[0113] The charging module 420 is used to charge the battery pack based on the current charging cycle mode, and collect the current battery voltage of the battery pack and the current charging current of the battery pack;

[0114] an identification module 430, configured to determine whether the battery pack is fully charged based on the current battery voltage and the current charging current, and to identify a new charging cycle mode of the battery pack based on the current battery voltage and the current charging current if the battery pack is not fully charged;

[0115] The adjustment module 440 is used to replace the current charging cycle mode of the battery pack with the new charging cycle mode of the battery pack, and return to execute the charging processing steps for the battery pack based on the current charging cycle mode until the battery pack is fully charged, and then exit the charging mode of the battery pack.

[0116] Optionally, the acquisition module 410 is specifically configured to:

[0117] When the current input voltage value is greater than the preset input voltage lower limit, determining whether the current input voltage value is greater than the preset threshold voltage, and when the current input voltage value is greater than the preset threshold voltage, determining that the current charging cycle mode of the battery pack is the first charging cycle mode;

[0118] When the current input voltage value is not greater than the preset threshold voltage, it is determined that the current charging cycle mode of the battery pack is the third charging cycle mode.

[0119] Optionally, the identification module 430 is specifically configured to:

[0120] When the current charging cycle mode of the battery pack is the first charging cycle mode, determining whether the current charging current is greater than a preset current value;

[0121] When the current charging current is greater than a preset current value, determining that the charging current of the battery pack is abnormal;

[0122] When the current charging current is not greater than the preset current value, determining whether the battery voltage of the battery pack is greater than a preset battery voltage upper limit;

[0123] When the battery voltage of the battery pack is greater than a preset battery voltage upper limit and less than a preset battery voltage threshold, determining that the battery is not fully charged;

[0124] In the case where the battery voltage of the battery pack is not greater than a preset battery voltage upper limit, reacquiring a new input voltage value of the battery pack, replacing the current input voltage value with the new input voltage value, and returning to execute the step of identifying the current charging cycle mode of the battery pack based on the current input voltage value;

[0125] When the battery voltage of the battery pack is greater than a preset battery voltage threshold, it is determined that the battery is fully charged.

[0126] Optionally, the identification module 430 is specifically configured to:

[0127] When the current charging current is greater than a preset current value, determining that a new charging cycle mode of the battery pack is a third charging cycle mode;

[0128] When the battery voltage of the battery pack is greater than a preset battery voltage upper limit and less than a preset battery voltage threshold, determining that a new charging cycle mode of the battery pack is a second charging cycle mode;

[0129] When the current charging cycle mode of the battery pack is the second charging cycle mode and the battery voltage of the battery pack is less than a preset battery voltage threshold, it is determined that the new charging cycle mode of the battery pack is the first charging cycle mode.

[0130] Optionally, the adjustment module 440 is specifically configured to:

[0131] Re-acquire the current input voltage value of the battery pack, and when the current input voltage value is greater than the preset input voltage lower limit, return to execute the step of re-acquiring the current input voltage value of the battery pack, until the current input voltage value is not greater than the preset input voltage lower limit, then exit the charging mode of the battery pack;

[0132] The battery pack is controlled to operate in a low power consumption mode.

[0133] Optionally, when the current charging cycle mode of the battery pack is the third cycle mode, the device further includes:

[0134] A shutdown module, used to shut down the charging voltage control device;

[0135] The cycle module is used to reacquire a new input voltage value of the battery pack, replace the current input voltage value of the battery pack with the new input voltage value, and return to execute the step of identifying the current charging cycle mode of the battery pack based on the current input voltage value.

[0136] Optionally, the current charging cycle mode includes:

[0137] The first charging cycle mode is used to turn on the charging voltage control device to increase the current input voltage value;

[0138] The second charging cycle mode is used to turn off the charging voltage control device and stop increasing the current input voltage value;

[0139] The third charging cycle mode is used to shut down the charging voltage control device and redetermine a new charging cycle mode of the battery pack when it is detected that the new input voltage value of the battery pack is greater than a preset input voltage lower limit.

[0140] Each module in the above-mentioned vacuum cleaner battery charge and discharge control device can be implemented in whole or in part by software, hardware, or a combination thereof. Each of the above-mentioned modules can be embedded in or independent of a processor in a computer device in the form of hardware, or can be stored in a memory in a computer device in the form of software, so that the processor can call and execute operations corresponding to each of the above modules.

[0141] In one embodiment, a computer device is provided, including a memory and a processor, wherein a computer program is stored in the memory, and when the processor executes the computer program, the steps of any one of the methods in the first aspect are implemented.

[0142] In one embodiment, a computer-readable storage medium is provided, on which a computer program is stored. When the computer program is executed by a processor, the steps of any one of the methods in the first aspect are implemented.

[0143] In one embodiment, a computer program product is provided, comprising a computer program, which, when executed by a processor, implements the steps of any one of the methods in the first aspect.

[0144] It should be noted that the user information (including but not limited to user device information, user personal information, etc.) and data (including but not limited to data used for analysis, stored data, displayed data, etc.) involved in this application are all information and data authorized by the user or fully authorized by all parties.

[0145] Those skilled in the art can understand that all or part of the processes in the above-mentioned embodiment methods can be completed by instructing the relevant hardware through a computer program, and the computer program can be stored in a non-volatile computer-readable storage medium. When the computer program is executed, it can include the processes of the embodiments of the above-mentioned methods. Among them, any reference to the memory, database or other medium used in the embodiments provided in the present application can include at least one of non-volatile and volatile memory. Non-volatile memory can include read-only memory (ROM), magnetic tape, floppy disk, flash memory, optical memory, high-density embedded non-volatile memory, resistive random access memory (ReRAM), magnetoresistive random access memory (MRAM), ferroelectric random access memory (FRAM), phase change memory (PCM), graphene memory, etc. Volatile memory can include random access memory (RAM) or external cache memory, etc. As an illustration and not limitation, RAM can be in various forms, such as static random access memory (SRAM) or dynamic random access memory (DRAM). The database involved in each embodiment provided in this application may include at least one of a relational database and a non-relational database. Non-relational databases may include distributed databases based on blockchains, etc., but are not limited to this. The processor involved in each embodiment provided in this application may be a general-purpose processor, a central processing unit, a graphics processor, a digital signal processor, a programmable logic device, a data processing logic device based on quantum computing, etc., but are not limited to this.

[0146] The technical features of the above embodiments may be combined arbitrarily. To make the description concise, not all possible combinations of the technical features in the above embodiments are described. However, as long as there is no contradiction in the combination of these technical features, they should be considered to be within the scope of this specification.

[0147] The above-described embodiments only express several implementation methods of the present application, and the descriptions thereof are relatively specific and detailed, but they cannot be understood as limiting the scope of the present application. It should be pointed out that, for a person of ordinary skill in the art, several variations and improvements can be made without departing from the concept of the present application, and these all belong to the protection scope of the present application. Therefore, the protection scope of the present application shall be subject to the attached claims.

Claims

1. A method for controlling the charge and discharge of a vacuum cleaner battery, characterized in that: The method comprises: Acquire a current input voltage value of the battery pack, and identify a current charging cycle mode of the battery pack based on the current input voltage value when the current input voltage value meets a preset input voltage lower limit; Based on the current charging cycle mode, charging the battery pack, and collecting the current battery voltage of the battery pack and the current charging current of the battery pack; Determining whether the battery pack is fully charged based on the current battery voltage and the current charging current, and identifying a new charging cycle mode of the battery pack based on the current battery voltage and the current charging current if the battery pack is not fully charged; Replacing the current charging cycle mode of the battery pack with the new charging cycle mode of the battery pack, and returning to execute the charging processing steps for the battery pack based on the current charging cycle mode until the battery pack is fully charged, and then exiting the charging mode of the battery pack; The step of identifying a current charging cycle mode of the battery pack based on the current input voltage value includes: When the current input voltage value is greater than the preset input voltage lower limit, determining whether the current input voltage value is greater than the preset threshold voltage, and when the current input voltage value is greater than the preset threshold voltage, determining that the current charging cycle mode of the battery pack is the first charging cycle mode; When the current input voltage value is not greater than the preset threshold voltage, determining that the current charging cycle mode of the battery pack is a third charging cycle mode; In a case where the current charging cycle mode of the battery pack is the first charging cycle mode, judging whether the battery pack is fully charged based on the current battery voltage and the current charging current includes: When the current charging cycle mode of the battery pack is the first charging cycle mode, determining whether the current charging current is greater than a preset current value; When the current charging current is greater than a preset current value, determining that the charging current of the battery pack is abnormal; When the current charging current is not greater than the preset current value, determining whether the battery voltage of the battery pack is greater than a preset battery voltage upper limit; When the battery voltage of the battery pack is greater than a preset battery voltage upper limit and not greater than a preset battery voltage threshold, determining that the battery pack is not fully charged; When the battery voltage of the battery pack is not greater than a preset battery voltage upper limit, reacquire a new input voltage value of the battery pack, replace the current input voltage value with the new input voltage value, and return to the step of identifying the current charging cycle mode of the battery pack based on the current input voltage value; When the battery voltage of the battery pack is greater than a preset battery voltage threshold, determining that the battery pack is fully charged; The identifying a new charging cycle mode of the battery pack based on the current battery voltage and the current charging current includes: When the current charging current is greater than a preset current value, determining that a new charging cycle mode of the battery pack is a third charging cycle mode; When the battery voltage of the battery pack is greater than a preset battery voltage upper limit and not greater than a preset battery voltage threshold, determining that a new charging cycle mode of the battery pack is a second charging cycle mode; When the current charging cycle mode of the battery pack is the second charging cycle mode and the battery voltage of the battery pack is not greater than a preset battery voltage threshold, determining that a new charging cycle mode of the battery pack is the first charging cycle mode; The first charging cycle mode is used to turn on the charging voltage control device to increase the current input voltage value; The second charging cycle mode is used to turn off the charging voltage control device and stop increasing the current input voltage value; The third charging cycle mode is used to shut down the charging voltage control device and redetermine a new charging cycle mode of the battery pack when it is detected that the new input voltage value of the battery pack is greater than a preset input voltage lower limit.

2. The method according to claim 1, characterized in that The step of exiting the charging mode of the battery pack when the battery pack is fully charged includes: Re-acquire the current input voltage value of the battery pack, and when the current input voltage value is greater than the preset input voltage lower limit, return to execute the step of re-acquiring the current input voltage value of the battery pack, until the current input voltage value is not greater than the preset input voltage lower limit, then exit the charging mode of the battery pack; The battery pack is controlled to operate in a low power consumption mode.

3. The method according to claim 1, characterized in that: When the current charging cycle mode of the battery pack is the third cycle mode, the method further includes: Turn off the charging voltage control device; Reacquire a new input voltage value of the battery pack, and replace the current input voltage value of the battery pack with the new input voltage value, and return to execute the step of identifying the current charging cycle mode of the battery pack based on the current input voltage value.

4. A charge and discharge control device for a vacuum cleaner battery, characterized in that: The device comprises: an acquisition module, configured to acquire a current input voltage value of the battery pack, and identify a current charging cycle mode of the battery pack based on the current input voltage value when the current input voltage value meets a preset input voltage lower limit; A charging module, configured to charge the battery pack based on the current charging cycle mode, and collect the current battery voltage of the battery pack and the current charging current of the battery pack; an identification module, configured to determine whether the battery pack is fully charged based on the current battery voltage and the current charging current, and to identify a new charging cycle mode of the battery pack based on the current battery voltage and the current charging current when the battery pack is not fully charged; an adjustment module, configured to replace the current charging cycle mode of the battery pack with the new charging cycle mode of the battery pack, and return to execute a charging process step for the battery pack based on the current charging cycle mode until the battery pack is fully charged, and then exit the charging mode of the battery pack; The acquisition module is specifically used for: When the current input voltage value is greater than the preset input voltage lower limit, determining whether the current input voltage value is greater than the preset threshold voltage, and when the current input voltage value is greater than the preset threshold voltage, determining that the current charging cycle mode of the battery pack is the first charging cycle mode; When the current input voltage value is not greater than the preset threshold voltage, determining that the current charging cycle mode of the battery pack is a third charging cycle mode; The identification module is specifically used for: When the current charging cycle mode of the battery pack is the first charging cycle mode, determining whether the current charging current is greater than a preset current value; When the current charging current is greater than a preset current value, determining that the charging current of the battery pack is abnormal; When the current charging current is not greater than the preset current value, determining whether the battery voltage of the battery pack is greater than a preset battery voltage upper limit; When the battery voltage of the battery pack is greater than a preset battery voltage upper limit and not greater than a preset battery voltage threshold, determining that the battery pack is not fully charged; When the battery voltage of the battery pack is not greater than a preset battery voltage upper limit, reacquire a new input voltage value of the battery pack, replace the current input voltage value with the new input voltage value, and return to the step of identifying the current charging cycle mode of the battery pack based on the current input voltage value; When the battery voltage of the battery pack is greater than a preset battery voltage threshold, determining that the battery pack is fully charged; The identification module is specifically used for: When the current charging current is greater than a preset current value, determining that a new charging cycle mode of the battery pack is a third charging cycle mode; When the battery voltage of the battery pack is greater than a preset battery voltage upper limit and not greater than a preset battery voltage threshold, determining that a new charging cycle mode of the battery pack is a second charging cycle mode; When the current charging cycle mode of the battery pack is the second charging cycle mode and the battery voltage of the battery pack is not greater than a preset battery voltage threshold, determining that a new charging cycle mode of the battery pack is the first charging cycle mode; The first charging cycle mode is used to turn on the charging voltage control device to increase the current input voltage value; The second charging cycle mode is used to turn off the charging voltage control device and stop increasing the current input voltage value; The third charging cycle mode is used to shut down the charging voltage control device and redetermine a new charging cycle mode of the battery pack when it is detected that the new input voltage value of the battery pack is greater than a preset input voltage lower limit.

5. A computer-readable storage medium having a computer program stored thereon, characterized in that: When the computer program is executed by a processor, the steps of the method according to any one of claims 1 to 3 are implemented.

Citation Information

Patent Citations

  • Control method of battery system, battery system and off-grid power supply system

    CN115102266A

  • Charging control method, charging control device, power conversion device and medium

    CN115663939A