Battery charging method, charging device and storage medium
By obtaining the charging time and battery status information of the user set, and determining the current control parameters, the problem of the fixed battery charging time in the prior art is solved, and a higher charging time matching degree and charging efficiency are achieved.
Patent Information
- Application Number
- CN202411543246.3
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-10-31
- Publication Date
- 2025-02-18
AI Technical Summary
The existing battery charging method has a fixed charging time under a certain battery state, which is easy to mismatch with user needs.
By obtaining the set charging time and battery status information of the target battery set by the user, the reference charging time is determined, and the current control parameters are determined based on the set charging time and the reference charging time, thereby controlling the battery charging.
It improves the degree of matching the battery charging time with user needs, avoids the charging time deviating from user needs, and thus improves the charging efficiency.
Smart Images

Figure CN119459420A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of battery technology, and in particular to a battery charging method, a charging device and a storage medium. Background Art
[0002] Vehicles generally use power batteries to provide power for their operation. During the battery charging process, the charging current is determined based on the inherent charging current rules and the actual state of the battery. However, this method has a fixed charging time when the battery state is constant, which is prone to mismatch with user needs. Summary of the invention
[0003] The main purpose of this application is to provide a battery charging method, a charging device and a storage medium, aiming to improve the matching degree between the battery charging time and user needs.
[0004] To achieve the above object, the present application proposes a battery charging method, the method comprising:
[0005] Get the charging time set by the user and the battery status information of the target battery;
[0006] Determine a reference charging time of the target battery according to the battery status information;
[0007] Determining a current control parameter of the target battery according to the set charging time and the reference charging time;
[0008] The target battery is charged according to the current control parameter.
[0009] In one embodiment, the reference charging time includes a maximum charging time and a minimum charging time, and the step of determining the current control parameter of the target battery according to the set charging time and the reference charging time includes:
[0010] When the set charging time is greater than or equal to the maximum charging time, determining a minimum charging current as the current control parameter;
[0011] In a case where the set charging time is less than or equal to the minimum charging time, determining a preset corresponding relationship as the current control parameter, wherein the preset corresponding relationship is a corresponding relationship between the power of the target battery and the charging current set based on the life requirement of the target battery;
[0012] When the set charging time is greater than the minimum charging time and less than the maximum charging time, the current control parameter is determined according to the current initial power of the target battery, the target power of the target battery, the preset corresponding relationship and the set charging time.
[0013] In one embodiment, the preset correspondence includes different preset power intervals and charging currents corresponding to the preset power intervals, and the step of determining the current control parameter according to the initial power of the target battery, the target power of the target battery, the preset correspondence, and the set charging time includes:
[0014] When the initial power and the target power are both in the same preset power range, a target charging current is determined according to a ratio of a power difference between the target power and the initial power to the set charging time, and the current control parameter includes the target charging current;
[0015] When the initial power level and the target power level are in different preset power level intervals, the preset corresponding relationship is adjusted according to the initial power level, the target power level and the set charging time to obtain the target corresponding relationship between the power level of the target battery and the charging current, and the current control parameters include the target corresponding relationship.
[0016] In one embodiment, the step of adjusting the preset corresponding relationship according to the initial power, the target power, and the set charging duration to obtain a target corresponding relationship between the power of the target battery and the charging current includes:
[0017] When the user charging mode of the target battery is the first charging mode, determining the preset power interval where the target power is located as the initial first target interval, determining the set charging time as the initial first expected charging time, and determining the preset corresponding relationship as the initial first corresponding relationship;
[0018] Replacing the current corresponding to the first target interval in the first corresponding relationship with the minimum charging current to obtain a second corresponding relationship;
[0019] Determine, based on the second corresponding relationship, a charging time required for charging the target battery from the initial power to the power in the first target interval as a first charging time;
[0020] determining a first target charging current corresponding to the first target interval according to the first charging duration and the first expected charging duration, adjusting the current corresponding to the first target interval in the second corresponding relationship to the first target charging current, and obtaining a third corresponding relationship;
[0021] Determine that the difference between the current first expected charging time and the charging time corresponding to the current first target interval in the current third corresponding relationship is a new first expected charging time, determine that the previous preset power interval of the current first target interval in the current third corresponding relationship is a new first target interval, and determine that the current third corresponding relationship is a new first corresponding relationship;
[0022] When the power in the new first target interval is greater than or equal to the initial power, return to execute the step of replacing the current corresponding to the first target interval in the first correspondence with the minimum charging current to obtain the second correspondence; when the power in the new first target interval is less than the initial power, use the current third correspondence as the target correspondence.
[0023] In one embodiment, the step of determining the first target charging current corresponding to the first target interval according to the first charging duration and the first expected charging duration includes:
[0024] When the first charging time is greater than or equal to the first expected charging time, determining the actual charging time of the first target interval according to the first expected charging time and the second corresponding relationship, and determining the first target charging current corresponding to the first target interval according to the actual charging time and the charging amount of the first target interval;
[0025] When the first charging duration is less than the first expected charging duration, the minimum charging current is determined to be a first target charging current corresponding to the first target interval.
[0026] In one embodiment, the step of adjusting the preset corresponding relationship according to the initial power, the target power, and the set charging duration to obtain a target corresponding relationship between the power of the target battery and the charging current includes:
[0027] When the user charging mode of the target battery is the second charging mode, determining the preset power interval in which the target power is located as the initial second target interval, determining the set charging time as the initial second expected charging time, and determining the preset corresponding relationship as the initial fourth corresponding relationship;
[0028] Determine a reference charging current of the target battery according to a total charging amount required to charge the target battery from an initial charge to a charge in the second target interval and the second expected charging time;
[0029] Determine a second target charging current corresponding to the second target interval according to the charging current corresponding to the second target interval in the fourth corresponding relationship and the reference charging current, and adjust the charging current corresponding to the second target interval in the fourth corresponding relationship to the second target charging current to obtain a fifth corresponding relationship;
[0030] Determine that the difference between the current second expected charging time and the charging time corresponding to the current second target interval in the fifth corresponding relationship is a new second expected charging time, determine that the previous preset power interval of the current second target interval in the current fifth corresponding relationship is a new second target interval, and determine that the current fifth corresponding relationship is a new fourth corresponding relationship;
[0031] When the power in the new second target interval is greater than or equal to the initial power, return to the step of determining the reference charging current of the target battery based on the total charging amount required to charge the target battery from the initial power to the power in the second target interval and the second expected charging time; when the power in the new second target interval is less than the initial power, take the current fifth correspondence as the target correspondence.
[0032] In one embodiment, the step of determining the second target charging current corresponding to the second target interval according to the charging current corresponding to the second target interval in the fourth corresponding relationship and the reference charging current includes:
[0033] determining a current threshold according to the charging current corresponding to the second target interval in the fourth corresponding relationship and the health status value of the target battery;
[0034] When the reference charging current is less than or equal to the current threshold, determining the reference charging current to be a second target charging current corresponding to the second target interval;
[0035] When the reference charging current is greater than the current threshold, the current threshold is determined to be a second target charging current corresponding to the second target interval.
[0036] In one embodiment, the step of adjusting the preset corresponding relationship according to the initial power, the target power, and the set charging duration to obtain a target corresponding relationship between the power of the target battery and the charging current includes:
[0037] When the user charging mode of the target battery is the third charging mode, determining the preset power interval where the target power is located as the initial third target interval, determining the set charging time as the initial third expected charging time, and determining the preset corresponding relationship as the initial sixth corresponding relationship;
[0038] Determine, based on the sixth corresponding relationship, the charging time required for charging the target battery from the initial power to the power in the third target interval as the second charging time;
[0039] Determine a third target charging current corresponding to the third target interval according to the second charging duration, the third expected charging duration, and the charging current corresponding to the third target interval in the sixth corresponding relationship, determine the charging current corresponding to the third target interval in the sixth corresponding relationship as the third target charging current, and obtain a seventh corresponding relationship;
[0040] Determine that the difference between the current third expected charging time and the charging time corresponding to the current third target interval in the seventh corresponding relationship is a new third expected charging time, determine that the previous preset power interval of the current third target interval in the current seventh corresponding relationship is a new third target interval, and determine that the current seventh corresponding relationship is a new sixth corresponding relationship;
[0041] When the power in the new third target interval is greater than or equal to the initial power, return to the step of determining the charging time required to charge the target battery from the initial power to the power in the third target interval as the second charging time based on the sixth correspondence; when the power in the new third target interval is less than the initial power, determine the current seventh correspondence as the target correspondence.
[0042] In one embodiment, the step of determining the third target charging current corresponding to the third target interval according to the second charging duration, the third expected charging duration, and the charging current corresponding to the third target interval in the sixth corresponding relationship includes:
[0043] Determine a relationship value between the second charging duration and the third expected charging duration;
[0044] adjusting the charging current corresponding to the third target interval in the sixth corresponding relationship according to the relationship value and the health status value of the target battery to obtain a reference current;
[0045] When the reference current is greater than or equal to the minimum charging current of the target battery, determining the reference current to be a third target charging current corresponding to the third target interval;
[0046] When the reference current is less than the minimum charging current, the minimum charging current is determined to be a third target charging current corresponding to the third target interval.
[0047] In one embodiment, the battery status information includes the initial power of the target battery, the target power of the target battery, and the health status value of the target battery, the reference charging time includes the maximum charging time, and the step of determining the reference charging time of the target battery according to the battery status information includes:
[0048] Determining a power difference between the target power and the initial power;
[0049] Determine a first target charge capacity according to the charge difference value and the health status value;
[0050] The maximum charging time is determined according to a ratio of the first target charging amount to the minimum charging current.
[0051] In one embodiment, the battery status information includes the initial power of the target battery and the target power of the target battery, defining a preset correspondence includes different preset power intervals and charging currents corresponding to each of the preset power intervals, the reference charging duration includes a maximum charging duration, and the step of determining the reference charging duration of the target battery according to the battery status information includes:
[0052] Determine the preset power interval that the target battery needs to pass through to charge from the initial power to the target power in the preset corresponding relationship as a fourth target interval;
[0053] Determine the third charging duration corresponding to each of the fourth target intervals according to the charging amount corresponding to each of the fourth target intervals and the charging current corresponding to the fourth target interval in the preset corresponding relationship;
[0054] The minimum charging time is determined according to the sum of all the third charging time periods.
[0055] In addition, to achieve the above-mentioned purpose, the present application also proposes a charging device, which includes: 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 described above.
[0056] In addition, to achieve the above-mentioned purpose, the present application also proposes a storage medium, which is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, the steps of the battery charging method described above are implemented.
[0057] One or more technical solutions proposed in the present application have at least the following technical effects: controlling the current control parameters in the battery charging process based on the set charging time set by the user and the reference charging time corresponding to the battery status information of the battery, thereby ensuring that the charging current in the battery charging process no longer only considers the actual status of the battery, but is also set in combination with the charging time required by the user, which can avoid the actual charging time of the battery from seriously deviating from the user's requirements, thereby improving the matching degree between the battery charging time and the user's requirements. BRIEF DESCRIPTION OF THE DRAWINGS
[0058] The accompanying drawings, which are incorporated in and constitute a part of this specification, illustrate embodiments consistent with the present application and, together with the description, serve to explain the principles of the present application.
[0059] In order to more clearly illustrate the embodiments of the present application or the technical solutions in the prior art, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, for ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative labor.
[0060] Figure 1 A schematic diagram of the device structure of the hardware operating environment involved in the battery charging method in the embodiment of the present application;
[0061] Figure 2 A schematic diagram of a flow chart provided for the first embodiment of the battery charging method of the present application;
[0062] Figure 3 Schematic diagram of a flow chart of an embodiment of step S30 in the battery charging method of the present application.
[0063] The purpose, features and advantages of this application will be further described in conjunction with the embodiments and with reference to the accompanying drawings. DETAILED DESCRIPTION
[0064] It should be understood that the specific embodiments described herein are only used to explain the technical solutions of the present application and are not used to limit the present application.
[0065] In order to better understand the technical solution of the present application, a detailed description will be given below in conjunction with the accompanying drawings and specific implementation methods.
[0066] The main solution of the embodiment of the present application is: obtaining the set charging time set by the user and the battery status information of the target battery; determining the reference charging time of the target battery according to the battery status information; determining the current control parameters of the target battery according to the set charging time and the reference charging time; charging the target battery according to the current control parameters.
[0067] In this embodiment, for the convenience of description, the following description is made with the charging device as the execution subject.
[0068] In the prior art, during the battery charging process, the charging current is determined based on an inherent charging current rule, and the charging current of the battery is determined based on the actual state of the battery. However, this method has a fixed charging time when the battery state is constant, which is prone to problems that do not match user needs.
[0069] The present application provides the above-mentioned solution. During the battery charging process, the charging current no longer only considers the actual state of the battery, but is also set in combination with the charging time required by the user. This can avoid the actual charging time of the battery from seriously deviating from user requirements, thereby improving the matching degree between the battery charging time and user requirements.
[0070] The embodiment of the present application provides a charging device 100, such as a charging pile or a mobile charging device.
[0071] In the embodiments, reference Figure 1 , the charging device 100 is configured to be electrically connected to the battery 200 to charge the battery 200.
[0072] The battery 200 is a power battery on the vehicle. When the charging device 100 is connected to the fast charging connector on the vehicle, the charging state is entered.
[0073] The charging device 100 includes: at least one processor 1001; and a memory 1002 connected to the at least one processor 1001 for communication, and a timer 1003, etc.; wherein the memory 1002 stores instructions that can be executed by the at least one processor 1001, and the instructions are executed by the at least one processor 1001 so that the at least one processor 1001 can execute the battery charging method in the following embodiment.
[0074] Reference below Figure 1 , which shows a schematic diagram of the structure of the control device 100 suitable for implementing the embodiment of the present application. The charging device in the embodiment of the present application may include but is not limited to mobile terminals such as mobile phones, laptop computers, digital broadcast receivers, PDAs (Personal Digital Assistants), PADs (Portable Application Descriptions), PMPs (Portable Media Players), vehicle-mounted terminals (such as vehicle-mounted navigation terminals), etc., and fixed terminals such as digital TVs, desktop computers, etc. Figure 1 The control device 100 shown is merely an example and should not bring any limitation to the functions and scope of use of the embodiments of the present application.
[0075] like Figure 1 As shown, the control device 100 may include a processor 1001 (e.g., a central processing unit, a graphics processor, etc.), which can perform various appropriate actions and processes according to the program stored in the memory 1002, where the program in the memory 1002 may be a program in a read-only memory (ROM) or a program loaded from a storage device to a random access memory (RAM). In the RAM, various programs and data required for the operation of the control device 100 are also stored. The processor 1001 and the memory 1002 (ROM and RAM) are connected to each other through a bus. An input / output (I / O) interface is also connected to the bus. Generally, the following systems can be connected to the I / O interface: input devices such as a touch screen, a touch pad, a keyboard, a mouse, an image sensor, a microphone, an accelerometer, a gyroscope, etc.; output devices such as a liquid crystal display (LCD), a speaker, a vibrator, etc.; storage devices such as a tape, a hard disk, etc.; and communication devices. The communication device can allow the control device 100 to communicate with other devices wirelessly or by wire to exchange data. Although the control device 100 is shown with various systems, it should be understood that it is not required to implement or have all of the systems shown. More or fewer systems may be implemented or have instead.
[0076] In particular, according to the embodiments disclosed in the present application, the method flow described in the following embodiments can be implemented as a computer software program. For example, the embodiments disclosed in the present application include a computer program product, which includes a computer program carried on a computer-readable medium, and the computer program contains program code for executing the method shown in the flowchart. In such an embodiment, the computer program can be downloaded and installed from a network via a communication device, or installed from the memory 1002. When the computer program is executed by the processor 1001, the above functions defined in the battery charging method of the embodiment disclosed in the present application are executed.
[0077] The charging device provided by the present application adopts the battery charging method in the following embodiment, which can solve the technical problem of how to improve the matching degree between the battery charging time and the user's needs. Compared with the prior art, the beneficial effects of the charging device provided by the present application are the same as the beneficial effects of the battery charging method provided in the following embodiment, and the other technical features in the charging device are the same as the features disclosed in the following embodiment method, which will not be repeated here.
[0078] It should be noted that the execution subject of this embodiment can be a computing service device with data processing, network communication and program running functions, such as a tablet computer, a personal computer, a mobile phone, etc., or an electronic device capable of realizing the above functions, a charging device, etc. The following takes the charging device as an example to illustrate this embodiment and the following embodiments.
[0079] Based on this, the present application embodiment provides a battery charging method, referring to Figure 2 , Figure 2 This is a flow chart of the first embodiment of the battery charging method of the present application.
[0080] In this embodiment, the battery charging method includes steps S10 to S40:
[0081] Step S10, obtaining the charging time set by the user and the battery status information of the target battery;
[0082] The charging time is set to the target time required for the target battery to be charged from the current initial power to the target power, which is set by the user based on his / her needs. The initial power is the current power of the target battery when it is not charged. The target power is the power that the target battery needs to reach when charging is completed. In this embodiment, the target power is a parameter set by the user. In other embodiments, the target power may also be a pre-set fixed parameter, such as 100% power.
[0083] The target battery is a power battery to be charged. In this embodiment, the battery on the vehicle to which the charging device is connected is the target battery.
[0084] The battery status information may include power information of the target battery (eg, initial power and / or target power and / or target charging capacity, etc.) and / or temperature information of the target battery, etc.
[0085] Step S20, determining a reference charging time of the target battery according to the battery status information;
[0086] The reference charging time may include at least one of the following: the minimum charging time allowed for charging the target battery from an initial charge to a target charge, the maximum charging time allowed for charging the target battery from an initial charge to a target charge, a reference value of the charging time required for charging the target battery from an initial charge to a target charge, and the like.
[0087] Different battery status information corresponds to different reference charging times.
[0088] In one implementation, the charging time corresponding to the current power information of the target battery can be determined as a reference charging time based on a preset correspondence between the preset power information and the charging time. In another implementation, the preset correspondence between the power information and the charging time can be obtained based on the temperature information of the target battery. Different temperature information corresponds to different preset correspondences. Based on the preset correspondence, the charging time corresponding to the current power information of the target battery is determined as the reference charging time. The preset correspondence may include a mapping relationship or a relational expression. In yet another implementation, the ratio of the target charge to the preset charging current is used as a reference charging time. The preset charging current may be a charging current set by the user, a preset fixed current, or a current calculated based on the initial power.
[0089] Step S30, determining a current control parameter of the target battery according to the set charging time and the reference charging time;
[0090] The current in the target battery charging process corresponding to the current control parameter may be a fixed current or a variable current. The current control parameter may include a target current in the target battery charging process or a target corresponding relationship between a state parameter (such as charging time or current power) in the target battery charging process and the charging current.
[0091] In one implementation, the size relationship between the set charging time and the reference charging time is determined, and the charging current corresponding to the size relationship is used as the current control parameter, or the current control parameter is determined based on the current determination method corresponding to the size relationship.
[0092] In another implementation, a relationship between the set charging time, the reference charging time and the current control parameter can be pre-established, and the current control parameter can be calculated by substituting the set charging time and the reference charging time into the relationship.
[0093] Step S40: charging the target battery according to the current control parameter.
[0094] When the current control parameter includes a target current, the target battery is charged with the target current until the charging end condition is reached. For example, when the current control parameter includes a minimum charging current, the target battery is charged with the minimum charging current.
[0095] When the battery control parameters include the correspondence between the state parameters and the charging current, the state parameters of the target battery can be detected in real time or at set intervals, and the corresponding charging current of the target battery can be obtained from the detected state parameters in the correspondence, and the target battery can be charged with the determined charging current.
[0096] In the process of charging the target battery according to the battery control parameters, the current actually output by the charging device is greater than or equal to the charging current corresponding to the battery control parameters.
[0097] The present embodiment provides a battery charging method, which controls the current control parameters in the battery charging process based on the set charging time set by the user and the reference charging time corresponding to the battery status information of the battery, thereby ensuring that the charging current in the battery charging process no longer only considers the actual status of the battery, but is also set in combination with the charging time required by the user, which can avoid the actual charging time of the battery from seriously deviating from the user requirements, thereby improving the matching degree of the battery charging time with the user requirements.
[0098] In a feasible implementation manner, the reference charging time includes a maximum charging time and a minimum charging time. Figure 3 , step S30 includes steps S31 to S33:
[0099] Step S31, when the set charging time is greater than or equal to the maximum charging time, determining the minimum charging current as the current control parameter;
[0100] The minimum charging current may be the minimum current allowed during the charging process of the target battery. In this embodiment, the minimum charging current is the current set by the user. In other embodiments, the minimum charging current may also be a rated minimum current pre-set based on the characteristics of the target battery and / or the charging device, and the minimum current set by the user is greater than or equal to the rated minimum current here.
[0101] When charging the target battery according to the current control parameter, charging the target battery with a minimum charging current is maintained.
[0102] Based on this, it is beneficial to ensure that the charging time is more compatible with user needs while saving charging energy consumption.
[0103] Step S32, when the set charging time is less than or equal to the minimum charging time, determining a preset corresponding relationship as the current control parameter, wherein the preset corresponding relationship is a corresponding relationship between the power of the target battery and the charging current set based on the life requirement of the target battery;
[0104] The preset corresponding relationship is to ensure that the battery life of the target battery can reach the maximum charging current corresponding to the target battery at different power levels allowed by the preset life.
[0105] When charging the target battery according to the current control parameter, the charging current changes with the current power of the target battery, and the current power of the target battery can be detected in real time, and the target battery is charged according to the charging current corresponding to the current power in the preset corresponding relationship. In this embodiment, the preset corresponding relationship includes different preset power intervals and the charging currents corresponding to each of the preset power intervals, and the charging current corresponding to the preset power interval where the current power is located can be determined as the target current, and the target battery is charged according to the target current.
[0106] Based on this, it is helpful to ensure that the charging time is as close as possible to the charging time set by the user to improve the matching degree with the user's needs while ensuring the service life of the target battery.
[0107] Step S33, when the set charging time is greater than the minimum charging time and less than the maximum charging time, determine the current control parameter according to the current initial power of the target battery, the target power of the target battery, the preset corresponding relationship and the set charging time.
[0108] In one implementation, the preset corresponding relationship can be adjusted according to the initial power, the target power and the set charging time to obtain the target corresponding relationship, and the current control parameters include the target corresponding relationship. In another implementation, the average charging current and reference time for charging the target battery from the initial power to the target power can be determined according to the preset corresponding relationship, the initial power and the target power, and the average charging current can be corrected according to the relationship between the set charging time and the reference time to obtain the target average charging current, and the current control parameters may include the target average charging current. In yet another implementation, the target charging capacity can be determined according to the power difference between the target power and the initial power, the target charging current can be determined according to the ratio of the target charging capacity to the set charging time, the reference current data for charging can be determined based on the preset corresponding relationship, and the current control parameters can be determined according to the target charging current and the reference current data.
[0109] Based on this, it is beneficial to improve the matching degree between charging time and user needs while taking into account battery life and energy consumption.
[0110] The execution order of the above steps S31 to S33 is not specifically limited.
[0111] In a feasible implementation manner, the preset correspondence relationship includes different preset power intervals and the charging current corresponding to each preset power interval, and the step of determining the current control parameter according to the initial power of the target battery, the target power of the target battery, the preset correspondence relationship and the set charging time includes: when the initial power and the target power are both in the same preset power interval, the target charging current is determined according to the ratio of the power difference between the target power and the initial power to the set charging time, and the current control parameter includes the target charging current; when the initial power and the target power are in different preset power intervals, the preset correspondence relationship is adjusted according to the initial power, the target power and the set charging time to obtain the target correspondence relationship between the power of the target battery and the charging current, and the current control parameter includes the target correspondence relationship.
[0112] In this embodiment, the target charging current Im can be determined based on the following relationship: Im = (SOCcutoff-SOCinit)*Qn*SOH / (TE / a), wherein SOCcutoff is the target power, SOCinit is the initial power, TE is the set charging time, SOH is the health status value, Qn is the rated power of the target battery, and a is a preset coefficient (for example, 60, etc.).
[0113] In this embodiment, the preset corresponding relationship is adjusted according to the user charging mode, initial power, target power and set charging time set by the user to obtain the target corresponding relationship between power and charging current. The preset corresponding relationship may include a relational expression or a mapping table.
[0114] The charging device may be pre-set with at least two charging modes including a first charging mode (e.g., power-friendly mode), a second charging mode (e.g., life-friendly mode), and a third charging mode (e.g., power and life-combination mode). The user may select one of the at least two charging modes as the user charging mode based on their own needs. Among them, the change amplitude of the charging current in the second charging mode is less than or equal to the preset amplitude; the change amplitude of the charging current in the first charging mode and the third charging mode is greater than the preset amplitude, the charging speed of the first charging mode is greater than the charging speed of the third charging mode, the charging speed of the third charging mode is greater than the charging speed of the second charging mode, the life attenuation of the target battery in the second charging mode is less than the life attenuation of the target battery in the third charging mode, and the life attenuation of the target battery in the third charging mode is less than the life attenuation of the target battery in the first charging mode. The charging current of the first charging mode may include a first current in the early stage of charging and a second current in the later stage of charging, the charging current of the second charging mode may include a third current in the early stage of charging and a fourth current in the later stage of charging, and the charging current of the third charging mode may include a fifth current in the early stage of charging and a sixth current in the later stage of charging, wherein the first current is greater than the fifth current, the fifth current is greater than the third current, the fourth current is greater than the sixth current, and the sixth current is greater than the second current.
[0115] According to the user's charging mode, the target relationship between the initial power, target power, set charging time and the adjustment parameters or adjustment methods of the preset corresponding relationship can be determined. Different user charging modes correspond to different target relationships. Based on the current initial power, target power, set charging time and target relationship, the target adjustment parameter or target adjustment method can be determined. The preset corresponding relationship can be adjusted according to the target adjustment parameter or target adjustment method to obtain the target corresponding relationship. Among them, the target adjustment parameter may include the current adjustment parameter of the charging current corresponding to each preset power interval in the preset corresponding relationship, and the target adjustment method may include the determination method of the target charging current corresponding to each preset power interval in the preset corresponding relationship or the calculation method of the adjustment value of the charging current.
[0116] There is a difference in charging current corresponding to at least one preset power range in the target corresponding relationship and the preset corresponding relationship.
[0117] In other implementations, the charging mode of the charging device may also be a fixed mode, for example, fixed to one of the above-mentioned first charging mode, second charging mode or third charging mode, or fixed to other modes other than the first charging mode, the second charging mode and the third charging mode. In this case, a preset relationship between the initial power, the target power, the set charging time and the preset corresponding relationship adjustment parameters or adjustment methods can be pre-set. The target adjustment parameters or target adjustment methods can be determined by substituting the current initial power, target power and set charging time into the preset relationship. The target corresponding relationship can be obtained by adjusting the preset corresponding relationship according to the target adjustment parameters or target adjustment methods.
[0118] In this embodiment, the above method is helpful to ensure that the determined current control parameters can take into account both the battery life and the duration requirement of the user.
[0119] In other embodiments, the above ratio may also be used as the target charging current.
[0120] In other embodiments, when the charge difference between the target charge and the initial charge is less than a preset difference, the target charging current can be determined based on the ratio of the charge difference to the set charging time; when the charge difference between the target charge and the initial charge is greater than or equal to the preset difference, the preset corresponding relationship can be adjusted based on the initial charge, the target charge and the set charging time to obtain the target corresponding relationship between the charge of the target battery and the charging current.
[0121] In one implementation, the step of adjusting the preset corresponding relationship according to the initial power, the target power, and the set charging duration to obtain a target corresponding relationship between the power of the target battery and the charging current includes the following 1.1 to 1.6:
[0122] 1.1, when the user charging mode of the target battery is the first charging mode, determining the preset power interval where the target power is located as the initial first target interval, determining the set charging time as the initial first expected charging time, and determining the preset corresponding relationship as the initial first corresponding relationship;
[0123] 1.2, replacing the current corresponding to the first target interval in the first corresponding relationship with the minimum charging current to obtain a second corresponding relationship;
[0124] In the second corresponding relationship, the charging current corresponding to the first target interval is the minimum charging current, and the charging currents corresponding to other preset power intervals other than the first target interval are the same as those in the first corresponding relationship.
[0125] 1.3, determining, based on the second corresponding relationship, a charging time required for charging the target battery from the initial power to the power in the first target interval as a first charging time;
[0126] The preset power intervals that the power of the target battery needs to pass through when the target battery is charged from the initial power to the first target interval are respectively used as the first calculation intervals.
[0127] When the first calculation interval is the preset power interval where the target power is located, the charging amount of the first calculation interval is determined according to the difference between the target power and the lower limit value of the first calculation interval; when the first calculation interval is a power interval other than the preset power interval where the target power is located and the preset power interval where the initial power is located, the charging amount of the first calculation interval is determined according to the power difference between the upper limit value and the lower limit value of the first calculation interval; when the first calculation interval is the preset power interval where the initial power is located, the charging amount of the first calculation interval is determined according to the difference between the upper limit value of the first calculation interval and the initial power.
[0128] The sub-charging duration of the first calculation interval is determined according to the ratio of the charging amount of the first calculation interval to the charging current corresponding to the interval in the second corresponding relationship, and the sum of all the sub-charging durations is used as the first charging duration here.
[0129] 1.4, determining a first target charging current corresponding to the first target interval according to the first charging duration and the first expected charging duration, adjusting the current corresponding to the first target interval in the second corresponding relationship to the first target charging current, and obtaining a third corresponding relationship;
[0130] In this embodiment, the first target charging current is determined according to the magnitude relationship or relationship value between the first charging duration and the first expected charging duration. When the first charging duration is greater than or equal to the first expected charging duration, the actual charging duration of the first target interval is determined according to the first expected charging duration and the second corresponding relationship, and the first target charging current corresponding to the first target interval is determined according to the actual charging duration and the charging amount of the first target interval; when the first charging duration is less than the first expected charging duration, the minimum charging current is determined to be the first target charging current corresponding to the first target interval.
[0131] The minimum charging current is consistent with the concept mentioned in the above embodiment and will not be described in detail here.
[0132] Among them, based on the second corresponding relationship, the charging time required for the target battery to charge from the initial power to the power of the previous preset power interval of the first target interval is determined as the first characteristic time, and the difference between the first expected charging time and the first characteristic time is used as the actual charging time of the first target interval, and the first target charging current is determined according to the ratio of the charging amount of the first target interval to the actual charging time.
[0133] When the first target interval is the preset power interval where the target power is located, the charging amount of the first target interval is determined according to the difference between the target power and the lower limit value of the first target interval; when the first target interval is a power interval other than the preset power interval where the target power is located and the preset power interval where the initial power is located, the charging amount of the first target interval is determined according to the power difference between the upper limit value and the lower limit value of the first target interval; when the first target interval is the preset power interval where the initial power is located, the charging amount of the first target interval is determined according to the difference between the upper limit value of the first target interval and the initial power.
[0134] 1.5, determining that the difference between the current first expected charging time and the charging time corresponding to the current first target interval in the current third corresponding relationship is a new first expected charging time, determining that the previous preset power interval of the current first target interval in the current third corresponding relationship is a new first target interval, and determining that the current third corresponding relationship is a new first corresponding relationship;
[0135] The previous preset power interval of the first target interval refers to a preset power interval that is arranged before the first target interval and adjacent to the first target interval when all preset power intervals are arranged in ascending order of power.
[0136] The charging time corresponding to the first target interval is determined according to the ratio of the charging amount in the first target interval to the first target charging current.
[0137] 1.6, when the power in the new first target interval is greater than or equal to the initial power, repeat 1.2 to 1.5; when the power in the new first target interval is less than the initial power, use the current third correspondence as the target correspondence.
[0138] When the lower limit value of the new first target interval is greater than or equal to the initial power, the power of the new first target interval is greater than or equal to the initial power; when the upper limit value of the new first target interval is less than the initial power, the power of the new first target interval is less than the initial power.
[0139] In this embodiment, the target charging current corresponding to each preset power interval that the target battery passes through when charging from the initial power to the target power can be gradually determined through the above method, thereby obtaining a target corresponding relationship, ensuring that the actual charging time in the first charging mode can match the set charging time required by the user, and charging with the minimum current in the later stage, and charging with the maximum current allowed by the life requirement in the early stage, thereby ensuring the charging efficiency while improving the matching degree of the charging time with the user's needs.
[0140] In other embodiments, the first target charging current corresponding to the first target interval may also be calculated based on the difference between the first charging duration and the first expected charging duration.
[0141] In one implementation, the step of adjusting the preset corresponding relationship according to the initial power, the target power, and the set charging duration to obtain a target corresponding relationship between the power of the target battery and the charging current includes the following 2.1 to 2.5:
[0142] 2.1, when the user charging mode of the target battery is the second charging mode, determining the preset power interval in which the target power is located as the initial second target interval, determining the set charging time as the initial second expected charging time, and determining the preset corresponding relationship as the initial fourth corresponding relationship;
[0143] 2.2, determining a reference charging current of the target battery according to a total charging amount required to charge the target battery from an initial charge to a charge in the second target interval and the second expected charging time;
[0144] Each preset power interval that the target battery passes through when charging from the initial power to the power in the second target interval is used as the second calculation interval.
[0145] When the second calculation interval is the preset power interval where the target power is located, the charging amount of the second calculation interval is determined according to the difference between the target power and the lower limit value of the second calculation interval; when the second calculation interval is a power interval other than the preset power interval where the target power is located and the preset power interval where the initial power is located, the charging amount of the second calculation interval is determined according to the power difference between the upper limit value and the lower limit value of the second calculation interval; when the second calculation interval is the preset power interval where the initial power is located, the charging amount of the second calculation interval is determined according to the difference between the upper limit value of the second calculation interval and the initial power.
[0146] The sum of the charging amounts of all the second calculation intervals is taken as the total charging amount here. The reference charging current is determined according to the ratio of the total charging amount to the second expected charging time. The reference charging current can be considered as the average current of the target battery from the initial charge to the charge in the second target interval within the second expected charging time.
[0147] 2.3, determining a second target charging current corresponding to the second target interval according to the charging current corresponding to the second target interval in the fourth corresponding relationship and the reference charging current, adjusting the charging current corresponding to the second target interval in the fourth corresponding relationship to the second target charging current, and obtaining a fifth corresponding relationship;
[0148] The second target charging current corresponding to the second target interval is determined according to the magnitude relationship or relationship value between the charging current and the reference charging current.
[0149] In this embodiment, the current threshold is determined according to the charging current corresponding to the second target interval in the fourth corresponding relationship and the health state value of the target battery; when the reference charging current is less than or equal to the current threshold, the reference charging current is determined to be the second target charging current corresponding to the second target interval; when the reference charging current is greater than the current threshold, the current threshold is determined to be the second target charging current corresponding to the second target interval. In this embodiment, the product of the charging current corresponding to the second target interval and the health state value is the current threshold. The current threshold is the maximum charging current allowed by the target battery in the second target interval under the current health state.
[0150] 2.4, determining that the difference between the current second expected charging time and the charging time corresponding to the current second target interval in the fifth corresponding relationship is the new second expected charging time, determining the previous preset power interval of the current second target interval in the current fifth corresponding relationship as the new second target interval, and determining the current fifth corresponding relationship as the new fourth corresponding relationship;
[0151] The previous preset power interval of the second target interval refers to a preset power interval that is arranged before the second target interval and adjacent to the second target interval when all preset power intervals are arranged in ascending order of power.
[0152] The charging time corresponding to the second target interval can be determined according to the ratio of the charging amount in the second target interval to the second target charging current.
[0153] When the second target interval is the preset power interval where the target power is located, the charging amount of the second target interval is determined according to the difference between the target power and the lower limit value of the second target interval; when the second target interval is a power interval other than the preset power interval where the target power is located and the preset power interval where the initial power is located, the charging amount of the second target interval is determined according to the power difference between the upper limit value and the lower limit value of the second target interval; when the second target interval is the preset power interval where the initial power is located, the charging amount of the second target interval is determined according to the difference between the upper limit value of the second target interval and the initial power.
[0154] 2.5, when the power in the new second target interval is greater than or equal to the initial power, repeat 2.2 to 2.4; when the power in the new second target interval is less than the initial power, use the current fifth correspondence as the target correspondence.
[0155] When the lower limit value of the new second target interval is greater than or equal to the initial power, the power of the new second target interval is greater than or equal to the initial power; when the upper limit value of the new second target interval is less than the initial power, the power of the new second target interval is less than the initial power.
[0156] In this embodiment, the target charging current corresponding to each preset power interval that the target battery passes through when charging from the initial power to the target power can be gradually determined through the above method, thereby obtaining a target corresponding relationship, ensuring that the actual charging time in the second charging mode can match the set charging time required by the user, and the fluctuation range of the charging current is small, thereby improving the matching degree of the charging time with the user's needs while reducing the life attenuation of the target battery.
[0157] In other embodiments, the second target charging current may also be calculated based on a deviation between the reference charging current and the current threshold.
[0158] In one implementation, the step of adjusting the preset corresponding relationship according to the initial power, the target power, and the set charging duration to obtain a target corresponding relationship between the power of the target battery and the charging current includes the following 3.1 to 3.5:
[0159] 3.1, when the user charging mode of the target battery is the third charging mode, determining the preset power interval where the target power is located as the initial third target interval, determining the set charging time as the initial third expected charging time, and determining the preset corresponding relationship as the initial sixth corresponding relationship;
[0160] 3.2, based on the sixth corresponding relationship, determining the charging time required for charging the target battery from the initial power to the power in the third target interval as the second charging time;
[0161] Each preset power interval that the target battery passes through when charging from the initial power to the power in the third target interval is used as the third calculation interval.
[0162] When the third calculation interval is the preset power interval where the target power is located, the charging amount of the third calculation interval is determined according to the difference between the target power and the lower limit value of the third calculation interval; when the third calculation interval is a power interval other than the preset power interval where the target power is located and the preset power interval where the initial power is located, the charging amount of the third calculation interval is determined according to the power difference between the upper limit value and the lower limit value of the third calculation interval; when the third calculation interval is the preset power interval where the initial power is located, the charging amount of the third calculation interval is determined according to the difference between the upper limit value of the third calculation interval and the initial power.
[0163] The sub-charging duration of the third calculation interval is determined according to the ratio of the charging amount of the third calculation interval to the charging current corresponding to the interval in the sixth corresponding relationship, and the sum of all the sub-charging durations is used as the second charging duration here.
[0164] 3.3, determining a third target charging current corresponding to the third target interval according to the second charging time, the third expected charging time, and the charging current corresponding to the third target interval in the sixth corresponding relationship, determining the charging current corresponding to the third target interval in the sixth corresponding relationship as the third target charging current, and obtaining a seventh corresponding relationship;
[0165] In one implementation, a current adjustment value may be determined according to the second charging time and the third expected charging time, and the charging current corresponding to the third target interval in the sixth corresponding relationship is adjusted according to the current adjustment value to obtain the third target charging current. In another implementation, a reference charging current of the target battery is determined according to the second charging time, the third expected charging time, and the charging current corresponding to the third target interval in the sixth corresponding relationship, and the third target charging current is determined according to the relationship between the reference charging current and the preset current value.
[0166] In this embodiment, the relationship value between the second charging time and the third expected charging time is determined; the charging current corresponding to the third target interval in the sixth corresponding relationship is adjusted according to the relationship value and the health state value of the target battery to obtain a reference current; when the reference current is greater than or equal to the minimum charging current of the target battery, the reference current is determined to be the third target charging current corresponding to the third target interval; when the reference current is less than the minimum charging current, the minimum charging current is determined to be the third target charging current corresponding to the third target interval. In this embodiment, the relationship value is a ratio, and the product of the charging current corresponding to the third target interval in the sixth corresponding relationship, the ratio, and the health state value (SOH) is used as the reference current.
[0167] 3.4, determining that the difference between the current third expected charging time and the charging time corresponding to the current third target interval in the seventh corresponding relationship is a new third expected charging time, determining that the previous preset power interval of the current third target interval in the current seventh corresponding relationship is a new third target interval, and determining that the current seventh corresponding relationship is a new sixth corresponding relationship;
[0168] The charging time of the third target interval is determined according to the ratio between the charging amount of the third target interval and the third target charging current.
[0169] When the third target interval is the preset power interval where the target power is located, the charging amount of the third target interval is determined according to the difference between the target power and the lower limit value of the third target interval; when the third target interval is a power interval other than the preset power interval where the target power is located and the preset power interval where the initial power is located, the charging amount of the third target interval is determined according to the power difference between the upper limit value and the lower limit value of the third target interval; when the third target interval is the preset power interval where the initial power is located, the charging amount of the third target interval is determined according to the difference between the upper limit value of the third target interval and the initial power.
[0170] 3.5. When the power level in the new third target interval is greater than or equal to the initial power level, return to the step of determining the charging time required to charge the target battery from the initial power level to the power level in the third target interval as the second charging time based on the sixth corresponding relationship; when the power level in the new third target interval is less than the initial power level, determine the current seventh corresponding relationship as the target corresponding relationship.
[0171] When the lower limit value of the new third target interval is greater than or equal to the initial power, the power of the new third target interval is greater than or equal to the initial power; when the upper limit value of the new third target interval is less than the initial power, the power of the new third target interval is less than the initial power.
[0172] In this embodiment, the target charging current corresponding to each preset power interval that the target battery passes through when charging from the initial power to the target power can be gradually determined through the above method, thereby obtaining a target corresponding relationship, ensuring that the actual charging time in the third charging mode can match the set charging time required by the user while taking into account both battery life and power charging efficiency.
[0173] Based on any of the above embodiments, in this embodiment, the battery status information includes the initial power of the target battery, the target power of the target battery and the health status value of the target battery, the reference charging time includes the maximum charging time, and the step of determining the reference charging time of the target battery according to the battery status information includes: determining the power difference between the target power and the initial power; determining a first target charging power according to the power difference and the health status value; determining the maximum charging time according to the ratio of the first target charging power to the minimum charging current.
[0174] In this embodiment, the product of the power difference, the rated power of the target battery, and the state of health (SOH) is used as the first target charging capacity.
[0175] In this embodiment, the maximum charging time of the target battery when the target battery is charged with a minimum charging current can be accurately analyzed, so that the charging current of the target battery can be accurately controlled based on the relationship between the maximum charging time and the set charging time, thereby further improving the matching degree between the battery charging time and user needs.
[0176] Based on any of the above embodiments, in this embodiment, the battery status information includes the initial power of the target battery and the target power of the target battery, and a preset corresponding relationship is defined including different preset power intervals and the charging currents corresponding to each of the preset power intervals. The reference charging time includes a maximum charging time, and the step of determining the reference charging time of the target battery according to the battery status information includes: determining the preset power interval required for the target battery to charge from the initial power to the target power in the preset corresponding relationship as a fourth target interval; determining the third charging time corresponding to each of the fourth target intervals according to the charging amount corresponding to each of the fourth target intervals and the charging current corresponding to the fourth target interval in the preset corresponding relationship; and determining the minimum charging time according to the sum of all the third charging times.
[0177] When the fourth target interval is the preset power interval where the target power is located, the charging amount of the fourth target interval is determined according to the difference between the target power and the lower limit value of the fourth target interval; when the fourth target interval is a power interval other than the preset power interval where the target power is located and the preset power interval where the initial power is located, the charging amount of the fourth target interval is determined according to the power difference between the upper limit value and the lower limit value of the fourth target interval; when the fourth target interval is the preset power interval where the initial power is located, the charging amount of the fourth target interval is determined according to the difference between the upper limit value of the fourth target interval and the initial power.
[0178] The third charging duration is determined according to a ratio of the charging amount corresponding to the fourth target interval to the charging current in a preset corresponding relationship.
[0179] In this embodiment, based on the preset corresponding relationship, it can be accurately analyzed that the time when the target battery is charged from the initial power to the target power with the maximum current allowed by the life requirement is used as the minimum allowable charging time, thereby ensuring that the charging current of the target battery is accurately controlled based on the relationship between the minimum charging time and the set charging time, thereby achieving further improvement in the matching degree between the battery charging time and user needs and ensuring the battery life.
[0180] It should be noted that the above examples are only used to understand the present application and do not constitute a limitation on the battery charging method of the present application. More simple transformations based on this technical concept are all within the scope of protection of the present application.
[0181] The present application provides a computer-readable storage medium having computer-readable program instructions (ie, computer programs) stored thereon, and the computer-readable program instructions are used to execute the battery charging method in the above-mentioned embodiment.
[0182] The computer-readable storage medium provided in the present application may be, for example, a USB flash drive, but is not limited to electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, systems or devices, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM or flash memory), an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In this embodiment, the computer-readable storage medium may be any tangible medium containing or storing a program that can be used by or in combination with an instruction execution system, system or device. The program code contained on the computer-readable storage medium may be transmitted using any appropriate medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination of the above.
[0183] The computer-readable storage medium may be included in the charging device; or may exist independently without being assembled into the charging device.
[0184] The above-mentioned computer-readable storage medium carries one or more programs. When the above-mentioned one or more programs are executed by the charging device, the charging device executes the following process: obtaining the set charging time set by the user and the battery status information of the target battery; determining the reference charging time of the target battery according to the battery status information; determining the current control parameters of the target battery according to the set charging time and the reference charging time; charging the target battery according to the current control parameters.
[0185] Computer program code for performing the operations of the present application may be written in one or more programming languages or a combination thereof, including object-oriented programming languages such as Java, Smalltalk, C++, and conventional procedural programming languages such as "C" or similar programming languages. The program code may be executed entirely on the user's computer, partially on the user's computer, as a separate software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In the case of a remote computer, the remote computer may be connected to the user's computer through any type of network, including a local area network (LAN) or a wide area network (WAN), or may be connected to an external computer (e.g., via the Internet using an Internet service provider).
[0186] The readable storage medium provided in the present application is a computer-readable storage medium, which stores computer-readable program instructions (i.e., computer programs) for executing the above-mentioned battery charging method, and can solve the technical problem of how to improve the matching degree between the battery charging time and the user's needs. Compared with the prior art, the beneficial effects of the computer-readable storage medium provided in the present application are the same as the beneficial effects of the battery charging method provided in the above-mentioned embodiment, and will not be repeated here.
[0187] The flow chart and block diagram in the accompanying drawings illustrate the possible architecture, function and operation of the system, method and computer program product according to various embodiments of the present application. In this regard, each square box in the flow chart or block diagram can represent a module, a program segment or a part of a code, and the module, the program segment or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some implementations as replacements, the functions marked in the square box can also occur in a sequence different from that marked in the accompanying drawings. For example, two square boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each square box in the block diagram and / or flow chart, and the combination of the square boxes in the block diagram and / or flow chart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0188] It should be understood that the various parts disclosed in the present application can be implemented by hardware, software, firmware or a combination thereof. The modules described in the embodiments of the present application can be implemented by software or by hardware. The name of the module does not constitute a limitation on the unit itself under certain circumstances. In the description of the above embodiments, specific features, structures, materials or characteristics can be combined in any one or more embodiments or examples in a suitable manner.
[0189] The above description is only part of the embodiments of the present application, and does not limit the patent scope of the present application. All equivalent structural changes made by using the contents of the present application specification and drawings under the technical concept of the present application, or directly / indirectly applied in other related technical fields are included in the patent protection scope of the present application. Therefore, the protection scope of the present application shall be based on the protection scope of the claims.
Claims
1. A battery charging method, characterized in that: The method comprises: Get the charging time set by the user and the battery status information of the target battery; Determine a reference charging time of the target battery according to the battery status information; Determining a current control parameter of the target battery according to the set charging time and the reference charging time; The target battery is charged according to the current control parameter.
2. The method according to claim 1, characterized in that The reference charging time includes a maximum charging time and a minimum charging time, and the step of determining the current control parameter of the target battery according to the set charging time and the reference charging time includes: When the set charging time is greater than or equal to the maximum charging time, determining a minimum charging current as the current control parameter; In a case where the set charging time is less than or equal to the minimum charging time, determining a preset corresponding relationship as the current control parameter, wherein the preset corresponding relationship is a corresponding relationship between the power of the target battery and the charging current set based on the life requirement of the target battery; When the set charging time is greater than the minimum charging time and less than the maximum charging time, the current control parameter is determined according to the current initial power of the target battery, the target power of the target battery, the preset corresponding relationship and the set charging time.
3. The method according to claim 2, characterized in that The preset corresponding relationship includes different preset power intervals and charging currents corresponding to the preset power intervals. The step of determining the current control parameter according to the initial power of the target battery, the target power of the target battery, the preset corresponding relationship and the set charging time includes: When the initial power and the target power are both in the same preset power range, a target charging current is determined according to a ratio of a power difference between the target power and the initial power to the set charging time, and the current control parameter includes the target charging current; When the initial power level and the target power level are in different preset power level intervals, the preset corresponding relationship is adjusted according to the initial power level, the target power level and the set charging time to obtain the target corresponding relationship between the power level of the target battery and the charging current, and the current control parameters include the target corresponding relationship.
4. The method according to claim 3, characterized in that The step of adjusting the preset corresponding relationship according to the initial power, the target power and the set charging time to obtain the target corresponding relationship between the power of the target battery and the charging current includes: When the user charging mode of the target battery is the first charging mode, determining the preset power interval where the target power is located as the initial first target interval, determining the set charging time as the initial first expected charging time, and determining the preset corresponding relationship as the initial first corresponding relationship; Replacing the current corresponding to the first target interval in the first corresponding relationship with the minimum charging current to obtain a second corresponding relationship; Determine, based on the second corresponding relationship, a charging time required for charging the target battery from the initial power to the power in the first target interval as a first charging time; determining a first target charging current corresponding to the first target interval according to the first charging duration and the first expected charging duration, adjusting the current corresponding to the first target interval in the second corresponding relationship to the first target charging current, and obtaining a third corresponding relationship; Determine that the difference between the current first expected charging time and the charging time corresponding to the current first target interval in the current third corresponding relationship is a new first expected charging time, determine that the previous preset power interval of the current first target interval in the current third corresponding relationship is a new first target interval, and determine that the current third corresponding relationship is a new first corresponding relationship; When the power in the new first target interval is greater than or equal to the initial power, return to execute the step of replacing the current corresponding to the first target interval in the first correspondence with the minimum charging current to obtain the second correspondence; when the power in the new first target interval is less than the initial power, use the current third correspondence as the target correspondence.
5. The method according to claim 4, characterized in that The step of determining the first target charging current corresponding to the first target interval according to the first charging duration and the first expected charging duration includes: When the first charging time is greater than or equal to the first expected charging time, determining the actual charging time of the first target interval according to the first expected charging time and the second corresponding relationship, and determining the first target charging current corresponding to the first target interval according to the actual charging time and the charging amount of the first target interval; When the first charging duration is less than the first expected charging duration, the minimum charging current is determined to be a first target charging current corresponding to the first target interval.
6. The method according to claim 3, characterized in that The step of adjusting the preset corresponding relationship according to the initial power, the target power and the set charging time to obtain the target corresponding relationship between the power of the target battery and the charging current includes: When the user charging mode of the target battery is the second charging mode, determining the preset power interval in which the target power is located as the initial second target interval, determining the set charging time as the initial second expected charging time, and determining the preset corresponding relationship as the initial fourth corresponding relationship; Determine a reference charging current of the target battery according to a total charging amount required to charge the target battery from an initial charge to a charge in the second target interval and the second expected charging time; Determine a second target charging current corresponding to the second target interval according to the charging current corresponding to the second target interval in the fourth corresponding relationship and the reference charging current, and adjust the charging current corresponding to the second target interval in the fourth corresponding relationship to the second target charging current to obtain a fifth corresponding relationship; Determine that the difference between the current second expected charging time and the charging time corresponding to the current second target interval in the fifth corresponding relationship is a new second expected charging time, determine that the previous preset power interval of the current second target interval in the current fifth corresponding relationship is a new second target interval, and determine that the current fifth corresponding relationship is a new fourth corresponding relationship; When the power in the new second target interval is greater than or equal to the initial power, return to the step of determining the reference charging current of the target battery based on the total charging amount required to charge the target battery from the initial power to the power in the second target interval and the second expected charging time; when the power in the new second target interval is less than the initial power, take the current fifth correspondence as the target correspondence.
7. The method according to claim 6, characterized in that The step of determining the second target charging current corresponding to the second target interval according to the charging current corresponding to the second target interval in the fourth corresponding relationship and the reference charging current comprises: determining a current threshold according to the charging current corresponding to the second target interval in the fourth corresponding relationship and the health status value of the target battery; When the reference charging current is less than or equal to the current threshold, determining the reference charging current to be a second target charging current corresponding to the second target interval; When the reference charging current is greater than the current threshold, the current threshold is determined to be a second target charging current corresponding to the second target interval.
8. The method according to claim 3, characterized in that The step of adjusting the preset corresponding relationship according to the initial power, the target power and the set charging time to obtain the target corresponding relationship between the power of the target battery and the charging current includes: When the user charging mode of the target battery is the third charging mode, determining the preset power interval where the target power is located as the initial third target interval, determining the set charging time as the initial third expected charging time, and determining the preset corresponding relationship as the initial sixth corresponding relationship; Determine, based on the sixth corresponding relationship, the charging time required for charging the target battery from the initial power to the power in the third target interval as the second charging time; Determine a third target charging current corresponding to the third target interval according to the second charging duration, the third expected charging duration, and the charging current corresponding to the third target interval in the sixth corresponding relationship, determine the charging current corresponding to the third target interval in the sixth corresponding relationship as the third target charging current, and obtain a seventh corresponding relationship; Determine that the difference between the current third expected charging time and the charging time corresponding to the current third target interval in the seventh corresponding relationship is a new third expected charging time, determine that the previous preset power interval of the current third target interval in the current seventh corresponding relationship is a new third target interval, and determine that the current seventh corresponding relationship is a new sixth corresponding relationship; When the power in the new third target interval is greater than or equal to the initial power, return to the step of determining the charging time required to charge the target battery from the initial power to the power in the third target interval as the second charging time based on the sixth correspondence; when the power in the new third target interval is less than the initial power, determine the current seventh correspondence as the target correspondence.
9. The method according to claim 8, characterized in that The step of determining the third target charging current corresponding to the third target interval according to the second charging duration, the third expected charging duration, and the charging current corresponding to the third target interval in the sixth corresponding relationship comprises: Determine a relationship value between the second charging duration and the third expected charging duration; adjusting the charging current corresponding to the third target interval in the sixth corresponding relationship according to the relationship value and the health status value of the target battery to obtain a reference current; When the reference current is greater than or equal to the minimum charging current of the target battery, determining the reference current to be a third target charging current corresponding to the third target interval; When the reference current is less than the minimum charging current, the minimum charging current is determined to be a third target charging current corresponding to the third target interval.
10. The method according to any one of claims 1 to 9, characterized in that The battery status information includes the initial power of the target battery, the target power of the target battery, and the health status value of the target battery, the reference charging time includes the maximum charging time, and the step of determining the reference charging time of the target battery according to the battery status information includes: Determining a power difference between the target power and the initial power; Determine a first target charge capacity according to the charge difference value and the health status value; The maximum charging time is determined according to a ratio of the first target charging amount to the minimum charging current.
11. The method according to any one of claims 1 to 9, characterized in that The battery status information includes the initial power of the target battery and the target power of the target battery, defining a preset correspondence relationship includes different preset power intervals and charging currents corresponding to each of the preset power intervals, the reference charging duration includes a maximum charging duration, and the step of determining the reference charging duration of the target battery according to the battery status information includes: Determine the preset power interval that the target battery needs to pass through to charge from the initial power to the target power in the preset corresponding relationship as a fourth target interval; Determine the third charging duration corresponding to each of the fourth target intervals according to the charging amount corresponding to each of the fourth target intervals and the charging current corresponding to the fourth target interval in the preset corresponding relationship; The minimum charging time is determined according to the sum of all the third charging time periods.
12. A charging device, characterized in that: The charging device 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 11.
13. 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. When the computer program is executed by a processor, the steps of the battery charging method according to any one of claims 1 to 11 are implemented.