Charging method, charging device and electronic equipment

By collecting charging current and battery voltage in real time and using step voltage control methods, the problem of large energy loss of TWS product charging system is solved, and efficient charging and longer battery life are achieved.

CN119298296APending Publication Date: 2025-01-10LUXSHARE PRECISION IND SHENZHEN
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411476586.9
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-10-21
Publication Date
2025-01-10

AI Technical Summary

Technical Problem

The energy loss of existing TWS product charging systems is large, resulting in low charging efficiency and insufficient product battery life.

Method used

By collecting the charging current and battery voltage in real time, the charging voltage control method of preset step voltage rise and decrease is adopted to control the charging voltage rise and decrease speed in the constant current and constant voltage charging stages respectively to reduce energy loss.

Benefits of technology

It realizes high-efficiency charging, reduces the energy loss of the overall system, and improves the battery life of the product.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119298296A_ABST
    Figure CN119298296A_ABST
Patent Text Reader

Abstract

The invention discloses a charging method, a charging device and electronic equipment. The method comprises the steps that the charging current of to-be-charged equipment and the battery voltage of the to-be-charged equipment are collected in real time; in the constant current charging stage, based on the charging current and the battery voltage, the charging voltage is boosted according to a preset step voltage, and the boosting speed of the charging voltage is controlled when the charging voltage is boosted; in the constant-voltage charging stage, based on the charging current and the battery voltage, reducing the charging voltage according to a preset step voltage; and charging the to-be-charged device based on the charging voltage and the charging current. According to the scheme, high-efficiency charging is realized by reducing energy loss.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the field of charging, and in particular to a charging method, a charging device and an electronic device. Background Art

[0002] At a time when electronic products are widely popular, charging technology is a technology that must be applied as an electroacoustic product, especially a TWS product. Usually, TWS products are recharged through a charging bin.

[0003] In the prior art, the charging case directly boosts the battery to 5V through a boost IC, and then connects to the earphone end through a PogoPin. The earphone end uses a linear charging IC to recharge the earphone battery. In this way, the energy loss of the entire system is large, and the available power for the earphone end is less. The overall system charging efficiency is often relatively low, resulting in insufficient product endurance. Summary of the invention

[0004] The present invention provides a charging method, a charging device and an electronic device, so as to realize high-efficiency charging by reducing energy loss.

[0005] To achieve the above objectives, in a first aspect, an embodiment of the present invention provides a charging method, the charging method comprising:

[0006] Real-time collection of the charging current of the device to be charged and the battery voltage of the device to be charged;

[0007] In the constant current charging stage, based on the charging current and the battery voltage, the charging voltage is raised according to a preset step voltage, and the raising speed of the charging voltage is controlled when the charging voltage is raised;

[0008] In the constant voltage charging stage, based on the charging current and the battery voltage, the charging voltage is reduced according to a preset step voltage;

[0009] The device to be charged is charged based on the charging voltage and the charging current.

[0010] Optionally, in the constant current charging stage, based on the charging current and the battery voltage, raising the charging voltage according to a preset step voltage, and controlling the raising speed of the charging voltage when the charging voltage is raised includes:

[0011] In the constant current charging stage, when the battery voltage is greater than the lowest battery voltage and the charging current is less than the target charging current, the charging voltage is increased stepwise from a preset constant current initial charging voltage according to the preset step voltage until the charging current reaches the target charging current;

[0012] In the constant current charging stage, the raising speed of the charging voltage is controlled.

[0013] Optionally, in the constant current charging stage, controlling the raising speed of the charging voltage includes:

[0014] When the charging current reaches the target charging current for the first time, a voltage reduction operation is performed on the current charging voltage according to the preset step voltage.

[0015] Optionally, the method further includes:

[0016] If the charging current drops to be less than the target charging current after the charging current reaches the target charging current, the charging voltage continues to be increased stepwise according to the preset step voltage until the charging current reaches the target charging current again.

[0017] Optionally, in the constant voltage charging stage, reducing the charging voltage according to a preset step voltage based on the charging current and the battery voltage includes:

[0018] In the constant voltage charging stage, when the battery voltage is less than the maximum battery voltage and the charging current decreases, the charging voltage is reduced stepwise to a target charging voltage according to the preset step voltages.

[0019] Optionally, in the constant current charging stage, before raising the charging voltage according to a preset step voltage based on the charging current and the battery voltage, and controlling the raising speed of the charging voltage when the charging voltage is raised, the method further includes:

[0020] In the trickle charging stage, the charging voltage is set to a trickle charging voltage based on the charging current and the battery voltage.

[0021] Optionally, the constant current charging stage includes a plurality of constant current charging stages arranged in sequence, each of the constant current charging stages corresponds to a target charging current, and the target charging current corresponding to the constant current charging stage located in the front row of the sequence is greater than the target charging current corresponding to the constant current charging stage located in the back row of the sequence;

[0022] In the constant current charging stage, based on the change of the charging current and the battery voltage, the charging voltage is raised according to a preset step voltage, and when the charging voltage is raised, the raising speed of the charging voltage is controlled, including:

[0023] In a first constant current charging stage, when the charging current is less than a first target charging current and the battery voltage is greater than a minimum battery voltage and less than a first battery voltage, the charging voltage is increased stepwise according to a first step voltage until the charging current reaches the first target charging current;

[0024] In the first constant current charging stage, controlling the raising speed of the charging voltage;

[0025] In a non-first constant current charging stage, when the charging current is less than a previous target charging current and greater than a current target charging current, and when the battery voltage is greater than a previous battery voltage and less than a current battery voltage, the charging voltage is increased stepwise according to the current step voltage until the charging current drops to the current target charging current;

[0026] Among them, the previous target charging current is the target charging current of the previous constant current charging stage of each constant current charging stage, the current target charging current is the target charging current of each constant current charging stage, the previous battery voltage is the target battery voltage corresponding to the previous target charging current, and the current battery voltage is the target battery voltage corresponding to the current target charging current; the current step voltage corresponds to the step voltage of each constant current charging stage.

[0027] Optionally, the corresponding step voltages in each constant current charging stage are the same or different.

[0028] In a second aspect, an embodiment of the present invention further provides a charging device for executing the charging method described in the first aspect, the charging device comprising:

[0029] A collection module, used for collecting the charging current of the device to be charged and the battery voltage of the device to be charged in real time;

[0030] A first-stage charging voltage control module, configured to raise the charging voltage according to a preset step voltage based on the charging current and the battery voltage in a constant current charging stage, and to control a raising speed of the charging voltage when the charging voltage is raised;

[0031] A second-stage charging voltage control module, configured to reduce the charging voltage according to a preset step voltage based on the charging current and the battery voltage in a constant voltage charging stage;

[0032] A charging module is used to charge the device to be charged based on the charging voltage and the charging current.

[0033] In a third aspect, an embodiment of the present invention further provides an electronic device, the electronic device comprising:

[0034] at least one processor; and

[0035] a memory communicatively connected to the at least one processor; wherein,

[0036] The memory stores a computer program that can be executed by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the charging method described in the first aspect.

[0037] In the embodiment of the present invention, the charging current of the device to be charged and the battery voltage of the device to be charged are collected in real time; in the constant current charging stage, the charging voltage is raised according to a preset step voltage based on the charging current and the battery voltage, and the raising speed of the charging voltage is controlled when the charging voltage is raised; in the constant voltage charging stage, the charging voltage is lowered according to a preset step voltage based on the charging current and the battery voltage; based on the charging voltage and the charging current, the device to be charged is charged, so that in different charging stages, the charging voltage changes in real time, and the real-time changing charging voltage and the real-time battery voltage are kept within a relatively low voltage difference, so that the energy loss is at the lowest level, thus achieving high-efficiency charging and avoiding energy loss caused by the charging voltage being kept at a relatively high preset voltage value. BRIEF DESCRIPTION OF THE DRAWINGS

[0038] Figure 1 is a flow chart of a charging method provided by an embodiment of the present invention;

[0039] Figure 2 is a flow chart of another charging method provided by an embodiment of the present invention;

[0040] Figure 3 It is a voltage and current variation diagram of a device to be charged at different charging stages provided by an embodiment of the present invention;

[0041] Figure 4 Another voltage and current variation diagram of a device to be charged at different charging stages is provided by an embodiment of the present invention;

[0042] Figure 5 Another voltage and current variation diagram of a device to be charged at different charging stages is provided by an embodiment of the present invention;

[0043] Figure 6 is a structural schematic diagram of a charging device provided by an embodiment of the present invention;

[0044] Figure 7 It is a structural schematic diagram of an electronic device provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0045] The present invention will be further described in detail below in conjunction with the accompanying drawings and embodiments. It is to be understood that the specific embodiments described herein are only used to explain the present invention, rather than to limit the present invention. It should also be noted that, for ease of description, only parts related to the present invention, rather than all structures, are shown in the accompanying drawings.

[0046] Figure 1 is a flow chart of a charging method provided by an embodiment of the present invention. This embodiment is applicable to charging a device to be charged. The method can be executed by a charging device, such as Figure 1 As shown, the specific steps include:

[0047] S110, collecting the charging current of the device to be charged and the battery voltage of the device to be charged in real time;

[0048] Among them, in this embodiment, the charging device and the device to be charged can establish communication; the device to be charged can send the battery voltage and charging current of its internal battery to the charging device through status instructions at a preset period; the charging device collects the battery voltage and charging current according to the preset period; the preset period is determined by the communication frequency between the charging device and the device to be charged. For example, the preset period can be 2ms-3ms.

[0049] During the charging process of the device to be charged, the charging stages of the device to be charged include a constant current charging stage and a constant voltage charging stage; in the constant current charging stage, the charging current of the device to be charged remains unchanged, and the battery voltage continues to increase until the full charge requirement of the device to be charged is reached; in the constant voltage charging stage, the battery voltage of the device to be charged remains unchanged, and the charging current continues to decrease; in this embodiment, the battery voltage of the device to be charged at different charging stages is received in real time through the voltage detection device; and the charging current of the device to be charged at different charging stages is received in real time through the current detection device.

[0050] S120, in the constant current charging stage, based on the charging current and the battery voltage, raising the charging voltage according to a preset step voltage, and controlling the raising speed of the charging voltage when the charging voltage is raised;

[0051] The preset step voltage boost charging is to use a certain initial threshold as the initial charging voltage, and continuously adjust and increase the charging voltage in a step manner according to the preset step voltage; the size of the preset step voltage can be determined according to the real-time battery voltage and charging current;

[0052] When the charging voltage is raised, the raising speed of the charging voltage is controlled, that is, the time taken for the charging voltage to rise to the maximum value is controlled. When charging, the charging voltage is maintained higher than the battery voltage to avoid overcharging and waste of efficiency.

[0053] It can be understood that the voltage difference between each charging voltage raised according to the preset step voltage and the real-time battery voltage is guaranteed to be greater than 0, thus ensuring the basic charging requirements of the device to be charged; as the charging voltage is output, the battery voltage of the device to be charged continues to increase until it reaches the target charging voltage, and the device to be charged is charged with a constant charging current during the charging process.

[0054] S130, in the constant voltage charging stage, based on the charging current and the battery voltage, reducing the charging voltage according to a preset step voltage;

[0055] Among them, reducing the charging voltage according to the preset step voltage is to use the final charging voltage of the constant current charging voltage as the initial charging voltage, and continuously adjust and reduce the charging voltage in a step manner according to the preset step voltage; the size of the preset step voltage can be determined according to the real-time battery voltage and charging current in the constant voltage charging stage;

[0056] In the constant voltage charging stage, as the charging voltage decreases, the charging current of the device to be charged continues to decrease during the charging process, and the voltage of the device to be charged is maintained at the full power requirement of the device to be charged.

[0057] S140: Charge the device to be charged based on the charging voltage and the charging current.

[0058] In the prior art, charging is performed with a charging current and a constant charging voltage in the constant current charging stage; charging is performed with a charging current and a constant charging voltage in the constant current charging stage; the difference between the constant charging voltage in different stages and the real-time battery voltage is large; while in this embodiment, the charging voltage in the constant current charging stage is increased in steps, and the difference between the step-up charging voltage and the real-time battery voltage is low, so that in the constant current charging stage, based on the charging voltage and the charging current (the charging current is the same as the charging current in the constant current charging stage in the prior art), the energy loss in the constant voltage charging stage is reduced when charging the charging device; in the constant voltage charging stage, the charging voltage is stepped down, and the difference between the step-down charging voltage and the real-time battery voltage is low, so that in the constant voltage charging stage, based on the charging voltage and the charging current (the same as the charging current in the constant voltage charging stage in the prior art), the energy loss in the constant voltage charging stage is also reduced when charging the charging device; thus, the energy loss in the overall charging stage is reduced.

[0059] Optionally, further refine and optimize the above embodiment. Figure 2 is a flow chart of another charging method provided by an embodiment of the present invention; Figure 2 As shown, the method specifically comprises the following steps:

[0060] S210, collecting the charging current of the device to be charged and the battery voltage of the device to be charged in real time;

[0061] S220: In the trickle charging stage, the charging voltage is set to the trickle charging voltage based on the charging current and the battery voltage.

[0062] Among them, the different charging stages in the charging process of the device to be charged may also include a trickle charging stage; the trickle charging stage generally occurs before the constant current charging stage, and is used for restorative charging after the battery is fully discharged. If the battery is not fully discharged, there is no need for a trickle charging stage. In the trickle charging stage, based on the charging current and the battery voltage, setting the charging voltage to the trickle charging voltage includes: when the battery voltage is less than the minimum battery voltage, the charging voltage is set to the trickle charging voltage, the charging current is set to the trickle charging current, and the trickle charging voltage and the trickle charging current are output to the device to be charged.

[0063] The minimum battery voltage V1 is the minimum standard voltage of the device to be charged. When the minimum standard voltage is below the minimum standard voltage, the device to be charged cannot start working, and the battery of the device to be charged can be regarded as fully discharged. For example, if the device to be charged is a Bluetooth headset, the first preset voltage can be 3.1V.

[0064] The trickle charge current I1 is the default trickle current of the device to be charged, and the default trickle current is generally 20-30mA. The main purpose of charging with the trickle charge current in the trickle charge stage is to maintain the capacity of the battery in the device to be charged, and to prevent the battery from losing activity due to long-term non-use, resulting in a decrease in capacity by maintaining the electronic activity inside the battery.

[0065] The trickle charge voltage Va is determined by the line loss from the output end of the electronic device to the device to be charged and the full charge voltage of the device to be charged. For example, if the device to be charged is a Bluetooth headset, the trickle charge voltage can be 4.7V.

[0066] Figure 3 is a voltage and current variation diagram of a device to be charged at different charging stages provided by an embodiment of the present invention; Figure 3 As shown, the different charging stages in the charging process of the device to be charged include a trickle charging stage, a constant current charging stage (CC stage) and a constant voltage charging stage (CV stage); when the real-time battery voltage is less than the minimum battery voltage V1, the trickle charging voltage Va is output to the device to be charged, and the device to be charged is controlled to be charged with the trickle charging current I1, so that the device to be charged enters the trickle charging stage.

[0067] S230, in the constant current charging stage, when the battery voltage is greater than the minimum battery voltage and the charging current is less than the target charging current, the charging voltage is increased stepwise from the preset constant current initial charging voltage according to the preset step voltage until the charging current reaches the target charging current;

[0068] The constant current charging stage corresponds to a target constant current Icc; the target constant current Icc is determined by the target charging voltage and required charging time of the device to be charged; the target charging voltage Vmax is the full-charge charging voltage of the device to be charged;

[0069] In the constant current charging stage, the charging voltage is increased stepwise from the preset constant current initial charging voltage according to the preset step voltage; the constant current initial charging voltage is generally 4.4V; the size of the preset step voltage is related to a target constant current Icc; it can be understood that when the required charging time is short (the rising speed of the preset step voltage is fast), the target constant current Icc is set larger, and the corresponding preset step voltage can be larger. Exemplarily, the preset step voltage can be 50mV.

[0070] S240: In the constant current charging stage, controlling the charging voltage raising speed.

[0071] Specifically, controlling the charging voltage rising speed includes: when the charging current reaches the target charging current Icc for the first time, performing a voltage reduction operation on the current charging voltage according to the preset step voltage; that is, when the real-time charging current reaches the target constant current Icc, a preset step voltage is output based on the step-by-step increase in the final charging voltage. This can prevent the voltage configuration from rising too quickly, resulting in a waste of efficiency, and can ensure the minimum energy loss when replenishing power at the maximum current.

[0072] In other embodiments, considering that after reaching the target constant current Icc, when the current charging voltage is close to the full-charge voltage of the device to be charged, the target constant current Icc will change dynamically; that is, the current charging current will drop to less than the target charging current Icc, Figure 4 is another voltage and current variation diagram of a device to be charged at different charging stages provided by an embodiment of the present invention; Figure 4 After the charging current reaches the target charging current Icc, when the charging current drops to less than the target charging current Icc, the charging voltage continues to be increased step by step according to the preset step voltage until the charging current reaches the target charging current Icc again, so as to prevent the dynamic change of the target constant current Icc from causing insufficient charging power of the device to be charged. The preset step voltage in this stage is determined according to the fluctuation of the target constant current Icc.

[0073] S250: In the constant voltage charging stage, when the battery voltage is less than the maximum battery voltage and the charging current decreases, the charging voltage is reduced stepwise to the target charging voltage according to a preset step voltage.

[0074] Among them, refer to Figure 3-4 In the constant voltage charging stage (CV stage), the charging voltage is reduced step by step, with the final voltage of the constant current charging stage as the initial voltage; the voltage is reduced by a preset step until it drops to the target charging voltage Vmax; the target charging voltage Vmax is the full-charge charging voltage of the device to be charged; as the step-down voltage is output, the charging current of the device to be charged continues to decrease during the charging process,

[0075] In this embodiment, a trickle charging voltage is output in the trickle charging stage, and a step-up voltage is output in the constant current charging stage. Compared with the difference between the high charging voltage Vo that is always output in the prior art and the real-time battery voltage, the difference between each voltage of the step-up voltage and the real-time battery voltage is lower, thereby reducing the energy loss in the constant voltage charging stage. Similarly, a step-down voltage is output in the constant voltage charging stage. Compared with the difference between the charging voltage Vo that is always output in the prior art and the real-time battery voltage, the difference between each voltage of the step-down voltage and the real-time battery voltage is lower, thereby reducing the energy loss in the constant voltage charging stage. In this way, the energy loss in the overall charging stage is reduced.

[0076] It should also be noted that, in some embodiments, in order to improve the charging efficiency, the constant current charging stage may include a plurality of constant current charging stages arranged in sequence. The following embodiment specifically describes the charging voltage of the constant current charging stage with a plurality of constant current charging stages arranged in sequence; each constant current charging stage corresponds to a target charging current, and the target charging current Icc corresponding to the constant current charging stage located in the front row of the sequence is greater than the target charging current Icc corresponding to the constant current charging stage located in the back row of the sequence;

[0077] In step S120, in the constant current charging stage, based on the charging current and the battery voltage, the charging voltage is raised according to a preset step voltage, and the raising speed of the charging voltage is controlled when the charging voltage is raised, including:

[0078] In the first constant current charging stage, the charging current is less than the first target charging current, the battery voltage is greater than the lowest battery voltage and less than the first battery voltage, and the charging voltage is increased stepwise according to the first step voltage until the charging current reaches the first target charging current;

[0079] In the first constant current charging stage, the charging voltage raising speed is controlled;

[0080] In the non-first constant current charging stage, when the charging current is less than the previous target charging current and greater than the current target charging current, and the battery voltage is greater than the previous battery voltage and less than the current battery voltage, the charging voltage is increased stepwise according to the current step voltage until the charging current drops to the current target charging current;

[0081] Among them, the previous target charging current is the target charging current of the previous constant current charging stage of each constant current charging stage, the current target charging current is the target charging current of each constant current charging stage, the previous battery voltage is the target battery voltage corresponding to the previous target charging current, and the current battery voltage is the target battery voltage corresponding to the current target charging current; the current step voltage is the step voltage corresponding to each constant current charging stage;

[0082] Among them, in the first constant current charging stage, the rising speed of the charging voltage is controlled; that is, in the first constant current charging stage, a voltage reduction operation is required after the charging voltage is stepwise increased according to the step voltage of the first constant current charging stage, thereby avoiding energy waste.

[0083] Optionally, the corresponding step voltages in each constant current charging stage are the same or different.

[0084] For example, Figure 5 is a diagram showing the voltage and current changes of a device to be charged at different charging stages provided by an embodiment of the present invention; Figure 5 As shown, there are three constant current charging stages. The first target charging current, i.e., the target charging current corresponding to the first constant current charging stage, is 3Icc; the second target charging current, i.e., the target charging current corresponding to the second constant current charging stage, is 2Icc; the third target charging current, i.e., the target charging current corresponding to the third constant current charging stage, is Icc. Correspondingly, the first battery voltage is the target battery voltage corresponding to the first target charging current 3Icc, which may be V2; the second battery voltage is the target battery voltage corresponding to the second target charging current 2Icc, which may be V3; the third battery voltage is the target battery voltage corresponding to the third target charging current Icc, which may be V4 (V4=Vmax);

[0085] In the first constant current charging stage, the charging current is less than the first target charging current 3Icc, the battery voltage is greater than the minimum battery voltage V1 and less than the first battery voltage V2, and the charging voltage is increased stepwise according to the first step voltage until the charging current reaches the first target charging current 3Icc; in the first constant current charging stage, a voltage reduction operation is required after the charging voltage is increased stepwise according to the step voltage of the first constant current charging stage.

[0086] In the second constant current charging stage, when the charging current is less than the first target charging current 3Icc and greater than the second target charging current 2Icc, and the battery voltage is greater than the first battery voltage V2 and less than the second battery voltage V3, the charging voltage is increased stepwise according to the second step voltage until the charging current drops to the second target charging current 2Icc.

[0087] In the third constant current charging stage, when the charging current is less than the second target charging current 2Icc and greater than the third target charging current Icc, and the battery voltage is greater than the second battery voltage V3 and less than the third battery voltage V4 (V4=Vmax), the charging voltage is increased stepwise according to the third step voltage until the charging current drops to the third target charging current Icc.

[0088] By setting different target charging currents, you can avoid damage to the battery while achieving fast charging, thereby improving charging efficiency while ensuring battery health.

[0089] The embodiment of the present invention further provides a charging device for executing the above-mentioned charging method. The device also has the beneficial effects of the above-mentioned embodiment. Figure 6 is a schematic diagram of the structure of a charging device provided by an embodiment of the present invention, such as Figure 6 As shown, the charging device comprises:

[0090] The acquisition module 10 is used to acquire the charging current of the device to be charged and the battery voltage of the device to be charged in real time;

[0091] The first stage charging voltage control module 20 is used to raise the charging voltage according to a preset step voltage based on the charging current and the battery voltage in the constant current charging stage, and control the raising speed of the charging voltage when the charging voltage is raised;

[0092] The second stage charging voltage control module 30 is used to reduce the charging voltage according to a preset step voltage based on the charging current and the battery voltage in the constant voltage charging stage;

[0093] The charging module 40 is used to charge the device to be charged based on the charging voltage and the charging current.

[0094] Based on the same inventive concept, an embodiment of the present invention further provides an electronic device, which can be integrated in a charging box and / or a Bluetooth headset; Figure 7 is a schematic diagram of the structure of an electronic device provided by an embodiment of the present invention, such as Figure 7 As shown, the electronic device includes at least one processor 11, and a memory connected to the at least one processor 11, such as a read-only memory (ROM) 12, a random access memory (RAM) 13, etc., wherein the memory stores a computer program that can be executed by at least one processor, and the processor 11 can perform various appropriate actions and processes according to the computer program stored in the read-only memory (ROM) 12 or the computer program loaded from the storage unit 18 to the random access memory (RAM) 13. In the RAM 13, various programs and data required for the operation of the electronic device can also be stored. The processor 11, the ROM 12, and the RAM 13 are connected to each other through a bus 14. An input / output (I / O) interface 15 is also connected to the bus 14.

[0095] A number of components in the electronic device 001 are connected to the I / O interface 15, including: an input unit 16, such as a keyboard, a mouse, etc.; an output unit 17, such as various types of displays, etc.; a storage unit 18, such as a disk, an optical disk, etc.; and a communication unit 19, such as a network card, a modem, a wireless communication transceiver, etc. The communication unit 19 allows the electronic device to exchange information / data with other devices through a computer network such as the Internet and / or various telecommunication networks.

[0096] The processor 11 may be a variety of general and / or dedicated processing components with processing and computing capabilities. Some examples of the processor 11 include, but are not limited to, a central processing unit (CPU), a graphics processing unit (GPU), various dedicated artificial intelligence (AI) computing chips, various processors running machine learning model algorithms, a digital signal processor (DSP), and any appropriate processor, controller, microcontroller, etc. The processor 11 performs the various methods and processes described above, such as a charging method.

[0097] In some embodiments, the charging method may be implemented as a computer program, which is tangibly contained in a computer-readable storage medium, such as a storage unit 18. In some embodiments, part or all of the computer program may be loaded and / or installed on the electronic device via the ROM 12 and / or the communication unit 19. When the computer program is loaded into the RAM 13 and executed by the processor 11, one or more steps of the charging method described above may be performed. Alternatively, in other embodiments, the processor 11 may be configured to perform the charging method in any other appropriate manner (e.g., by means of firmware).

[0098] Various implementations of the systems and techniques described above herein can be implemented in digital electronic circuit systems, integrated circuit systems, field programmable gate arrays (FPGAs), application specific integrated circuits (ASICs), application specific standard products (ASSPs), systems on chips (SOCs), load programmable logic devices (CPLDs), computer hardware, firmware, software, and / or combinations thereof. These various implementations can include: being implemented in one or more computer programs that can be executed and / or interpreted on a programmable system including at least one programmable processor, which can be a special purpose or general purpose programmable processor that can receive data and instructions from a storage system, at least one input device, and at least one output device, and transmit data and instructions to the storage system, the at least one input device, and the at least one output device.

[0099] Note that the above are only preferred embodiments of the present invention and the technical principles used. Those skilled in the art will understand that the present invention is not limited to the specific embodiments described herein, and that various obvious changes, readjustments and substitutions can be made by those skilled in the art without departing from the scope of protection of the present invention. Therefore, although the present invention has been described in more detail through the above embodiments, the present invention is not limited to the above embodiments, and may include more other equivalent embodiments without departing from the concept of the present invention, and the scope of the present invention is determined by the scope of the appended claims.

Claims

1. A charging method, characterized in that: The charging method comprises: Real-time collection of the charging current of the device to be charged and the battery voltage of the device to be charged; In the constant current charging stage, based on the charging current and the battery voltage, the charging voltage is raised according to a preset step voltage, and the raising speed of the charging voltage is controlled when the charging voltage is raised; In the constant voltage charging stage, based on the charging current and the battery voltage, the charging voltage is reduced according to a preset step voltage; The device to be charged is charged based on the charging voltage and the charging current.

2. The charging method according to claim 1, characterized in that: In the constant current charging stage, based on the charging current and the battery voltage, raising the charging voltage according to a preset step voltage, and controlling the raising speed of the charging voltage when the charging voltage is raised includes: In the constant current charging stage, when the battery voltage is greater than the lowest battery voltage and the charging current is less than the target charging current, the charging voltage is increased stepwise from a preset constant current initial charging voltage according to the preset step voltage until the charging current reaches the target charging current; In the constant current charging stage, the raising speed of the charging voltage is controlled.

3. The charging method according to claim 2, characterized in that: In the constant current charging stage, controlling the raising speed of the charging voltage includes: When the charging current reaches the target charging current for the first time, a voltage reduction operation is performed on the current charging voltage according to the preset step voltage.

4. The charging method according to claim 3, characterized in that: The method further comprises: If the charging current drops to be less than the target charging current after the charging current reaches the target charging current, the charging voltage continues to be increased stepwise according to the preset step voltage until the charging current reaches the target charging current again.

5. The charging method according to claim 1, characterized in that: In the constant voltage charging stage, based on the charging current and the battery voltage, reducing the charging voltage according to a preset step voltage includes: In the constant voltage charging stage, when the battery voltage is less than the maximum battery voltage and the charging current decreases, the charging voltage is reduced stepwise to a target charging voltage according to the preset step voltages.

6. The charging method according to claim 1, characterized in that: In the constant current charging stage, before raising the charging voltage according to a preset step voltage based on the charging current and the battery voltage, and controlling the raising speed of the charging voltage when the charging voltage is raised, the method further includes: In the trickle charging stage, the charging voltage is set to a trickle charging voltage based on the charging current and the battery voltage.

7. The charging method according to claim 1, characterized in that: The constant current charging stage includes a plurality of constant current charging stages arranged in sequence, each of the constant current charging stages corresponds to a target charging current, and the target charging current corresponding to the constant current charging stage located in the front row of the sequence is greater than the target charging current corresponding to the constant current charging stage located in the back row of the sequence; In the constant current charging stage, based on the change of the charging current and the battery voltage, the charging voltage is raised according to a preset step voltage, and when the charging voltage is raised, the raising speed of the charging voltage is controlled, including: In a first constant current charging stage, when the charging current is less than a first target charging current and the battery voltage is greater than a minimum battery voltage and less than a first battery voltage, the charging voltage is increased stepwise according to a first step voltage until the charging current reaches the first target charging current; In the first constant current charging stage, controlling the raising speed of the charging voltage; In a non-first constant current charging stage, when the charging current is less than a previous target charging current and greater than a current target charging current, and when the battery voltage is greater than a previous battery voltage and less than a current battery voltage, the charging voltage is increased stepwise according to the current step voltage until the charging current drops to the current target charging current; Among them, the previous target charging current is the target charging current of the previous constant current charging stage of each constant current charging stage, the current target charging current is the target charging current of each constant current charging stage, the previous battery voltage is the target battery voltage corresponding to the previous target charging current, and the current battery voltage is the target battery voltage corresponding to the current target charging current; the current step voltage corresponds to the step voltage of each constant current charging stage.

8. The charging method according to claim 7, characterized in that: The corresponding step voltages in each constant current charging stage are the same or different.

9. A charging device, used to perform the charging method according to any one of claims 1 to 8, characterized in that: The charging device comprises: A collection module, used for collecting the charging current of the device to be charged and the battery voltage of the device to be charged in real time; A first-stage charging voltage control module, configured to raise the charging voltage according to a preset step voltage based on the charging current and the battery voltage in a constant current charging stage, and to control a raising speed of the charging voltage when the charging voltage is raised; A second-stage charging voltage control module, configured to reduce the charging voltage according to a preset step voltage based on the charging current and the battery voltage in a constant voltage charging stage; A charging module is used to charge the device to be charged based on the charging voltage and the charging current.

10. An electronic device, characterized in that: The electronic device comprises: at least one processor; and a memory communicatively connected to the at least one processor; wherein, The memory stores a computer program executable by the at least one processor, and the computer program is executed by the at least one processor so that the at least one processor can perform the charging method according to any one of claims 1 to 8.