[go: up one dir, main page]

CN119154465A - Battery charging method, device, charger, storage medium and program product - Google Patents

Battery charging method, device, charger, storage medium and program product Download PDF

Info

Publication number
CN119154465A
CN119154465A CN202411659327.XA CN202411659327A CN119154465A CN 119154465 A CN119154465 A CN 119154465A CN 202411659327 A CN202411659327 A CN 202411659327A CN 119154465 A CN119154465 A CN 119154465A
Authority
CN
China
Prior art keywords
battery
charging
current
voltage
type
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202411659327.XA
Other languages
Chinese (zh)
Inventor
宁荣彬
雷强
周雨成
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
Shenzhen Peicheng Electronic Technology Co ltd
Original Assignee
Shenzhen Peicheng Electronic Technology Co ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by Shenzhen Peicheng Electronic Technology Co ltd filed Critical Shenzhen Peicheng Electronic Technology Co ltd
Priority to CN202411659327.XA priority Critical patent/CN119154465A/en
Publication of CN119154465A publication Critical patent/CN119154465A/en
Pending legal-status Critical Current

Links

Classifications

    • HELECTRICITY
    • H01ELECTRIC ELEMENTS
    • H01MPROCESSES OR MEANS, e.g. BATTERIES, FOR THE DIRECT CONVERSION OF CHEMICAL ENERGY INTO ELECTRICAL ENERGY
    • H01M10/00Secondary cells; Manufacture thereof
    • H01M10/42Methods or arrangements for servicing or maintenance of secondary cells or secondary half-cells
    • H01M10/44Methods for charging or discharging
    • H01M10/446Initial charging measures
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00302Overcharge protection
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/0029Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries with safety or protection devices or circuits
    • H02J7/00306Overdischarge protection
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/00714Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery charging or discharging current
    • HELECTRICITY
    • H02GENERATION; CONVERSION OR DISTRIBUTION OF ELECTRIC POWER
    • H02JCIRCUIT ARRANGEMENTS OR SYSTEMS FOR SUPPLYING OR DISTRIBUTING ELECTRIC POWER; SYSTEMS FOR STORING ELECTRIC ENERGY
    • H02J7/00Circuit arrangements for charging or depolarising batteries or for supplying loads from batteries
    • H02J7/007Regulation of charging or discharging current or voltage
    • H02J7/00712Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters
    • H02J7/007182Regulation of charging or discharging current or voltage the cycle being controlled or terminated in response to electric parameters in response to battery voltage
    • YGENERAL TAGGING OF NEW TECHNOLOGICAL DEVELOPMENTS; GENERAL TAGGING OF CROSS-SECTIONAL TECHNOLOGIES SPANNING OVER SEVERAL SECTIONS OF THE IPC; TECHNICAL SUBJECTS COVERED BY FORMER USPC CROSS-REFERENCE ART COLLECTIONS [XRACs] AND DIGESTS
    • Y02TECHNOLOGIES OR APPLICATIONS FOR MITIGATION OR ADAPTATION AGAINST CLIMATE CHANGE
    • Y02EREDUCTION OF GREENHOUSE GAS [GHG] EMISSIONS, RELATED TO ENERGY GENERATION, TRANSMISSION OR DISTRIBUTION
    • Y02E60/00Enabling technologies; Technologies with a potential or indirect contribution to GHG emissions mitigation
    • Y02E60/10Energy storage using batteries

Landscapes

  • Engineering & Computer Science (AREA)
  • Power Engineering (AREA)
  • Manufacturing & Machinery (AREA)
  • Chemical & Material Sciences (AREA)
  • Chemical Kinetics & Catalysis (AREA)
  • Electrochemistry (AREA)
  • General Chemical & Material Sciences (AREA)
  • Charge And Discharge Circuits For Batteries Or The Like (AREA)

Abstract

The application discloses a battery charging method, a device, a charger, a storage medium and a program product, which relate to the technical field of battery charging and comprise the steps of collecting initial voltage of a battery and carrying out initial charging on the battery when the connection with the battery is detected; the method comprises the steps of collecting a first current and a current carrying voltage of the battery, determining a target battery type of the battery based on the first current, the initial voltage and the current carrying voltage, determining a charging parameter corresponding to the target battery type based on the target battery type, and charging the battery by utilizing the charging parameter. The application can avoid potential safety hazard of the battery in the charging process and improve the charging safety.

Description

Battery charging method, device, charger, storage medium and program product
Technical Field
The present application relates to the field of battery charging technology, and in particular, to a battery charging method, device, charger, storage medium and program product.
Background
Currently, a battery is a common component for generating electric energy, and is widely applied to various mobile devices. The types of batteries are various, including lithium batteries, lead-acid batteries, and nickel-chromium batteries. Different batteries have different electrical characteristics, and therefore, different electrical parameters such as charging voltage and charging current are required for charging.
However, the existing charger cannot accurately identify the type of the connected battery, so that potential safety hazards exist when the battery is charged.
Disclosure of Invention
The application mainly aims to provide a battery charging method, a device, a charger, a storage medium and a program product, and aims to solve the technical problem that the charger cannot accurately identify the type of a connected battery.
In order to achieve the above object, the present application provides a battery charging method, comprising:
when the connection with the battery is detected, collecting the initial voltage of the battery, and carrying out initial charging on the battery;
Collecting a first current and a first current load voltage of a battery;
Determining a target battery type of the battery based on the first current, the initial voltage, and the first current on-load voltage;
Based on the target battery type, a charging parameter corresponding to the target battery type is determined, and the battery is charged using the charging parameter.
In one embodiment, the step of determining the target battery type of the battery based on the first present current, the initial voltage, and the first present on-load voltage comprises:
Determining a voltage difference between the initial voltage and a first current load voltage;
determining a first internal resistance of the battery based on the voltage difference and the first present current;
And searching a mapping relation, and determining a target battery type corresponding to the first internal resistance, wherein the mapping relation comprises a mapping relation between the first internal resistance and the battery type.
In one embodiment, the step of initially charging the battery includes:
and carrying out constant current charging on the battery.
In an embodiment, after determining a charging parameter corresponding to the target battery type based on the target battery type and charging the battery using the charging parameter, the method further includes:
under the condition that the battery is detected to enter the next charging stage, collecting a second current carrying voltage and a second current of the battery;
stopping charging the battery;
Collecting a third voltage of the battery;
Determining a second internal resistance of the battery by using the third voltage, the second current load voltage and the second current;
searching a mapping relation, and determining a new battery type corresponding to the second internal resistance;
Determining whether the new battery type is consistent with the target battery type;
if the new battery type is inconsistent with the target battery type, stopping charging the battery;
and if the new battery type is consistent with the target battery type, charging the battery in the next charging stage.
In one embodiment, the step of collecting the third voltage of the battery includes:
and after stopping charging for a preset period of time, collecting the third voltage of the battery.
In one embodiment, the step of determining a charging parameter corresponding to the target battery type based on the target battery type and charging the battery using the charging parameter comprises:
determining whether a charging parameter corresponding to the target battery type exists;
If the charging parameters corresponding to the target battery type exist, charging the battery by using the charging parameters;
and if the charging parameters corresponding to the target battery type do not exist, stopping charging the battery.
In addition, in order to achieve the above object, the present application also proposes a battery charging device including:
The first acquisition module is used for acquiring the initial voltage of the battery and carrying out initial charging on the battery when the connection with the battery is detected;
The second acquisition module is used for acquiring the first current and the first current load voltage of the battery;
The first determining module is used for determining a target battery type of the battery based on the first current, the initial voltage and the first current carrying voltage;
and the second determining module is used for determining a charging parameter corresponding to the target battery type based on the target battery type and charging the battery by using the charging parameter.
In addition, in order to achieve the above object, the application also proposes a charger comprising a memory, a processor and a computer program stored on the memory and executable on the processor, the computer program being configured to implement the steps of the battery charging method as described above.
Furthermore, to achieve the above object, the present application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, which computer program, when being executed by a processor, implements the steps of the battery charging method as described above.
Furthermore, to achieve the above object, the present application also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of the battery charging method as described above.
One or more technical schemes provided by the application have at least the following technical effects:
In the application, as the batteries of different types have unique electrical characteristics, the reaction characteristics of the batteries, such as internal impedance and voltage change, can be analyzed according to the initial voltage of the batteries when the batteries are connected with a charger, the first current and the first current carrying voltage after the initial charging and other parameters, so that the target battery type of the batteries can be deduced according to the internal impedance and the voltage change of the batteries. Meanwhile, after the target battery type of the battery is determined, charging parameters such as charging voltage, charging current, charging time and the like suitable for the battery can be determined according to the target battery type, so that the charging efficiency can be effectively improved, the service life of the battery is prolonged, overcharge, overdischarge or improper charging current can be avoided, the risks of thermal runaway and damage are reduced, and potential safety hazards during battery charging are avoided.
Drawings
The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the application and together with the description, serve to explain the principles of the application.
In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings that are required to be used in the description of the embodiments or the prior art will be briefly described below, and it will be obvious to those skilled in the art that other drawings can be obtained from these drawings without inventive effort.
FIG. 1 is a schematic view showing the internal structure of a charger according to the present application;
FIG. 2 is a schematic flow chart of a battery charging method according to an embodiment of the present application;
fig. 3 is a schematic block diagram of a battery charging device according to an embodiment of the application;
Fig. 4 is a schematic device structure diagram of a hardware operating environment related to a battery charging method according to an embodiment of the present application.
The achievement of the objects, functional features and advantages of the present application will be further described with reference to the accompanying drawings, in conjunction with the embodiments.
Detailed Description
It should be understood that the specific embodiments described herein are merely illustrative of the technical solution of the present application and are not intended to limit the present application.
For a better understanding of the technical solution of the present application, the following detailed description will be given with reference to the drawings and the specific embodiments.
The method comprises the main steps of collecting initial voltage of a battery and initially charging the battery when connection with the battery is detected, collecting first current and first current carrying voltage of the battery, determining a target battery type of the battery based on the first current, the initial voltage and the first current carrying voltage, determining charging parameters corresponding to the target battery type based on the target battery type, and charging the battery by using the charging parameters.
In this embodiment, for convenience of description, the following description will be made with the charger as the main body of execution.
Currently, a battery is a common component for generating electric energy, and is widely applied to various mobile devices. The types of batteries are various, including lithium batteries, lead-acid batteries, and nickel-chromium batteries. Different batteries have different electrical characteristics, and therefore, different electrical parameters such as charging voltage and charging current are required for charging.
However, the existing charger cannot accurately identify the type of the connected battery, so that potential safety hazards exist when the battery is charged.
The application provides a solution, since different types of batteries have unique electrical characteristics, according to the initial voltage of the battery when the battery is connected with a charger, and the parameters of the first current and the first current carrying voltage after initial charging, the reaction characteristics of the battery, such as internal impedance and voltage change, can be analyzed, so that the target battery type of the battery can be deduced according to the internal impedance and voltage change of the battery. Meanwhile, after the target battery type of the battery is determined, charging parameters such as charging voltage, charging current, charging time and the like suitable for the battery can be determined according to the target battery type, so that the charging efficiency can be effectively improved, the service life of the battery is prolonged, overcharge, overdischarge or improper charging current can be avoided, the risks of thermal runaway and damage are reduced, and potential safety hazards during battery charging are avoided.
It should be noted that, the execution body of the present embodiment may be a computing service device having functions of data processing, network communication, and program running, such as a charger. The present embodiment and the following embodiments will be described below with reference to a charger.
The charger applied to the implementation of the technology of the present application will be described below:
referring to fig. 1, fig. 1 is a schematic view of the internal structure of a charger. The charger comprises a battery connection terminal, a voltage detection circuit, a current detection circuit, a relay, a power circuit and a micro-processing controller.
The battery connecting terminal is respectively connected with the microprocessor controller, the voltage detection circuit, the current detection circuit and the relay, and is used for being connected with the battery.
The voltage detection circuit is respectively connected with the micro-processing controller and the battery connecting terminal, and comprises a high-precision voltage divider circuit and an analog-to-digital converter (ADC), and after the voltage detection circuit acquires the initial voltage and the on-load voltage of the battery through the voltage divider circuit, the analog-to-digital converter is used for converting the initial voltage and the on-load voltage into voltage digital signals, and the digital signals are transmitted to the micro-processing controller.
The current detection circuit is respectively connected with the micro-processing controller and the battery connecting terminal, and comprises a high-precision current sampling circuit and an analog-to-digital converter (ADC), and after the current detection circuit collects the current of the battery during charging through the current sampling circuit, the current value is converted into a current digital signal by the analog-to-digital converter, and the current digital signal is transmitted to the micro-processing controller.
The relay is connected with the micro-processing controller, the battery connecting terminal and the power circuit respectively, and is used for stopping charging the battery or continuing to charge the battery according to the control signal when receiving the control signal sent by the micro-processing controller.
The power circuit is connected with the micro-processing controller and is used for outputting current and voltage under the control of the micro-processing controller.
When the micro-processing controller detects that the micro-processing controller is connected with the battery through the battery connecting terminal, the micro-processing controller receives a voltage digital signal of the initial voltage sent by the voltage detecting circuit and controls the power circuit to output current and voltage so as to initially charge the battery. After the battery is initially charged, the voltage digital signal of the first current carrying voltage sent by the voltage detection circuit is received, the current digital signal of the first current sent by the current detection circuit is received, and the target battery type of the battery is determined according to the first current, the first current carrying voltage and the initial voltage. After determining the target battery type of the battery, a charging parameter corresponding to the target battery type may be determined, and the current and voltage output by the power circuit may be controlled according to the charging parameter.
In this embodiment, according to the initial voltage of the battery when connected to the charger, and the parameters such as the first current and the first current load voltage after the initial charging, the reaction characteristics of the battery, such as the internal impedance and the voltage change, can be analyzed, so that the target battery type of the battery can be deduced according to the internal impedance and the voltage change of the battery. Meanwhile, after the target battery type of the battery is determined, charging parameters such as charging voltage, charging current, charging time and the like suitable for the battery can be determined according to the target battery type, so that the charging efficiency can be effectively improved, the service life of the battery is prolonged, overcharge, overdischarge or improper charging current can be avoided, the risks of thermal runaway and damage are reduced, and potential safety hazards during battery charging are avoided.
In addition, when the battery is charged, the voltage and the current output by the power circuit are adaptively adjusted by using the charging parameters, so that the charger is suitable for batteries in different types and states, and the applicability of the charger is improved.
Based on this, an embodiment of the present application provides a battery charging method, and referring to fig. 2, fig. 2 is a schematic flow chart of a first embodiment of the battery charging method of the present application.
In this embodiment, the battery charging method includes steps S10 to S40:
step S10, when connection with the battery is detected, initial voltage of the battery is collected, and the battery is initially charged.
Step S20, collecting a first current and a first current load voltage of the battery.
In this embodiment, the initial voltage may be a voltage when the battery has not been charged yet. The first current on-load voltage may be a voltage of the battery at a current time after the charger is connected and charging is started. The first present current may be a current through the battery at a present time after the battery is connected to the charger and charging is started.
Specifically, when the charger detects that the charger is connected with the battery through the battery connecting terminal, the initial voltage of the battery can be collected through the voltage detection circuit, and the power circuit is controlled to output current and voltage to initially charge the battery.
It should be noted that, in order to reduce short-circuit or other safety risks of the battery during initial charging, and ensure safer charging process, as an alternative embodiment, initial charging of the battery may be adapted to be constant-current charging of the battery, that is, charging the battery with a set initial constant current value.
After the battery is initially charged, a first current on-load voltage of the battery can be acquired through a voltage detection circuit, and a first current through the battery can be acquired through a current detection circuit.
Step S30, determining a target battery type of the battery based on the first present current, the initial voltage, and the first present on-load voltage.
It will be appreciated that different types of batteries (e.g., lithium ion, lead acid, nickel hydrogen, etc.) have different internal resistance characteristics, and thus when determining a target battery type for the battery based on a first present current, an initial voltage, and a first present on-load voltage, a first internal resistance of the battery may be determined based on the first present current, the initial voltage, and the first present on-load voltage. After determining the first internal resistance of the battery, a mapping relation can be searched for, a target battery type corresponding to the first internal resistance is determined, namely, a voltage difference between an initial voltage and a first current on-load voltage is determined, the first internal resistance of the battery is determined based on the voltage difference and the first current, the mapping relation is searched for, and the target battery type corresponding to the first internal resistance is determined, wherein the mapping relation comprises the mapping relation between the first internal resistance and the battery type.
Step S40, determining a charging parameter corresponding to the target battery type based on the target battery type, and charging the battery using the charging parameter.
In order to prevent the situation that the battery aging causes the target battery type of the battery to be determined to be wrong when the battery is charged by using the charging parameters, further, as an optional implementation manner, after step S40, the method further includes:
step S41, under the condition that the battery is detected to enter the next charging stage, collecting a second current carrying voltage and a second current of the battery.
Step S42, the battery is stopped from being charged.
Step S43, collecting a third voltage of the battery.
Step S44, determining a second internal resistance of the battery using the third voltage, the second current on-load voltage, and the second current.
Step S45, searching the mapping relation and determining a new battery type corresponding to the second internal resistance.
Step S46, it is determined whether the new battery type is consistent with the target battery type.
In step S47, if the new battery type is inconsistent with the target battery type, the charging of the battery is stopped.
In step S48, if the new battery type is consistent with the target battery type, the battery is charged in the next charging stage.
Specifically, the charging process of the battery is mainly divided into three charging stages of trickle stage, constant current stage and constant voltage stage. During battery charging, it may be determined whether the battery enters the next charging stage by the battery voltage.
For example, the voltage detection circuit may collect the battery voltage of the battery, after the battery voltage is collected, the charging stage of the battery may be determined according to the battery voltage range corresponding to each charging stage, for example, the battery voltage is 3.9V, the battery voltage in the trickle stage is lower than 3V, the battery voltage in the constant-current stage is 3.0V to 4.2V, and the battery voltage in the constant-voltage stage is not lower than 4.2V, where the charging stage of the battery may be determined to be the constant-current stage.
And under the condition that the battery is detected to enter the next charging stage, acquiring a second current carrying voltage of the battery through a voltage detection circuit, and acquiring a second current of the battery through a current detection circuit. After the second current load voltage and the second current of the battery are collected, the relay can be controlled to be disconnected, the battery is stopped from being charged, and the third voltage of the battery is collected. In order to obtain a more accurate battery voltage, the step S43 may be adapted to collect the third voltage of the battery after stopping the charging for a preset period of time, for example, after stopping the charging for 2-3 seconds, and collect the third voltage of the battery through a voltage detection circuit.
After the third voltage, the second current load voltage, and the second current of the battery are obtained, a voltage difference between the second current load voltage and the third voltage may be determined, and a second internal resistance of the battery may be determined based on the voltage difference between the second current load voltage and the third voltage, and the second current. After the second internal resistance is obtained, the mapping relation can be searched, a new battery type corresponding to the second internal resistance is determined, and whether the new battery type is consistent with the target battery type or not is determined.
When the new battery type is inconsistent with the target battery type, the battery may be aged to cause detection errors, and in order to avoid equipment failure caused by charge mismatch, the battery is stopped from being charged. When the new battery type is consistent with the target battery type, the battery is not in a situation of detecting errors, and the battery is charged in the next stage.
In this embodiment, when the battery enters the next stage, the second internal resistance of the battery is determined based on the third voltage, the second current load voltage and the second current, the new battery type of the battery is determined by using the second internal resistance, whether the new battery type is consistent with the target battery type is determined, and whether to continue charging the battery is determined according to the comparison result, that is, when the battery enters the next charging stage, the battery type of the battery is identified, so that detection errors caused by battery aging are avoided, and accuracy of battery type identification is ensured.
It will be appreciated that different battery types have specific charging requirements, such as voltage, current and charging time. If mismatched charging parameters are used, overcharging, shorting, or other safety hazards may result, and even fire or explosion may be initiated. After determining the target battery type of the battery, it may be determined whether a charging parameter corresponding to the target battery type exists in the charging data stored inside the charger, and when the charging parameter corresponding to the target battery type exists, the battery is charged by using the charging parameter. And stopping charging the battery when the charging parameter corresponding to the target battery type does not exist, namely determining whether the charging parameter corresponding to the target battery type exists, if so, charging the battery by using the charging parameter, and if not, stopping charging the battery.
In this embodiment, since the different types of batteries have unique electrical characteristics, according to the initial voltage of the battery when connected to the charger, and the parameters such as the first current and the first current load voltage after the initial charging, the reaction characteristics of the battery, such as the internal impedance and the voltage change, can be analyzed, so that the target battery type of the battery can be deduced according to the internal impedance and the voltage change of the battery. Meanwhile, after the target battery type of the battery is determined, charging parameters such as charging voltage, charging current, charging time and the like suitable for the battery can be determined according to the target battery type, so that the charging efficiency can be effectively improved, the service life of the battery is prolonged, overcharge, overdischarge or improper charging current can be avoided, the risks of thermal runaway and damage are reduced, and potential safety hazards during battery charging are avoided.
It should be noted that the foregoing examples are only for understanding the present application, and are not to be construed as limiting the battery charging method of the present application, and that many simple modifications based on the technical idea are within the scope of the present application.
The present application also provides a battery charging device, referring to fig. 3, comprising:
The first acquisition module is used for acquiring the initial voltage of the battery and carrying out initial charging on the battery when the connection with the battery is detected;
The second acquisition module is used for acquiring the first current and the first current load voltage of the battery;
The first determining module is used for determining a target battery type of the battery based on the first current, the initial voltage and the first current carrying voltage;
and the second determining module is used for determining a charging parameter corresponding to the target battery type based on the target battery type and charging the battery by using the charging parameter.
The battery charging device provided by the application can solve the technical problem that the charger cannot accurately identify the connected battery type by adopting the battery charging method in the embodiment. Compared with the prior art, the battery charging device provided by the application has the same beneficial effects as the battery charging method provided by the embodiment, and other technical features in the battery charging device are the same as the features disclosed by the method of the embodiment, and are not repeated herein.
The application provides a charger, which comprises at least one processor and a memory in communication connection with the at least one processor, wherein the memory stores instructions executable by the at least one processor, and the instructions are executed by the at least one processor so that the at least one processor can execute the battery charging method in the first embodiment.
Referring now to fig. 4, a schematic diagram of a charger suitable for use in implementing embodiments of the present application is shown. The charger shown in fig. 4 is only an example and should not be construed as limiting the function and scope of use of the embodiments of the present application.
As shown in fig. 4, the charger may include a processing device 1001 (e.g., a central processor, a graphics processor, etc.) that may perform various appropriate actions and processes according to a program stored in a Read Only Memory (ROM) 1002 or a program loaded from a storage device 1003 into a random access Memory (RAM: random Access Memory) 1004. In the RAM1004, various programs and data required for the charger operation are also stored. The processing device 1001, the ROM1002, and the RAM1004 are connected to each other by a bus 1005. An input/output (I/O) interface 1006 is also connected to the bus. In general, a system including an input device 1007 such as a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc., an output device 1008 including a Liquid crystal display (LCD: liquid CRYSTAL DISPLAY), a speaker, a vibrator, etc., a storage device 1003 including a magnetic tape, a hard disk, etc., and a communication device 1009 may be connected to the I/O interface 1006. The communication means 1009 may allow the charger to communicate with other devices wirelessly or by wire to exchange data. While chargers with various systems are shown in the figures, it should be understood that not all of the illustrated systems are required to be implemented or provided. More or fewer systems may alternatively be implemented or provided.
In particular, according to embodiments of the present disclosure, the processes described above with reference to flowcharts may be implemented as computer software programs. For example, embodiments of the present disclosure include a computer program product comprising a computer program embodied on a computer readable medium, the computer program comprising program code for performing the method shown in the flow chart. In such an embodiment, the computer program may be downloaded and installed from a network through a communication device, or installed from the storage device 1003, or installed from the ROM 1002. The above-described functions defined in the method of the disclosed embodiment of the application are performed when the computer program is executed by the processing device 1001.
The charger provided by the application adopts the battery charging method in the embodiment, and can solve the technical problem that the charger cannot accurately identify the connected battery type. Compared with the prior art, the charger provided by the application has the same beneficial effects as the battery charging method provided by the embodiment, and other technical features in the charger are the same as the features disclosed by the method of the previous embodiment, and are not repeated herein.
It is to be understood that portions of the present disclosure may be implemented in hardware, software, firmware, or a combination thereof. In the description of the above embodiments, particular features, structures, materials, or characteristics may be combined in any suitable manner in any one or more embodiments or examples.
The foregoing is merely illustrative of the present application, and the present application is not limited thereto, and any person skilled in the art will readily recognize that variations or substitutions are within the scope of the present application. Therefore, the protection scope of the present application shall be subject to the protection scope of the claims.
The present application provides a computer-readable storage medium having computer-readable program instructions (i.e., a computer program) stored thereon for performing the battery charging method of the above-described embodiments.
The computer readable storage medium provided by the present application may be, for example, a USB flash disk, but is not limited to, an electronic, magnetic, optical, electromagnetic, infrared, or semiconductor system or device, or a combination of any of the foregoing. More specific examples of a computer-readable storage medium may include, but are not limited to, an electrical connection having one or more wires, a portable computer diskette, a hard disk, a random access Memory (RAM: random Access Memory), a Read-Only Memory (ROM), an erasable programmable Read-Only Memory (EPROM: erasable Programmable Read Only Memory or flash Memory), an optical fiber, a portable compact disc Read-Only Memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the foregoing. In this embodiment, the computer-readable storage medium may be any tangible medium that can contain, or store a program for use by or in connection with an instruction execution system or device. Program code embodied on a computer readable storage medium may be transmitted using any appropriate medium, including but not limited to electrical wiring, fiber optic cable, RF (Radio Frequency) and the like, or any suitable combination of the foregoing.
The computer readable storage medium may be contained in the charger or may exist alone without being assembled into the charger.
The computer readable storage medium carries one or more programs that, when executed by a charger, cause the charger to collect an initial voltage of the battery and initially charge the battery upon detection of connection with the battery, collect a first current and a first current on-load voltage of the battery, determine a target battery type of the battery based on the first current, the initial voltage and the first current on-load voltage, determine a charging parameter corresponding to the target battery type based on the target battery type, and charge the battery with the charging parameter.
Computer program code for carrying out operations of the present application may be written in any combination of one or more programming languages, including an object oriented programming language such as Java, smalltalk, C ++ and conventional procedural programming languages, such as the "C" programming language or similar programming languages. The program code may execute entirely on the user's computer, partly on the user's computer, as a stand-alone software package, partly on the user's computer and partly on a remote computer or entirely on the remote computer or server. In the case of remote computers, the remote computer may be connected to the user's computer through any kind of network, including a local area network (LAN: local Area Network) or a wide area network (WAN: wide Area Network), or may be connected to an external computer (for example, through the Internet using an Internet service provider).
The flowcharts and block diagrams in the figures illustrate the architecture, functionality, and operation of possible implementations of systems, methods and computer program products according to various embodiments of the present application. In this regard, each block in the flowchart or block diagrams may represent a module, segment, or portion of code, which comprises one or more executable instructions for implementing the specified logical function(s). It should also be noted that, in some alternative implementations, the functions noted in the block may occur out of the order noted in the figures. For example, two blocks shown in succession may, in fact, be executed substantially concurrently, or the blocks may sometimes be executed in the reverse order, depending upon the functionality involved. It will also be noted that each block of the block diagrams and/or flowchart illustration, and combinations of blocks in the block diagrams and/or flowchart illustration, can be implemented by special purpose hardware-based systems which perform the specified functions or acts, or combinations of special purpose hardware and computer instructions.
The modules involved in the embodiments of the present application may be implemented in software or in hardware. Wherein the name of the module does not constitute a limitation of the unit itself in some cases.
The readable storage medium provided by the application is a computer readable storage medium, and the computer readable storage medium stores computer readable program instructions (namely computer program) for executing the battery charging method, so that the technical problem that the charger cannot accurately identify the connected battery type can be solved. Compared with the prior art, the beneficial effects of the computer readable storage medium provided by the application are the same as those of the battery charging method provided by the above embodiment, and are not described herein.
The application also provides a computer program product comprising a computer program which, when executed by a processor, implements the steps of a battery charging method as described above.
The computer program product provided by the application can solve the technical problem that the charger cannot accurately identify the type of the connected battery. Compared with the prior art, the beneficial effects of the computer program product provided by the application are the same as those of the battery charging method provided by the above embodiment, and are not described herein.
The foregoing description is only a partial embodiment of the present application, and is not intended to limit the scope of the present application, and all the equivalent structural changes made by the description and the accompanying drawings under the technical concept of the present application, or the direct/indirect application in other related technical fields are included in the scope of the present application.

Claims (10)

1.一种电池充电方法,其特征在于,用于充电器,所述电池充电方法包括:1. A battery charging method, characterized in that it is used in a charger, and the battery charging method comprises: 在检测到与电池连接时,采集所述电池的初始电压,并对所述电池进行初始充电;When a connection with a battery is detected, collecting the initial voltage of the battery and performing initial charging on the battery; 采集所述电池的第一当前电流与第一当前带载电压;Collecting a first current current and a first current load voltage of the battery; 基于所述第一当前电流、所述初始电压以及所述第一当前带载电压,确定所述电池的目标电池类型;determining a target battery type of the battery based on the first current current, the initial voltage, and the first current loaded voltage; 基于所述目标电池类型,确定与所述目标电池类型相对应的充电参数,并利用所述充电参数对所述电池进行充电。Based on the target battery type, a charging parameter corresponding to the target battery type is determined, and the battery is charged using the charging parameter. 2.如权利要求1所述的电池充电方法,其特征在于,所述基于所述第一当前电流、所述初始电压以及所述第一当前带载电压,确定所述电池的目标电池类型的步骤包括:2. The battery charging method according to claim 1, wherein the step of determining the target battery type of the battery based on the first current current, the initial voltage and the first current load voltage comprises: 确定所述初始电压与所述第一当前带载电压的电压差;determining a voltage difference between the initial voltage and the first current loaded voltage; 基于所述电压差与所述第一当前电流,确定所述电池的第一内阻;determining a first internal resistance of the battery based on the voltage difference and the first current; 查找映射关系,确定与所述第一内阻相对应的目标电池类型;其中,所述映射关系包括第一内阻与电池类型之间的映射关系。A mapping relationship is searched to determine a target battery type corresponding to the first internal resistance; wherein the mapping relationship includes a mapping relationship between the first internal resistance and the battery type. 3.如权利要求1所述的电池充电方法,其特征在于,所述对所述电池进行初始充电的步骤包括:3. The battery charging method according to claim 1, wherein the step of initially charging the battery comprises: 对所述电池进行恒流充电。The battery is charged with a constant current. 4.如权利要求1所述的电池充电方法,其特征在于,所述基于所述目标电池类型,确定与所述目标电池类型相对应的充电参数,并利用所述充电参数对所述电池进行充电之后,还包括:4. The battery charging method according to claim 1, characterized in that after determining the charging parameters corresponding to the target battery type based on the target battery type and charging the battery using the charging parameters, it further comprises: 在检测到电池进入下一充电阶段的情况下,采集所述电池的第二当前带载电压以及第二当前电流;When it is detected that the battery enters the next charging stage, collecting a second current loaded voltage and a second current current of the battery; 停止对所述电池进行充电;Stop charging the battery; 采集所述电池的第三电压;collecting a third voltage of the battery; 利用所述第三电压、所述第二当前带载电压以及所述第二当前电流,确定所述电池的第二内阻;Determine a second internal resistance of the battery using the third voltage, the second current loaded voltage, and the second current; 查找映射关系,确定与所述第二内阻相对应的新的电池类型;Searching for a mapping relationship to determine a new battery type corresponding to the second internal resistance; 确定所述新的电池类型与所述目标电池类型是否一致;Determining whether the new battery type is consistent with the target battery type; 若所述新的电池类型与所述目标电池类型不一致,则停止对所述电池进行充电;If the new battery type is inconsistent with the target battery type, stopping charging the battery; 若所述新的电池类型与所述目标电池类型一致,则对所述电池进行下一充电阶段充电。If the new battery type is consistent with the target battery type, the battery is charged in the next charging stage. 5.如权利要求4所述的电池充电方法,其特征在于,所述采集所述电池的第三电压的步骤包括:5. The battery charging method according to claim 4, wherein the step of collecting the third voltage of the battery comprises: 在停止充电预设时长后,采集所述电池的第三电压。After charging is stopped for a preset period of time, a third voltage of the battery is collected. 6.如权利要求1所述的电池充电方法,其特征在于,所述基于所述目标电池类型,确定与所述目标电池类型相对应的充电参数,并利用所述充电参数对所述电池进行充电的步骤包括:6. The battery charging method according to claim 1, wherein the step of determining a charging parameter corresponding to the target battery type based on the target battery type and charging the battery using the charging parameter comprises: 确定是否存在与所述目标电池类型相对应的充电参数;determining whether there are charging parameters corresponding to the target battery type; 若存在与所述目标电池类型相对应的充电参数,则利用所述充电参数对所述电池进行充电;If there are charging parameters corresponding to the target battery type, charging the battery using the charging parameters; 若不存在与所述目标电池类型相对应的充电参数,则停止对所述电池进行充电。If there is no charging parameter corresponding to the target battery type, charging of the battery is stopped. 7.一种电池充电装置,其特征在于,所述电池充电装置包括:7. A battery charging device, characterized in that the battery charging device comprises: 第一采集模块,用于在检测到与电池连接时,采集所述电池的初始电压,并对所述电池进行初始充电;A first acquisition module, used to acquire the initial voltage of the battery and perform initial charging on the battery when detecting connection with the battery; 第二采集模块,用于采集所述电池的第一当前电流与第一当前带载电压;A second acquisition module, used for acquiring a first current current and a first current load voltage of the battery; 第一确定模块,用于基于所述第一当前电流、所述初始电压以及所述第一当前带载电压,确定所述电池的目标电池类型;A first determination module, configured to determine a target battery type of the battery based on the first current current, the initial voltage, and the first current loaded voltage; 第二确定模块,用于基于所述目标电池类型,确定与所述目标电池类型相对应的充电参数,并利用所述充电参数对所述电池进行充电。The second determination module is used to determine the charging parameters corresponding to the target battery type based on the target battery type, and charge the battery using the charging parameters. 8.一种充电器,其特征在于,所述充电器包括:存储器、处理器及存储在所述存储器上并可在所述处理器上运行的计算机程序,所述计算机程序配置为实现如权利要求1至6中任一项所述的电池充电方法的步骤。8. A charger, characterized in that the charger comprises: a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the computer program is configured to implement the steps of the battery charging method according to any one of claims 1 to 6. 9.一种存储介质,其特征在于,所述存储介质为计算机可读存储介质,所述存储介质上存储有计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6中任一项所述的电池充电方法的步骤。9. A storage medium, characterized in that the storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium, and when the computer program is executed by a processor, the steps of the battery charging method according to any one of claims 1 to 6 are implemented. 10.一种计算机程序产品,其特征在于,所述计算机程序产品包括计算机程序,所述计算机程序被处理器执行时实现如权利要求1至6中任一项所述的电池充电方法的步骤。10. A computer program product, characterized in that the computer program product comprises a computer program, and when the computer program is executed by a processor, the steps of the battery charging method according to any one of claims 1 to 6 are implemented.
CN202411659327.XA 2024-11-20 2024-11-20 Battery charging method, device, charger, storage medium and program product Pending CN119154465A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202411659327.XA CN119154465A (en) 2024-11-20 2024-11-20 Battery charging method, device, charger, storage medium and program product

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202411659327.XA CN119154465A (en) 2024-11-20 2024-11-20 Battery charging method, device, charger, storage medium and program product

Publications (1)

Publication Number Publication Date
CN119154465A true CN119154465A (en) 2024-12-17

Family

ID=93810768

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202411659327.XA Pending CN119154465A (en) 2024-11-20 2024-11-20 Battery charging method, device, charger, storage medium and program product

Country Status (1)

Country Link
CN (1) CN119154465A (en)

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050057217A1 (en) * 2003-09-12 2005-03-17 Canon Kabushiki Kaisha Secondary battery charging method and apparatus
CN1933277A (en) * 2006-09-25 2007-03-21 惠州市德赛能源科技有限公司 Method for charger identifying battery variety
CN107979119A (en) * 2016-10-21 2018-05-01 广州市君盘实业股份有限公司 Maas is fitted the battery charging control method and system of charging curve

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20050057217A1 (en) * 2003-09-12 2005-03-17 Canon Kabushiki Kaisha Secondary battery charging method and apparatus
CN1933277A (en) * 2006-09-25 2007-03-21 惠州市德赛能源科技有限公司 Method for charger identifying battery variety
CN107979119A (en) * 2016-10-21 2018-05-01 广州市君盘实业股份有限公司 Maas is fitted the battery charging control method and system of charging curve

Similar Documents

Publication Publication Date Title
US10707689B2 (en) Battery charger
US10250052B2 (en) Charge rate optimization for enhanced battery cycle life
CN112654877A (en) Charging detection method, charging detection device and terminal equipment
CN113665430A (en) Fast charging method and device adaptive to low-temperature environment and storage medium
CN114609530A (en) Method, apparatus, device and medium for correcting battery state of charge
CN116190836A (en) SOC correction method, battery module and electronic equipment
CN112994185B (en) Charging control method and device, electronic equipment and storage medium
CN119154465A (en) Battery charging method, device, charger, storage medium and program product
WO2024183285A1 (en) Method for determining state of charge of power battery, and related device
CN106772092B (en) Charging current setting system and method for obtaining battery voltage based on mobile terminal
CN111157907A (en) Detection method and device, charging method and device, electronic device and storage medium
CN117110916A (en) Battery fault cause determining method and device, electronic equipment and readable storage medium
CN112394276B (en) Wireless charging test method, device, system, electronic equipment and storage medium
CN109066892B (en) Split screen electronic equipment charging circuit and charging control method
CN114660462A (en) Battery electric quantity detection method and system based on cloud data
CN117930039A (en) Battery charge state correction method and device, electronic equipment and readable storage medium
CN119189788A (en) Vehicle charging method, battery management system, vehicle, storage medium and product
US11262411B2 (en) Terminal apparatus, and method and device for determining battery state of charge
CN118858973A (en) Lithium battery self-discharge screening method, device, equipment and storage medium
CN118858861A (en) Vehicle insulation testing method, device, equipment and storage medium
US20220311260A1 (en) Battery Charging Method and System
CN118746711A (en) Insulation resistance detection method, device, equipment and storage medium
CN119369985A (en) Battery discharging method, device, battery management system, storage medium and computer program product
CN118068212A (en) Battery health state detection method and device, electronic equipment and readable storage medium
CN119159995A (en) Vehicle SOC correction method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination