Vehicle charging method, electronic device and storage medium

By obtaining the maximum charging voltage, current, and total energy of the power battery pack, and controlling the AC and DC charging guns to charge the battery pack simultaneously, the problem of low charging efficiency in existing technologies is solved, and a more efficient charging method is achieved.

CN118636733BActive Publication Date: 2024-11-19CHENGDU CELIS TECH CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411118246.9
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2024-08-15
Publication Date
2024-11-19
Estimated Expiration
2044-08-15

AI Technical Summary

Technical Problem

Existing electric vehicle charging port designs result in low charging efficiency, failing to effectively utilize AC and DC power, leading to wasted charging infrastructure and slow charging speeds.

Method used

By responding to the AC and DC charging signals from the on-board charger, the maximum charging voltage, current, and total energy of the power battery pack are obtained. Combined with the current from the AC and DC charging guns, the system controls both to charge the battery pack simultaneously, achieving a reasonable distribution of current and voltage.

Benefits of technology

It improves charging efficiency, avoids the slow charging speed and structural waste caused by using AC or DC charging guns alone, and effectively utilizes different charging ports and charging guns, thereby improving charging efficiency and user experience.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118636733B_ABST
    Figure CN118636733B_ABST
Patent Text Reader

Abstract

The present application provides a vehicle charging method, electronic device and storage medium, the method comprising: in response to the AC and DC common charging signals triggered by the vehicle charger, obtaining the maximum charging voltage, maximum charging current, total charging energy and current power of the power battery pack; obtaining the first charging current of the AC charging gun and the second charging current of the DC charging gun; according to the maximum charging voltage, the maximum charging current, the total charging energy, the current power, the first charging current and the second charging current, determining the first output current of the AC charging gun and the second output current of the DC charging gun, and controlling the AC charging gun and / or the DC charging gun to charge the power battery pack. Through the technical solution of the present application, the effect of the AC charging gun and the DC charging gun charging the power battery pack at the same time is achieved, and the charging efficiency is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present application relates to the field of vehicle control technology, and in particular to a vehicle charging method, electronic equipment and storage medium. Background Art

[0002] In the development of electric vehicles, charging speed restricts the development of electric vehicles. With the continuous improvement of battery capacity and technology, the requirements for charging current are also increasing.

[0003] At present, the AC charging port and DC charging port of existing electric vehicles are in the form of different numbers of interface harness pins. When charging, you can choose DC charging or AC charging, which will cause waste in the charging structure of the electric vehicle and the problem of not being able to fully utilize AC and DC power, making it difficult to effectively improve the charging efficiency. Summary of the invention

[0004] In view of the above-mentioned defects or deficiencies in the prior art, the present application aims to provide a vehicle charging method, an electronic device and a storage medium, so as to achieve the effect of charging the power battery pack with an AC charging gun and a DC charging gun at the same time, thereby improving the charging efficiency.

[0005] The present application provides a vehicle charging method, the method comprising:

[0006] In response to the AC and DC co-charging signals triggered by the on-board charger, the maximum charging voltage, maximum charging current, total charging energy and current power of the power battery pack are obtained;

[0007] Obtaining a first charging current of an AC charging gun and a second charging current of a DC charging gun;

[0008] According to the maximum charging voltage, the maximum charging current, the total charging energy, the current power, the first charging current and the second charging current, the first output current of the AC charging gun and the second output current of the DC charging gun are determined, and the AC charging gun and / or the DC charging gun are controlled to charge the power battery pack.

[0009] According to the technical solution provided in the embodiment of the present application, optionally, determining the first output current of the AC charging gun and the second output current of the DC charging gun according to the maximum charging voltage, the maximum charging current, the total charging energy, the current power, the first charging current, and the second charging current, and controlling the AC charging gun and / or the DC charging gun to charge the power battery pack includes:

[0010] taking the sum of the first charging current and the second charging current as a charging current sum value, and determining whether the charging current sum value is greater than the maximum charging current;

[0011] When the charging current sum is greater than the maximum charging current, determining a first output current of the AC charging gun and a second output current of the DC charging gun according to the current power level, the power level threshold, the first charging current, and the second charging current;

[0012] Based on the maximum charging voltage, controlling the first output current output by the AC charging gun to charge the power battery pack after being rectified by the on-board charger, and / or controlling the DC charging gun to output the second output current to charge the power battery pack;

[0013] Update the current power level, and return to execute the operation of determining the first output current of the AC charging gun and the second output current of the DC charging gun based on the current power level, the power level threshold, the first charging current, and the second charging current, until the real-time energy supplied to the power battery pack reaches the total charging energy.

[0014] According to the technical solution provided in the embodiment of the present application, optionally, the power threshold includes a first power threshold, and determining the first output current of the AC charging gun and the second output current of the DC charging gun according to the current power, the power threshold, the first charging current, and the second charging current includes:

[0015] When the current power level is less than or equal to the first power level threshold, determining whether the second charging current is greater than or equal to the maximum charging current;

[0016] If so, the maximum charging current is determined as the second output current, and the first output current is determined as 0; if not, the second charging current is determined as the second output current, and the difference between the maximum charging current and the second output current is determined as the first output current.

[0017] According to the technical solution provided in the embodiment of the present application, optionally,

[0018] The power threshold further includes a second power threshold, and the second power threshold is greater than the first power threshold; and determining the first output current of the AC charging gun and the second output current of the DC charging gun according to the current power, the power threshold, the first charging current, and the second charging current, further includes:

[0019] When the current power level is greater than the first power level threshold and less than or equal to the second power level threshold, determining whether the first charging current is greater than or equal to the maximum charging current;

[0020] If yes, the maximum charging current is determined as the first output current, and the second output current is determined as 0; if no, the first charging current is determined as the first output current, and the difference between the maximum charging current and the first output current is determined as the second output current;

[0021] When the current power level is greater than the second power level threshold, the minimum value between the first charging current and the maximum charging current is determined as the first output current, and the second output current is determined as zero.

[0022] According to the technical solution provided in the embodiment of the present application, optionally, after taking the sum of the first charging current and the second charging current as the charging current sum value and judging whether the charging current sum value is greater than the maximum charging current, the method further includes:

[0023] When the charging current sum is less than the maximum charging current, the first output current is determined as the first charging current, and the second output current is determined as the second charging current or zero.

[0024] According to the technical solution provided in the embodiment of the present application, optionally, it also includes:

[0025] In response to a charging signal from an on-board charger, obtaining a battery voltage;

[0026] In response to receiving a battery charging signal and / or the battery voltage being less than a first voltage threshold, determining whether the battery voltage is less than or equal to a second voltage threshold; wherein the first voltage threshold is less than the second voltage threshold;

[0027] If yes, charging the battery based on the on-board charger and charging the battery based on the power battery pack via the DC converter, updating the battery voltage, and returning to execute the operation of determining whether the battery voltage is less than or equal to the second voltage threshold;

[0028] If not, the battery is charged based on the on-board charger until the battery is fully charged.

[0029] According to the technical solution provided in the embodiment of the present application, optionally, obtaining the total charging energy of the power battery pack includes:

[0030] Obtain the operating voltage, operating current and continuous discharge time of the power battery pack;

[0031] Determining a discharge capacity of a battery according to the operating current and the continuous discharge time;

[0032] The total charging energy is determined according to the battery discharge capacity and the maximum charging voltage.

[0033] According to the technical solution provided in the embodiment of the present application, optionally, the DC charging gun, the AC charging gun, the on-board charger, the vehicle controller and the battery management system communicate with each other based on an extensible service-oriented communication protocol, and the extensible service-oriented communication protocol includes an extensible service-oriented communication message, and the extensible service-oriented communication message includes a message header and message data, and the message header includes a server confirmation identifier and a client request identifier, and the message data includes a client address, a server address list, a service priority, additional information and data content, and the additional information includes charging status, charging status monitoring, AC / DC priority charging selection, DC charging percentage and AC charging percentage.

[0034] The present application also provides an electronic device, the electronic device comprising:

[0035] Processor and memory;

[0036] The processor is used to execute the steps of the vehicle charging method as described in any embodiment by calling the program or instruction stored in the memory.

[0037] An embodiment of the present application also provides a computer-readable storage medium, which stores a program or instruction, and the program or instruction enables a computer to execute the steps of the vehicle charging method as described in any embodiment.

[0038] In summary, the present application proposes a vehicle charging method, which obtains the maximum charging voltage, maximum charging current, total charging energy and current power of a power battery pack in response to the AC and DC common charging signals triggered by the on-board charger, and obtains the first charging current of the AC charging gun and the second charging current of the DC charging gun, so as to plan how to use the AC charging gun and the DC charging gun for common charging. Furthermore, according to the maximum charging voltage, maximum charging current, total charging energy, current power, first charging current and second charging current, the first output current of the AC charging gun and the second output current of the DC charging gun are determined, and the AC charging gun and / or the DC charging gun are controlled to charge the power battery pack, so that the AC charging gun and the DC charging gun can charge the power battery pack at the same time, thereby improving the charging efficiency. Compared with the prior art, the present application avoids the problem of slow charging speed caused by using an AC charging gun alone or a DC charging gun alone and the problem of design waste in the charging structure, effectively utilizes different charging ports and charging guns, and improves the charging efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0039] Figure 1 is a flow chart of a vehicle charging method provided in an embodiment of the present application;

[0040] Figure 2 This is a schematic diagram of a SOME / IP communication message format based on an Ethernet transport layer provided in an embodiment of the present application;

[0041] Figure 3 This is a schematic diagram of SOME / IP data provided by an embodiment of the present application;

[0042] Figure 4 This is a data flow diagram of a vehicle charging method provided in an embodiment of the present application;

[0043] Figure 5 This is a data flow diagram of another vehicle charging method provided in an embodiment of the present application;

[0044] Figure 6 It is a schematic diagram of a module structure corresponding to a vehicle charging method provided in an embodiment of the present application;

[0045] Figure 7 is a flow chart of another vehicle charging method provided in an embodiment of the present application;

[0046] Figure 8 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION

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

[0048] It should be noted that, in the absence of conflict, the embodiments and features in the embodiments of the present application can be combined with each other. The present application will be described in detail below with reference to the accompanying drawings and in combination with the embodiments.

[0049] The vehicle charging method provided in the embodiment of the present invention is mainly applicable to the case where an AC charging gun and a DC charging gun are used to charge a vehicle together. The vehicle charging method provided in the embodiment of the present invention can be executed by an electronic device.

[0050] Figure 1 is a flow chart of a vehicle charging method provided by an embodiment of the present application. Figure 1 , the vehicle charging method specifically includes:

[0051] S110 , in response to the AC and DC common charging signals triggered by the on-board charger, obtaining the maximum charging voltage, maximum charging current, total charging energy, and current power of the power battery pack.

[0052] Among them, the onboard charger (OBC) is used to receive the plug-in signal, determine the type of charging gun, that is, DC charging gun or AC charging gun, and is also used to rectify AC power into DC power. The AC and DC co-charging signal is a signal that detects that the AC charging gun and the DC charging gun are plugged in at the same time and can be charged. The maximum charging voltage is the maximum charging voltage that the power battery pack can withstand. The maximum charging current is the maximum charging current that the power battery pack can withstand. The total charging energy is the energy required to charge the power battery pack. The current power is the current remaining power of the power battery pack.

[0053] Specifically, when receiving the AC and DC co-charging signal triggered by the on-board charger, it can be determined that the DC charging gun and the AC charging gun are inserted at the same time, and the power battery pack can be charged using AC alone, DC alone, or both AC and DC. In addition, the current power of the power battery pack can be obtained based on equipment such as BMS, and the maximum charging voltage, maximum charging current, and total charging energy of the power battery pack need to be obtained for subsequent charging control, where the maximum charging voltage and maximum charging current are inherent properties of the power battery pack, and the total charging energy can be calculated and obtained based on the current power or discharge situation analysis.

[0054] Optionally, in response to an AC charging signal triggered by the on-board charger, it means that only the AC charging gun is inserted, and therefore, the power battery pack is charged using AC power alone; in response to a DC charging signal triggered by the on-board charger, it means that only the AC charging gun is inserted, and therefore, the power battery pack is charged using DC power alone.

[0055] S120, obtaining a first charging current of the AC charging gun and a second charging current of the DC charging gun.

[0056] The first charging current is the maximum charging current that can be provided by the AC charging gun, and the second charging current is the maximum charging current that can be provided by the DC charging gun.

[0057] Specifically, since the first charging current is pre-calibrated information of the AC charging gun and the second charging current is pre-calibrated information of the DC charging gun, when it is detected that the AC charging gun is plugged in, the first charging current can be obtained from the AC charging gun. Similarly, when it is detected that the DC charging gun is plugged in, the second charging current can be obtained from the DC charging gun.

[0058] S130. Determine a first output current of the AC charging gun and a second output current of the DC charging gun according to the maximum charging voltage, the maximum charging current, the total charging energy, the current power, the first charging current, and the second charging current, and control the AC charging gun and / or the DC charging gun to charge the power battery pack.

[0059] Among them, the first output current is the current when charging with an AC charging gun. It can be understood that the first output current is greater than or equal to 0 and less than or equal to the first charging current. The second output current is the current when charging with a DC charging gun. It can be understood that the second output current is greater than or equal to 0 and less than or equal to the second charging current.

[0060] Specifically, according to the current power, different allocation methods can be distinguished to allocate the first charging current and the second charging current based on the maximum charging current. For example, the first charging current of the first proportion is the first output current, and the second charging current of the second proportion is the second output current. The sum of the two cannot be greater than the maximum charging current. Then, based on the maximum charging voltage and the first output current obtained after allocation, the AC charging gun is controlled to charge the power battery pack, and based on the maximum charging voltage and the second output current obtained after allocation, the DC charging gun is controlled to charge the power battery pack, so that the energy value of the charging reaches the total charging energy, and the charging of the power battery pack is completed. Among them, the first output current obtained after allocation and the second output current obtained after allocation can be 0, but cannot both be 0.

[0061] When the VDC (Vehicle Domain Controller) detects that the vehicle is in the ready state or charging state, when it detects that the battery voltage is too low, for example: less than the preset voltage (such as 9.5V), the battery low voltage signal will be transmitted to the vehicle's VDC, and VDC will send an enable signal to the DCDC (Direct Current-Direct Current, DC converter), and DCDC will convert the high-voltage DC power transmitted from the power battery pack into low-voltage DC power (such as 12V) for charging. During the DCDC operation process, VDC can adjust the output power in real time according to the feedback of the battery voltage.

[0062] Based on the above example, different strategies can be used to charge the battery according to different power levels of the battery. Specifically, the strategies may be:

[0063] In response to a charging signal from an on-board charger, obtaining a battery voltage;

[0064] In response to receiving a battery charging signal and / or the battery voltage being less than a first voltage threshold, determining whether the battery voltage is less than or equal to a second voltage threshold;

[0065] If yes, charging the battery based on the onboard charger and charging the battery based on the power battery pack via the DC converter, updating the battery voltage, and returning to the operation of determining whether the battery voltage is less than or equal to the second voltage threshold;

[0066] If not, the battery is charged using the onboard charger until the battery is fully charged.

[0067] The charging signal may be a signal for charging by a charging gun, and may be an AC and DC common charging signal, an AC charging signal, or a DC charging signal. The battery charging signal is a signal triggered by a user to charge the battery. The first voltage threshold is a pre-set voltage value for forcing the battery to charge. The second voltage threshold is a pre-set voltage value for distinguishing different ways of charging the battery. The first voltage threshold is less than the second voltage threshold.

[0068] Specifically, when receiving the charging signal from the on-board charger, it can be determined that the battery can be charged from the DC charging gun and / or the AC charging gun via the OBC. Therefore, the battery voltage is obtained. If the battery voltage is less than the first voltage threshold, it means that the battery voltage is very low. In order to facilitate subsequent use, charging is required. It can be understood that even if there is no battery charging signal, forced charging will be performed. If the battery charging signal is received, it means that the user has a need to charge the battery and actively requests to charge the battery, so charging is required. Before charging the battery, it is determined whether the battery voltage is less than or equal to the second voltage threshold. If so, it means that the current battery voltage is low and is in a state of power loss. The battery needs to be charged quickly to improve the health of the battery. Therefore, the battery is charged based on the OBC, and at the same time, the battery is charged based on the power battery pack via the DCDC, and the battery voltage is updated in real time or periodically, and the operation of determining whether the battery voltage is less than or equal to the second voltage threshold is returned to re-determine the method of charging the battery. If not, it means that the battery is only slightly short of power and does not need to be quickly recharged. Therefore, the battery can be charged based on OBC until the battery is fully charged. This avoids wasting power in the power battery pack and improves the charging efficiency of the power battery pack.

[0069] Exemplarily, the first voltage threshold is 10.8V, and the second voltage threshold is 11.4V. In the case where no battery charging signal is received, if the battery voltage is less than 10.8V, the battery charging is automatically triggered. Since the battery voltage is less than 10.8V, it must be less than 11.4V. At this time, the on-board charger and the power battery pack are used to charge the battery together until the battery voltage is greater than 11.4V, and then the battery charging method is changed to only using the on-board charger to charge the battery. In the case of receiving a battery charging signal, the battery voltage is compared with 11.4V, and one of the two battery charging methods can be selected to charge the battery, that is, using the on-board charger and the power battery pack to charge the battery together or only using the on-board charger to charge the battery. During the battery charging process, due to the increase in battery voltage, there is a situation where the battery voltage changes from less than or equal to 11.4V to greater than 11.4V. Therefore, the battery charging method can be converted, that is, from using the on-board charger and the power battery pack to charge the battery to using only the on-board charger to charge the battery.

[0070] It is understandable that regardless of whether an AC charging gun or a DC charging gun is plugged in for charging, the power battery pack can be used to charge the battery through DCDC. However, this will consume a certain amount of power in the power battery pack. The technical solution of this example not only supports the above-mentioned charging method, but can also be managed through BMS (Battery Management System), VDC, and OBC. The battery can be charged by charging modulation control through OBC, which does not consume the power of the power battery pack and can also charge the battery, thereby improving the charging efficiency.

[0071] It can be seen that the technical solution of the above example supports the use of AC charging guns and DC charging guns to charge power batteries and storage batteries at the same time, which can greatly improve the charging efficiency.

[0072] Based on the above example, the total charging energy of the power battery pack can be obtained in the following way:

[0073] Obtain the operating voltage, operating current and continuous discharge time of the power battery pack;

[0074] Determine the battery discharge capacity based on the working current and continuous discharge time;

[0075] Determine the total charging energy based on the battery discharge capacity and maximum charging voltage.

[0076] Among them, the operating voltage is the discharge voltage of the power battery pack when in use. The operating current is the discharge voltage of the power battery pack when in use. The continuous discharge time is the working time of the power battery pack. The battery discharge capacity is the total amount of charge released during the discharge process. The total charging energy is the energy that can be received during charging.

[0077] Specifically, the operating voltage, operating current and continuous discharge time of the power battery pack are recorded and obtained. The product of the operating current and the continuous discharge time is determined as the battery discharge capacity. Furthermore, the product of the battery discharge capacity and the maximum charging voltage is determined as the total charging energy.

[0078] Exemplarily, the operating voltage of the power battery pack is 360V, the operating current is 20A, and the power battery pack is continuously discharged for 12H (continuous discharge time). The calculation formula for the battery discharge capacity is: C=I×T, where C is the battery discharge capacity, I is the operating current (in amperes), and T is the continuous discharge time (in hours). The calculation formula for the total charging energy is: Wh=C×V, where Wh is the total charging energy, C is the battery discharge capacity (in ampere hours), and V is the operating voltage (in volts). Therefore, C=I×T=20x12=240AH, Wh=C×V=240x360=86.4KWh.

[0079] Of course, there are other ways to obtain the total charging energy, which will not be elaborated here.

[0080] Based on the above example, the DC charging gun, AC charging gun, on-board charger, vehicle controller and battery management system communicate based on an extensible service-oriented communication protocol. The extensible service-oriented communication protocol includes an extensible service-oriented communication message. The extensible service-oriented communication message includes a message header and message data. The message header includes a server confirmation identifier and a client request identifier. The message data includes a client address, a server address list, service priority, additional information and data content. The additional information includes charging status, charging status monitoring, AC / DC priority charging selection, DC charging percentage and AC charging percentage.

[0081] Among them, the scalable service-oriented communication protocol refers to SOME / IP (Scalable service-Oriented MiddlewarE over IP), which is a service-oriented automotive Ethernet communication protocol, located on TCP (Transmission Control Protocol) / UDP (User Datagram Protocol), and is compatible with the basic software development platform currently being discussed internationally. The SOME / IP protocol adopts the C / S (Client / Server) communication architecture, in which the Server is the service provider and the Client is the service consumer. The SOME / IP protocol uses the Remote Procedure Call mechanism according to the service interface type, and enables data to be transmitted in the network through data serialization and deserialization. The dynamic configuration of services is achieved through the available service discovery SD (Service Discovery) mechanism. In this embodiment, the electrical and electronic architecture adopts the Ethernet ring network architecture design. The advantages of the ring network architecture are that it supports SOA (Service Oriented Architecture) service-oriented architecture and communication channel protection, and supports the nearby access of each ECU (Electronic Control Unit) according to functional classification, which can effectively save the cost of wiring harnesses. In the electrical and electronic architecture of this embodiment, the controllers that control the vehicle's power battery pack and battery charging, such as OBC, DCDC, and BMS, are hung on the VDC.

[0082] For example, Figure 2 It is a diagram of the SOME / IP communication message format carried on the Ethernet transport layer. The service-oriented design is implemented based on the SOME / IP communication protocol. The SOME / IP communication message is based on an extensible service-oriented communication message. The vehicle charging method in the above example is based on service-oriented implementation. The service definitions of the server and client are as follows: Figure 2The server ID (server confirmation identifier) ​​and client ID (client request identifier) ​​are defined in the protocol. The client address corresponds to SA and the server address corresponds to DA. Eth Frame is an Ethernet frame, including: IP Header (IP data packet header), TCP / UDP Head (TCP / UDP data packet header), SOME / IP (SOME / IP message) and FCS (Frame Check Sequence). The SOME / IP message includes the SOME / IP header (message header of the extensible service-oriented communication message) and SOME / IP data (message data of the extensible service-oriented communication message). The SOME / IP header includes a 4-byte server ID, a 4-byte data length, a 4-byte client ID, a 1-byte version number, a 1-byte interface version, a 1-byte message type and a 1-byte response code. Among them, the server ID includes: 0-OTA (Over-the-Air Technology), 1-AC charging confirmation, 2-DC charging confirmation, 3-AC and DC co-charging confirmation, 4-voltage detection confirmation, 5-current detection confirmation, 6-function detection confirmation, 7-power battery power confirmation, 8-battery power confirmation, 9-charging gun detection confirmation, 10-charging gun connection confirmation, 11-charging confirmation, etc.; the client ID includes: 0-OTA, 1-AC charging request, 2-DC charging request, 3-AC and DC co-charging request, 4-voltage detection request, 5-current detection request, 6-function detection request, 7-power battery power request, 8-battery power request, 9-charging gun detection request, 10-charging gun connection request, 11-charging request, etc.; the message type includes: 0-need response and 1-no response. Figure 3 This is a schematic diagram of SOME / IP data. SOME / IP data includes 2 bytes of SA, 16 bytes of DA list, 1 byte of service priority, 5 bytes of additional information and data (data content). Among them, the additional information includes 1 byte of charging status, 1 byte of charging status monitoring, 1 byte of AC / DC priority charging selection, 1 byte of DC charging percentage, and 1 byte of AC charging percentage. Among them, the charging status includes: 0-no connection status, 1-AC connected status, 2-AC uncharged status, 3-AC positive charging status, 4-AC charging completed, 5-DC connected status, 6-DC uncharged status, 7-DC positive charging status, 8-DC charging completed, 9-AC / DC connected status, 10-AC / DC uncharged status, 11-AC / DC positive charging status, 12-AC / DC charging completed, etc.

[0083] The above example is based on service-oriented design, which realizes layered design and software and hardware decoupling, making it easier to iterate and update software functions. It also supports flexible configuration of multiple mode options, such as AC charging, DC charging, AC and DC co-charging, and can also set the AC charging percentage and DC charging percentage, greatly improving the flexibility of charging.

[0084] Based on the above example, Figure 4 It is a data flow diagram in the vehicle charging method. Figure 5 is another data flow diagram in a vehicle charging method. Figure 6 This is a schematic diagram of the module structure corresponding to the vehicle charging method. Figure 4 , Figure 5 and Figure 6 As shown, the AC charging power supply can be considered as an AC charging gun, and the DC charging power supply can be considered as a DC charging gun. When the AC charging power supply is connected to the OBC, CP2 (charging control confirmation signal) and CC2 (charging connection confirmation signal) will be generated. When the DC charging power supply is connected to the OBC, CP1 (charging control confirmation signal) and CC1 (charging connection confirmation signal) will be generated. Figure 4 As shown, OBC can perform AC / DC detection, charging connection detection, AC / DC rectification, channel selection control (channel selection and current distribution of AC and DC currents), and charging modulation control according to the type of power supply connected. Figure 4 As can be seen from the figure, the battery charging can directly receive the current from the OBC (it can be the current output by the OBC, or the current after the OBC is modulated and controlled by the DCDC), or it can receive the current after the power battery pack is modulated and controlled by the DCDC. Figure 5 As shown, OBC can perform charging connection detection, AC / DC rectification, and charging modulation control according to the type of power supply connected. Figure 5 It can be seen that the battery charging can receive the current after the power battery pack is charged and modulated by DCDC. Therefore, this example supports OBC charging of the battery and also supports DCDC charging of the battery, which improves the charging efficiency compared to charging the battery only by DCDC. Figure 6As shown, OBC includes charging connection detection, charging channel selection, AC / DC detection, and AC / DC rectification functions, which can determine the charging voltage, charging current, charging status, and charging power. It also includes a charging control module, a charging protection module, a bottom-level driver module, and a channel forwarding module. VDC is used to receive charging request commands and charging thermal management requests, and is also used to obtain the battery's maximum load voltage (maximum charging voltage), the battery's maximum load current (maximum charging current), the battery's maximum load power, the battery's total capacity, and the battery's current capacity. It can also perform charging calculations. VDC also includes a charging control module, a charging monitoring module, a bottom-level driver module, and a channel forwarding module. BMS is used to drive The battery pack detection obtains the battery's maximum carrying voltage (maximum charging voltage), the battery's maximum carrying current (maximum charging current), the battery's maximum carrying power, the battery's total capacity and the battery's current capacity. It can also calculate and analyze the battery's health status and obtain the battery's thermal management status. The BMS also includes a charging monitoring module, an underlying driver module and an acquisition / control module; the DCDC can perform charging connection detection, charging duty cycle modulation, and voltage and current overvoltage limiting. It can select AC and DC charging modes, obtain charging voltage, charging current, charging status and charging power to perform charging operations, and the DCDC also includes a charging control module, a charging protection module, a underlying driver module and a channel forwarding module.

[0085] The vehicle charging method provided in the embodiment of the present application obtains the maximum charging voltage, maximum charging current, total charging energy and current power of the power battery pack in response to the AC and DC common charging signals triggered by the on-board charger, and obtains the first charging current of the AC charging gun and the second charging current of the DC charging gun, so as to plan how to use the AC charging gun and the DC charging gun for common charging. Furthermore, according to the maximum charging voltage, total charging energy, maximum charging current, current power, first charging current and second charging current, the first output current of the AC charging gun and the second output current of the DC charging gun are determined, and the AC charging gun and / or the DC charging gun are controlled to charge the power battery pack, so as to achieve the effect of the AC charging gun and the DC charging gun charging the power battery pack at the same time, and improve the charging efficiency. Compared with the prior art, the present application avoids the problem of slow charging speed caused by using an AC charging gun alone or a DC charging gun alone and the problem of design waste in the charging structure, effectively utilizes different charging ports and charging guns, and improves the charging efficiency.

[0086] Figure 7 is a flow chart of another vehicle charging method provided by an embodiment of the present application. Based on the above embodiments, the process of controlling the AC charging gun and / or the DC charging gun to charge the power battery pack is exemplarily described. Figure 7 , the vehicle charging method specifically includes:

[0087] S210 , in response to the AC and DC common charging signal triggered by the on-board charger, obtaining the maximum charging voltage, maximum charging current and total charging energy of the power battery pack.

[0088] S220: Obtain a first charging current of the AC charging gun and a second charging current of the DC charging gun.

[0089] S230, obtaining the current power of the power battery pack, taking the sum of the first charging current and the second charging current as the charging current sum value, and determining whether the charging current sum value is greater than the maximum charging current, if so, executing S240, if not, executing S270.

[0090] The charging current sum value is the sum of the first charging current and the second charging current.

[0091] Specifically, the sum of the first charging current and the second charging current is calculated as the charging current sum value. Further, it is determined whether the charging current sum value is greater than the maximum charging current, so as to reasonably allocate AC charging and DC charging in the future.

[0092] S240, determining a first output current of the AC charging gun and a second output current of the DC charging gun according to the current power level, the power level threshold, the first charging current, and the second charging current, and executing S250.

[0093] Among them, the power threshold is used to distinguish the power in different distribution methods, and the distribution method refers to the distribution of AC current and DC current during charging.

[0094] Specifically, if the charging current and value are greater than the maximum charging current, it means that both the AC charging gun and the DC charging gun are charging at their maximum capacity, which will cause the problem of excessive current. Therefore, it is necessary to limit the output current of the AC charging gun or the DC charging gun. For example, when the current power is lower than the power threshold, it means that fast charging is required. Therefore, the DC charging gun outputs current at its maximum capacity, that is, the second output current is equal to the second charging current. If the current can still be accepted within the capacity range, the first output current can be used for supplementation; when the current power is not lower than the power threshold, it means that it is about to be fully charged. In order to maintain the life of the power battery pack, the AC charging gun can be used for charging, and there is no need for the DC charging gun to output current. The first output current and the second output current can be determined.

[0095] Based on the above example, if the power threshold includes a first power threshold, the first output current of the AC charging gun and the second output current of the DC charging gun can be determined according to the current power, the power threshold, the first charging current and the second charging current in the following manner:

[0096] When the current power level is less than or equal to the first power level threshold, determining whether the second charging current is greater than or equal to the maximum charging current;

[0097] If so, the maximum charging current is determined as the second output current, and the first output current is determined as 0; if not, the second charging current is determined as the second output current, and the difference between the maximum charging current and the second output current is determined as the first output current.

[0098] Among them, the first power threshold is the power threshold used to distinguish whether a DC charging gun is used for main charging.

[0099] Specifically, if the current power level is less than or equal to the first power level threshold, it means that the power battery pack is seriously short of power and needs to be charged quickly. Therefore, a DC charging gun can be used to perform the main charging. Further, it is determined whether the second charging current is greater than or equal to the maximum charging current, that is, whether the maximum charging current limit of the power battery pack can be reached by using a DC charging gun alone. If so, it means that the maximum charging current requirement can be met by using a DC charging gun alone. Therefore, the maximum charging current is determined as the second output current, and the first output current is determined as 0; if not, it means that the maximum charging current requirement cannot be met by using a DC charging gun alone, and the first output current of the AC charging gun is required to supplement it. Therefore, the second charging current is determined as the second output current, and the difference between the maximum charging current and the second output current is determined as the first output current. Therefore, when the current power level is less than or equal to the first power level threshold, charging can be performed at the maximum charging current to increase the charging speed.

[0100] It can be understood that if the current power level is greater than the first power threshold, it means that the power battery pack is about to be fully charged. Therefore, the first output current and the second output current can be determined in combination with the maximum charging current and the first charging current, and the second output current of the DC charging gun can be reduced to increase the life of the power battery pack.

[0101] Based on the above example, if the power threshold also includes a second power threshold, wherein the second power threshold is greater than the first power threshold, the first output current of the AC charging gun and the second output current of the DC charging gun can be determined according to the current power, the power threshold, the first charging current and the second charging current in the following manner:

[0102] When the current power level is greater than the first power level threshold and less than or equal to the second power level threshold, determining whether the first charging current is greater than or equal to the maximum charging current;

[0103] If yes, the maximum charging current is determined as the first output current, and the second output current is determined as 0; if no, the first charging current is determined as the first output current, and the difference between the maximum charging current and the first output current is determined as the second output current;

[0104] When the current power level is greater than the second power level threshold, the minimum value between the first charging current and the maximum charging current is determined as the first output current, and the second output current is determined as zero.

[0105] Among them, the second power threshold is the power threshold used to determine whether the power battery pack can receive DC power from the DC charging gun. It can be understood that the ability to receive DC power from the DC charging gun represents an ability, but does not mean that it will definitely receive DC power.

[0106] Specifically, if the previous power level is less than or equal to the second power threshold, it means that AC and DC can be used for charging at the same time, but the AC charging gun should charge at full power. Further, it is determined whether the first charging current is greater than or equal to the maximum charging current, that is, whether the maximum charging current limit of the power battery pack can be reached by using the AC charging gun alone. If so, it means that the maximum charging current requirement can be met by using the AC charging gun alone. Therefore, the maximum charging current is determined as the first output current, and the second output current is determined as 0; if not, it means that the maximum charging current requirement cannot be met by using the AC charging gun alone. The second output current of the DC charging gun can be used for supplementation. Therefore, the first charging current is determined as the first output current, and the difference between the maximum charging current and the first output current is determined as the second output current. Therefore, when the current power level is less than or equal to the second power threshold, it can still be charged with the maximum charging current to increase the charging speed, ensure the share of AC charging, and improve the health of the power battery pack. If the current power level is greater than the second power threshold, it means that the power battery pack is about to be fully charged. Therefore, in order to increase the service life of the power battery pack, the output of the DC charging gun is stopped, that is, the second output current is determined to be 0, and the minimum value of the first charging current and the maximum charging current is determined as the first output current. That is, within the receiving capacity of the power battery pack, the AC charging gun is controlled to charge to the maximum extent.

[0107] S250. Based on the maximum charging voltage, control the first output current output by the AC charging gun to charge the power battery pack after being rectified by the on-board charger, and / or control the DC charging gun to output the second output current to charge the power battery pack, and execute S260.

[0108] Specifically, if the first output current is not 0, the AC charging gun is controlled to output the first output current at the maximum charging voltage, which is rectified by the on-board charger and converted into direct current to charge the power battery pack. If the second output current is not 0, the DC charging gun is controlled to output the second output current at the maximum charging voltage to charge the power battery pack.

[0109] S260, update the current power level, and return to execute the operation of determining the first output current of the AC charging gun and the second output current of the DC charging gun according to the current power level, the power level threshold, the first charging current, and the second charging current, until the real-time energy delivered to the power battery pack reaches the total charging energy.

[0110] Among them, real-time energy refers to the energy contained in the power battery pack in real time.

[0111] Specifically, the current power level is updated in real time, and the operation of determining the first output current of the AC charging gun and the second output current of the DC charging gun based on the current power level, the power level threshold, the first charging current, and the second charging current is returned to facilitate timely switching of different charging distribution methods until the real-time energy delivered to the power battery pack reaches the total charging energy, which can be considered to be in a fully charged state and charging is stopped.

[0112] For example, if the DC charging gun can only provide a maximum charging current of 16A (the second charging current), the AC charging gun can provide a charging current of 6A (the first charging current), and the maximum charging current of the power battery pack is 20A. Then, the sum of the charging currents 16+6=22A>20A, so the AC charging gun and the DC charging gun can jointly provide the maximum charging current to support the power battery pack, and the VDC sends a charging request command. When the current power is less than or equal to the second power threshold (such as 90%), the power battery pack is charged according to the maximum charging current, that is, the OBC receives the VDC charging request command, and the AC and DC provide a total current of 20A to charge the power battery pack. Among them, when the current power of the power battery pack is less than or equal to the first power threshold (such as 85%), the DC is charged at the maximum capacity and the AC is supplemented. When the current power is greater than the first power threshold, the AC is charged at the maximum capacity and the DC is supplemented. In this way, it can not only ensure that the battery pack is charged at a faster speed, but also ensure that after the power reaches 85% of the capacity, the AC charging method provides current charging to ensure the extension of the service life of the battery pack. Furthermore, when the current power level is greater than the second power level threshold, only the AC charging mode is used to provide current.

[0113] S270 , determining the first output current as the first charging current, and determining the second output current as the second charging current or 0, and executing S280 .

[0114] Specifically, if the sum of the charging currents is less than or equal to the maximum charging current, it means that both the AC charging gun and the DC charging gun output current at their maximum capacity, and cannot reach the limit of the current that the power battery pack can receive when charging. Therefore, it is only necessary to determine whether to stop charging with the first charging current corresponding to the DC charging gun in order to ensure the service life of the power battery pack. It can be seen that the AC charging gun can use the first output current as the first charging current, and the DC charging gun can use the second output current as the second charging current when the power battery pack is low, and set the second charging current to zero when the power battery pack is high.

[0115] S280. Based on the maximum charging voltage, control the first output current output by the AC charging gun to charge the power battery pack after rectification by the on-board charger, and / or control the DC charging gun to output the second output current to charge the power battery pack, until the real-time energy of the power battery pack reaches the total charging energy.

[0116] It is understandable that the execution process of S280 is the same as the execution process of S250, and will not be described in detail here.

[0117] Optionally, determining the first output current as the first charging current and determining the second output current as the second charging current or 0 may be:

[0118] Determine whether the current power is less than or equal to the DC exit threshold; if so, determine the first charging current as the first output current of the AC charging gun, and determine the second charging current as the second output current of the DC charging gun; if not, determine the first charging current as the first output current, and determine the second output current as 0; update the current power during the charging process, and return to execute the operation of determining whether the current power is less than or equal to the DC exit threshold until the real-time energy of the power battery pack reaches the total charging energy.

[0119] Among them, the DC exit threshold is a power threshold used to determine whether the power battery pack stops receiving DC power from the DC charging gun.

[0120] Specifically, it is determined whether the current power is less than or equal to the DC exit threshold, so as to determine whether to use DC power for charging. If so, it means that the current power is still far from full charge, so DC power can be connected, that is, DC power does not need to exit the charging process to increase the charging speed. Therefore, the first charging current is determined as the first output current of the AC charging gun, and the second charging current is determined as the second output current of the DC charging gun, that is, the DC charging gun and the AC charging gun both output current at full power to charge the power battery pack. If not, it means that the power battery pack is about to be fully charged. In order to ensure the health and service life of the power battery pack, the last part of the power stops using DC power for charging, that is, DC power exits the charging process. Therefore, the first charging current is determined as the first output current, and the second output current is determined as 0. During the charging process, the current power can be updated in real time, and the operation of determining whether the current power is less than or equal to the DC exit threshold is returned to facilitate timely switching of different charging distribution methods, that is, whether to stop charging the DC charging gun until the real-time energy of the power battery pack reaches the total charging energy. It can be considered that the charging is stopped when the power is fully charged.

[0121] Through the above example, the AC charging gun and the DC charging gun can be used to charge the vehicle's power battery pack at the same time, and the AC and DC charging amounts (first output current and second output current) can be set respectively to charge the power battery pack, thereby maximizing the charging efficiency and improving the user's car experience.

[0122] The vehicle charging method provided in the embodiment of the present application, if the sum of the charging currents of the first charging current and the second charging current is greater than the maximum charging current, then the first output current of the AC charging gun and the second output current of the DC charging gun are determined according to the current power, the power threshold, the first charging current and the second charging current, and based on the maximum charging voltage, the first output current output by the AC charging gun is controlled to be rectified by the on-board charger to charge the power battery pack, and / or the DC charging gun is controlled to output the second output current to charge the power battery pack, the current power is updated, and the charging distribution method to be used is re-determined, if the sum of the charging currents of the first charging current and the second charging current is greater than the maximum charging current If the value is less than or equal to the maximum charging current, the first output current is determined as the first charging current, and the second output current is determined as the second charging current or 0, and based on the maximum charging voltage, the first output current output by the AC charging gun is controlled to be rectified by the on-board charger to charge the power battery pack, and / or the DC charging gun is controlled to output the second output current to charge the power battery pack, until the real-time energy delivered to the power battery pack reaches the total charging energy, so as to determine different first output currents and second output currents through the charging current and value and the current power, thereby improving the charging efficiency of the power battery pack while ensuring the health of the power battery pack, thereby improving the charging experience of the user.

[0123] Figure 8 Schematic diagram of the structure of an electronic device provided in an embodiment of the present application. Figure 8 As shown, the electronic device 800 includes one or more processors 801 and a memory 802 .

[0124] The processor 801 may be a central processing unit (CPU) or other forms of processing units having data processing capabilities and / or instruction execution capabilities, and may control other components in the electronic device 800 to perform desired functions.

[0125] The memory 802 may include one or more computer program products, which may include various forms of computer-readable storage media, such as volatile memory and / or non-volatile memory. The volatile memory may include, for example, random access memory (RAM) and / or cache memory (cache), etc. The non-volatile memory may include, for example, read-only memory (ROM), hard disk, flash memory, etc. One or more computer program instructions may be stored on the computer-readable storage medium, and the processor 801 may run the program instructions to implement the vehicle charging method of any embodiment of the present application described above and / or other desired functions. Various contents such as initial external parameters, thresholds, etc. may also be stored in the computer-readable storage medium.

[0126] In one example, the electronic device 800 may further include: an input device 803 and an output device 804, which are interconnected via a bus system and / or other forms of connection mechanisms (not shown). The input device 803 may include, for example, a keyboard, a mouse, etc. The output device 804 may output various information to the outside, including early warning prompt information, braking force, etc. The output device 804 may include, for example, a display, a speaker, a printer, a communication network and a remote output device connected thereto, etc.

[0127] Of course, to simplify, Figure 8 Only some of the components related to the present application in the electronic device 800 are shown, and components such as a bus, an input / output interface, etc. are omitted. In addition, according to specific application situations, the electronic device 800 may also include any other appropriate components.

[0128] In addition to the above-mentioned methods and devices, an embodiment of the present application may also be a computer program product, which includes computer program instructions, which, when executed by a processor, enable the processor to execute the steps of the vehicle charging method provided by any embodiment of the present application.

[0129] The computer program product may be written in any combination of one or more programming languages ​​to write program codes for performing the operations of the embodiments of the present application, including object-oriented programming languages, such as Java, C++, etc., and conventional procedural programming languages, such as "C" language or similar programming languages. The program code may be executed entirely on the user computing device, partially on the user device, as an independent software package, partially on the user computing device and partially on a remote computing device, or entirely on a remote computing device or server.

[0130] In addition, an embodiment of the present application may also be a computer-readable storage medium on which computer program instructions are stored. When the computer program instructions are executed by a processor, the processor executes the steps of the vehicle charging method provided in any embodiment of the present application.

[0131] The computer readable storage medium can adopt any combination of one or more readable media. The readable medium can be a readable signal medium or a readable storage medium. The readable storage medium can include, for example, but is not limited to, a system, device or device of electricity, magnetism, light, electromagnetic, infrared, or semiconductor, or any combination of the above. More specific examples (non-exhaustive list) of readable storage media include: an electrical connection with one or more wires, a portable 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.

[0132] It should be noted that the terms used in this application are only for describing specific embodiments, rather than limiting the scope of this application. As shown in the specification and claims of this application, unless the context clearly indicates an exception, the words "one", "a", "a kind of" and / or "the" do not specifically refer to the singular, but may also include the plural. The terms "include", "comprise" or any other variant thereof are intended to cover non-exclusive inclusion, so that the process, method or device including a series of elements includes not only those elements, but also includes other elements not explicitly listed, or also includes elements inherent to such process, method or device. In the absence of further restrictions, the elements defined by the sentence "including one..." do not exclude the presence of other identical elements in the process, method or device including the elements.

[0133] It should also be noted that the terms "center", "up", "down", "left", "right", "vertical", "horizontal", "inside", "outside", etc., indicating the orientation or position relationship, are based on the orientation or position relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, and do not indicate or imply that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation on the present application. Unless otherwise clearly specified and limited, the terms "installed", "connected", "connected", etc. should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be an indirect connection through an intermediate medium, or it can be a connection between the two elements. For those of ordinary skill in the art, the specific meanings of the above terms in this application can be understood according to specific circumstances.

[0134] This article uses specific examples to illustrate the principles and implementation methods of this application. The description of the above embodiments is only used to help understand the method and its core ideas of this application. The above is only the preferred implementation method of this application. It should be pointed out that due to the limitations of textual expression and the objective existence of infinite specific structures, ordinary technicians in this technical field can make several improvements, modifications or changes without departing from the principles of the present invention, and can also combine the above technical features in an appropriate manner; these improvements, modifications, changes or combinations, or the direct application of the inventive concept and technical solution to other occasions without improvement, should be regarded as the scope of protection of this application.

Claims

1. A vehicle charging method, characterized in that: include: In response to the AC and DC co-charging signals triggered by the on-board charger, the maximum charging voltage, maximum charging current, total charging energy and current power of the power battery pack are obtained; Obtaining a first charging current of an AC charging gun and a second charging current of a DC charging gun; taking the sum of the first charging current and the second charging current as a charging current sum value, and determining whether the charging current sum value is greater than the maximum charging current; When the charging current sum is greater than the maximum charging current, determining a first output current of the AC charging gun and a second output current of the DC charging gun according to the current power level, the power level threshold, the first charging current, and the second charging current; Based on the maximum charging voltage, controlling the AC charging gun and / or the DC charging gun to charge the power battery pack; Wherein, determining the first output current of the AC charging gun and the second output current of the DC charging gun according to the current power, the power threshold, the first charging current and the second charging current includes: When the current power level is greater than a first power level threshold and less than or equal to a second power level threshold, determining whether the first charging current is greater than or equal to the maximum charging current; If so, the maximum charging current is determined as the first output current, and the second output current is determined as 0; if not, the first charging current is determined as the first output current, and the difference between the maximum charging current and the first output current is determined as the second output current; wherein the second power threshold is greater than the first power threshold.

2. The vehicle charging method according to claim 1, characterized in that: The process of charging the power battery pack includes: Update the current power level, and return to execute the operation of determining the first output current of the AC charging gun and the second output current of the DC charging gun based on the current power level, the power level threshold, the first charging current, and the second charging current, until the real-time energy supplied to the power battery pack reaches the total charging energy.

3. The vehicle charging method according to claim 1, characterized in that: The determining, according to the current power level, the power level threshold, the first charging current, and the second charging current, of the first output current of the AC charging gun and the second output current of the DC charging gun further includes: When the current power level is less than or equal to the first power level threshold, determining whether the second charging current is greater than or equal to the maximum charging current; If so, the maximum charging current is determined as the second output current, and the first output current is determined as 0; if not, the second charging current is determined as the second output current, and the difference between the maximum charging current and the second output current is determined as the first output current.

4. The vehicle charging method according to claim 1, characterized in that: The determining, according to the current power level, the power level threshold, the first charging current, and the second charging current, of the first output current of the AC charging gun and the second output current of the DC charging gun further includes: When the current power level is greater than the second power level threshold, the minimum value between the first charging current and the maximum charging current is determined as the first output current, and the second output current is determined as zero.

5. The vehicle charging method according to claim 1, characterized in that: After taking the sum of the first charging current and the second charging current as the charging current sum value and judging whether the charging current sum value is greater than the maximum charging current, the method further includes: When the charging current sum is less than the maximum charging current, the first output current is determined as the first charging current, and the second output current is determined as the second charging current or zero.

6. The vehicle charging method according to claim 1, characterized in that: Also includes: In response to a charging signal from an on-board charger, obtaining a battery voltage; In response to receiving a battery charging signal and / or the battery voltage being less than a first voltage threshold, determining whether the battery voltage is less than or equal to a second voltage threshold; wherein the first voltage threshold is less than the second voltage threshold; If yes, charging the battery based on the on-board charger and charging the battery based on the power battery pack via the DC converter, updating the battery voltage, and returning to execute the operation of determining whether the battery voltage is less than or equal to the second voltage threshold; If not, the battery is charged based on the on-board charger until the battery is fully charged.

7. The vehicle charging method according to claim 1, characterized in that: Obtain the total charging energy of the power battery pack, including: Obtain the operating voltage, operating current and continuous discharge time of the power battery pack; Determining a discharge capacity of a battery according to the operating current and the continuous discharge time; The total charging energy is determined according to the battery discharge capacity and the maximum charging voltage.

8. The vehicle charging method according to claim 1, characterized in that: The DC charging gun, the AC charging gun, the on-board charger, the vehicle controller and the battery management system communicate with each other based on an extensible service-oriented communication protocol. The extensible service-oriented communication protocol includes an extensible service-oriented communication message. The extensible service-oriented communication message includes a message header and message data. The message header includes a server confirmation identifier and a client request identifier. The message data includes a client address, a server address list, a service priority, additional information and data content. The additional information includes charging status, charging status monitoring, AC / DC priority charging selection, DC charging percentage and AC charging percentage.

9. An electronic device, characterized in that: The electronic device comprises: Processor and memory; The processor is used to execute the steps of the vehicle charging method according to any one of claims 1 to 8 by calling the program or instruction stored in the memory.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a program or an instruction, and the program or the instruction enables a computer to execute the steps of the vehicle charging method according to any one of claims 1 to 8.