Charging control method and device, charging equipment and storage medium

By detecting and adjusting the current deviation during the vehicle charging process, the problem of difficulty in identifying deviations of charging equipment is solved, charging efficiency and user experience are improved, and the battery pack damage is avoided.

CN118953124APending Publication Date: 2024-11-15GREAT WALL MOTOR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411032337.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-07-30
Publication Date
2024-11-15

AI Technical Summary

Technical Problem

During the vehicle charging process, the charging device cannot recognize the small current deviation, resulting in reduced charging efficiency and poor user experience.

Method used

By detecting whether the actual output current of the charging device meets the preset charging conditions, adjust the requested current, and accumulate the number of times the charging current is too large until the charging value is stopped when the threshold is reached, so that the charging device can easily identify the current deviation and control the output current.

Benefits of technology

It improves charging efficiency, reduces the number of charges suspended, avoids damage to the vehicle battery pack, and improves the charging experience of users.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118953124A_ABST
    Figure CN118953124A_ABST
Patent Text Reader

Abstract

The invention provides a charging control method and device, charging equipment and a storage medium. According to the method, in the vehicle charging process, if the actual output current of the charging equipment meets the condition that the charging current is too large, the current request current is reduced, and the current deviation between the output current and the current request current is increased. This makes it easier for the charging device to identify the current deviation, thereby controlling the subsequent output current. In addition, the number of times that the charging current is too large is accumulated by a first preset value, and when the number of times after accumulation is smaller than a first number-of-times threshold value, the vehicle continues to be charged. And when the number of times that the charging current is too large exceeds a first number-of-times threshold value, stopping charging the vehicle. This can avoid stopping charging the vehicle when it is determined that the charging current is too large at a time. According to the method, the number of times of stopping charging can be reduced, the vehicle can be prevented from being continuously charged with excessive charging current, and damage to a battery pack in the vehicle can be prevented. Therefore, the method not only can improve the charging efficiency, but also can improve the charging experience of the user.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicles, and more specifically, to a method, an apparatus, a charging device and a storage medium for controlling charging in the field of vehicles. Background Art

[0002] With the development of vehicle technology, more and more vehicles are entering people's lives. However, there are also more and more vehicle-related problems, including the problem of vehicle charging.

[0003] During the vehicle charging process, the vehicle can send a request current of the battery pack to the charging device based on the current state of the battery pack and the charging demand, and the charging pile controls the subsequent output current based on the request current and the current output current of the charging pile. However, if there is a current deviation between the request current received by the charging pile and the output current, the charging pile may not be able to recognize the smaller current deviation. This causes the charging pile to be unable to control the subsequent output current based on the current deviation, which will affect the charging process of the vehicle.

[0004] Therefore, there is an urgent need for a method for controlling charging to improve charging efficiency and user charging experience. Summary of the invention

[0005] The present application provides a method, apparatus, charging device and storage medium for controlling charging, which can both improve charging efficiency and enhance the user's charging experience.

[0006] In a first aspect, a method for controlling charging is provided, the method comprising: during vehicle charging, detecting whether an actual output current of a charging device satisfies a preset charging condition, the preset charging condition being a condition that a charging current is too large when the vehicle is charged, and the preset charging condition being related to a current requested current of the vehicle; when the actual output current satisfies the preset charging condition, reducing the current requested current of the vehicle, and accumulating the number of times the charging current is too large by a first preset value; and when the accumulated number is less than a first number threshold, continuing to charge the vehicle based on the reduced request current.

[0007] In the above technical solution, during the process of charging the vehicle, if the actual output current of the charging device meets the preset charging condition that the charging current is too large, the charging device in the method reduces the current request current of the vehicle and increases the current deviation between the output current and the request current. This enables the charging device to more easily identify the current deviation and control the subsequent output current based on the current deviation. In addition, the number of times the charging current is too large is accumulated by a first preset value, and when the accumulated number is less than the first number threshold, the charging device continues to charge the vehicle based on the reduced request current. That is, in this method, when the number of times the charging current is too large exceeds the first number threshold, the charging device stops charging the vehicle. This can avoid the process of stopping charging the vehicle once the charging current is judged to be too large in the traditional solution. The control charging process in this method can reduce the number of charging suspensions, and can avoid continuously charging the vehicle with an excessively large charging current to prevent damage to the battery pack in the vehicle. Therefore, this method can both improve charging efficiency and enhance the user's charging experience.

[0008] In combination with the first aspect, in some possible implementations, detecting whether the actual output current of the charging device meets the preset charging conditions includes: determining the product of the current requested current of the vehicle and the preset coefficient as the current threshold; detecting whether the actual output current of the charging device is greater than the current threshold, and whether the first continuous duration that the actual output current is greater than the current threshold is greater than a first preset duration.

[0009] In the above technical solution, the method determines the product of the current request current of the vehicle and the preset coefficient as the current threshold, and further detects whether the actual output current of the charging device is greater than the current threshold, and whether the first duration of the actual output current being greater than the current threshold is greater than the first preset duration. That is to say, the preset charging condition is that the actual output current is greater than the current threshold, and the duration of the actual output current being greater than the current threshold is greater than the first preset duration. Among them, the method compares the actual output current with the current threshold instead of directly comparing the actual output current with the current request current. This is because the current threshold may be greater than the current request current. When the actual output current is greater than the current threshold, the actual output current is greater than the current request current. In this way, the current deviation between the actual output current and the current request current is large, and the charging device can accurately control the subsequent output current based on the large current deviation, thereby improving the charging efficiency. In addition, the preset charging condition includes that the duration of the actual output current being greater than the current threshold is greater than the first preset duration, which can avoid the erroneous judgment of excessive charging current due to current instability.

[0010] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, when the accumulated number of times is less than the first number threshold, the vehicle continues to be charged based on the reduced request current, including: when the accumulated number of times is less than the first number threshold, determining a second duration when the actual output current is less than the current threshold; when the second duration is greater than a second preset duration, the vehicle continues to be charged based on the reduced request current, and the second preset duration is greater than the first preset duration.

[0011] In the above technical solution, the preset charging condition in the method is that the actual output current is greater than the current threshold, and the actual output current is greater than the current threshold for a duration greater than the first preset duration. The situation of "the accumulated number of times is less than the first number threshold" may be mostly contributed by the actual output current being equal to the current threshold, and the duration of the actual output current being equal to the current threshold. The method determines the second duration when the actual output current is less than the current threshold, and clarifies the contribution of the second duration when the actual output current is less than the current threshold to the situation. When the second duration is greater than the second preset duration, the method continues to charge the vehicle based on the reduced request current. This can avoid the situation where the actual number of times the charging current is too large exceeds the first number threshold when the current is unstable, which is caused by the critical situation (the actual output current is equal to the current threshold, and the duration of the actual output current is equal to the current threshold). Therefore, the method can reduce the number of damages to the battery pack in the vehicle.

[0012] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, when the second duration is greater than the second preset duration, the vehicle continues to be charged based on the requested current after being adjusted down, including: when the second duration is greater than the second preset duration, the number of times the current charging current is too large is cleared to zero, and the requested current after being adjusted down is restored to the current before being adjusted down; and the vehicle continues to be charged based on the current before being adjusted down.

[0013] In the above technical solution, when the accumulated number of times is less than the first number threshold, the second duration when the actual output current is less than the current threshold is determined; when the second duration is greater than the second preset duration, it indicates that the current number of times the charging current is too large is small, and the number of times is small for a long time, and the current is relatively stable during the current charging process. Therefore, the method clears the current number of times the charging current is too large, which can re-control the vehicle charging process. In addition, the request current after the adjustment is restored to the current before the adjustment, which enables the charging device to control the output current of the charging device with a larger request current during the stable charging process, thereby enabling the vehicle to be charged with a larger charging current. Therefore, the method can improve the charging efficiency.

[0014] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the method also includes: when the accumulated number of times is the same as the second number threshold and the second duration is less than the second preset duration, determining whether the actual output current of the charging device is stable, and the difference between the first number threshold and the second number threshold is a second preset value; when the actual output current is unstable, stopping charging the vehicle; or, when the accumulated number of times is greater than or equal to the first number threshold, stopping charging the vehicle.

[0015] In the above technical solution, when the accumulated number is the same as the second number threshold and the second continuous duration is less than the second preset duration, it indicates that the current charging current is too large for a small number of times and is in a small number of times for a short time, and the current charging process may not be stable. Therefore, the method determines whether the actual output current of the charging device is stable, and stops charging the vehicle when the actual output current is unstable. This can avoid the harm of increasing the thermal stress of the battery pack, accelerating the aging of the battery pack, and shortening the life of the battery pack by charging the vehicle when the output current is unstable. Alternatively, when the accumulated number is greater than or equal to the first number threshold, stop charging the vehicle. This can avoid irreversible damage to the battery pack by continuously charging the vehicle with an excessively large charging current when the number of charging currents is too large.

[0016] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the method for determining the current requested current of the vehicle includes: obtaining the current remaining power and the current temperature of the battery pack in the vehicle, and the current that can be safely carried by multiple electrical devices that are currently in operation; based on the current remaining power and the current temperature, determining the required current of the battery pack; and determining the sum of the current that can be safely carried by the multiple electrical devices and the required current as the current requested current of the vehicle.

[0017] In the above technical solution, in the process of determining the current requested current of the vehicle, the method takes into account the influence of various factors on the current requested current. Specifically, based on the current remaining power and current temperature of the battery pack in the vehicle, the demand current of the battery pack is accurately determined, taking into account the influence of the battery pack itself on the current requested current. In addition, the current that can be safely carried by multiple electrical devices that are currently in operation in the vehicle is discussed, that is, the method also takes into account the influence of other electrical devices in the vehicle on the current requested current. Therefore, the method can obtain a more accurate current requested current based on the sum of the current that can be safely carried by the multiple electrical devices and the demand current.

[0018] In combination with the first aspect and the above-mentioned implementation methods, in some possible implementation methods, the current requested current of the vehicle is adjusted down, including: determining the product of the current requested current and a first coefficient as a first current, and adjusting the current requested current down to the first current; or determining a first current difference between the actual output current and the current requested current; determining a reduction amplitude of the current requested current based on the first current difference; determining the product of the reduction amplitude and the current requested current as a second current, and adjusting the current requested current down to the second current.

[0019] In the above technical solution, two methods are adopted to reduce the current request current of the vehicle, which can meet different adjustment requirements for the current request current. The first method is to determine the product between the current request current and the first coefficient as the first current, and reduce the current request current to the first current. By setting the preset coefficient (first coefficient) when reducing the current request current once, the current value (first current) to which the current request current should be adjusted can be determined more quickly. The second method is to determine the first current difference between the actual output current and the current request current, and based on the first current difference, determine the reduction amplitude of the current request current. This can more accurately determine the current value (second current) to which the current request current should be adjusted.

[0020] In a second aspect, a device for controlling charging is provided, the device comprising: a detection module, for detecting whether an actual output current of a charging device satisfies a preset charging condition during vehicle charging, the preset charging condition being a condition that a charging current is too large when the vehicle is charged, and the preset charging condition being related to a current requested current of the vehicle; a processing module, for reducing a current requested current of the vehicle when the actual output current satisfies the preset charging condition, and accumulating the number of times the charging current is too large by a first preset value; and a charging module, for continuing to charge the vehicle based on the reduced requested current when the accumulated number is less than a first number threshold.

[0021] In combination with the second aspect, in some possible implementations, the device also includes: a determination module, used to determine the product of the current requested current of the vehicle and a preset coefficient as a current threshold; the detection module, specifically used to detect whether the actual output current of the charging device is greater than the current threshold, and whether the first continuous duration that the actual output current is greater than the current threshold is greater than a first preset duration.

[0022] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the determination module is specifically used to determine the second duration when the actual output current is less than the current threshold when the accumulated number of times is less than the first number threshold; the charging module is specifically used to continue charging the vehicle based on the reduced requested current when the second duration is greater than a second preset time, and the second preset time is greater than the first preset time.

[0023] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the device also includes: an adjustment module, which is used to clear the number of times the current charging current is too large when the second duration is greater than the second preset duration, and restore the requested current after the reduction to the current before the reduction; the charging module is specifically used to continue charging the vehicle based on the current before the reduction.

[0024] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the determination module is also used to determine whether the actual output current of the charging device is stable when the accumulated number of times is the same as the second number threshold and the second duration is less than the second preset duration, and the difference between the first number threshold and the second number threshold is a second preset value; the charging module is also used to: stop charging the vehicle when the actual output current is unstable; or stop charging the vehicle when the accumulated number of times is greater than or equal to the first number threshold.

[0025] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the device also includes: an acquisition module, used to obtain the current remaining power and current temperature of the battery pack in the vehicle, and the current that can be safely carried by multiple electrical devices currently in operation; the determination module is specifically used to: determine the required current of the battery pack based on the current remaining power and the current temperature; and determine the sum of the current that can be safely carried by the multiple electrical devices and the required current as the current requested current of the vehicle.

[0026] In combination with the second aspect and the above-mentioned implementation methods, in some possible implementation methods, the adjustment module is specifically used to: determine the product of the current requested current and the first coefficient as the first current, and adjust the current requested current to the first current; or, determine the first current difference between the actual output current and the current requested current; based on the first current difference, determine the reduction amplitude of the current requested current; determine the product of the reduction amplitude and the current requested current as the second current, and adjust the current requested current to the second current.

[0027] In a third aspect, a charging device is provided, comprising a memory and a processor. The memory is used to store executable program code, and the processor is used to call and run the executable program code from the memory, so that the charging device executes the method in the first aspect or any possible implementation of the first aspect.

[0028] In a fourth aspect, a computer-readable storage medium is provided, which stores an executable program code. When the executable program code runs on a computer, the computer executes the method in the above-mentioned first aspect or any possible implementation of the first aspect. BRIEF DESCRIPTION OF THE DRAWINGS

[0029] Figure 1 It is a schematic diagram of using a charging pile provided in an embodiment of the present application;

[0030] Figure 2 is a schematic flow chart of a method for controlling charging provided in an embodiment of the present application;

[0031] Figure 3 is a schematic diagram of determining a second duration provided by an embodiment of the present application;

[0032] Figure 4 is a schematic diagram of controlling vehicle charging provided by an embodiment of the present application;

[0033] Figure 5 is a structural schematic diagram of a device for controlling charging provided in an embodiment of the present application;

[0034] Figure 6 It is a structural schematic diagram of a vehicle provided in an embodiment of the present application. DETAILED DESCRIPTION

[0035] The technical solution in the present application will be described clearly and in detail below in conjunction with the accompanying drawings. In the description of the embodiments of the present application, unless otherwise specified, " / " means or, for example, A / B can mean A or B: "and / or" in the text is only a description of the association relationship of associated objects, indicating that there can be three relationships, for example, A and / or B can mean: A exists alone, A and B exist at the same time, and B exists alone. In addition, in the description of the embodiments of the present application, "multiple" means two or more than two.

[0036] In the following, the terms "first" and "second" are used for descriptive purposes only and are not to be understood as suggesting or implying relative importance or implicitly indicating the number of technical features indicated. Thus, a feature defined as "first" or "second" may explicitly or implicitly include one or more of the features.

[0037] Figure 1 It is a schematic diagram of using a charging pile provided in an embodiment of the present application.

[0038] For example, Figure 1 As shown, during the charging process of vehicle A, vehicle A can send a request current of the battery pack to charging pile B based on the current state of the battery pack and the charging demand, and charging pile B controls the subsequent output current based on the request current and the current output current of charging pile B. However, the current detection device inside charging pile B has a specific accuracy threshold. When the current deviation between the request current received by charging pile B and the output current is small, charging pile B may not be able to recognize the small current deviation. This causes charging pile B to be unable to accurately control the subsequent output current based on the current deviation, thereby affecting the charging process of vehicle A.

[0039] In view of the above problems, the present application embodiment proposes a method for controlling charging to improve the charging efficiency of the vehicle and the charging experience of the user. The specific steps can be seen as follows: Figure 2 .

[0040] Figure 2 It is a schematic flow chart of a method for controlling charging provided in an embodiment of the present application.

[0041] It should be understood that the method for controlling charging provided in the embodiment of the present application is applied to a charging device (eg Figure 1 The charging pile B shown in the figure), or the method for controlling charging can also be applied to the controller in the charging device.

[0042] For example, Figure 2 As shown, the method 200 includes:

[0043] Step 201, during vehicle charging, the charging device detects whether the actual output current of the charging device meets a preset charging condition, where the preset charging condition is a condition that the charging current is too large when the vehicle is charging, and the preset charging condition is related to the current requested current of the vehicle.

[0044] It should be understood that the "vehicle" in the above step 201 is a vehicle including a battery pack (e.g., a power battery pack). In some embodiments, the vehicle is a hybrid vehicle or a pure electric vehicle. In some embodiments, the hybrid vehicle is a hybrid vehicle or an electric hybrid vehicle, wherein the hybrid vehicle means that the energy source required for the vehicle to operate is provided by fuel and electricity, and the electric hybrid vehicle means that the energy source required for the vehicle to operate is provided by gas fuel (e.g., hydrogen) and electricity.

[0045] It should also be understood that the "vehicle charging process" in the above step 201 includes a fast charging process and a slow charging process. Among them, the fast charging process is also called a DC charging process, which refers to the use of a high-power DC charging device to charge the battery pack in the vehicle. The slow charging process is also called an AC charging process, which refers to the use of an AC power supply to charge the battery pack in the vehicle. Compared with the fast charging process, the slow charging process has a lower charging power and a longer charging time.

[0046] It should also be understood that the "charging device" in the above step 201 refers to a device that provides electrical energy for the operation of the vehicle. In some embodiments, the charging device is a charging robot or a charging pile.

[0047] It should also be understood that the "currently requested current of the vehicle" in the above step 201 refers to the current requested current of the battery pack in the vehicle, specifically the current instruction sent by the battery management system to the charging device according to the state of the battery pack and the current charging demand of the vehicle. The current instruction reflects the maximum charging current that the battery pack can safely accept under the current charging state. In addition, "charging current is too large" is used to indicate that the actual output current transmitted by the charging device to the battery pack in the vehicle is greater than the current requested current of the battery pack.

[0048] In one possible implementation, the charging device in step 201 detects whether the actual output current of the charging device meets the preset charging condition, including: the charging device determines the product of the current requested current of the vehicle and the preset coefficient as the current threshold; the charging device detects whether the actual output current of the charging device is greater than the current threshold, and whether the first continuous duration that the actual output current is greater than the current threshold is greater than a first preset duration.

[0049] It should be understood that the "preset charging condition" in the above scheme is that the actual output current of the charging pile is greater than the current threshold, and the actual output current is greater than the current threshold for a duration greater than the first preset duration. It should also be understood that in order to widen the current deviation between the actual current request current and the actual output current, the preset coefficient is usually greater than 1. In addition, in order to avoid the instability of the current during the charging of the vehicle and the accurate judgment of whether the actual output current meets the preset charging condition, the method takes into account the duration of the actual output current being greater than the current threshold. It should also be understood that when the actual output current of the charging device is greater than the current threshold, and the first duration of the actual output current being greater than the current threshold is greater than the first preset duration, the actual output current meets the preset charging condition.

[0050] In the above technical solution, the method determines the product of the current request current of the vehicle and the preset coefficient as the current threshold, and further detects whether the actual output current of the charging device is greater than the current threshold, and whether the first duration of the actual output current being greater than the current threshold is greater than the first preset duration. That is to say, the preset charging condition is that the actual output current is greater than the current threshold, and the duration of the actual output current being greater than the current threshold is greater than the first preset duration. Among them, the method compares the actual output current with the current threshold instead of directly comparing the actual output current with the current request current. This is because the current threshold may be greater than the current request current. When the actual output current is greater than the current threshold, the actual output current is greater than the current request current. In this way, the current deviation between the actual output current and the current request current is large, and the charging device can accurately control the subsequent output current based on the large current deviation, thereby improving the charging efficiency. In addition, the preset charging condition includes that the duration of the actual output current being greater than the current threshold is greater than the first preset duration, which can avoid the erroneous judgment of excessive charging current due to current instability.

[0051] In some embodiments, the preset coefficient is 1.05, and the first preset time length is 3s.

[0052] In one possible implementation, the method for determining the current requested current of the vehicle in step 201 includes: the charging device obtains the current remaining power and the current temperature of the battery pack in the vehicle, and the current that can be safely carried by multiple electrical devices currently in operation; the charging device determines the required current of the battery pack based on the current remaining power and the current temperature; the charging device determines the sum of the current that can be safely carried by the multiple electrical devices and the required current as the current requested current of the vehicle.

[0053] It should be understood that the "current remaining capacity of the battery pack" in the above solution is the remaining capacity percentage or absolute remaining capacity of the battery pack. The remaining capacity percentage refers to the ratio of the remaining capacity of the battery pack to the total capacity, usually expressed as a percentage. The absolute remaining capacity refers to the actual amount of power that the battery pack can still provide in the current state, usually expressed in milliampere hours or watt hours.

[0054] It should also be understood that the "current that the electrical equipment can safely carry" in the above scheme refers to the current when the electrical equipment can safely and normally operate under specific working conditions, which is usually called the rated current or nominal current. The charging equipment can directly obtain the current that each electrical equipment can safely carry from the power grid management system through network communication technology.

[0055] In the above technical solution, in the process of determining the current requested current of the vehicle, the method takes into account the influence of various factors on the current requested current. Specifically, based on the current remaining power and current temperature of the battery pack in the vehicle, the demand current of the battery pack is accurately determined, taking into account the influence of the battery pack itself on the current requested current. In addition, the current that can be safely carried by multiple electrical devices that are currently in operation in the vehicle is discussed, that is, the method also takes into account the influence of other electrical devices in the vehicle on the current requested current. Therefore, the method can obtain a more accurate current requested current based on the sum of the current that can be safely carried by the multiple electrical devices and the demand current.

[0056] In some embodiments, the multiple electrical devices include at least two of a vehicle air conditioner, a vehicle refrigerator, a navigation device, headlights, a horn, an electric wiper, a seat heater, a seat ventilator, electric doors and windows, an electric rearview mirror, and audio equipment.

[0057] In some embodiments, the charging device obtains the current remaining power and the current temperature of the battery pack in the vehicle, including: when the current remaining power is a percentage of remaining power, the charging device receives the remaining power percentage uploaded by the vehicle, and the remaining power percentage is obtained through the dashboard in the vehicle; when the current remaining power is an absolute remaining power, the charging device receives the absolute remaining power uploaded by the battery management system in the vehicle, and the absolute remaining power is determined based on the remaining power percentage and the number of batteries; the charging device receives the current temperature uploaded by the vehicle, and the current temperature is collected by the temperature sensor built into the battery management system in the vehicle.

[0058] In some embodiments, the method for determining the absolute remaining power includes: determining the absolute remaining power based on the following formula (1);

[0059]

[0060] Among them, Qα is the absolute remaining power, soc α is the remaining power percentage, OCV is the open circuit voltage of the battery, b is the number of batteries, C 1 is the rated capacity of the battery.

[0061] It should be understood that the combination of battery packs in the vehicle includes series connection and / or parallel connection. The above formula (1) describes the absolute remaining power determined when the combination of battery packs is in series connection. Wherein, OCV is the open circuit voltage of a battery, b is the number of batteries in series connection in the battery pack, and C 1 It is the rated capacity of a battery in the battery pack.

[0062] It should also be understood that when the battery pack is connected in parallel, the absolute remaining capacity can be expressed by the following formula (2): Determine, where Q α is the absolute remaining power, soc α is the remaining power percentage, OCV is the open circuit voltage of a battery in the battery pack, c is the number of batteries in parallel in the battery pack, C 1 It is the rated capacity of a battery in the battery pack.

[0063] It should also be understood that when the battery pack is connected in series or in parallel, the vehicle needs to consider whether the battery pack is connected in parallel first and then in series or in series first and then in parallel when determining the absolute remaining capacity of the battery pack. Parallel first and then in series means that multiple batteries are first connected in parallel and then in series with other batteries, and series first and then in parallel means that multiple batteries are first connected in series and then in parallel with other batteries. When the battery pack is connected in parallel first and then in series, the parallel part can be discussed first by formula (2), and then the series part can be further discussed by formula (1). Similarly, the absolute remaining capacity of the battery pack whose combination is first in series and then in parallel can be determined.

[0064] In some embodiments, the current remaining power is a percentage of remaining power, and the charging device determines the required current of the battery pack based on the current remaining power and the current temperature, including: when the current remaining power is less than a first preset percentage and the current temperature is less than a first preset temperature, the charging device determines the current in a first current range as the required current of the battery pack; when the current temperature is greater than the first preset temperature, the charging device determines the current in a second current range as the required current of the battery pack, and the current in the first current range is greater than the current in the second current range; when the current remaining power is greater than a second preset percentage or the current temperature is greater than the second preset temperature, the charging device determines the current in a third current range as the required current of the battery pack, and the current in the second current range is greater than the current in the third current range, the second preset percentage is greater than the first preset percentage, and the second preset temperature is greater than the first preset temperature.

[0065] It should be understood that the "demand current" in the above solution corresponds to three types of currents, specifically the current in the first current range, the current in the second current range and the current in the third current range, which correspond to large current, conventional current and small current respectively.

[0066] In some embodiments, the first preset percentage is 50%, and the second preset percentage is 80%.

[0067] In some embodiments, the first preset temperature is 30°C, and the second preset temperature is 50°C.

[0068] Step 202: When the actual output current meets the preset charging condition, the charging device reduces the current requested current of the vehicle and accumulates the number of times the charging current is too large by a first preset value.

[0069] It should be understood that the "reducing the current request current of the vehicle" in the above step 202 is based on the current request current, and the charging device reduces the current request current, while the current request current transmitted by the vehicle to the charging device remains unchanged. In other words, the charging device only reduces the received current request current, and does not change the actual current request current transmitted by the vehicle.

[0070] It should also be understood that the above steps 201 to 202 are a judgment process of the actual output current of the charging device. When the judgment process indicates that the actual output current meets the preset charging condition, the charging device reduces the current request of the vehicle and adds the first preset value to the original number of times the charging current is too large. The original number of times the charging current is too large may be the cumulative number obtained through multiple judgment processes (involving multiple processes of reducing the request current). Therefore, this method can be considered as a process of gradually (or judgment process by judgment process) reducing the request current.

[0071] In one possible implementation, the charging device in step 202 reduces the current requested by the vehicle, including: the charging device determines the product of the current requested current and a first coefficient as a first current; the charging device reduces the current requested current to the first current; or, the charging device determines a first current difference between the actual output current and the current requested current; the charging device determines a reduction amplitude of the current requested current based on the first current difference; the charging device determines the product of the reduction amplitude and the current requested current as a second current; and the charging device reduces the current requested current to the second current.

[0072] In the above technical solution, two methods are adopted to reduce the current request current of the vehicle, which can meet different adjustment requirements for the current request current. The first method is to determine the product between the current request current and the first coefficient as the first current, and reduce the current request current to the first current. By setting the preset coefficient (first coefficient) when reducing the current request current once, the current value (first current) to which the current request current should be adjusted can be determined more quickly. The second method is to determine the first current difference between the actual output current and the current request current, and based on the first current difference, determine the reduction amplitude of the current request current. This can more accurately determine the current value (second current) to which the current request current should be adjusted.

[0073] In some embodiments, the charging device determines the amount of reduction in the currently requested current based on the first current difference, including: the charging device determines the difference between the actual output current and the first current difference as the second current difference; the charging device determines the ratio of the second current difference to the actual output current as the amount of reduction in the currently requested current.

[0074] In some embodiments, the first coefficient is a fixed coefficient, and the fixed coefficient is 60%.

[0075] In some embodiments, the first coefficient is a variable coefficient, and the difference between the current variable coefficient and the last variable coefficient is a third preset value, and the third preset value is 20%.

[0076] In some embodiments, the first preset value is 1.

[0077] Step 203 : When the accumulated number of times is less than the first number threshold, the charging device continues to charge the vehicle based on the reduced requested current.

[0078] It should be understood that the "accumulated number of times" in the above step 203 can be regarded as the real-time number of times the charging current is too large, that is, the number of times the current charging current is too large.

[0079] In some embodiments, the first number threshold is 3.

[0080] In one possible implementation, step 203 includes: when the accumulated number of times is less than the first number threshold, the charging device determines a second duration when the actual output current is less than the current threshold; when the second duration is greater than a second preset duration, the charging device continues to charge the vehicle based on the reduced request current, and the second preset duration is greater than the first preset duration.

[0081] It should be understood that in the above scheme, the accumulated number of times (i.e., the real-time number of times the charging current is too large) determines that the actual output current is greater than the current threshold. Therefore, the accumulated number of times less than the first number threshold includes two situations: the first one is that the actual output current is less than the current threshold, and the second one is that the actual output current is equal to the current threshold.

[0082] It should also be understood that the "second duration when the actual output current is less than the current threshold" in the above scheme refers to the cumulative duration when the actual output current is less than the current threshold during the entire process from the initial number of times the charging current is too large 0 to the current number of times the charging current is too large.

[0083] It should also be understood that when judging whether the charging device continues to charge the vehicle, since the number of times the charging current is too large describes the number of times the actual output current is greater than the current threshold, the number of times the charging device judges the actual output current is limited. Therefore, the judgment process describes a discrete situation. In order to improve the accuracy of the judgment process, the above scheme introduces the judgment of the second duration to describe the situation where the real-time number of times the charging current is too large is long. In addition, "the second duration when the accumulated number is less than the first number threshold and the actual output current is less than the current threshold is greater than the second preset duration", indicating that the real-time number of times the charging current is too large has been maintained at a state less than the first number threshold for a long time, and maintained in a better charging state. Therefore, the charging device can continue to charge the vehicle, requiring that the second duration is greater than the second preset duration.

[0084] It should also be understood that when determining whether the actual output current satisfies the preset charging condition for a single time, it can be determined whether the duration for which the actual output current is greater than the current threshold is greater than the first preset duration. Since the single determination process describes the actual output current in a short period of time, the above scheme assumes that the second preset duration is greater than the first preset duration.

[0085] In the above technical solution, the preset charging condition in the method is that the actual output current is greater than the current threshold, and the actual output current is greater than the current threshold for a duration greater than the first preset duration. The situation of "the accumulated number of times is less than the first number threshold" may be mostly contributed by the actual output current being equal to the current threshold, and the duration of the actual output current being equal to the current threshold. The method determines the second duration when the actual output current is less than the current threshold, and clarifies the contribution of the second duration when the actual output current is less than the current threshold to the situation. When the second duration is greater than the second preset duration, the method continues to charge the vehicle based on the reduced request current. This can avoid the situation where the actual number of times the charging current is too large exceeds the first number threshold when the current is unstable, which is caused by the critical situation (the actual output current is equal to the current threshold, and the duration of the actual output current is equal to the current threshold). Therefore, the method can reduce the number of damages to the battery pack in the vehicle.

[0086] In some embodiments, the second preset time length is 10s.

[0087] Figure 3 This is a schematic diagram of determining a second duration provided in an embodiment of the present application.

[0088] It should be understood that during the vehicle charging process, the actual output current of the charging device can be detected multiple times to determine whether the actual output current meets the preset charging conditions. Figure 3 As shown, taking each judgment process lasting 3s and the initial number of times the charging current is too large as 0 as an example, the determination process of the second duration is described. In the first judgment process, it is concluded that the actual output current is less than the current threshold value, and the duration is 3s, and the real-time number of times the charging current is too large is 0; in the second judgment process, it is concluded that the actual output current is greater than the current threshold value, and the duration is 3s, and the real-time number of times the charging current is too large is 1; in the third judgment process, it is concluded that the actual output current is greater than the current threshold value, and the duration is 3s, and the real-time number of times the charging current is too large is 2; in the fourth judgment process, it is concluded that the actual output current is less than the current threshold value, and the duration is 3s, and the real-time number of times the charging current is too large is 2; in the fifth judgment process, it is concluded that the actual output current is equal to the current threshold value, and the duration is 3s, and the real-time number of times the charging current is too large is 2; in the sixth judgment process, it is concluded that the actual output current is less than the current threshold value, and the duration is 3s, and the real-time number of times the charging current is too large is 2.

[0089] Based on the above multiple judgment processes, the charging device determines that the second duration when the actual output current is less than the current threshold is 9s (3s for the first time, 3s for the fourth time, and 3s for the sixth time).

[0090] When the second preset time length is 10 seconds, the determination process of the actual output current may continue to be performed to determine whether the second duration is greater than the second preset time length.

[0091] In some embodiments, the charging device continues to charge the vehicle based on the reduced request current, including: the charging device obtains the maximum output current of the charging device; when the reduced request current is less than the maximum output current, the charging device continues to charge the vehicle with the reduced request current; when the reduced request current is less than or equal to the maximum output current, the charging device continues to charge the vehicle with the maximum output current.

[0092] It should be understood that the "maximum output current" in the above scheme is closely related to the design power of the charging equipment. The design power refers to the maximum power output that the charging equipment can provide under rated operating conditions. The greater the design power, the greater the maximum output current that the charging equipment can provide. In some embodiments, the maximum output current of a 7kW AC charging pile is 32A, and the maximum output current of a 120kW DC charging pile is 300A.

[0093] In the above technical solution, when controlling the process of charging the vehicle, the charging device obtains the maximum output current of the charging device. Furthermore, when the request current after being adjusted down is less than the maximum output current, the vehicle continues to be charged with the request current after being adjusted down. In this way, the vehicle can be charged with the current required by the battery pack, which can prevent damage to the battery pack caused by excessive current and extend the life of the battery pack. When the request current after being adjusted down is less than or equal to the maximum output current, the vehicle continues to be charged with the maximum output current. In this way, the charging resources available to the charging device can be maximized, the charging time can be reduced, and the charging efficiency can be improved. At the same time, the method can overcome the limitation of the output current of the charging device to a certain extent, especially when the current of the public charging device is limited, and the vehicle can be charged at a faster speed.

[0094] In one possible implementation, when the second duration is greater than the second preset duration, the charging device continues to charge the vehicle based on the reduced request current, including: when the second duration is greater than the second preset duration, the charging device clears the number of times the current charging current is too large and restores the reduced request current to the current before the reduction; the charging device continues to charge the vehicle based on the current before the reduction.

[0095] It should be understood that in the above scheme, "clearing the current number of times the charging current is too large" means changing the current number of times the charging current is too large to zero. "The second duration when the accumulated number is less than the first number threshold and the actual output current is less than the current threshold is greater than the second preset duration", indicating that the real-time number of times the charging current is too large has been maintained at a state less than the first number threshold for a long time, maintaining a better charging state. At this time, the real-time number of times the charging current is too large has no judgment significance for whether to reduce the current requested current or continue to charge the vehicle during the vehicle charging process. Therefore, the current number of times the charging current is too large can be cleared.

[0096] It should also be understood that "restoring the reduced request current to the current before reduction" in the above solution means modifying the reduced request current to the current before the first reduction of the request current, that is, the request current before modification.

[0097] It should also be understood that the process of "the charging device continues to charge the vehicle based on the current before the reduction" in the above scheme is similar to the process of "the charging device continues to charge the vehicle based on the requested current after the reduction", which will not be repeated here.

[0098] In the above technical solution, when the accumulated number is less than the first number threshold, the second duration when the actual output current is less than the current threshold is determined; when the second duration is greater than the second preset duration, it indicates that the current number of excessive charging currents is small, and the number is small for a long time, and the current charging process is relatively stable. Therefore, the method clears the current number of excessive charging currents, which can re-control the vehicle charging process. In addition, the request current after the reduction is restored to the current before the reduction, which enables the charging device to control the output current of the charging device with a larger request current during the stable charging process, thereby enabling the vehicle to be charged with a larger charging current. Therefore, the method can improve the charging efficiency.

[0099] In one possible implementation, the method 200 also includes: when the accumulated number of times is the same as the second number threshold and the second duration is less than the second preset duration, the charging device determines whether the actual output current of the charging device is stable, and the difference between the first number threshold and the second number threshold is a second preset value; when the actual output current is unstable, the charging device stops charging the vehicle; or, when the accumulated number of times is greater than or equal to the first number threshold, the charging device stops charging the vehicle.

[0100] It should be understood that in the above scheme, "the second duration is less than the second preset duration" may indicate that the real-time number of times the charging current is too large is maintained at a state less than the first number threshold for a short period of time, and it is impossible to further determine whether the charging state is better. It is possible that this state of being maintained at a state less than the first number threshold for a short period of time is caused by current instability. Therefore, the above scheme determines whether the actual output current is stable. "Whether the actual output current of the charging device is stable" refers to whether the change of the actual output current is maintained within a small fluctuation.

[0101] In the above technical solution, when the accumulated number is the same as the second number threshold and the second continuous duration is less than the second preset duration, it indicates that the current charging current is too large for a small number of times and is in a small number of times for a short time, and the current charging process may not be stable. Therefore, the method determines whether the actual output current of the charging device is stable, and stops charging the vehicle when the actual output current is unstable. This can avoid the harm of increasing the thermal stress of the battery pack, accelerating the aging of the battery pack, and shortening the life of the battery pack by charging the vehicle when the output current is unstable. Alternatively, when the accumulated number is greater than or equal to the first number threshold, stop charging the vehicle. This can avoid irreversible damage to the battery pack by continuously charging the vehicle with an excessively large charging current when the number of charging currents is too large.

[0102] In some embodiments, the second numerical threshold is 2, and the second preset value is 1.

[0103] In some embodiments, the charging device determines whether the actual output current of the charging device is stable, including: when the weather temperature of the external environment is within a preset temperature range, obtaining N actual output currents of the charging device within a preset time period, N being a positive integer greater than 1; the charging device determines the average current of the N actual output currents; the charging device determines the variance of the N actual output currents based on the N actual output currents and the average current; when the variance is greater than or equal to the preset variance, the charging device determines that the actual output current of the charging device is unstable; when the variance is less than the preset variance, the charging device determines that the actual output current of the charging device is stable.

[0104] It should be understood that the "variance of the N actual output currents" in the above solution refers to the degree of deviation of the N actual output currents from the mathematical expectation (average current). It should also be understood that in the above solution, when the weather temperature of the external environment is within the preset temperature range, the actual output current is detected to be stable in order to eliminate the interference of environmental factors.

[0105] In some embodiments, the charging device determines the variance of the N actual output currents based on the N actual output currents and the average current, including: the charging device determines the variance of the N actual output currents based on the following formula (3);

[0106]

[0107] Among them, S 2 is the variance of the N actual output currents, N is the number of actual output currents, x n is the nth actual output current among N actual output currents, and x is the average current.

[0108] Figure 4 It is a schematic diagram of controlling vehicle charging provided in an embodiment of the present application.

[0109] For example, taking each judgment process lasting 3 seconds, the initial number of excessive charging current being 0 and the second preset time being 10, and the first number threshold being 3 as an example, during the vehicle charging process, the actual output current of the charging device is detected multiple times to determine whether the actual output current meets the preset charging conditions, thereby controlling the vehicle charging process.

[0110] Specifically, if Figure 4 As shown in (a), in the first judgment process, it is concluded that the actual output current is greater than the current threshold and lasts for 3s, and the real-time number of excessive charging current is 1; in the second judgment process, it is concluded that the actual output current is greater than the current threshold and lasts for 3s, and the real-time number of excessive charging current is 2; in the third judgment process, it is concluded that the actual output current is equal to the current threshold and lasts for 3s, and the real-time number of excessive charging current is 2; in the fourth judgment process, it is concluded that the actual output current is less than the current threshold and lasts for 3s, and the real-time number of excessive charging current is 2; in the fifth judgment process, it is concluded that the actual output current is greater than the current threshold and lasts for 3s, and the real-time number of excessive charging current is 3. The charging device determines that the real-time number 3 of excessive charging current (i.e., the accumulated number) is not less than the first number threshold, and stops charging the vehicle.

[0111] like Figure 4As shown in (b), in the first judgment process, it is concluded that the actual output current is less than the current threshold and lasts for 3s, and the real-time number of times the charging current is too large is 0; in the second judgment process, it is concluded that the actual output current is greater than the current threshold and lasts for 3s, and the real-time number of times the charging current is too large is 1; in the third judgment process, it is concluded that the actual output current is greater than the current threshold and lasts for 3s, and the real-time number of times the charging current is too large is 2; in the fourth judgment process, it is concluded that the actual output current is less than the current threshold and lasts for 3s, and the real-time number of times the charging current is too large is 2; in the fifth judgment process, it is concluded that the actual output current is equal to the current threshold and lasts for 3s, and the real-time number of times the charging current is too large is 2; in the sixth judgment process, it is concluded that the actual output current is less than the current threshold and lasts for 3s, and the real-time number of times the charging current is too large is 2; in the seventh judgment process, it is concluded that the actual output current is less than the current threshold and lasts for 3s, and the real-time number of times the charging current is too large is 2. The charging device determines that the real-time number 2 of excessive charging current (i.e., the accumulated number) is less than the first number threshold, and the duration (12s) of the actual output current being less than the current threshold is greater than the second preset duration, and continues to charge the vehicle. At the same time, the charging device can clear the accumulated number (M) to zero.

[0112] Figure 5 It is a structural schematic diagram of a device for controlling charging provided in an embodiment of the present application.

[0113] For example, Figure 5 As shown, the device 500 includes:

[0114] Detection module 501: used to detect whether the actual output current of the charging device meets the preset charging condition during the vehicle charging process, where the preset charging condition is a condition that the charging current of the vehicle is too large, and the preset charging condition is related to the current requested current of the vehicle;

[0115] Processing module 502: configured to reduce the current requested current of the vehicle when the actual output current meets the preset charging condition, and accumulate the number of times the charging current is too large by a first preset value;

[0116] The charging module 503 is configured to continue charging the vehicle based on the reduced requested current when the accumulated number of times is less than the first number threshold.

[0117] Optionally, the device 500 also includes: a determination module, used to determine the product of the current requested current of the vehicle and a preset coefficient as a current threshold; the detection module 501, specifically used to detect whether the actual output current of the charging device is greater than the current threshold, and whether the first continuous duration that the actual output current is greater than the current threshold is greater than a first preset duration.

[0118] Optionally, the determination module is specifically used to determine a second duration when the actual output current is less than the current threshold when the accumulated number of times is less than the first number threshold; the charging module 503 is specifically used to continue charging the vehicle based on the reduced requested current when the second duration is greater than a second preset time, and the second preset time is greater than the first preset time.

[0119] Optionally, the device 500 also includes: an adjustment module, which is used to reset the number of times the current charging current is too large to zero and restore the requested current after the reduction to the current before the reduction when the second duration is greater than the second preset duration; the charging module 503 is specifically used to continue charging the vehicle based on the current before the reduction.

[0120] Optionally, the determination module is further used to determine whether the actual output current of the charging device is stable when the accumulated number of times is the same as the second number threshold and the second duration is less than the second preset duration, and the difference between the first number threshold and the second number threshold is a second preset value; the charging module 503 is also used to: stop charging the vehicle when the actual output current is unstable; or stop charging the vehicle when the accumulated number of times is greater than or equal to the first number threshold.

[0121] Optionally, the device 500 also includes: an acquisition module, used to obtain the current remaining power and current temperature of the battery pack in the vehicle, and the current that can be safely carried by multiple electrical devices currently in operation; the determination module is specifically used to: determine the required current of the battery pack based on the current remaining power and the current temperature; and determine the sum of the current that can be safely carried by the multiple electrical devices and the required current as the current requested current of the vehicle.

[0122] Optionally, the adjustment module is specifically used to: determine the product of the current requested current and the first coefficient as the first current, and adjust the current requested current to the first current; or determine the first current difference between the actual output current and the current requested current; determine the reduction amplitude of the current requested current based on the first current difference; determine the product of the reduction amplitude and the current requested current as the second current, and adjust the current requested current to the second current.

[0123] Figure 6 It is a structural schematic diagram of a charging device provided in an embodiment of the present application.

[0124] For example, Figure 6As shown, the charging device 600 includes: a memory 601 and a processor 602, wherein the memory 601 stores an executable program code 603, and the processor 602 is used to call and execute the executable program code 603 to perform a method for controlling charging.

[0125] In addition, an embodiment of the present application also protects a device, which may include a memory and a processor, wherein the memory stores an executable program code, and the processor is used to call and execute the executable program code to perform a method for controlling charging provided in an embodiment of the present application.

[0126] In this embodiment, the functional modules of the device can be divided according to the above method example. For example, each functional module can be corresponded, or two or more functions can be integrated into one processing module. The above integrated module can be implemented in the form of hardware. It should be noted that the division of modules in this embodiment is schematic and is only a logical function division. There may be other division methods in actual implementation.

[0127] In the case of dividing each functional module according to each function, the device may also include a detection module, a processing module, a charging module, an acquisition module, a determination module, an adjustment module, etc. It should be noted that all relevant contents involved in the above method embodiment can be referred to the functional description of the corresponding functional module, which will not be repeated here.

[0128] It should be understood that the device provided in this embodiment is used to execute the above-mentioned method for controlling charging, and thus can achieve the same effect as the above-mentioned implementation method.

[0129] In the case of an integrated unit, the device may include a processing module and a storage module. When the device is applied to a charging device, the processing module may be used to control and manage the actions of the charging device. The storage module may be used to support the charging device to execute related executable program codes, etc.

[0130] The processing module may be a processor or a controller, which may implement or execute various exemplary logic blocks, modules and circuits shown in conjunction with the disclosure of the present application. The processor may also be a combination that implements computing functions, such as a combination of one or more microprocessors, a combination of digital signal processing (DSP) and a microprocessor, etc. The storage module may be a memory.

[0131] In addition, the device provided in the embodiments of the present application may specifically be a chip, a component or a module, and the chip may include a connected processor and a memory; wherein the memory is used to store instructions, and when the processor calls and executes the instructions, the chip can execute a method for controlling charging provided in the above embodiments.

[0132] This embodiment also provides a computer-readable storage medium, in which executable program code is stored. When the executable program code is run on a computer, the computer executes the above-mentioned related method steps to implement a method for controlling charging provided in the above embodiment.

[0133] This embodiment also provides a computer program product. When the computer program product is run on a computer, the computer is caused to execute the above-mentioned related steps to implement a method for controlling charging provided in the above embodiment.

[0134] Among them, the device, computer-readable storage medium, computer program product or chip provided in this embodiment is used to execute the corresponding method provided above. Therefore, the beneficial effects that can be achieved can refer to the beneficial effects in the corresponding method provided above, and will not be repeated here.

[0135] Through the description of the above implementation methods, technical personnel in the relevant field can understand that for the convenience and simplicity of description, only the division of the above-mentioned functional modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional modules as needed, that is, the internal structure of the device can be divided into different functional modules to complete all or part of the functions described above.

[0136] In the embodiments provided in the present application, it should be understood that the disclosed devices and methods can be implemented in other ways. For example, the device embodiments described above are only schematic, for example, the division of modules or units is only a logical function division, and there may be other division methods in actual implementation, such as multiple units or components can be combined or integrated into another device, or some features can be ignored or not executed. Another point is that the mutual coupling or direct coupling or communication connection shown or discussed can be through some interfaces, indirect coupling or communication connection of devices or units, which can be electrical, mechanical or other forms.

[0137] The above contents are only specific implementation methods of the present application, but the protection scope of the present application is not limited thereto. Any technician familiar with the technical field can easily think of changes or substitutions within the technical scope disclosed in the present application, which should be included in the protection scope of the present application. Therefore, the protection scope of the present application should be based on the protection scope of the claims.

Claims

1. A method for controlling charging, characterized in that: The method comprises: During the process of charging the vehicle, detecting whether the actual output current of the charging device meets a preset charging condition, wherein the preset charging condition is a condition that the charging current is too large when the vehicle is charged, and the preset charging condition is related to the current requested current of the vehicle; When the actual output current satisfies the preset charging condition, the current requested current of the vehicle is reduced, and the number of times the charging current is too large is accumulated by a first preset value; When the accumulated number of times is less than the first number threshold, the vehicle continues to be charged based on the reduced requested current.

2. The method according to claim 1, characterized in that The detecting whether the actual output current of the charging device meets the preset charging condition includes: determining the product of the current requested current of the vehicle and a preset coefficient as a current threshold; It is detected whether the actual output current of the charging device is greater than the current threshold, and whether a first continuous time duration during which the actual output current is greater than the current threshold is greater than a first preset time duration.

3. The method according to claim 2, characterized in that When the accumulated number of times is less than the first number threshold, the vehicle is continued to be charged based on the reduced requested current, including: When the accumulated number of times is less than the first number threshold, determining a second duration when the actual output current is less than the current threshold; When the second continuous time is longer than a second preset time, the vehicle continues to be charged based on the reduced requested current, and the second preset time is longer than the first preset time.

4. The method according to claim 3, characterized in that When the second duration is greater than a second preset duration, the vehicle is continuously charged based on the reduced requested current, including: When the second duration is greater than the second preset duration, the number of times the current charging current is too large is reset to zero, and the requested current after the reduction is restored to the current before the reduction; The vehicle continues to be charged based on the current before being reduced.

5. The method according to claim 3, characterized in that: The method further comprises: When the accumulated number of times is the same as the second number threshold and the second duration is less than the second preset duration, determining whether the actual output current of the charging device is stable, and the difference between the first number threshold and the second number threshold is a second preset value; When the actual output current is unstable, stopping charging the vehicle; or, When the accumulated number of times is greater than or equal to the first number threshold, charging the vehicle is stopped.

6. The method according to any one of claims 1 to 5, characterized in that The method for determining the current requested current of the vehicle includes: Obtaining the current remaining power and current temperature of the battery pack in the vehicle, and the current that can be safely carried by multiple electrical devices currently in operation; Determining a required current of the battery pack based on the current remaining power and the current temperature; The sum of the currents that can be safely carried by the multiple electrical devices and the demand current is determined as the current request current of the vehicle.

7. The method according to any one of claims 1 to 5, characterized in that The step of reducing the current request current of the vehicle comprises: Determine the product of the current requested current and the first coefficient as the first current, and adjust the current requested current to the first current; or, determining a first current difference between the actual output current and the current requested current; determining a reduction amplitude of the currently requested current based on the first current difference; The product of the reduction amplitude and the current requested current is determined as a second current, and the current requested current is reduced to the second current.

8. A device for controlling charging, characterized in that: The device comprises: A detection module, used to detect whether the actual output current of the charging device meets a preset charging condition during the charging process of the vehicle, wherein the preset charging condition is a condition that the charging current is too large when the vehicle is charged, and the preset charging condition is related to the current requested current of the vehicle; a processing module, configured to reduce the current requested current of the vehicle when the actual output current satisfies the preset charging condition, and accumulate the number of times the charging current is too large by a first preset value; The charging module is used to continue charging the vehicle when the accumulated number of times is less than a first number threshold.

9. A charging device, characterized in that: The charging device comprises: A memory for storing executable program codes; A processor, configured to call and run the executable program code from the memory, so that the charging device executes the method according to any one of claims 1 to 7.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores an executable program code, and when the executable program code is executed, the method according to any one of claims 1 to 7 is implemented.