Charging equipment control method and device and charging equipment

By collecting status parameters when discharging and charging the battery in the charging device, detecting the battery capacity of shared bicycles, the problem of insufficient battery capacity detection in the prior art is solved, and operational efficiency and user safety are improved.

CN119030060APending Publication Date: 2024-11-26BEIJING DIDI INFINITY TECH & DEV CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202310592470.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2023-05-23
Publication Date
2024-11-26

AI Technical Summary

Technical Problem

The existing technology lacks detection methods for shared bicycle battery capacity, resulting in the inability to detect and replace the faulty batteries in time, affecting operational efficiency and user travel safety.

Method used

During the process of discharging and charging the battery in the charging device, state parameters are collected to determine the battery capacity, and the battery capacity is detected.

Benefits of technology

Complete capacity detection while charging the battery, promptly detect faulty batteries, ensure the healthy state of the battery, and improve operational efficiency and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119030060A_ABST
    Figure CN119030060A_ABST
Patent Text Reader

Abstract

The embodiment of the invention discloses a control method and device of charging equipment and the charging equipment. According to the control method, a target battery is discharged to enable the voltage of the target battery to be smaller than or equal to a first preset voltage threshold value, and then the target battery is charged to enable the voltage of the target battery to be larger than or equal to a second preset voltage threshold value. And in the charging process of the target battery, state parameters of the target battery are collected at preset time intervals, and then the battery capacity of the target battery is determined according to the state parameters. By means of the method, the battery capacity can be detected while the battery is charged.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the field of control, and in particular to a control method and device for charging equipment, and charging equipment. Background Art

[0002] In recent years, as the concept of environmental protection has gained popularity, more and more people have started to choose shared bicycles for travel. In order to provide users with a better travel experience and to ensure their travel safety, more and more functional components, such as positioning components, communication components and various sensors, have been installed on shared bicycles. However, the installation of more components often also means faster battery consumption.

[0003] The existing technology lacks the means to detect battery capacity, and it can usually only be tested by returning the battery to the factory. However, this means that faulty batteries with severe capacity decay often continue to operate on the road because they cannot be detected and replaced in time. Shared bicycles equipped with faulty batteries will frequently run low on power, causing the installed functional components to fail to work properly, which not only affects the vehicle's operating efficiency, but also affects the user's travel experience and even travel safety. Summary of the invention

[0004] In view of this, an embodiment of the present invention provides a control method and device for a charging device, and a charging device, so as to detect the battery capacity while charging the battery.

[0005] In a first aspect, an embodiment of the present invention provides a method for controlling a charging device, the method comprising:

[0006] Discharging a target battery so that a voltage of the target battery is less than or equal to a first preset voltage threshold;

[0007] charging the target battery so that the voltage of the target battery is greater than or equal to a second preset voltage threshold, wherein the state parameter of the target battery is collected at preset time intervals during the charging of the target battery;

[0008] The battery capacity of the target battery is determined according to each of the state parameters.

[0009] In a second aspect, an embodiment of the present invention provides a control device for a charging device, the device comprising:

[0010] a discharging unit, configured to discharge a target battery so that a voltage of the target battery is less than or equal to a first preset voltage threshold;

[0011] a charging unit, configured to charge the target battery so that the voltage of the target battery is greater than or equal to a second preset voltage threshold, wherein the state parameter of the target battery is collected at preset time intervals during the charging of the target battery;

[0012] A determination unit is used to determine the battery capacity of the target battery according to each of the state parameters.

[0013] In a third aspect, an embodiment of the present invention provides a charging device, the device comprising:

[0014] The device body comprises at least one slot, each of which is provided with a charging device and a status acquisition device, wherein the charging device is used to charge a battery placed in a corresponding slot, and the status acquisition device is used to acquire status parameters of the battery placed in the corresponding slot;

[0015] A control device comprises a memory and a processor, wherein the memory is configured to store at least one instruction, and the processor executes the at least one instruction to implement the method as described in any one of the first aspects.

[0016] In a fourth aspect, an embodiment of the present invention provides a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the method as described in any one of the first aspects is implemented.

[0017] In a fifth aspect, an embodiment of the present invention provides a computer program product, which, when executed on a computer, enables the computer to execute the method as described in any one of the first aspects.

[0018] The control method of the embodiment of the present invention discharges the target battery so that the voltage of the target battery is less than or equal to the first preset voltage threshold, and then charges the target battery so that the voltage of the target battery is greater than or equal to the second preset voltage threshold, and collects the state parameters of the target battery at preset time intervals during the charging process of the target battery, and then determines the battery capacity of the target battery according to each of the state parameters. The method can complete the detection of the battery capacity while charging the battery. BRIEF DESCRIPTION OF THE DRAWINGS

[0019] The above and other objects, features and advantages of the present invention will become more apparent through the following description of the embodiments of the present invention with reference to the accompanying drawings, in which:

[0020] Figure 1 is a schematic diagram of a charging device according to an embodiment of the present invention;

[0021] Figure 2A schematic diagram of the connection between a battery and a charging device according to an embodiment of the present invention;

[0022] Figure 3 Another schematic diagram of the connection between the battery and the charging device according to an embodiment of the present invention;

[0023] Figure 4 A schematic diagram of hardware connection of a charging device according to an embodiment of the present invention;

[0024] Figure 5 is a flow chart of a control method according to an embodiment of the present invention;

[0025] Figure 6 A flowchart of a method for determining a battery status according to an embodiment of the present invention;

[0026] Figure 7 Schematic diagram of a control device according to an embodiment of the present invention. DETAILED DESCRIPTION

[0027] The present invention is described below based on embodiments, but the present invention is not limited to these embodiments. In the detailed description of the present invention below, some specific details are described in detail. It is possible for a person skilled in the art to fully understand the present invention without the description of these details. In order to avoid confusing the essence of the present invention, known methods, processes, flows, components and circuits are not described in detail.

[0028] In addition, persons of ordinary skill in the art will appreciate that the drawings provided herein are for illustration purposes and are not necessarily drawn to scale.

[0029] Unless the context clearly requires otherwise, the words "include", "comprising" and the like throughout this application should be interpreted as including rather than exclusive or exhaustive; that is, as meaning "including but not limited to".

[0030] In the description of the present invention, it should be understood that the terms "first", "second", etc. are only used for descriptive purposes and cannot be understood as indicating or implying relative importance. In addition, in the description of the present invention, unless otherwise specified, "plurality" means two or more.

[0031] Figure 1 Schematic diagram of a charging device according to an embodiment of the present invention. Figure 1As shown, the device body of the charging device 11 includes at least one slot. Each of the slots has enough space to accommodate a battery. Furthermore, a charging device and a status acquisition device are provided in each of the slots. The charging device is used to charge the battery placed in the corresponding slot, and the status acquisition device is used to collect the status parameters of the battery placed in the corresponding slot, such as the current value or voltage value of the battery. Furthermore, the charging device 11 also includes a control device (not shown in the figure), and the control device is connected to each of the charging devices and each of the status acquisition devices. In this embodiment, the control device is used to control the charging device and the status acquisition device to charge the battery and detect the battery capacity of the battery after the operator places the battery in the corresponding slot and connects the battery to the charging device in the slot.

[0032] Specifically, taking the target battery as an example, after the operator removes the target battery to be charged from the shared bicycle, the operator can place the target battery in the corresponding slot of the charging device and connect the target battery to the target charging device in the slot. After the operator connects the target battery to the target charging device in the slot, the control device can control the target charging device and the target state acquisition device in the slot to execute the charging process for the target battery. In the charging process, the control device will first discharge the target battery so that the voltage of the target battery is less than or equal to the first preset voltage threshold, and then charge the target battery through the target charging device so that the voltage of the target battery is greater than or equal to the second preset voltage threshold. Among them, during the charging process, the control device will collect the state parameters of the target battery through the target state acquisition device at preset time intervals. After charging is completed, the control device will determine the battery capacity of the target battery based on the collected state parameters of the target battery during the charging process.

[0033] Therefore, the charging device in this embodiment determines the capacity of the battery by discharging the battery before charging it and then collecting the state parameters of the battery during the charging process, so that the battery capacity can be detected while charging the battery.

[0034] It should be understood that since the batteries that need to be charged are usually batteries that have exhausted their power or have only a relatively low power remaining, therefore, discharging the batteries before charging in this embodiment will not have much impact on the charging efficiency.

[0035] Optionally, in order to protect the battery being charged in the compartment, and to protect the charging device and status acquisition device installed in the compartment, each compartment may also have a cabinet door. Furthermore, in order to facilitate the management of each cabinet door, the charging device 11 may also include a cabinet door control device, which may be used to control the opening and closing of each cabinet door under the control of the operator. It should be understood that the cabinet door control device may be integrated with the above-mentioned control device, or may be used as a separate device.

[0036] It should be understood that the charging device in this embodiment is not limited to the specific application scenario of charging the battery of a shared bicycle. The charging device can also be used in other related scenarios involving charging a removable battery. For example, the charging device can charge the removable battery of a beacon device or the removable battery of an electric vehicle. At the same time, by making corresponding adjustments, the charging device in this embodiment can also be used in related scenarios involving charging a non-removable battery. For example, the device cost in this embodiment can be set to a charging pile to charge a non-removable battery and detect the capacity of the battery.

[0037] Optionally, the battery can be connected to the charging device in the slot by plugging, or it can be connected to the charging device by wire connection. It should be understood that when the charging device and the battery are connected by plugging, the operator can put the battery into the corresponding slot in a predetermined manner so that the charging device and the battery are connected together by plugging. When the battery is connected to the charging device by wire connection, the operator can put the battery into the corresponding slot and then use the charging cable to connect the charging device and the battery together.

[0038] Figure 2 FIG. 1 is a schematic diagram of the connection between the battery and the charging device according to an embodiment of the present invention. Figure 2 As shown, after opening the compartment 21, the operator can place the battery 22 in the compartment 21, and then connect the charging device 211 with the battery 22 via the charging line 23. It should be understood that in order to smoothly charge the battery 22, the charging device in this embodiment will be provided with a corresponding adaptation circuit, which will not be described in detail here.

[0039] Figure 3 FIG. 2 is another schematic diagram of the connection between the battery and the charging device according to an embodiment of the present invention. Figure 3 As shown, the operator can insert the battery 32 into the slot 31 in a predetermined manner. After the operator inserts the battery 32 into the slot 31, the charging device 311 can be connected to the battery 32 by plugging.

[0040] It should be understood that Figure 2 and Figure 3The connection structure shown is for illustration only. In actual application, the connection structure and the structure of the slot can be set and adjusted according to actual conditions. For example, when the charging device and the battery are connected by plug-in, in order to enable the operator to smoothly put the battery into the slot in a predetermined manner, a guide groove for guiding the battery into the slot can be set in the slot, etc., which will not be described in detail here.

[0041] Figure 4 FIG. 1 is a schematic diagram of hardware connection of a charging device according to an embodiment of the present invention. Figure 4 As shown, the charging device may include at least one charging device 41 , at least one state acquisition device 42 , an image acquisition device 43 , a prompt device 44 , a communication device 45 and a control device 46 .

[0042] Among them, each charging device 41 and each status collection device 42 can be respectively arranged in each slot of the charging device, and the charging device 41 is used to charge the battery placed in the corresponding slot, and the charging device 41 is used to collect the status parameters of the battery placed in the corresponding slot.

[0043] The image acquisition device 43 is used to acquire the number image of the battery. Optionally, the image acquisition device 43 may be a camera. Optionally, the number of the image acquisition device 43 may be one or more. Further, when the number of the image acquisition device 43 is one, the image acquisition device 43 may be individually set at the corresponding position of the charging device, and at this time, the image acquisition device 43 may acquire the number image of the battery with the help of the operator. When the number of the image acquisition device 43 is multiple, each of the image acquisition devices 43 may be respectively set at a fixed position in each of the grids, and the fixed position may be a position corresponding to the battery number after the battery is placed in the grid in a predetermined manner, thereby, each of the image acquisition devices 43 may acquire the number image of the battery in the corresponding grid after the operator places the battery in the grid in a predetermined manner.

[0044] The prompting device 44 is used to prompt the operator. Optionally, the prompting device 44 can prompt the operator in any one or more of the following ways: light prompt, voice prompt, telephone prompt, or text message prompt.

[0045] The communication device 45 is used to communicate with the server. Optionally, the communication device 45 can communicate with the server through any one or more of the following methods: mobile network, Bluetooth, local area network, Zigbee, etc.

[0046] The control device 46 can be connected to the above devices via a CAN (Controller Area Network) bus, a LIN (Local Interconnect Network) bus or a 485 bus, etc. The control device 46 is used to control the above devices to implement the control method in the above embodiment.

[0047] Optionally, the control device 46 can be a general data processing device, which includes a general computer hardware structure, which at least includes a processor and a memory. The processor and the memory are connected via a bus. The memory is suitable for storing instructions or programs executable by the processor. The processor can be an independent microprocessor or a collection of one or more microprocessors. Thus, the processor executes the method flow of the embodiment of the present invention by executing the instructions stored in the memory to realize the processing of data and the control of other devices.

[0048] It should be understood that Figure 4 The hardware structure and the connection relationship between the hardware shown in are for illustration only. The above-mentioned hardware devices are not the hardware devices necessary to execute the control method in the embodiment of the present invention. Furthermore, in actual application, the hardware devices carried by the charging device can be specifically set and adjusted according to actual needs. For example: the charging device can also be equipped with a cabinet door control device or a control interface, etc. It should be understood that the number of hardware carried by the charging device and the installation position of each hardware can also be set and adjusted according to actual needs.

[0049] Figure 5 FIG. 1 is a flow chart of a control method according to an embodiment of the present invention. Figure 5 As shown, the control method may specifically include the following steps:

[0050] It should be understood that the execution entity of the control method may specifically be the control device of the charging device in the above embodiment.

[0051] S100: Discharge a target battery so that a voltage of the target battery is less than or equal to a first preset voltage threshold.

[0052] Specifically, after the operator removes the target battery to be charged from the shared bicycle, the operator can put the target battery into the corresponding slot of the charging device and connect the target battery to the target charging device in the slot. After the operator connects the target battery to the target charging device, the control device will execute the charging process for the target battery. In the charging process, the control device will first discharge the target battery so that the voltage of the target battery is less than or equal to the first preset voltage threshold.

[0053] It should be understood that, under normal circumstances, since the voltage of the battery will gradually decrease as the battery power is consumed, the remaining power of the battery can be determined by comparing the relationship between the battery voltage and the corresponding voltage threshold. In this embodiment, the control device can determine that the remaining power of the target battery is 0% when it is detected that the voltage of the target battery is less than or equal to the first preset voltage threshold, that is, it is determined that the target battery has been completely exhausted.

[0054] Optionally, in order to ensure that the battery is not damaged due to over-discharge, the first preset voltage threshold may be equal to the discharge termination voltage of the target battery. The discharge termination voltage refers to the lowest operating voltage value at which the battery is not suitable for further discharge when the voltage drops to a level when the battery is discharged.

[0055] Optionally, under normal circumstances, different types or models of batteries have different discharge termination voltages. Therefore, before executing step S100, the control device may obtain a first preset voltage threshold corresponding to the target battery. Furthermore, in order to obtain the first preset voltage threshold corresponding to the target battery, the control device may capture the battery number image of the target battery through an image acquisition device, and then identify the battery number image to determine the target battery number of the target battery. After obtaining the target battery number of the target battery, the control device may determine the first preset voltage threshold corresponding to the target battery according to the target battery number by querying locally or by interacting with the server. It should be understood that in some embodiments, the charging device may also have a control interface. In this case, the control device may determine the target battery number of the target battery by manually inputting the battery number by the operator.

[0056] Optionally, in step S100, the control device may execute the charging process of the target battery after detecting the connection between the target battery and the target charging device, or may execute the charging process of the target battery after receiving a corresponding charging instruction. The charging instruction may be triggered by the operator by manipulating a corresponding instruction triggering device.

[0057] S200: Charge the target battery so that the voltage of the target battery is greater than or equal to a second preset voltage threshold.

[0058] Specifically, after discharging the target battery to exhaust the power of the target battery, the control device may charge the target battery so that the voltage of the target battery is greater than or equal to a second preset voltage threshold. In the process of charging the target battery, the control device collects the state parameters of the target battery at preset time intervals. Optionally, the state parameters may specifically include the current value and voltage value of the target battery.

[0059] It should be understood that the setting of the preset time interval will affect the accuracy of the battery capacity determined by the subsequent detection. Specifically, the shorter the preset time interval, the more accurate the battery capacity determined by the final detection. Optionally, the preset time interval can be set and adjusted by the operator according to actual needs.

[0060] It should be understood that, similar to the first preset voltage threshold, the control device can determine that the current charge of the target battery is 100%, that is, determine that the battery is fully charged, when detecting that the voltage of the target battery is greater than or equal to the second preset voltage threshold.

[0061] Optionally, in order to ensure that the battery is not damaged by overcharging, the second preset voltage threshold may be equal to the charge termination voltage of the target battery. The charge termination voltage refers to the voltage when the battery reaches a fully charged state. If charging continues after reaching the termination voltage, it is considered overcharging, which generally damages the battery performance and life.

[0062] It should be understood that, similar to the first preset voltage threshold, before executing step S200, the control device can also obtain a second preset voltage threshold corresponding to the target battery according to the target battery number, which will not be described in detail here.

[0063] Optionally, in order to prevent the target battery from being damaged due to excessive discharge rate or charging rate, the control device may discharge the target battery at a preset discharge rate during the discharge process. Also, the control device may charge the target battery at a preset charging rate during the charging process. The preset discharge rate and the preset charging rate may be set by the operator according to actual needs. In some embodiments, the preset discharge rate and the preset charging rate may both be set to 0.2C.

[0064] Optionally, in order to avoid affecting the service life of the target battery by continuously charging and discharging the target battery in a short period of time, after completing the discharge process, the control device can also charge the battery after a preset time period, such as 30 minutes.

[0065] S300: Determine the battery capacity of the target battery according to each of the state parameters.

[0066] Specifically, after charging is completed, the control device may determine the battery capacity of the target battery according to the collected state parameters of the target battery during the charging process.

[0067] Optionally, the control device may calculate and determine the battery capacity of the target battery by the following formula:

[0068]

[0069] Where T is the preset time interval, U i is the voltage value collected at the ith time, I i is the i-th current value collected, and n is the number of state parameters collected.

[0070] Through the above formula, the control device can calculate the amount of electricity charged into the target battery in each preset time interval, and then, the control device can determine the battery capacity of the target battery by adding the amount of electricity charged into the target battery in each preset time interval.

[0071] Optionally, after determining the battery capacity of the target battery, the control device may also determine whether the target battery is a faulty battery with severe capacity decay according to the battery capacity.

[0072] Figure 6 FIG. 1 is a flow chart of a method for determining battery status according to an embodiment of the present invention. Figure 6 As shown, the battery status determination method may specifically include the following steps:

[0073] S410: Determine a battery capacity threshold.

[0074] Specifically, the control device may determine a battery capacity threshold, wherein the battery capacity threshold may be a determined lower limit of the battery capacity, and any battery whose battery capacity is lower than the battery capacity threshold will be identified as a faulty battery with serious capacity decay.

[0075] Optionally, the battery capacity thresholds of batteries of different types or models may be the same or different. When the battery capacity thresholds of batteries of different types or models are different, the control device may determine the battery capacity threshold corresponding to the target battery. Further, the control device may determine the battery capacity threshold corresponding to the target battery by interacting with the server according to the target battery number of the target battery. Specifically, the control device may send a capacity threshold acquisition request to the server to determine the battery capacity threshold. The capacity threshold acquisition request may include the target battery number of the target battery.

[0076] It should be understood that this embodiment determines the battery capacity threshold by interacting with the server, which can also facilitate online management of battery failure determination conditions.

[0077] S420: In response to the battery capacity being less than or equal to the battery capacity threshold, determine that the target battery is in a fault state.

[0078] Specifically, after determining the battery capacity threshold, the control device may compare the battery capacity of the target battery with the battery capacity threshold. If the battery capacity of the target battery is less than or equal to the battery capacity threshold, the control device may determine that the target battery is in a fault state.

[0079] S430: Prompt a fault for the target battery in a fault state.

[0080] Specifically, after determining that the target battery is a faulty battery with serious capacity attenuation, the control device can give a fault prompt to the operator so that the operator can replace the target battery in time. The fault prompt to the operator can be any one or more of light prompt, voice prompt, telephone prompt or SMS prompt.

[0081] Optionally, after determining that the target battery is a faulty battery with severe capacity attenuation, the control device may also send a fault marking request to the server to instruct the server to mark the target battery as a fault, thereby avoiding the reuse of the faulty battery. The fault marking request may include the target battery number of the target battery, so that the server can mark the target battery as a fault according to the target battery number. Correspondingly, before executing the charging process, that is, before executing step S100, the control device may also pre-acquire the target battery number of the target battery, and determine whether the target battery has a fault mark by interacting with the server according to the target battery number. If it is determined that the target battery has a fault mark, the control device will no longer execute the subsequent charging process, that is, will no longer execute steps S100-S300, but will directly prompt the operator for the fault.

[0082] Optionally, in order to achieve online management and analysis of battery capacity changes, regardless of whether the target battery is in a faulty state, the control device will send the target battery number and battery capacity of the target battery to the server after detecting and determining the battery capacity of the target battery to instruct the server to store the target battery number and battery capacity accordingly.

[0083] The control method of the embodiment of the present invention discharges the target battery so that the voltage of the target battery is less than or equal to the first preset voltage threshold, and then charges the target battery so that the voltage of the target battery is greater than or equal to the second preset voltage threshold, and collects the state parameters of the target battery at preset time intervals during the charging process of the target battery, and then determines the battery capacity of the target battery according to each of the state parameters. The method can complete the detection of the battery capacity while charging the battery.

[0084] Figure 7Schematic diagram of a control device according to an embodiment of the present invention. Figure 7 As shown, the control device of the embodiment of the present invention includes a discharging unit 71 , a charging unit 72 and a determining unit 73 .

[0085] Specifically, the discharging unit 71 is used to discharge the target battery so that the voltage of the target battery is less than or equal to a first preset voltage threshold;

[0086] The charging unit 72 is used to charge the target battery so that the voltage of the target battery is greater than or equal to a second preset voltage threshold, wherein the state parameter of the target battery is collected at preset time intervals during the charging process of the target battery;

[0087] The determining unit 73 is used to determine the battery capacity of the target battery according to each of the state parameters.

[0088] The control device of the embodiment of the present invention discharges the target battery so that the voltage of the target battery is less than or equal to the first preset voltage threshold, and then charges the target battery so that the voltage of the target battery is greater than or equal to the second preset voltage threshold, and collects the state parameters of the target battery at preset time intervals during the charging process of the target battery, and then determines the battery capacity of the target battery according to each of the state parameters. The device can complete the detection of the battery capacity while charging the battery.

[0089] Those skilled in the art will appreciate that the embodiments of the present application may be provided as methods, devices (equipment) or computer program products. Therefore, the present application may adopt the form of a complete hardware embodiment, a complete software embodiment or an embodiment combining software and hardware. Moreover, the present application may adopt a computer program product implemented on one or more computer-readable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program code.

[0090] The present application is described with reference to flowcharts of methods, apparatuses (devices) and computer program products according to embodiments of the present application. It should be understood that each process in the flowchart can be implemented by computer program instructions.

[0091] These computer program instructions may be stored in a computer readable memory capable of directing a computer or other programmable data processing device to operate in a specific manner, so that the instructions stored in the computer readable memory produce an article of manufacture including an instruction device that implements the process Figure 1 A function specified in a process or multiple processes.

[0092] These computer program instructions may also be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing device to produce a machine, so that the instructions executed by the processor of the computer or other programmable data processing device produce the instructions for implementing the process Figure 1 A device that specifies functions in a process or multiple processes.

[0093] Another embodiment of the present invention relates to a non-volatile storage medium for storing a computer-readable program, wherein the computer-readable program is used for a computer to execute part or all of the above method embodiments.

[0094] That is, those skilled in the art can understand that all or part of the steps in the above-mentioned embodiment method can be completed by specifying relevant hardware through a program, and the program is stored in a storage medium, including several instructions for a device (which can be a single-chip microcomputer, chip, etc.) or a processor (processor) to execute all or part of the steps of the method described in each embodiment of the present application. The aforementioned storage medium includes: U disk, mobile hard disk, read-only memory (ROM, Read-Only Memory), random access memory (RAM, Random Access Memory), disk or optical disk and other media that can store program codes.

[0095] The above description is only a preferred embodiment of the present invention and is not intended to limit the present invention. For those skilled in the art, the present invention may have various modifications and variations. Any modification, equivalent replacement, improvement, etc. made within the spirit and principle of the present invention shall be included in the protection scope of the present invention.

Claims

1. A control method for a charging device, characterized in that: The method comprises: Discharging a target battery so that a voltage of the target battery is less than or equal to a first preset voltage threshold; charging the target battery so that the voltage of the target battery is greater than or equal to a second preset voltage threshold, wherein the state parameter of the target battery is collected at preset time intervals during the charging of the target battery; The battery capacity of the target battery is determined according to each of the state parameters.

2. The method according to claim 1, characterized in that The method further comprises: Acquiring a numbered image of the target battery; The number image is recognized to determine the target battery number of the target battery.

3. The method according to claim 2, characterized in that After determining the battery capacity of the target battery according to each of the state parameters, the method further includes: The battery capacity of the target battery and the target battery number are sent to a server.

4. The method according to claim 1, characterized in that After determining the battery capacity of the target battery according to each of the state parameters, the method further includes: Determine battery capacity threshold; In response to the battery capacity being less than or equal to the battery capacity threshold, determining that the target battery is in a fault state; A fault prompt is given for a target battery in a fault state.

5. The method according to claim 4, characterized in that Determining the battery capacity threshold includes: A capacity threshold acquisition request is sent to a server to determine the battery capacity threshold.

6. The method according to claim 4, characterized in that The method further comprises: In response to the target battery being in a fault state, a fault marking request is sent to a server to instruct the server to mark the target battery as a fault, wherein the fault marking request includes a target battery number of the target battery.

7. The method according to claim 1, characterized in that Discharging the target battery includes: In response to detecting that the target battery is connected to a target charging device, discharging the target battery; or In response to receiving the charging instruction, the target battery is discharged.

8. The method according to claim 1 or 7, characterized in that: Discharging the target battery includes: Discharge the target battery at a preset discharge rate.

9. The method according to claim 1, characterized in that: Charging the target battery includes: The target battery is charged at a preset charging rate.

10. The method according to claim 1, characterized in that The state parameters include current value and voltage value; Determining the battery capacity of the target battery according to each of the state parameters includes: The battery capacity of the target battery is determined by calculating the following formula: Where T is the preset time interval, U i is the voltage value collected at the ith time, I i is the i-th current value collected, and n is the number of state parameters collected.

11. A control device for a charging device, characterized in that: The device comprises: a discharging unit, configured to discharge a target battery so that a voltage of the target battery is less than or equal to a first preset voltage threshold; a charging unit, configured to charge the target battery so that the voltage of the target battery is greater than or equal to a second preset voltage threshold, wherein the state parameter of the target battery is collected at preset time intervals during the charging of the target battery; A determination unit is used to determine the battery capacity of the target battery according to each of the state parameters.

12. A charging device, characterized in that: The device comprises: The device body comprises at least one slot, each of which is provided with a charging device and a status acquisition device, wherein the charging device is used to charge a battery placed in a corresponding slot, and the status acquisition device is used to acquire status parameters of the battery placed in the corresponding slot; A control device comprises a memory and a processor, wherein the memory is configured to store at least one instruction, and the processor executes the at least one instruction to implement the method according to any one of claims 1 to 10.

13. The device according to claim 12, characterized in that The device also includes: The communication device is used to communicate with the server.

14. A computer-readable storage medium storing computer program instructions, characterized in that: The computer program instructions implement the method according to any one of claims 1 to 10 when executed by a processor.

15. A computer program product, characterized in that When the computer program product is run on a computer, the computer is caused to execute the method according to any one of claims 1 to 10.