Charging management method and charging management module in OTA upgrade mode
By using the charging management module under the OTA upgrade mode of the new energy vehicle, detect the control guidance functional signal and obtain the OTA upgrade diagnostic message, solve the problem that DCDC, OBC, BMS, and VCU cannot be communicated. And/or power battery charging.
Patent Information
- Application Number
- CN202410574858.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-05-10
- Publication Date
- 2025-01-24
- Estimated Expiration
- 2044-05-10
AI Technical Summary
In the OTA upgrade mode of new energy vehicles, the DCDC, OBC, BMS, and VCU cannot communicate normally, resulting in the inability to charge the vehicle's battery and/or power battery.
Provide a charging management method and charging management module in the OTA upgrade mode, obtain the OTA upgrade diagnostic message by detecting the control guidance function signal sent by the power supply equipment, and the corresponding status of the physical address of the target ECU and the OTA upgrade. Charging management strategies coordinate and manage other devices in non -OTA mode.
The power battery packs and/or battery of new energy vehicles are implemented in the OTA upgrade mode to ensure that the stability of the system and the normal development of the charging management during the OTA upgrade process.
Smart Images

Figure CN118636716B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of new energy vehicles, and in particular to a charging management method and a charging management module in an OTA upgrade mode. Background Art
[0002] The energy sources of new energy vehicles mainly include storage batteries and power battery packs. Charging storage batteries and power battery packs mainly involves the coordination and management of DCDC (Direct Current, DCDC converter), OBC (On-board charger, on-board charger / on-board charger), BMS (Battery Management System, battery management system) and VCU (Vehicle control unit, vehicle controller).
[0003] When the OTA upgrade master is upgrading and flashing one or more of the target ECUs (for example, the DCDC, OBC, BMS, and VCU mentioned above), that is, one or more of the DCDC, OBC, BMS, and VCU are in OTA upgrade mode, in order to avoid interference during the upgrade and flash and ensure the normal progress of the OTA upgrade, it is usually necessary to disable the application messages of all buses of the vehicle system and close the application communication. In this case, the DCDC, OBC, BMS, and VCU cannot communicate normally, resulting in their inability to coordinate with each other and manage charging, which in turn makes it impossible to charge the vehicle's battery and / or power battery. Summary of the invention
[0004] In view of this, an embodiment of the present application provides a charging management method and a charging management module in OTA upgrade mode to solve the problem in the prior art that when one or more of the DCDC, OBC, BMS, and VCU are in OTA upgrade mode, the DCDC, OBC, BMS, and VCU cannot communicate normally, resulting in their inability to coordinate with each other and perform charging management, and further resulting in the inability to charge the vehicle's storage battery and / or power battery.
[0005] In a first aspect of an embodiment of the present application, a charging management method in an OTA upgrade mode is provided, comprising a charging component, the charging component comprising a charging management module, and a DCDC converter, an on-board charger, a battery management system and a vehicle controller controlled by the charging management module;
[0006] The charging management method is applied to the charging management module and includes the following steps:
[0007] When the target vehicle is in OTA mode, if a control guidance function signal sent by the power supply device is detected, an OTA upgrade diagnostic message is obtained, wherein the OTA upgrade diagnostic message includes the target ECU and its physical address and the OTA upgrade completion status;
[0008] If the target ECU is determined to be a DCDC converter based on the physical address, and the OTA upgrade completion status of the target ECU is in an incomplete state, the first charging management strategy is used to manage the on-board charger, the battery management system and the vehicle controller to charge the power battery pack and / or the storage battery of the target vehicle;
[0009] If the target ECU is determined to be an on-board charger based on the physical address, and the OTA upgrade completion status of the target ECU is incomplete, the second charging management strategy is used to manage the DCDC converter, the battery management system and the vehicle controller to charge the power battery pack and / or storage battery of the target vehicle;
[0010] If the target ECU is determined to be a battery management system based on the physical address, and the OTA upgrade completion status of the target ECU is incomplete, the third charging management strategy is used to manage the DCDC converter, the on-board charger and the vehicle controller to charge the power battery pack and / or storage battery of the target vehicle;
[0011] If the target ECU is determined to be a vehicle controller based on the physical address, and the OTA upgrade completion status of the target ECU is incomplete, the fourth charging management strategy is used to manage the DCDC converter, the on-board charger and the battery management system to charge the power battery pack and / or the storage battery of the target vehicle;
[0012] If the target ECU is determined to be at least two of the DCDC converter, the on-board charger or the vehicle controller based on the physical address, and the OTA upgrade completion status of the target ECU is incomplete, the fifth charging management strategy is adopted to manage the battery management system, or the battery management system and one of the DCDC converter, the on-board charger or the vehicle controller, so as to charge the power battery pack and / or the storage battery of the target vehicle;
[0013] If the target ECU is determined to be at least two of the DCDC converter, the on-board charger or the battery management system based on the physical address, and the OTA upgrade completion status of the target ECU is incomplete, the sixth charging management strategy is adopted to manage the vehicle controller, or the vehicle controller and the DCDC converter or the on-board charger, so as to charge the power battery pack and / or battery of the target vehicle.
[0014] A second aspect of an embodiment of the present application provides a charging management module, including:
[0015] An acquisition unit is configured to acquire an OTA upgrade diagnostic message when a control guidance function signal sent by a power supply device is detected when the target vehicle is in an OTA mode, wherein the OTA upgrade diagnostic message includes a target ECU and its physical address and an OTA upgrade completion status;
[0016] The first charging management unit is configured to manage the on-board charger, the battery management system and the vehicle controller using a first charging management strategy to achieve charging of the power battery pack and / or storage battery of the target vehicle if the target ECU is determined to be a DCDC converter based on the physical address and the OTA upgrade completion status of the target ECU is an incomplete state;
[0017] The second charging management unit is configured to manage the DCDC converter, the battery management system and the vehicle controller using a second charging management strategy to achieve charging of the power battery pack and / or storage battery of the target vehicle if the target ECU is determined to be an on-board charger based on the physical address and the OTA upgrade completion status of the target ECU is an incomplete state;
[0018] The third charging management unit is configured to manage the DCDC converter, the on-board charger and the vehicle controller using a third charging management strategy to achieve charging of the power battery pack and / or storage battery of the target vehicle if the target ECU is determined to be a battery management system based on the physical address and the OTA upgrade completion status of the target ECU is an incomplete state;
[0019] The fourth charging management unit is configured to manage the DCDC converter, the on-board charger and the battery management system using a fourth charging management strategy to achieve charging of the power battery pack and / or storage battery of the target vehicle if the target ECU is determined to be a vehicle controller based on the physical address and the OTA upgrade completion status of the target ECU is an incomplete state;
[0020] A fifth charging management unit is configured to manage the battery management system, or the battery management system and one of the DCDC converter, the onboard charger or the vehicle controller using a fifth charging management strategy if the target ECU is determined to be at least two of the DCDC converter, the onboard charger or the vehicle controller based on the physical address, and the OTA upgrade completion status of the target ECU is an incomplete state, so as to realize charging of the power battery pack and / or the storage battery of the target vehicle;
[0021] The sixth charging management unit is configured to adopt the sixth charging management strategy to manage the vehicle controller, or the vehicle controller and the DCDC converter or the on-board charger if the target ECU is determined to be at least two of the DCDC converter, the on-board charger or the battery management system based on the physical address, and the OTA upgrade completion status of the target ECU is in an incomplete state, so as to realize charging of the power battery pack and / or battery of the target vehicle.
[0022] A third aspect of an embodiment of the present application provides a new energy vehicle, which includes a charging component, wherein the charging component includes the charging management module of the second aspect, and a DCDC converter, an on-board charger, a battery management system and a vehicle controller controlled by the charging management module.
[0023] According to a fourth aspect of an embodiment of the present application, an electronic device is provided, comprising a memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the steps of the above method when executing the computer program.
[0024] According to a fifth aspect of an embodiment of the present application, a readable storage medium is provided, which stores a computer program, and when the computer program is executed by a processor, the steps of the above method are implemented.
[0025] Compared with the prior art, the beneficial effects of the embodiments of the present application include at least: when the target vehicle is in OTA mode, if the control guidance function signal sent by the power supply equipment is detected, an OTA upgrade diagnostic message is obtained; if it is determined according to the OTA upgrade diagnostic message that the target ECU currently in OTA mode is one or more of a DCDC converter (referred to as "DCDC"), an on-board charger (referred to as "OBC"), a battery management system (referred to as "BMS"), and a vehicle controller (referred to as "VCU"), then the first, second, third, fourth, fifth or sixth charging management strategy is used to coordinate and manage charging of other devices that are not in OTA mode, thereby charging the power battery pack and / or storage battery of the target vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the drawings required for use in the embodiments or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0027] Figure 1 is a schematic diagram of an application scenario of an embodiment of the present application;
[0028] Figure 2 It is a structural schematic diagram of a CAN message frame in the charging management method in the OTA upgrade mode provided in an embodiment of the present application;
[0029] Figure 3 This is a schematic diagram of a diagnostic response format in the charging management method in the OTA upgrade mode provided in an embodiment of the present application;
[0030] Figure 4 This is another schematic diagram of a diagnostic response format in the charging management method in the OTA upgrade mode provided in an embodiment of the present application;
[0031] Figure 5 It is a flow chart of a charging management method in OTA upgrade mode provided in an embodiment of the present application;
[0032] Figure 6 This is a schematic diagram of the charging management process in the first OTA upgrade mode provided in an embodiment of the present application;
[0033] Figure 7 This is a schematic diagram of the charging management process in the second OTA upgrade mode provided in an embodiment of the present application;
[0034] Figure 8 This is a schematic diagram of the charging management process in the third OTA upgrade mode provided in an embodiment of the present application;
[0035] Fig. 9 This is a schematic diagram of the charging management process in the fourth OTA upgrade mode provided in an embodiment of the present application;
[0036] Fig.10 is a structural diagram of a charging management module provided in an embodiment of the present application;
[0037] Fig.11 It is a structural schematic diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0038] In the following description, specific details such as specific system structures, technologies, etc. are provided for the purpose of illustration rather than limitation, so as to provide a thorough understanding of the embodiments of the present application. However, it should be clear to those skilled in the art that the present application may also be implemented in other embodiments without these specific details. In other cases, detailed descriptions of well-known systems, devices, circuits, and methods are omitted to prevent unnecessary details from obstructing the description of the present application.
[0039] The following will describe in detail a charging management method and a charging management module in an OTA upgrade mode according to an embodiment of the present application in conjunction with the accompanying drawings.
[0040] Figure 11 is a schematic diagram of an application scenario of an embodiment of the present application. The application scenario may include TSP 101, VBOX 102, VGW 103, charging component 104, power supply device 105, power battery pack 106 and storage battery 107. TSP 101 and VBOX 102 may be connected via Ethernet; VBOX 102 and VGW 103 may be connected via Ethernet (such as 100M Ethernet); VGW 103 and charging component 104 may be connected via CAN bus; charging component 104 and power supply device 105 are electrically connected; charging component 104 and power battery pack 106 are electrically connected; power battery pack 106 and storage battery 107 are electrically connected.
[0041] Among them, TSP 101, the Telematics Service Provider (TSP for short), is mainly responsible for storing and managing the OTA upgrade files of the vehicle's ECU (electronic control unit).
[0042] VBOX 102 is a vehicle remote communication module, in which an OTA upgrade master control (abbreviated as "UMC") is deployed.
[0043] VGW 103 is a vehicle gateway, in which an OTA upgrade agent (abbreviated as "UA") is deployed. One or more ECU components can be connected to VGW 103.
[0044] The charging component 104 includes a charging management module 1041 , and a DCDC, an OBC, a BMS and a VCU controlled by the charging management module 1041 .
[0045] The power supply equipment 105 refers to equipment used to provide electrical energy, such as a charging pile, a charging gun, etc.
[0046] TSP 101 and power supply device 105 are devices of the vehicle external network, that is, they are not devices inside the vehicle. VBOX 102, VGW 103 and charging component 104 are devices of the vehicle internal network, that is, they are devices inside the vehicle.
[0047] The DCDC, OBC, BMS and VCU in the charging component 104 belong to the ECU (electronic control unit) components inside the target vehicle, and the OTA upgrade master can upgrade and flash one or more of these ECU components through OTA.
[0048] Taking OTA upgrade and flashing of DCDC as an example, the OTA upgrade master in VBOX 102 can first download the upgrade and flashing file corresponding to DCDC from TSP 101, and assemble the upgrade and flashing file into an Ethernet message frame, and then forward it to the OTA upgrade agent of VGW103. The OTA upgrade agent of VGW 103 then parses the Ethernet message frame, obtains the physical address and functional address of the target ECU (i.e., DCDC), converts the Ethernet message frame into a CAN message frame, and then forwards the CAN message frame to the target ECU based on the physical address; the target ECU receives the CAN message frame and performs upgrade and flashing.
[0049] The embodiment of the present application adopts the diagnostic mode to perform OTA upgrade on the ECU of the target vehicle, that is, during the OTA upgrade process, the OTA upgrade master control and each ECU can communicate and upgrade based on the OTA upgrade diagnostic message. The OTA upgrade diagnostic message is usually a CAN message frame, and the structure of the CAN message frame is as follows: Figure 2 As shown, the CAN message frame may include a CAN ID field, a message length field, a RESERV field, a UDSDATA field, and a CRC field. Among them, the CAN ID field is used to indicate the physical address and functional address of the target ECU. The physical address is unique in the entire network, and the functional address can also be called a broadcast address. The UDSDATA field is a UDS message, that is, a diagnostic message, which can be divided into a diagnostic request and a diagnostic response. The UDS message includes upgrade flash data for the target ECU.
[0050] The formats of the diagnostic request include two types: the first type is SID+sub function+parameter; the second type is SID+parameter; wherein the number of parameter bytes is ≥ 0.
[0051] The length of SID is fixed at 1 byte, which is the service address. It represents the function performed by this diagnostic command (for example, download service, transmission service, reset service, read data service, write data service, diagnostic service, etc.). The length of sub-function is also 1 byte, which usually indicates the specific operation of this diagnostic service, such as starting, stopping or querying this diagnostic service. The following parameter has different contents according to different diagnostic services, and there is no unified specification for the length and format. It is used to limit the conditions for the execution of diagnostic services, such as the execution time of a certain diagnostic service. An important application of parameter is as an identifier to identify the data content to be read by the diagnostic request. Usually the length of parameter is at least 2 bytes.
[0052] In fact, strictly speaking, sub-function is 7 bits, not 1 byte, because its highest bit is used to suppress positive response (SPR). If this bit is set to 1, the ECU will not give a positive response; if this bit is set to 0, the ECU will give a positive response. The purpose of this is to tell the ECU not to send unnecessary responses, thereby saving communication resources.
[0053] In actual applications, the business logic can be used to determine whether the highest bit of the sub-function is set to 0 or 1. For example, if it is functional addressing, the highest bit of the sub-function is 0; if it is physical addressing and the diagnostic service is an ECU reset service, the highest bit of the sub-function is 1.
[0054] Diagnostic responses can be divided into two categories. The first category is a positive response, which means that the diagnostic request sent by the diagnostic instrument (which can be an OTA upgrade master) is executed by the target ECU. Its format can be: response SID+subfunction+parameter or response SID+parameter. Among them, the number of parameter bytes ≥ 0; responseSID is the SID of the diagnostic request + 0x40 (such as Figure 3 The second type is a negative response, which means that the current target ECU cannot execute the diagnostic request sent by the diagnostic instrument (which can be the OTA upgrade master) for some reason, and the reason for the failure to execute is contained in the message of the negative response. Its format can be: negative response SID+request SID+negative response code. The negative response is fixed to 3 bytes, the negative response SID is fixed to "7F", the request SID is the SID of the diagnostic request, and the negative response code is the reason for the negative response.
[0055] Exemplarily, the negative response code is shown in Table 1.
[0056] Table 1 Reasons for negative response
[0057] Hex Mnemonic Description 10 GR General reject 11 SNS Service not supported 12 SFNS Sub-Function not supported 13 IMLOIF Incorrect message length or invalid format 14 RTL Response too long 21 BRR Busy repeat request 22 CNC Conditions not correct 24 RSE Request sequence error 25 NRFSC No response from sub-net component 26 FPEORA Failure prevents execution of requested action 31 ROOR Request out of range 33 SAD Security access denied 35 IK Invalid key 36 ENOA Exceeded number of attempts 37 RTDNE Required time delay not expired 38-4F RBEDLSD Reserved by Extended Data Link Security Document 70 UDNA Upload / Download not accepted 71 TDS Transfer data suspended 72 GPF General programming failure 73 WBSC Wrong Block Sequence Counter 78 RCRRP Request correctly received, but response is pending 7E SFNSIAS Sub-Function not supported in active session 7F SNSIAS Service not supportec in active sessiort
[0058] As an example, see Figure 4 , assume that the diagnostic instrument (which can be the OTA upgrade master) sends a diagnostic request SID 10 to the target ECU, but the sub function is 04, which exceeds the scope of the sub function served by SID 10. At this time, the target ECU can feedback a negative response to the diagnostic instrument, informing it that the request is out of range.
[0059] For ease of description, let's continue to take the OTA upgrade of DCDC as an example. When the DCDC of the target vehicle is in OTA mode, if the power supply device (such as a charging gun) is plugged into the charging socket of the target vehicle, the power supply device will send a control guidance function signal (i.e., CP signal) to the charging component 104. When the charging management module 1041 detects the control guidance function signal sent by the power supply device, it can obtain the OTA upgrade diagnostic message for DCDC from the OTA upgrade master, and extract the target ECU and its physical address and OTA upgrade completion status in the OTA upgrade diagnostic message. The OTA upgrade completion status is used to indicate whether the target ECU has completed the current OTA upgrade task.
[0060] In the first case, when the charging management module 1041 determines that the target ECU currently in OTA upgrade mode is the DCDC converter in the charging component 104 based on the physical address, and determines that the OTA upgrade completion status of the DCDC converter is an incomplete state based on the OTA upgrade completion status, that is, it is still in OTA upgrade mode, the first charging management strategy can be used to manage the on-board charger, battery management system and vehicle controller to realize charging of the power battery pack and / or battery of the target vehicle.
[0061] In the second case, when the charging management module 1041 determines that the target ECU currently in OTA upgrade mode is the on-board charger (OBC) in the charging component 104 based on the physical address, and determines that the OTA upgrade completion status of the OBC is an incomplete state based on the OTA upgrade completion status, that is, it is still in OTA upgrade mode, the second charging management strategy can be used to manage the DCDC converter, battery management system and vehicle controller to realize charging of the power battery pack and / or battery of the target vehicle.
[0062] In the third case, when the charging management module 1041 determines that the target ECU currently in OTA upgrade mode is the battery management system (BMS) in the charging component 104 based on the physical address, and determines that the OTA upgrade completion status of the BMS is an incomplete state based on the OTA upgrade completion status, that is, it is still in OTA upgrade mode, the third charging management strategy can be used to manage the DCDC converter, the on-board charger and the vehicle controller to realize charging of the power battery pack and / or the battery of the target vehicle.
[0063] In the fourth case, when the charging management module 1041 determines that the target ECU currently in the OTA upgrade mode is the vehicle controller (VCU) in the charging component 104 based on the physical address, and determines that the OTA upgrade completion status of the VCU is an incomplete state based on the OTA upgrade completion status, that is, it is still in the OTA upgrade mode, the fourth charging management strategy can be used to manage the DCDC converter, the on-board charger and the battery management system to realize charging of the power battery pack and / or the battery of the target vehicle.
[0064] In the fifth case, when the charging management module 1041 determines based on the physical address that the target ECU currently in the OTA upgrade mode is at least two of the DCDC converter (DCDC), on-board charger (OBC) or vehicle controller (VCU) in the charging component 104, and based on the OTA upgrade completion status, it is determined that the OTA upgrade completion status of DCDC, OBC and VCU are all in an incomplete state, that is, they are still in the OTA upgrade mode. At this time, the fifth charging management strategy can be used to manage the battery management system, or the battery management system and one of the DCDC converter, on-board charger or vehicle controller, so as to realize charging of the power battery pack and / or storage battery of the target vehicle.
[0065] In the sixth case, when the charging management module 1041 determines according to the physical address that the target ECU currently in the OTA upgrade mode is at least two of the DCDC converter (DCDC), on-board charger (OBC) or battery management system (BMS) in the charging component 104, and based on the OTA upgrade completion status, it is determined that the OTA upgrade completion status of DCDC, OBC and BMS are all in an incomplete state, that is, still in the OTA upgrade mode, the sixth charging management strategy can be used to manage the vehicle controller, or the vehicle controller and the DCDC converter or the on-board charger to realize charging of the power battery pack and / or battery of the target vehicle.
[0066] Figure 5 It is a flow chart of a charging management method in OTA upgrade mode provided in an embodiment of the present application. Figure 5 The charging management method in OTA upgrade mode can be Figure 1 The charging management module 1041 is used to execute. Figure 5 As shown, the charging management method in the OTA upgrade mode may include the following steps:
[0067] Step S501, when the target vehicle is in OTA mode, if a control guidance function signal sent by the power supply device is detected, an OTA upgrade diagnostic message is obtained, wherein the OTA upgrade diagnostic message includes the target ECU and its physical address and the OTA upgrade completion status.
[0068] The target vehicle may be a new energy vehicle. The new energy vehicle of the embodiment of the present application refers to a car that uses new energy (non-traditional petroleum and diesel energy) and has advanced technology. These cars use a new power system that can effectively reduce automobile emissions, reduce the impact on the environment, and improve energy efficiency. The new energy vehicles of the embodiment of the present application include but are not limited to the following types of cars: electric vehicles (EV), pure electric vehicles (BEV), fuel cell electric vehicles (FCEV), etc.
[0069] The control pilot function signal, namely the CP signal, is mainly used to monitor the interaction between electric vehicles and electric vehicle power supply equipment (such as charging piles). This signal is the handshake signal between electric vehicles and power supply equipment, a communication method that uses PWM (pulse width modulation) modulation and amplitude alternation.
[0070] Step S502: If the target ECU is determined to be a DCDC converter based on the physical address, and the OTA upgrade completion status of the target ECU is incomplete, the first charging management strategy is used to manage the on-board charger, the battery management system and the vehicle controller to charge the power battery pack and / or the storage battery of the target vehicle.
[0071] Step S503: If the target ECU is determined to be an on-board charger based on the physical address, and the OTA upgrade completion status of the target ECU is incomplete, the second charging management strategy is used to manage the DCDC converter, the battery management system and the vehicle controller to charge the power battery pack and / or the storage battery of the target vehicle.
[0072] Step S504: If the target ECU is determined to be a battery management system based on the physical address, and the OTA upgrade completion status of the target ECU is incomplete, the third charging management strategy is used to manage the DCDC converter, the on-board charger and the vehicle controller to charge the power battery pack and / or the storage battery of the target vehicle.
[0073] Step S505: If the target ECU is determined to be a vehicle controller based on the physical address, and the OTA upgrade completion status of the target ECU is incomplete, the fourth charging management strategy is used to manage the DCDC converter, the on-board charger and the battery management system to charge the power battery pack and / or the storage battery of the target vehicle.
[0074] Step S506: If the target ECU is determined to be at least two of the DCDC converter, the onboard charger or the vehicle controller based on the physical address, and the OTA upgrade completion status of the target ECU is incomplete, the fifth charging management strategy is adopted to manage the battery management system, or the battery management system and one of the DCDC converter, the onboard charger or the vehicle controller, so as to charge the power battery pack and / or the storage battery of the target vehicle.
[0075] Step S507, if the target ECU is determined to be at least two of the DCDC converter, the on-board charger or the battery management system based on the physical address, and the OTA upgrade completion status of the target ECU is incomplete, the sixth charging management strategy is adopted to manage the vehicle controller, or the vehicle controller and the DCDC converter or the on-board charger, so as to charge the power battery pack and / or the battery of the target vehicle.
[0076] The technical solution provided by the embodiment of the present application is that when the target vehicle is in OTA mode, if the charging management module detects the control guidance function signal sent by the power supply device, an OTA upgrade diagnostic message is obtained; if it is determined according to the OTA upgrade diagnostic message that the target ECU currently in OTA mode is one or more of the DCDC converter, the on-board charger, the battery management system, and the vehicle controller, the first, second, third, fourth, fifth or sixth charging management strategy is used to coordinate and manage the charging of other devices that are not in OTA mode, thereby charging the power battery pack and / or storage battery of the target vehicle. The embodiment of the present application can achieve normal communication between DCDC, OBC, BMS, and VCU while performing OTA upgrade on one or more of DCDC, OBC, BMS, and VCU, and coordinate and manage their charging, thereby charging the storage battery and / or power battery of the vehicle.
[0077] In some embodiments, a first charging management strategy is used to manage the on-board charger, the battery management system and the vehicle controller to charge the power battery pack of the target vehicle, including:
[0078] Sending a first signal detection instruction to the on-board charger, so that the on-board charger detects the control guidance function signal and the AC charging signal or the DC charging signal, and feeds back the first signal detection result to the charging management module;
[0079] If it is determined based on the first signal detection result that the signal states of the control guidance function signal and the AC charging signal or the DC charging signal are normal, triggering the on-board charger to send a first diagnostic message to the battery management system to wake up the battery management system and the vehicle controller;
[0080] Triggering the vehicle controller to control the closing of the main relay and send a first charging control instruction to the on-board charger;
[0081] The on-board charger is triggered to execute the first charging control instruction, control the closing of the charging relay, and use the electric energy provided by the power supply equipment to charge the power battery pack of the target vehicle.
[0082] See also Figure 6 , the charging management module 1041 determines that the target ECU is a DCDC converter (hereinafter referred to as "DCDC") based on the physical address in the OTA upgrade diagnostic message, and when the OTA upgrade completion status of the DCDC is in an uncompleted state, the first signal detection instruction is sent to the OBC. After receiving and executing the first signal detection instruction, the OBC detects the signal status of the control guidance function signal (CP signal) and the AC charging signal (CC signal) or the DC charging signal (CC2 signal) to determine whether the plug and socket are connected intact and whether the charging device connection is completed, and feeds back the first signal detection result to the charging management module 1041. If the charging management module 1041 determines that the signal status of the CP signal and the CC signal / CC2 signal is normal according to the first signal detection result, it triggers the OBC to send the first diagnostic message (such as a wake-up message / wake-up instruction 0x75C) to the BMS. After the BMS is awakened in response to the first diagnostic message, it can wake up the VCU by hard-line wake-up or CAN message wake-up. After the VCU is awakened, the charging management module 1041 triggers the VCU, the VCU controls the main relay (also called the VCU main relay) to close, and sends the first charging control instruction to the OBC. The charging management module 1041 triggers the OBC to receive and execute the first charging control instruction, and the OBC controls the closing of the charging relay to enter the high-voltage power process. The OBC uses the power provided by the power supply device 105 to charge the power battery pack 106 of the target vehicle.
[0083] When the OTA upgrade master is upgrading and flashing the DCDC and the network application communications of the entire vehicle system are disabled, diagnostic messages are used to communicate among OBC, BMS, and VCU, and charging management of OBC, BMS, and VCU is performed based on the above-mentioned first charging management strategy, thereby charging the power battery pack 106 of the target vehicle.
[0084] In some embodiments, charging a power battery pack of a target vehicle using electric energy provided by a power supply device includes:
[0085] Determine the current carrying capacity of the power supply equipment and its own charging power;
[0086] Determine the target charging current based on the current carrying capacity and the self-charging power;
[0087] Based on the target charging current, the electric energy provided by the power supply equipment is transmitted to the power battery pack of the target vehicle to charge the power battery pack.
[0088] Current carrying capacity refers to the amount of current that a circuit or device can withstand. Generally speaking, a higher current carrying capacity means that the circuit or device can withstand a larger current and thus has a higher power output capability.
[0089] The self-charging power in the embodiment of the present application refers to the charging power of the OBC.
[0090] As an example, OBC can determine the maximum requested charging voltage and the maximum requested charging current based on the charging harness status (such as whether the charging cable is intact and whether the power-on status is normal) and the power supply equipment information (such as the capacity and power of the power supply equipment), and then determine the charging request power based on the maximum requested charging voltage and the maximum requested charging current. Next, compare the current carrying capacity of the power supply equipment, its own charging power and the charging request power, and take the minimum power of the three as the charging output power. Calculate the target charging current based on the charging output power. Finally, with the target charging current, the electric energy provided by the power supply equipment is delivered to the power battery pack 106 of the target vehicle, thereby charging the power battery pack 106.
[0091] In some embodiments, based on the target charging current, the electric energy provided by the power supply device is transmitted to the power battery pack of the target vehicle to charge the power battery pack, including:
[0092] When delivering power to the target vehicle's power battery pack, the pulse width modulation duty cycle signal is collected in real time;
[0093] Adjusting the target charging current based on the pulse width modulation duty cycle signal to obtain an adjusted charging current;
[0094] Based on the adjusted charging current, electric energy continues to be delivered to the power battery pack of the target vehicle until a preset charging cut-off condition is met, and then the delivery of electric energy to the power battery pack is stopped.
[0095] Specifically, when the OBC transmits electric energy to the power battery pack 106, that is, in the process of charging the power battery pack 106, it can collect its pulse width modulation duty cycle signal (that is, PWM duty cycle signal) in real time, and adjust the size of the target charging current according to the pulse width modulation duty cycle signal to obtain the adjusted charging current; then based on the adjusted charging current, continue to transmit electric energy to the power battery pack of the target vehicle until the preset charging cut-off condition is met, stop transmitting electric energy to the power battery pack, and complete the charging of the power battery pack 106.
[0096] PWM duty cycle refers to the ratio of the time the high level is maintained to the modulation period of the PWM in the output PWM waveform. For example, if the frequency of PWM is 1000Hz, then its modulation period is 1ms. If the high level appears for 300us, then the low level is 700us, the duty cycle is 300:1000, and the PWM duty cycle is 3 / 10.
[0097] When the PWM duty cycle is greater than the preset threshold, the target charging current can be appropriately reduced; when the PWM duty cycle is less than or equal to the preset threshold, the target charging current can be appropriately increased. In this way, the charging stability and safety of the power battery pack can be guaranteed.
[0098] In some embodiments, based on adjusting the charging current, continuing to deliver electric energy to the power battery pack of the target vehicle until a preset charging cut-off condition is met, and then stopping delivering electric energy to the power battery pack, includes:
[0099] Triggering the battery management system so that the battery management system monitors the current charging state of the power battery pack in real time, and if it is determined that the current charging state of the power battery pack meets the preset charging cut-off condition, a charging completion instruction is sent to the vehicle controller;
[0100] Trigger the vehicle controller so that when the vehicle controller receives the charging completion instruction, it obtains the vehicle status information of the target vehicle. If it is determined to stop supplying power to the power battery pack based on the vehicle status information, the main relay is controlled to disconnect and a high-voltage power instruction is sent to the battery management system;
[0101] The battery management system is triggered so that after receiving the high voltage power command, the battery management system controls the charging relay to disconnect.
[0102] The preset charging cut-off condition may be that the total voltage of the power battery pack reaches a first preset voltage threshold (which can be set according to actual conditions), and / or the maximum voltage of the battery cells of the power battery pack reaches a second preset voltage threshold (which can be set according to actual conditions), and / or the charging current is adjusted to reach a preset current threshold (which can be set according to actual conditions).
[0103] As an example, the charging management module 1041 triggers the BMS, and the BMS monitors the current charging state of the power battery pack in real time (including at least one of the total voltage of the power battery pack, the voltage of the battery cell, and the adjusted charging current). The BMS can determine whether the current charging state of the power battery pack meets the preset charging cutoff condition by judging whether the total voltage of the power battery pack reaches the first preset voltage threshold, and / or judging whether the highest voltage of the battery cell of the power battery pack reaches the second preset voltage threshold, and / or judging whether the adjusted charging current reaches the preset current threshold. If the total voltage of the power battery pack reaches the first preset voltage threshold, and / or the highest voltage of the battery cell of the power battery pack reaches the second preset voltage threshold, and / or the adjusted charging current reaches the preset current threshold, it is determined that the current charging state of the power battery pack meets the preset charging cutoff condition, and at this time, the BMS sends a charging completion instruction to the VCU.
[0104] The charging management module 1041 triggers the VCU to receive the charging completion instruction and obtain the vehicle status information of the target vehicle (including the current charging status of the power battery pack, etc.). If the VCU determines to stop supplying power to the power battery pack 106 based on the vehicle status information of the target vehicle, the power battery pack 106 is generally fully charged at this time. The VCU controls the main relay to disconnect and sends a high-voltage power instruction to the BMS. The charging management module 1041 triggers the BMS to receive and execute the high-voltage power instruction, controls the charging relay to disconnect, and disconnects the high-voltage output circuit.
[0105] In some embodiments, after the on-board charger is triggered to execute the first charging control instruction, the charging relay is controlled to be closed, and the power battery pack of the target vehicle is charged with the electric energy provided by the power supply device, the method further includes:
[0106] Trigger the battery management system to send a second diagnostic message to the battery controller, and receive the current voltage value of the battery fed back by the battery controller in response to the second diagnostic message; if the current voltage value is lower than the preset voltage threshold, convert the high-voltage direct current provided by the power battery pack into low-voltage direct current, and use the low-voltage direct current to charge the battery.
[0107] See also Figure 6 , the charging management module 1041 triggers the BMS, and the BMS sends a diagnostic message 0x75E to the battery controller. After receiving the diagnostic message 0x75E, the battery controller feeds back its current voltage value to the BMS. When the BMS determines that the current voltage value of the battery 107 is lower than the preset voltage threshold (for example, 10.8V), the high-voltage direct current provided by the power battery pack 106 is converted into a low-voltage direct current (such as 12V direct current), and the low-voltage direct current is used to charge the battery 107.
[0108] In some embodiments, during the process of charging the battery 107 , the BMS may adjust the output power in real time according to the real-time voltage value of the battery 107 to ensure the charging stability and safety of the battery.
[0109] In some embodiments, a second charging management strategy is used to manage the DCDC converter, the battery management system and the vehicle controller to charge the power battery pack and / or the storage battery of the target vehicle, including:
[0110] Sending a second signal detection instruction to the battery management system so that the battery management system detects the control guidance function signal and the AC charging signal or the DC charging signal, and feeds back the second signal detection result to the charging management module;
[0111] If it is determined based on the second signal detection result that charging docking has been completed between the power supply device and the target vehicle, a second wake-up instruction is sent to the battery management system so that the battery management system executes the second wake-up instruction to wake up the vehicle controller;
[0112] Trigger the vehicle controller to control the main relay to close;
[0113] Triggering the vehicle controller to send a second charging control instruction to the battery management system, so that the battery management system executes the second charging control instruction to control the charging relay to close;
[0114] The battery management system is triggered to charge the power battery pack of the target vehicle using the electric energy provided by the power supply equipment.
[0115] See also Figure 7, when the charging management module 1041 determines that the target ECU is OBC based on the physical address in the OTA upgrade diagnostic message, and the OTA upgrade completion status of the OBC is in an uncompleted state, the second signal detection instruction is sent to the BMS. The BMS receives and executes the second signal detection instruction, detects the signal status of the control guidance function signal (CP signal) and the AC charging signal (CC signal) or the DC charging signal (CC2 signal) to determine whether the plug and socket are connected intact and whether the charging device connection is completed, and feeds back the second signal detection result to the charging management module 1041. If the charging management module 1041 determines that the charging docking between the power supply device and the target vehicle has been completed based on the second signal detection result, a second wake-up instruction (such as a hard-line wake-up instruction) is sent to the BMS. The BMS receives and executes the second wake-up instruction to wake up the VCU. After the VCU is awakened, the charging management module 1041 triggers the VCU to control the VCU main relay to close. The charging management module 1041 triggers the VCU to send a charging control instruction to the BMS. The BMS receives and executes the second charging control instruction sent by the VCU to control the charging relay to close. The charging management module 1041 triggers the BMS to charge the power battery pack of the target vehicle using the power provided by the power supply equipment.
[0116] The charging management module 1041 triggers the VCU to monitor the current voltage value of the battery 107 of the target vehicle in real time, and compares the current voltage value with the preset voltage threshold; if the current voltage value is less than the preset voltage threshold, a battery low voltage signal is sent to the DCDC. When the DCDC receives the battery low voltage signal, it converts the high voltage DC power provided by the power battery pack 106 into low voltage DC power (such as 12V DC power), and uses the low voltage DC power to charge the battery 107.
[0117] In some embodiments, a third charging management strategy is used to manage the DCDC converter, the onboard charger and the vehicle controller to charge the power battery pack of the target vehicle, including:
[0118] Sending a first signal detection instruction to the on-board charger, so that the on-board charger detects the control guidance function signal and the AC charging signal or the DC charging signal, and feeds back the first signal detection result to the charging management module;
[0119] If it is determined based on the first signal detection result that charging docking has been completed between the power supply device and the target vehicle, the on-board charger is triggered to send a third diagnostic message to the vehicle controller to wake up the vehicle controller;
[0120] Trigger the vehicle controller to control the main relay to close and send a third charging control instruction to the on-board charger;
[0121] The on-board charger is triggered to execute the third charging control instruction, control the charging relay to close, and use the electric energy provided by the power supply equipment to charge the power battery pack of the target vehicle.
[0122] See also Figure 8 , the charging management module 1041 sends a first signal detection instruction to the OBC, and the OBC executes the first signal detection instruction, detects the signal status of the CP signal and the CC signal and / or the CC2 signal, and feeds back the first signal detection result to the charging management module 1041. If the charging management module 1041 determines that the signal status of the CP signal and the CC signal / CC2 signal is normal according to the first signal detection result, and determines that the charging docking between the power supply device and the target vehicle has been completed, the OBC is triggered to send a second diagnostic message (such as a CAN message) to the VCU to wake up the VCU. After the VCU is awakened, the charging management module 1041 triggers the VCU to control the VCU main relay to close. The VCU is triggered to send a third charging control instruction to the OBC. The OBC is triggered to execute the third charging control instruction, control the charging relay to close, and use the electric energy provided by the power supply device to charge the power battery pack 106 of the target vehicle.
[0123] The charging management module 1041 triggers the VCU to monitor the current voltage value of the battery 107 of the target vehicle in real time, and compares the current voltage value with the preset voltage threshold; if the current voltage value is less than the preset voltage threshold, a battery low voltage signal is sent to the DCDC. When the DCDC receives the battery low voltage signal, it converts the high voltage DC power provided by the power battery pack 106 into low voltage DC power (such as 12V DC power), and uses the low voltage DC power to charge the battery 107.
[0124] In some embodiments, a fourth charging management strategy is used to manage the DCDC converter, the on-board charger and the battery management system to charge the power battery pack of the target vehicle, including:
[0125] Sending a third wake-up instruction to the battery management system to wake up the battery management system;
[0126] Triggering the battery management system to control the main relay and the charging relay to close, and sending a fourth diagnostic message to the on-board charger;
[0127] The on-board charger is triggered, and in response to the fourth diagnostic message, the control guidance function signal and the AC charging signal or the DC charging signal are detected. If it is determined that the signal status of the control guidance function signal and the AC charging signal or the DC charging signal is normal, the power battery pack of the target vehicle is charged using the electric energy provided by the power supply equipment.
[0128] See also Fig. 9, the charging management module 1041 sends a third wake-up instruction to the BMS to wake up the BMS. After the BMS is awakened, the BMS is triggered to wake up the VCU main relay through a hard line, and controls the VCU main relay to close, and sends a fourth diagnostic message (such as 0x75C) to the OBC to wake up the OBC. After the OBC is awakened in response to the fourth diagnostic message, it detects the control guidance function signal and the AC charging signal or the DC charging signal. If it is determined that the signal status of the control guidance function signal and the AC charging signal or the DC charging signal is normal, the power battery pack of the target vehicle is charged using the power provided by the power supply equipment.
[0129] The charging management module 1041 triggers the VCU to monitor the current voltage value of the battery 107 of the target vehicle in real time, and compares the current voltage value with the preset voltage threshold; if the current voltage value is less than the preset voltage threshold, a battery low voltage signal is sent to the DCDC. When the DCDC receives the battery low voltage signal, it converts the high voltage DC power provided by the power battery pack 106 into low voltage DC power (such as 12V DC power), and uses the low voltage DC power to charge the battery 107.
[0130] In some embodiments, if the charging management module 1041 determines based on the physical address that the target ECU is at least two of the DCDC converter, the on-board charger, or the vehicle controller, for example, the target ECU is the DCDC and the VCU, then the BMS can take over the relevant charging functions of the DCDC and the VCU. For another example, if the target ECU is the DCDC converter and the on-board charger, then the BMS can take over the charging functions of the DCDC and the OBC. For another example, if the target ECU is the on-board charger and the vehicle controller, then the BMS can take over the relevant charging functions of the on-board charger and the vehicle controller.
[0131] In some embodiments, if the charging management module 1041 determines based on the physical address that the target ECU is at least two of the DCDC converter, the on-board charger, or the battery management system, for example, if the target ECU is the DCDC converter and the on-board charger, then the BMS can take over the relevant charging functions of the DCDC and OBC. For another example, if the target ECU is the on-board charger and the battery management system, then the VCU can take over the relevant charging functions of the on-board charger and the battery management system.
[0132] When the target vehicle is in OTA mode, and the OTA upgrade master upgrades and flashes one or more of the DCDC, OBC, BMS, and VCU, wherein the BMS and VCU are not in OTA upgrade mode at the same time, the above-mentioned implementation method can be used to use diagnostic messages to achieve normal communication between other devices in the charging component that are in non-OTA mode, and these devices can be coordinated and charged to achieve charging of the vehicle's battery and / or power battery.
[0133] All the above optional technical solutions can be arbitrarily combined to form optional embodiments of the present application, which will not be described one by one here.
[0134] The charging management method provided in the embodiment of the present application supports charging the vehicle's power battery pack and / or storage battery when upgrading any one of the OTA upgrade main control DCDC, OBC, BMS, and VCU, or at least two of DCDC, OBC, and BMS, or at least two of DCDC, OBC, and VCU, thereby providing users (such as car owners) with a better car experience. The present application supports charging of storage batteries by power battery packs. The present application supports communication between ECUs through diagnostic messages during OTA upgrades, avoiding information interruptions due to application message muteness.
[0135] The following are device embodiments of the present application, which can be used to execute the method embodiments of the present application. For details not disclosed in the device embodiments of the present application, please refer to the method embodiments of the present application.
[0136] Fig.10 is a schematic diagram of a charging management module provided in an embodiment of the present application. Fig.10 As shown, the charging management module includes:
[0137] The acquisition unit 1001 is configured to acquire an OTA upgrade diagnostic message when the target vehicle is in OTA mode and a control guidance function signal sent by the power supply device is detected, wherein the OTA upgrade diagnostic message includes the target ECU and its physical address and the OTA upgrade completion status;
[0138] The first charging management unit 1002 is configured to manage the on-board charger, the battery management system and the vehicle controller using a first charging management strategy to charge the power battery pack and / or storage battery of the target vehicle if the target ECU is determined to be a DCDC converter based on the physical address and the OTA upgrade completion status of the target ECU is an incomplete state;
[0139] The second charging management unit 1003 is configured to manage the DCDC converter, the battery management system and the vehicle controller using a second charging management strategy to achieve charging of the power battery pack and / or storage battery of the target vehicle if the target ECU is determined to be an on-board charger based on the physical address and the OTA upgrade completion status of the target ECU is an incomplete state;
[0140] The third charging management unit 1004 is configured to manage the DCDC converter, the on-board charger and the vehicle controller using a third charging management strategy to charge the power battery pack and / or storage battery of the target vehicle if the target ECU is determined to be a battery management system based on the physical address and the OTA upgrade completion status of the target ECU is an incomplete state;
[0141] The fourth charging management unit 1005 is configured to manage the DCDC converter, the on-board charger and the battery management system using a fourth charging management strategy to charge the power battery pack and / or storage battery of the target vehicle if the target ECU is determined to be a vehicle controller based on the physical address and the OTA upgrade completion status of the target ECU is an incomplete state;
[0142] The fifth charging management unit 1006 is configured to adopt a fifth charging management strategy to manage the battery management system, or the battery management system and one of the DCDC converter, the onboard charger or the vehicle controller, so as to charge the power battery pack and / or the storage battery of the target vehicle if the target ECU is determined to be at least two of the DCDC converter, the onboard charger or the vehicle controller based on the physical address, and the OTA upgrade completion status of the target ECU is incomplete;
[0143] The sixth charging management unit 1007 is configured to adopt the sixth charging management strategy to manage the vehicle controller, or the vehicle controller and the DCDC converter or the on-board charger if the target ECU is determined to be at least two of the DCDC converter, the on-board charger or the battery management system based on the physical address, and the OTA upgrade completion status of the target ECU is incomplete, so as to charge the power battery pack and / or the battery of the target vehicle.
[0144] In some embodiments, the above-mentioned first charging management unit 1002 includes a first charging management component, which is configured to: adopt a first charging management strategy to manage the on-board charger, battery management system and vehicle controller to achieve charging of the power battery pack of the target vehicle.
[0145] The first charging management component may be specifically configured as follows:
[0146] Sending a first signal detection instruction to the on-board charger, so that the on-board charger detects the control guidance function signal and the AC charging signal or the DC charging signal, and feeds back the first signal detection result to the charging management module;
[0147] If it is determined based on the first signal detection result that the signal states of the control guidance function signal and the AC charging signal or the DC charging signal are normal, triggering the on-board charger to send a first diagnostic message to the battery management system to wake up the battery management system and the vehicle controller;
[0148] Triggering the vehicle controller to control the closing of the main relay and send a first charging control instruction to the on-board charger;
[0149] The on-board charger is triggered to execute the first charging control instruction, control the closing of the charging relay, and use the electric energy provided by the power supply equipment to charge the power battery pack of the target vehicle.
[0150] In some embodiments, the on-board charger can be specifically configured to: determine the current carrying capacity of the power supply device and its own charging power; determine the target charging current based on the current carrying capacity and its own charging power; based on the target charging current, transmit the electric energy provided by the power supply device to the power battery pack of the target vehicle to charge the power battery pack.
[0151] In some embodiments, based on the target charging current, the electric energy provided by the power supply device is transmitted to the power battery pack of the target vehicle to charge the power battery pack, including:
[0152] When delivering power to the target vehicle's power battery pack, the pulse width modulation duty cycle signal is collected in real time;
[0153] Adjusting the target charging current based on the pulse width modulation duty cycle signal to obtain an adjusted charging current;
[0154] Based on the adjusted charging current, electric energy continues to be delivered to the power battery pack of the target vehicle until a preset charging cut-off condition is met, and then the delivery of electric energy to the power battery pack is stopped.
[0155] In some embodiments, based on adjusting the charging current, continuing to deliver electric energy to the power battery pack of the target vehicle until a preset charging cut-off condition is met, and then stopping delivering electric energy to the power battery pack, includes:
[0156] Triggering the battery management system so that the battery management system monitors the current charging state of the power battery pack in real time, and if it is determined that the current charging state of the power battery pack meets the preset charging cut-off condition, a charging completion instruction is sent to the vehicle controller;
[0157] Trigger the vehicle controller so that when the vehicle controller receives the charging completion instruction, it obtains the vehicle status information of the target vehicle. If it is determined to stop supplying power to the power battery pack based on the vehicle status information, the main relay is controlled to disconnect and a high-voltage power instruction is sent to the battery management system;
[0158] The battery management system is triggered so that after receiving the high voltage power command, the battery management system controls the charging relay to disconnect.
[0159] In some embodiments, the charging management module may further include:
[0160] The seventh charging management unit is configured to trigger the battery management system so that the battery management system sends a second diagnostic message to the battery controller, and receives the current voltage value of the battery fed back by the battery controller in response to the second diagnostic message; if the current voltage value is lower than a preset voltage threshold, the high-voltage direct current provided by the power battery pack is converted into low-voltage direct current, and the battery is charged using the low-voltage direct current.
[0161] In some embodiments, the above-mentioned second charging management unit 1003 includes a second charging management component, which can be configured to: adopt a second charging management strategy to manage the DCDC converter, battery management system and vehicle controller to achieve charging of the power battery pack and / or battery of the target vehicle.
[0162] The second charging management component may be specifically configured as follows:
[0163] Sending a second signal detection instruction to the battery management system so that the battery management system detects the control guidance function signal and the AC charging signal or the DC charging signal, and feeds back the second signal detection result to the charging management module;
[0164] If it is determined based on the second signal detection result that charging docking has been completed between the power supply device and the target vehicle, a second wake-up instruction is sent to the battery management system so that the battery management system executes the second wake-up instruction to wake up the vehicle controller;
[0165] Trigger the vehicle controller to control the main relay to close;
[0166] Triggering the vehicle controller to send a second charging control instruction to the battery management system, so that the battery management system executes the second charging control instruction to control the charging relay to close;
[0167] The battery management system is triggered to charge the power battery pack of the target vehicle using the electric energy provided by the power supply equipment.
[0168] In some embodiments, the third charging management unit 1004 includes a third charging management component, which can be configured to: adopt a third charging management strategy to manage the DCDC converter, the on-board charger and the vehicle controller to realize charging of the power battery pack of the target vehicle.
[0169] The third charging management component may be specifically configured as follows:
[0170] Sending a first signal detection instruction to the on-board charger, so that the on-board charger detects the control guidance function signal and the AC charging signal or the DC charging signal, and feeds back the first signal detection result to the charging management module;
[0171] If it is determined based on the first signal detection result that charging docking has been completed between the power supply device and the target vehicle, the on-board charger is triggered to send a third diagnostic message to the vehicle controller to wake up the vehicle controller;
[0172] Trigger the vehicle controller to control the main relay to close and send a third charging control instruction to the on-board charger;
[0173] The on-board charger is triggered to execute the third charging control instruction, control the charging relay to close, and use the electric energy provided by the power supply equipment to charge the power battery pack of the target vehicle.
[0174] In some embodiments, the fourth charging management unit 1005 includes a fourth charging management component, which can be configured to: adopt a fourth charging management strategy to manage the DCDC converter, the on-board charger and the battery management system to realize charging of the power battery pack of the target vehicle.
[0175] The fourth charging management component can be specifically configured as
[0176] Sending a third wake-up instruction to the battery management system to wake up the battery management system;
[0177] Triggering the battery management system to control the main relay and the charging relay to close, and sending a fourth diagnostic message to the on-board charger;
[0178] The on-board charger is triggered, and in response to the fourth diagnostic message, the control guidance function signal and the AC charging signal or the DC charging signal are detected. If it is determined that the signal status of the control guidance function signal and the AC charging signal or the DC charging signal is normal, the power battery pack of the target vehicle is charged using the electric energy provided by the power supply equipment.
[0179] It should be understood that the size of the serial numbers of the steps in the above embodiments does not mean the order of execution. The execution order of each process should be determined by its function and internal logic, and should not constitute any limitation on the implementation process of the embodiments of the present application.
[0180] Fig.11 Schematic diagram of an electronic device 11 provided in an embodiment of the present application. Fig.11As shown, the electronic device 11 of this embodiment includes: a processor 1101, a memory 1102, and a computer program 1103 stored in the memory 1102 and executable on the processor 1101. When the processor 1101 executes the computer program 1103, the steps in the above-mentioned method embodiments are implemented. Alternatively, when the processor 1101 executes the computer program 1103, the functions of the modules / units in the above-mentioned device embodiments are implemented.
[0181] The electronic device 11 may be a desktop computer, a notebook, a PDA, a cloud server, or other electronic device. The electronic device 11 may include, but is not limited to, a processor 1101 and a memory 1102. Those skilled in the art will appreciate that Fig.11 The electronic device 11 is merely an example and does not limit the electronic device 11 , and may include more or fewer components than those shown in the figure, or different components.
[0182] Processor 1101 can be a central processing unit (CPU), or other general-purpose processors, digital signal processors (DSP), application-specific integrated circuits (ASIC), field-programmable gate arrays (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components, etc.
[0183] The memory 1102 may be an internal storage unit of the electronic device 11, for example, a hard disk or memory of the electronic device 11. The memory 1102 may also be an external storage device of the electronic device 11, for example, a plug-in hard disk, a smart media card (SMC), a secure digital (SD) card, a flash card (FlashCard), etc. equipped on the electronic device 11. The memory 1102 may also include both an internal storage unit of the electronic device 11 and an external storage device. The memory 1102 is used to store computer programs and other programs and data required by the electronic device.
[0184] Those skilled in the art can clearly understand that for the convenience and simplicity of description, only the division of the above-mentioned functional units and modules is used as an example. In actual applications, the above-mentioned functions can be assigned to different functional units and modules as needed, that is, the internal structure of the device can be divided into different functional units or modules to complete all or part of the functions described above. The functional units and modules in the embodiments can be integrated into one processing unit, or each unit can exist physically separately, or two or more units can be integrated into one unit. The above-mentioned integrated unit can be implemented in the form of hardware or in the form of software functional units.
[0185] If the integrated module / unit is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a readable storage medium (e.g., a computer-readable storage medium). Based on this understanding, the present application implements all or part of the processes in the above-mentioned embodiment method, and can also be completed by instructing the relevant hardware through a computer program. The computer program can be stored in a computer-readable storage medium, and the computer program can implement the steps of the above-mentioned various method embodiments when executed by the processor. The computer program may include computer program code, which may be in source code form, object code form, executable file or some intermediate form. Computer-readable storage media may include: any entity or device capable of carrying computer program code, recording medium, U disk, mobile hard disk, disk, optical disk, computer memory, read-only memory (ROM), random access memory (RAM), electric carrier signal, telecommunication signal and software distribution medium, etc.
[0186] The above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. These modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application, and should all be included in the protection scope of the present application.
Claims
1. A charging management method in OTA upgrade mode, characterized in that: The charging assembly includes a charging management module, and a DCDC converter, an on-board charger, a battery management system and a vehicle controller controlled by the charging management module; The charging management method is applied to the charging management module, comprising the following steps: When the target vehicle is in OTA mode, if a control guidance function signal sent by the power supply device is detected, an OTA upgrade diagnostic message is obtained, wherein the OTA upgrade diagnostic message includes the target ECU and its physical address and the OTA upgrade completion status; If it is determined based on the physical address that the target ECU is a DCDC converter, and the OTA upgrade completion status of the target ECU is an incomplete state, a first charging management strategy is adopted to manage the on-board charger, the battery management system and the vehicle controller to realize charging of the power battery pack and / or the storage battery of the target vehicle; If the target ECU is determined to be an on-board charger based on the physical address, and the OTA upgrade completion status of the target ECU is an incomplete state, a second charging management strategy is adopted to manage the DCDC converter, the battery management system and the vehicle controller to realize charging of the power battery pack and / or the storage battery of the target vehicle; If it is determined based on the physical address that the target ECU is a battery management system, and the OTA upgrade completion status of the target ECU is an incomplete state, a third charging management strategy is adopted to manage the DCDC converter, the on-board charger and the vehicle controller to realize charging of the power battery pack and / or the storage battery of the target vehicle; If the target ECU is determined to be a vehicle controller based on the physical address, and the OTA upgrade completion status of the target ECU is an incomplete state, a fourth charging management strategy is adopted to manage the DCDC converter, the on-board charger and the battery management system to realize charging of the power battery pack and / or the storage battery of the target vehicle; If the target ECU is determined to be any two of the DCDC converter, the on-board charger or the vehicle controller based on the physical address, and the OTA upgrade completion status of the target ECU is incomplete, the battery management system takes over the relevant charging function of the target ECU to charge the power battery pack and / or storage battery of the target vehicle; If the target ECU is determined to be a DCDC converter and an on-board charger based on the physical address, and the OTA upgrade completion status of the target ECU is an incomplete state, the battery management system takes over the relevant charging functions of the target ECU to realize charging of the power battery pack and / or storage battery of the target vehicle; If the target ECU is determined to be an on-board charger and a battery management system based on the physical address, and the OTA upgrade completion status of the target ECU is an incomplete state, the vehicle controller takes over the relevant charging functions of the target ECU to realize charging of the power battery pack and / or storage battery of the target vehicle; The on-board charger, the battery management system and the vehicle controller are managed by adopting a first charging management strategy to realize charging of the power battery pack of the target vehicle, including: Sending a first signal detection instruction to the on-board charger, so that the on-board charger detects the control guidance function signal and the AC charging signal or the DC charging signal, and feeds back the first signal detection result to the charging management module; If it is determined based on the first signal detection result that the signal states of the control guidance function signal and the AC charging signal or the DC charging signal are normal, triggering the on-board charger to send a first diagnostic message to the battery management system to wake up the battery management system and the vehicle controller; Triggering the vehicle controller to control closing of the main relay and sending a first charging control instruction to the on-board charger; Triggering the on-board charger to execute the first charging control instruction, controlling the closing of the charging relay, and charging the power battery pack of the target vehicle using the electric energy provided by the power supply device; The DCDC converter, the battery management system and the vehicle controller are managed by a second charging management strategy to realize charging of the power battery pack and / or the storage battery of the target vehicle, including: Sending a second signal detection instruction to the battery management system, so that the battery management system detects the control guidance function signal and the AC charging signal or the DC charging signal, and feeds back the second signal detection result to the charging management module; If it is determined based on the second signal detection result that charging docking has been completed between the power supply device and the target vehicle, a second wake-up instruction is sent to the battery management system so that the battery management system executes the second wake-up instruction to wake up the vehicle controller; Triggering the vehicle controller to control the main relay to close; Triggering the vehicle controller to send a second charging control instruction to the battery management system, so that the battery management system executes the second charging control instruction to control the charging relay to close; Triggering the battery management system to charge the power battery pack of the target vehicle using the electric energy provided by the power supply device; The DCDC converter, the on-board charger and the vehicle controller are managed by adopting a third charging management strategy to realize charging of the power battery pack of the target vehicle, including: Sending a first signal detection instruction to the on-board charger, so that the on-board charger detects the control guidance function signal and the AC charging signal or the DC charging signal, and feeds back the first signal detection result to the charging management module; If it is determined based on the first signal detection result that charging docking has been completed between the power supply device and the target vehicle, the on-board charger is triggered to send a third diagnostic message to the vehicle controller to wake up the vehicle controller; Triggering the vehicle controller to control the main relay to close, and sending a third charging control instruction to the on-board charger; Triggering the on-board charger, executing the third charging control instruction, controlling the charging relay to close, and using the electric energy provided by the power supply device to charge the power battery pack of the target vehicle; The fourth charging management strategy is used to manage the DCDC converter, the on-board charger and the battery management system to charge the power battery pack of the target vehicle, including: Sending a third wake-up instruction to the battery management system to wake up the battery management system; Triggering the battery management system to control the main relay and the charging relay to close, and sending a fourth diagnostic message to the on-board charger; The on-board charger is triggered, and in response to the fourth diagnostic message, the control guidance function signal and the AC charging signal or the DC charging signal are detected. If it is determined that the signal status of the control guidance function signal and the AC charging signal or the DC charging signal is normal, the power battery pack of the target vehicle is charged using the electric energy provided by the power supply device.
2. The method according to claim 1, characterized in that Using the electric energy provided by the power supply device to charge the power battery pack of the target vehicle includes: Determine the current carrying capacity and self-charging power of the power supply device; Determining a target charging current according to the current carrying capacity and the self-charging power; Based on the target charging current, the electric energy provided by the power supply device is transmitted to the power battery pack of the target vehicle to charge the power battery pack.
3. The method according to claim 2, characterized in that Based on the target charging current, the electric energy provided by the power supply device is transmitted to the power battery pack of the target vehicle to charge the power battery pack, including: When delivering electric energy to the power battery pack of the target vehicle, collecting a pulse width modulation duty cycle signal in real time; Adjusting the target charging current based on the pulse width modulation duty cycle signal to obtain an adjusted charging current; Based on the adjusted charging current, electric energy continues to be delivered to the power battery pack of the target vehicle until a preset charging cut-off condition is met, and then the delivery of electric energy to the power battery pack is stopped.
4. The method according to claim 3, characterized in that Based on the adjusted charging current, continue to transmit electric energy to the power battery pack of the target vehicle until a preset charging cut-off condition is met, and stop transmitting electric energy to the power battery pack, including: Triggering the battery management system so that the battery management system monitors the current charging state of the power battery pack in real time, and if it is determined that the current charging state of the power battery pack meets a preset charging cut-off condition, sending a charging completion instruction to the vehicle controller; Triggering the vehicle controller so that when the vehicle controller receives the charging completion instruction, it obtains the vehicle status information of the target vehicle, and if it is determined to stop supplying power to the power battery pack based on the vehicle status information, it controls the main relay to disconnect and sends a high-voltage power instruction to the battery management system; The battery management system is triggered so that after receiving the lower high voltage power instruction, the battery management system controls the charging relay to disconnect.
5. The method according to claim 1, characterized in that After triggering the on-board charger to execute the first charging control instruction, controlling the closing of the charging relay, and charging the power battery pack of the target vehicle with the electric energy provided by the power supply device, the method further includes: Trigger the battery management system to send a second diagnostic message to the battery controller, and receive the current voltage value of the battery fed back by the battery controller in response to the second diagnostic message; if the current voltage value is lower than the preset voltage threshold, convert the high-voltage direct current provided by the power battery pack into low-voltage direct current, and use the low-voltage direct current to charge the battery.
6. A charging management module, characterized in that: The charging management module is configured to perform the steps of the method according to claim 1, and the charging management module comprises: An acquisition unit is configured to acquire an OTA upgrade diagnostic message when a control guidance function signal sent by a power supply device is detected when the target vehicle is in an OTA mode, wherein the OTA upgrade diagnostic message includes a target ECU and its physical address and an OTA upgrade completion status; A first charging management unit is configured to manage the on-board charger, the battery management system and the vehicle controller using a first charging management strategy to achieve charging of the power battery pack and / or storage battery of the target vehicle if it is determined based on the physical address that the target ECU is a DCDC converter and the OTA upgrade completion status of the target ECU is an incomplete state; A second charging management unit is configured to manage the DCDC converter, the battery management system and the vehicle controller using a second charging management strategy to achieve charging of the power battery pack and / or storage battery of the target vehicle if the target ECU is determined to be an on-board charger based on the physical address and the OTA upgrade completion status of the target ECU is an incomplete state; a third charging management unit configured to manage the DCDC converter, the on-board charger and the vehicle controller using a third charging management strategy to achieve charging of the power battery pack and / or storage battery of the target vehicle if the target ECU is determined to be a battery management system based on the physical address and the OTA upgrade completion status of the target ECU is an incomplete state; a fourth charging management unit, configured to manage the DCDC converter, the on-board charger and the battery management system using a fourth charging management strategy to achieve charging of the power battery pack and / or storage battery of the target vehicle if the target ECU is determined to be a vehicle controller based on the physical address and the OTA upgrade completion status of the target ECU is an incomplete state; a fifth charging management unit, configured to, if it is determined based on the physical address that the target ECU is any two of a DCDC converter, an onboard charger or a vehicle controller, and the OTA upgrade completion status of the target ECU is an incomplete state, then the battery management system takes over the relevant charging function of the target ECU to realize charging of the power battery pack and / or storage battery of the target vehicle; The sixth charging management unit is configured to, if the target ECU is determined to be a DCDC converter and an on-board charger based on the physical address, and the OTA upgrade completion status of the target ECU is an incomplete state, then the battery management system takes over the relevant charging functions of the target ECU to realize charging of the power battery pack and / or the battery of the target vehicle; if the target ECU is determined to be an on-board charger and a battery management system based on the physical address, and the OTA upgrade completion status of the target ECU is an incomplete state, then the vehicle controller takes over the relevant charging functions of the target ECU to realize charging of the power battery pack and / or the battery of the target vehicle; The on-board charger, the battery management system and the vehicle controller are managed by adopting a first charging management strategy to realize charging of the power battery pack of the target vehicle, including: Sending a first signal detection instruction to the on-board charger, so that the on-board charger detects the control guidance function signal and the AC charging signal or the DC charging signal, and feeds back the first signal detection result to the charging management module; If it is determined based on the first signal detection result that the signal states of the control guidance function signal and the AC charging signal or the DC charging signal are normal, triggering the on-board charger to send a first diagnostic message to the battery management system to wake up the battery management system and the vehicle controller; Triggering the vehicle controller to control closing of the main relay and sending a first charging control instruction to the on-board charger; Triggering the on-board charger to execute the first charging control instruction, controlling the closing of the charging relay, and charging the power battery pack of the target vehicle using the electric energy provided by the power supply device; The DCDC converter, the battery management system and the vehicle controller are managed by a second charging management strategy to realize charging of the power battery pack and / or the storage battery of the target vehicle, including: Sending a second signal detection instruction to the battery management system, so that the battery management system detects the control guidance function signal and the AC charging signal or the DC charging signal, and feeds back the second signal detection result to the charging management module; If it is determined based on the second signal detection result that charging docking has been completed between the power supply device and the target vehicle, a second wake-up instruction is sent to the battery management system so that the battery management system executes the second wake-up instruction to wake up the vehicle controller; Triggering the vehicle controller to control the main relay to close; Triggering the vehicle controller to send a second charging control instruction to the battery management system, so that the battery management system executes the second charging control instruction to control the charging relay to close; Triggering the battery management system to charge the power battery pack of the target vehicle using the electric energy provided by the power supply device; The DCDC converter, the on-board charger and the vehicle controller are managed by adopting a third charging management strategy to realize charging of the power battery pack of the target vehicle, including: Sending a first signal detection instruction to the on-board charger, so that the on-board charger detects the control guidance function signal and the AC charging signal or the DC charging signal, and feeds back the first signal detection result to the charging management module; If it is determined based on the first signal detection result that charging docking has been completed between the power supply device and the target vehicle, the on-board charger is triggered to send a third diagnostic message to the vehicle controller to wake up the vehicle controller; Triggering the vehicle controller to control the main relay to close, and sending a third charging control instruction to the on-board charger; Triggering the on-board charger, executing the third charging control instruction, controlling the charging relay to close, and using the electric energy provided by the power supply device to charge the power battery pack of the target vehicle; The fourth charging management strategy is used to manage the DCDC converter, the on-board charger and the battery management system to charge the power battery pack of the target vehicle, including: Sending a third wake-up instruction to the battery management system to wake up the battery management system; Triggering the battery management system to control the main relay and the charging relay to close, and sending a fourth diagnostic message to the on-board charger; The on-board charger is triggered, and in response to the fourth diagnostic message, the control guidance function signal and the AC charging signal or the DC charging signal are detected. If it is determined that the signal status of the control guidance function signal and the AC charging signal or the DC charging signal is normal, the power battery pack of the target vehicle is charged using the electric energy provided by the power supply device.
Citation Information
Patent Citations
Charging control method for vehicle control unit of electric vehicle and vehicle control unit
CN114789674A
Over-the-air update apparatus for vehicle and method thereof
CN115705205A