High-voltage activation state recovery method of vehicle control unit, vehicle, equipment and medium

By extracting the key variables before abnormal reset of the vehicle control unit and determining whether the vehicle meets the high-voltage activation conditions, the battery management system is directly controlled to power the vehicle control unit, solving the problems of cumbersome operation and low processing efficiency in the existing technology, realizing inductive recovery and efficient power recovery.

CN119590274APending Publication Date: 2025-03-11AVATR CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202411725894.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-11-28
Publication Date
2025-03-11

AI Technical Summary

Technical Problem

The prior art after the vehicle control unit is abnormally reset, the operation is cumbersome and the processing efficiency is low, which increases the risk of vehicle use and makes it difficult to meet the vehicle's use needs.

Method used

After the vehicle control unit determines abnormal reset and completes initialization, the key variables are extracted from the preset storage space, and determines whether the vehicle meets the high-voltage activation conditions based on the key variables, and controls the battery management system to power the vehicle control unit to restore it to the high-voltage activation state.

Benefits of technology

Inductive recovery is achieved, processing process is simplified, processing time is shortened, processing efficiency is improved, vehicle usage risks are reduced, and user safety is ensured.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119590274A_ABST
    Figure CN119590274A_ABST
Patent Text Reader

Abstract

The embodiment of the invention relates to the technical field of vehicle control units, and discloses a high-voltage activated state recovery method of a vehicle control unit, a vehicle, equipment and a medium, the method comprises the following steps: after determining that abnormal reset occurs and initialization is completed, extracting a key variable from a preset storage space; determining whether the vehicle meets a high-voltage activation condition according to the key variable; and if it is determined that the vehicle meets the high-voltage activation condition, the vehicle control unit is controlled to recover to the high-voltage activation state. The use state of the vehicle before the vehicle control unit is abnormally reset can be rapidly determined through the key variable, if the vehicle meets the high-voltage activation condition, the vehicle control unit can be immediately controlled to be powered on, so that the vehicle control unit is restored to the high-voltage activation state, and the vehicle is restored to the state before the abnormal reset; as the state of the vehicle is not changed before and after the abnormal reset, the pause feeling of the abnormal reset to the user can be reduced, and the effect of non-inductive recovery is achieved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The embodiments of the present invention relate to the technical field of vehicle control units, and in particular to a method for recovering a high-voltage activated state of a vehicle control unit, a vehicle, a device and a medium. Background Art

[0002] PHEV (plug in hybrid electric vehicle) includes vehicle control unit (VCU), engine, generator, drive motor, power battery, battery management system (BMS) and control units of various devices. VCU sends operation instructions to various control units to achieve functions control, communication network management, mode switching and other operations of the whole vehicle. It can be seen that VCU plays a vital role in coordination and control in hybrid electric vehicles.

[0003] During the driving process of the vehicle, it is inevitable that the VCU will be reset abnormally due to various reasons. Once the VCU is reset abnormally, problems such as returning to Ready, returning the gear to P gear, and power loss will occur. If the drivable driving state cannot be quickly restored, the risk of vehicle use will increase. The VCU high-voltage activation state is a prerequisite for the vehicle to restore power output. In order to restore the vehicle's driving power as soon as possible, one of the commonly used methods is: first determine whether the VCU is reset, and when the VCU is reset, determine the operating state of the vehicle. If the vehicle is in a driving state, wait for the VCU to enter the communication state after the VCU is powered on and initialized; when the VCU communication is restored, let the VCU control the BMS relay to close, so that the BMS restores the VCU to the high-voltage activation state, so that the VCU can control the vehicle to enter the drivable state through instructions to restore the vehicle's driving power.

[0004] However, the above method has the following technical problems: the above method requires that the VCU be reset, and then a series of status judgments, communication recovery and command transmissions are performed to restore the VCU to the high-voltage activation state. Moreover, after the VCU communication is restored, the user needs to control the VCU to re-issue commands to control other control units to restore the vehicle to the driving state. This is not only cumbersome to operate, but also has low processing efficiency, which increases the risk of vehicle use and is difficult to meet the vehicle use needs. Summary of the invention

[0005] In view of the above problems, an embodiment of the present invention provides a method, a vehicle, a device and a medium for recovering the high-voltage activation state of a vehicle control unit, which are used to solve the technical problems of the prior art that the operation is cumbersome, the processing efficiency is low, and the risk of vehicle use is increased.

[0006] According to one aspect of an embodiment of the present invention, a method for restoring a high voltage activation state of a vehicle control unit is provided, the method comprising:

[0007] After determining that an abnormal reset has occurred and initialization is completed, extracting key variables from a preset storage space, wherein the key variables are data stored in real time in each power-on cycle before the vehicle control unit is reset;

[0008] determining whether the vehicle meets the high voltage activation condition according to the key variables;

[0009] If it is determined that the vehicle meets the high-voltage activation conditions, the battery management system is controlled to power on the vehicle control unit to restore the vehicle control unit to the high-voltage activation state.

[0010] In one embodiment, the present invention can extract key variables from a preset storage space after the vehicle control unit determines that an abnormal reset has occurred and completes initialization; determine whether the vehicle meets the high-voltage activation condition based on the key variables; if it is determined that the vehicle meets the high-voltage activation condition, control the battery management system to power on the vehicle control unit so that the vehicle control unit is restored to a high-voltage activation state. Through the key variables, the vehicle's use state before the abnormal reset of the vehicle control unit can be quickly determined. If the vehicle meets the high-voltage activation condition, the vehicle control unit can be immediately controlled to power on so that the vehicle control unit is restored to a high-voltage activation state, thereby restoring the vehicle to the state before the abnormal reset. Since the state of the vehicle before and after the abnormal reset remains unchanged, the frustration of the abnormal reset to the user can be reduced, thereby achieving the effect of non-sensory recovery, and the high-voltage recovery process is triggered by the key variables, without the need to perform a series of judgments and detections to trigger the operation, thereby simplifying the processing flow, shortening the processing time, and improving the processing efficiency of high-voltage recovery, so that the vehicle can quickly restore the driving power, so as to reduce the risk of vehicle use and ensure user safety.

[0011] According to another aspect of an embodiment of the present invention, a high voltage activation state recovery device of a vehicle control unit is provided, comprising:

[0012] A variable acquisition module is used to extract key variables from a preset storage space after determining that an abnormal reset has occurred and initialization is completed. The key variables are data stored in real time in each power-on cycle before the vehicle control unit is reset;

[0013] A high-voltage condition determination module, used to determine whether the vehicle meets the high-voltage activation condition according to the key variables;

[0014] The high-voltage recovery module is used to control the battery management system to power on the vehicle control unit if it is determined that the vehicle meets the high-voltage activation conditions, so that the vehicle control unit is restored to the high-voltage activation state.

[0015] According to another aspect of an embodiment of the present invention, a high voltage activation state recovery device of a vehicle control unit is provided, comprising: a processor, a memory, a communication interface and a communication bus, wherein the processor, the memory and the communication interface communicate with each other through the communication bus;

[0016] The memory is used to store at least one executable instruction, and the executable instruction enables the processor to execute the steps of the method for restoring the high-voltage activation state of the vehicle control unit provided in the above embodiment.

[0017] According to another aspect of an embodiment of the present invention, a computer-readable storage medium is provided, wherein the storage medium stores at least one executable instruction, wherein the executable instruction enables a high-voltage activation state recovery device / apparatus of a vehicle control unit to perform the following operations:

[0018] After determining that an abnormal reset has occurred and initialization is completed, extracting key variables from a preset storage space, wherein the key variables are data stored in real time in each power-on cycle before the vehicle control unit is reset;

[0019] determining whether the vehicle meets the high voltage activation condition according to the key variables;

[0020] If it is determined that the vehicle meets the high-voltage activation conditions, the battery management system is controlled to power on the vehicle control unit to restore the vehicle control unit to the high-voltage activation state.

[0021] The present invention can extract key variables from a preset storage space after the vehicle control unit determines that an abnormal reset has occurred and completes initialization; determine whether the vehicle meets the high-voltage activation conditions based on the key variables; if it is determined that the vehicle meets the high-voltage activation conditions, control the battery management system to power on the vehicle control unit so that the vehicle control unit is restored to a high-voltage activation state. Through the key variables, the vehicle's use status before the abnormal reset of the vehicle control unit can be quickly determined. If the vehicle meets the high-voltage activation conditions, the vehicle control unit can be immediately controlled to power on so that the vehicle control unit is restored to a high-voltage activation state, thereby restoring the vehicle to the state before the abnormal reset. Since the state of the vehicle before and after the abnormal reset remains unchanged, the frustration of the abnormal reset to the user can be reduced, thereby achieving the effect of non-sensory recovery, and the high-voltage recovery process is triggered by the key variables, without the need to perform a series of judgments and detections to trigger the operation, thereby simplifying the processing flow, shortening the processing time, and improving the processing efficiency of high-voltage recovery, so that the vehicle can quickly restore the driving power, thereby reducing the risk of vehicle use and ensuring user safety.

[0022] The above description is only an overview of the technical solution of the embodiment of the present invention. In order to more clearly understand the technical means of the embodiment of the present invention, it can be implemented in accordance with the contents of the specification. In order to make the above and other purposes, features and advantages of the embodiment of the present invention more obvious and easy to understand, the specific implementation methods of the present invention are listed below. BRIEF DESCRIPTION OF THE DRAWINGS

[0023] The accompanying drawings are only used to illustrate the embodiments and are not to be considered as limiting the present invention. In addition, the same reference symbols are used to represent the same components throughout the accompanying drawings. In the accompanying drawings:

[0024] Figure 1 A schematic flow chart of a first embodiment of a method for restoring a high voltage activated state of a vehicle control unit provided by the present invention is shown;

[0025] Figure 2 A schematic diagram of the communication cycle of the vehicle control unit provided by the present invention is shown;

[0026] Figure 3 A schematic flow chart showing a second embodiment of a method for restoring a high voltage activated state of a vehicle control unit provided by the present invention;

[0027] Figure 4 A schematic structural diagram of a first embodiment of a high voltage activation state recovery device for a vehicle control unit provided by the present invention is shown;

[0028] Figure 5 A structural schematic diagram of an embodiment of a high voltage activated state recovery device of a vehicle control unit provided by the present invention is shown. DETAILED DESCRIPTION

[0029] Exemplary embodiments of the present invention will be described in more detail below with reference to the accompanying drawings. Although exemplary embodiments of the present invention are shown in the drawings, it should be understood that the present invention can be implemented in various forms and should not be limited to the embodiments set forth herein.

[0030] Figure 1 A flow chart of a first embodiment of a method for restoring a high-voltage activated state of a vehicle control unit provided by the present invention is shown. The method is executed by a high-voltage activated state restoring device of the vehicle control unit, and the high-voltage activated state restoring device of the vehicle control unit may be a vehicle management system or a vehicle-mounted terminal.

[0031] Specifically, the method is applicable to a vehicle control unit, such as Figure 1 As shown, the method comprises the following steps:

[0032] Step 110: After determining that an abnormal reset has occurred and initialization is completed, extract key variables from a preset storage space, wherein the key variables are data stored in real time in each power-on cycle before the vehicle control unit is reset.

[0033] In one embodiment, when the vehicle control unit determines that an abnormal reset has occurred, it immediately starts a power cycle and starts initialization processing so that it can be reawakened and start working. When the vehicle control unit completes initialization, key variables can be extracted from a preset storage space. The key variables are data stored in real time in each power cycle before the vehicle control unit is reset.

[0034] The preset storage space may be a dedicated storage space required by the underlying software of the vehicle control unit. For example, the preset storage space may be a random access memory (RAM) area in the Noinit state.

[0035] In actual operation, various requests and processing data of the vehicle are stored in the preset storage space according to the preset duration. For example, data is stored in the preset storage space every 10 seconds. The storage space will not be erased due to reset types other than hard reset. By storing various data and key variables in the preset storage space, it can be ensured that the data will not be lost or overwritten by other data during the reset of the vehicle control unit. Since the data stored in the preset storage space is stored continuously, it can also be ensured that the data stored in the storage space can be saved to the vehicle control unit to complete the reset. Therefore, when the vehicle control unit is reset, the key variables can be extracted from the preset storage space, and then the high-voltage state recovery process is performed based on the key variables.

[0036] Moreover, the reading of key variables can be completed during the initialization phase of the vehicle control unit and is only read once, so as to avoid the data stored before the vehicle control unit is reset being overwritten by the real-time storage mechanism and affecting the reset judgment.

[0037] In one embodiment, the key variables may include: a vehicle control unit (VCU) request for a battery management system (BMS) to work, a vehicle control unit (VCU) high voltage power on and off state machine, a vehicle control unit (VCU) power on and off request flag, etc.

[0038] For example, if a user needs to control seat heating, the vehicle control unit (VCU) sends a work request to control seat heating to the battery management system (BMS). At the same time, the vehicle control unit (VCU) can store this work request in a preset storage space.

[0039] Once the vehicle control unit (VCU) is abnormally reset, these key variables can also be extracted from the preset storage space. On the one hand, the work request sent by the vehicle control unit (VCU) to each control unit or controller before the abnormal reset of the vehicle control unit (VCU) can be known to determine the working status of the vehicle; on the other hand, after the vehicle control unit (VCU) is restored, the operation of the vehicle can be re-controlled according to the key variables, so that the vehicle can be quickly restored to the state before the abnormal reset. Since the state of the vehicle before and after the abnormal reset remains unchanged, the frustration of the abnormal reset to the user can be reduced, thereby achieving the effect of senseless recovery.

[0040] In one embodiment, if the vehicle control unit (VCU) is reset, it takes a long time to determine the cause of the reset, and the recovery time is also long, resulting in a long vehicle downtime, which not only delays user use, but also increases driving risks.

[0041] In order to quickly determine whether the current reset is an abnormal reset, as an example, the determination of the abnormal reset may include the following steps:

[0042] Step 1101: Acquire a flag bit, where the flag bit is a flag generated by the application software layer of the vehicle control unit when the vehicle control unit is reset.

[0043] Step 1102: When the value of the flag bit is a preset reset value, it is determined that an abnormal reset has occurred, and power-on initialization processing is performed.

[0044] In one embodiment, when the vehicle control unit is reset, the vehicle control unit may be powered on immediately. During the power-on process, the application layer software (Application Software, abbreviated as ASW) of the vehicle control unit may generate a flag.

[0045] Reference Figure 2 , showing a schematic diagram of the communication cycle of the application layer software provided by the present invention.

[0046] Specifically, the vehicle control unit is provided with several application layer software (Application Software, abbreviated as ASW), such as ASW1, ASW2, ASW3, ..., ASWn, etc. Each application layer software communicates with each counterpart of the vehicle control unit through the controller local area network, thereby realizing the control of the target vehicle. Among them, the counterpart can be each control unit of the vehicle control unit.

[0047] After the flag is generated, the flag can be stored in the basic software (BSW) of the vehicle control unit. The basic software of the vehicle control unit can subsequently determine whether the reset of the vehicle control unit is an abnormal reset based on the value of the flag.

[0048] For example, the flag bit generated by the application software (ASW) of the vehicle control unit is VcuResetFlg. When the application software determines that the reset of the vehicle control unit is an abnormal reset, the value of the flag bit VcuResetFlg is 1. When the application software determines that the reset of the vehicle control unit is a normal reset, the value of the flag bit VcuResetFlg is 0.

[0049] After obtaining the flag bit, when the value of the flag bit VcuResetFlg is judged to be 0, it can be determined that the reset of the vehicle control unit is a normal reset. When the value of the flag bit VcuResetFlg is judged to be 1, it can be determined that the reset of the vehicle control unit is an abnormal reset.

[0050] By using the value of the flag bit to quickly determine whether the vehicle control unit is abnormally reset, it can not only simplify the operation process, but also improve timeliness, thereby quickly restoring the vehicle to its original state and allowing the vehicle to quickly restore driving power.

[0051] In an actual operation scenario, before the vehicle control unit is reset, the vehicle control unit may communicate and interact with multiple counterparts, each of which may be a control unit or control system of the vehicle, for example, a lane change blind spot warning system, a heating device, a battery management system (BMS) or a power converter.

[0052] When the vehicle control unit is reset, the vehicle control unit may lose communication with multiple counterparts due to power failure. If the reset time is long, the vehicle control unit will not be able to communicate with each counterpart for a long time, and will not be able to control the operation of the counterpart, which may also affect the normal operation of other counterparts in the vehicle. In order to avoid the above situation, as an example, after the step of determining that an abnormal reset has occurred, the method may also include the following steps:

[0053] Step 210: When the communication loss duration is less than the preset loss duration, the current working state of the counterpart of the vehicle control unit is maintained.

[0054] Step 220: When the communication loss duration is greater than or equal to the preset loss duration, the current working state of the counterpart of the vehicle control unit is switched.

[0055] The communication loss duration is the duration during which the communication signal between the vehicle control unit and the counterpart is lost.

[0056] Specifically, because the communication is interrupted during the reset of the vehicle control unit, the vehicle control unit disconnects from multiple counterparts. In order to avoid errors in the operation of the counterparts due to long-term communication interruption, the duration of the communication interruption between the vehicle control unit and the counterpart of the vehicle can be determined first to obtain the communication loss duration. When counting, the counting can also be started after the vehicle control unit is reset until the vehicle control unit completes initialization to obtain the communication loss duration.

[0057] If the communication loss duration is less than the preset loss duration, it means that the vehicle control unit communication interruption time is short, and the current working state of the vehicle control unit's counterpart can be maintained. The counterpart continues the current work without making any related degradation actions.

[0058] If the communication loss duration is greater than or equal to the preset loss duration, it means that the communication interruption of the vehicle control unit is long, and the current working state of the opponent of the vehicle control unit can be switched. The opponent can be automatically controlled to make relevant degradation actions.

[0059] In an optional embodiment, the preset loss duration may be 500ms. This allows the vehicle control unit to be reset and restored within 500ms, thereby preventing the handpiece from taking related downgrade actions due to the diagnosis of a vehicle control unit communication failure, thereby preventing the normal operation of the vehicle from being affected by the vehicle control unit reset, and allowing the vehicle to continue to drive normally, thereby reducing driving risks.

[0060] Step 120: Determine whether the vehicle meets the high voltage activation condition according to the key variables.

[0061] In one embodiment, after the key variables are read, it can be determined whether the vehicle meets the high voltage activation condition according to the key variables.

[0062] If the vehicle meets the high-voltage activation conditions, it is determined that the vehicle control unit (VCU) needs to be restored to the high-voltage activation state. Conversely, if the vehicle does not meet the high-voltage activation conditions, it is determined that the vehicle control unit (VCU) does not need to be restored to the high-voltage activation state.

[0063] In one embodiment, it may be determined whether the vehicle meets the high voltage activation condition according to the content of the key variable and the actual state of the vehicle.

[0064] In one embodiment, the key variable includes a work request, which may be a work request from a vehicle control unit (VCU) to a battery management system (BMS). The vehicle control unit (VCU) sends a work request to the battery management system (BMS), so that the battery management system (BMS) can control different control units to power on, thereby controlling the operation of different devices.

[0065] Referring to the above example, the work request may be a work request that the user needs to control seat heating.

[0066] In order to fit the actual state of the vehicle and the content of the key variables to determine whether the high-voltage activation condition is met. As an example, the step of determining whether the vehicle meets the high-voltage activation condition according to the key variables may include the following steps:

[0067] Step 1201: If the work request is a high voltage power-on request, determining a feedback state of a vehicle battery, a feedback state of a vehicle motor, and a feedback state of the vehicle;

[0068] Step 1202: When the feedback state of the vehicle battery indicates a power-on-allowed state, the feedback state of the vehicle motor indicates a power-on-allowed state, and the feedback state of the vehicle indicates no high-voltage power-on-prohibited fault state, it is determined that the vehicle meets the high-voltage triggering condition;

[0069] Step 1203: When the feedback status of the vehicle battery indicates a power-on-not-allowed state, the feedback status of the vehicle motor indicates a power-on-not-allowed state, or the feedback status of the vehicle indicates a high-voltage power-on-prohibited fault state, it is determined that the vehicle does not meet the high-voltage trigger condition.

[0070] According to the analysis above, the key variable may include a work request, which can be used to determine whether the work request is a high-voltage power-on request. If it is a high-voltage power-on request, it means that the user needs to power up the vehicle with high voltage before the vehicle control unit is reset. At this time, the vehicle status can be determined to determine whether the vehicle can cope with the high-voltage power-on status.

[0071] In order to accurately determine whether the vehicle meets the high-voltage trigger condition, the feedback state of the vehicle battery, the feedback state of the vehicle motor, and the feedback state of the vehicle may be determined.

[0072] If the feedback state of the vehicle battery indicates a power-on permission state, the feedback state of the vehicle motor indicates a power-on permission state, and the feedback state of the vehicle indicates no high-voltage power-on prohibition fault state, it is determined that the vehicle meets the high-voltage triggering condition;

[0073] On the contrary, if the feedback status of the vehicle battery indicates a power-on-not-allowed state, the feedback status of the vehicle motor indicates a power-on-not-allowed state, or the feedback status of the vehicle indicates a high-voltage power-on-prohibited fault state, it is determined that the vehicle does not meet the high-voltage trigger condition.

[0074] In one embodiment, the vehicle meets the high-voltage trigger condition when the vehicle recognizes that there is a need or request for high-voltage power-on. Specifically, if it is determined that the battery feedback state is a power-on-allowed state, the motor feedback state is a power-on-allowed state, and the vehicle has no high-voltage power-on-prohibited fault (such as no high-voltage interlock, no collision signal, no insulation fault, etc.), etc., it can be determined that the vehicle meets the high-voltage trigger condition.

[0075] On the contrary, if it is determined that the battery feedback state of the vehicle is not allowed to power on, the motor feedback state of the vehicle is not allowed to power on, or it is determined that the vehicle has a high-voltage power-on prohibition fault, it is determined that the vehicle does not meet the high-voltage trigger condition.

[0076] Step 130: If it is determined that the vehicle meets the high-voltage activation condition, the battery management system is controlled to power on the vehicle control unit to restore the vehicle control unit to the high-voltage activation state.

[0077] When it is determined that the vehicle meets the high-voltage trigger conditions, the vehicle control unit can control the opening and closing state of the relay of the battery management system, allowing the vehicle's battery to power the vehicle control unit, thereby restoring the vehicle control unit to the high-voltage activation state.

[0078] In one embodiment, the battery management system may control the battery of the vehicle to power different control units through multiple different relays. In order to allow the battery of the vehicle to power the vehicle control unit so that the vehicle control unit is restored to a high-voltage activation state, as an example, the control of the battery management system to power on the vehicle control unit may include the following steps:

[0079] Step 1301: Control the pre-charging relay of the battery management system to be energized and closed, so that the vehicle control unit performs pre-charging processing.

[0080] Step 1302: After the vehicle control unit completes pre-charging, the pre-charging relay of the battery management system is controlled to be powered off and disconnected, and the main positive relay is controlled to be powered on and closed, so that the vehicle battery powers the vehicle control unit.

[0081] In one embodiment, after the vehicle control unit completes initialization, the vehicle control unit can communicate with the battery management system. At this time, the vehicle control unit can send a control instruction to the battery control module (BCU) of the battery management system, and the battery control module (BCU) can respond to the instruction to control each relay connected to the battery management system to turn on or off.

[0082] Specifically, the high-voltage main relay and the main negative relay can be controlled, and the pre-charge relay can be controlled to be energized and closed, so that the vehicle's battery performs pre-charge processing on the vehicle control unit, and the pre-charge processing can be pre-charge power-on. When the pre-charge processing is completed, the main positive relay can be controlled to close, and the pre-charge relay can be disconnected, so that the vehicle control unit completes the high-voltage power-on. Then, when the vehicle control unit receives the high-voltage activation information that the vehicle battery feedback working mode is "high-voltage activation", it is determined that the vehicle control unit has completed the high-voltage power-on, and the vehicle control unit enters the high-voltage activation state.

[0083] By controlling the conduction and disconnection of the relay, the battery can be controlled to supply power to the vehicle control unit, so that the vehicle control unit can quickly recover to the high-voltage activation state. In addition, controlling the relay is simple and fast, which further shortens the time to recover the high-voltage activation state and can improve operating efficiency and processing efficiency.

[0084] After determining that the vehicle meets the high-voltage activation condition or after determining that the vehicle control unit has returned to the high-voltage activation state, the user may not need to call the vehicle function. If the high voltage is continuously powered on, the vehicle's energy consumption will increase. In order to reduce the vehicle's energy consumption and avoid the situation where the vehicle control unit cannot communicate with each control unit due to the reset of the vehicle control unit, making it impossible for the vehicle to be powered off, the method may also include the following steps as an example:

[0085] Step 140: When it is determined that the high voltage power-on request is cancelled or a power-off request is received, a high voltage cut-off process is performed.

[0086] Specifically, if it is determined that the user has canceled the high-voltage power-on request for the key variables, or after determining that the vehicle meets the high-voltage activation conditions or after determining that the vehicle control unit has returned to the high-voltage activation state, a work request for power-off is received (for example, high-voltage insulation failure, battery feedback not allowing power-on, etc.), the high-voltage cut-off processing can be performed on the vehicle control unit.

[0087] Among them, the high-voltage cut-off process can be a process of allowing the vehicle control unit to discharge, so that the vehicle control unit changes from a high-voltage activation state to a low-voltage standby state.

[0088] After the vehicle control unit is in the high-voltage cut-off state, the vehicle control unit may not be able to communicate with other control units after being reset, and the vehicle control unit cannot issue subsequent power-off instructions, resulting in the vehicle being unable to power off the high voltage. In order to quickly power off, the high-voltage cut-off process may include the following steps as an example:

[0089] Step 1401: Control the current of the high voltage circuit to decrease.

[0090] Step 1402: When the current value of the high-voltage circuit reaches a preset current safety value, the main positive relay and the main negative relay of the battery management system are controlled to be disconnected, so that the battery of the vehicle stops outputting electrical energy to the outside.

[0091] Step 1403: Utilize the motor system to release the residual electric energy of the components in the high-voltage circuit until the voltage value of the high-voltage circuit is less than a preset voltage value.

[0092] Specifically, the high-voltage cut-off process of a vehicle can be divided into three stages: high-voltage unloading, high-voltage cut-off and active discharge.

[0093] Among them, the high-voltage unloading stage can be to control the current of the vehicle's high-voltage circuit to decrease, so that the current value of the vehicle's high-voltage circuit reaches a preset current safety value. When the current value is reduced to a safe value, the second stage, high-voltage cut-off, can be carried out.

[0094] The high voltage cut-off stage can be to disconnect the main positive relay and the main negative relay that control the battery management system, so that the battery stops outputting electrical energy. In this state, the vehicle control unit requests the battery management system to work in the "high voltage cut-off" mode until the battery feedbacks that the above relay disconnection is complete.

[0095] After completing the above operations, the third stage of active discharge can be carried out. The active discharge stage can control the vehicle's motor system to release the residual electrical energy in the high-voltage circuit. After the release is completed, the voltage of the vehicle's high-voltage circuit can be reduced to below 60V, that is, the high-voltage power-off process is completed, and the vehicle control unit enters a low-voltage standby state.

[0096] Through the above operation, not only can the battery be easily disconnected from the high-voltage relay to avoid damage to the vehicle caused by the load-cutting relay, but it can also avoid the situation where the vehicle control unit remains in a low-voltage standby state after reset and recovery, and cannot perform subsequent power-off.

[0097] The present invention can extract key variables from a preset storage space after the vehicle control unit determines that an abnormal reset has occurred and completes initialization; determine whether the vehicle meets the high-voltage activation conditions based on the key variables; if it is determined that the vehicle meets the high-voltage activation conditions, control the battery management system to power on the vehicle control unit so that the vehicle control unit is restored to a high-voltage activation state. Through the key variables, the vehicle's use status before the abnormal reset of the vehicle control unit can be quickly determined. If the vehicle meets the high-voltage activation conditions, the vehicle control unit can be immediately controlled to power on so that the vehicle control unit is restored to a high-voltage activation state, thereby restoring the vehicle to the state before the abnormal reset. Since the state of the vehicle before and after the abnormal reset remains unchanged, the frustration of the abnormal reset to the user can be reduced, thereby achieving the effect of non-sensory recovery, and the high-voltage recovery process is triggered by the key variables, without the need to perform a series of judgments and detections to trigger the operation, thereby simplifying the processing flow, shortening the processing time, and improving the processing efficiency of high-voltage recovery, so that the vehicle can quickly restore the driving power, thereby reducing the risk of vehicle use and ensuring user safety.

[0098] Figure 3 The flowchart of the second embodiment of the high voltage activation state recovery method of the vehicle control unit provided by the present invention is shown, and the method is executed by the high voltage activation state recovery device of the vehicle control unit. The following flowchart is used to illustrate the correction process of the vehicle control unit of the vehicle turning into the high voltage activation state when it is normally powered on and turning into the high voltage activation state after abnormal reset. Specifically, Figure 3As shown, the method comprises the following steps:

[0099] The first step is to initialize the vehicle control unit (the initialization process may be the initialization process when the vehicle control unit is normally started and powered on, or the initialization process may be performed after an abnormal reset occurs in the vehicle control unit).

[0100] In the second step, after the vehicle control unit completes initialization, the vehicle control unit enters a low-voltage standby state.

[0101] In the third step, if the vehicle control unit is normally started and powered on to enter the low-voltage standby state, when the vehicle control unit receives a work request for high-voltage power-on, it can determine whether the vehicle meets the high-voltage conditions or high-voltage activation conditions (see the contents of step 1202-step 1203 for details). If the high-voltage conditions or high-voltage activation conditions are met, the vehicle control unit changes from the low-voltage standby state to the battery pre-charge power-on state. At this time, the vehicle control unit can request the battery of the battery management system to power on the vehicle control unit, thereby restoring the vehicle control unit to the high-voltage activation state.

[0102] Similarly, if the vehicle control unit enters the low-voltage standby state after an abnormal reset occurs, it can be determined whether the flag bit generated by the application layer software (ASW) of the vehicle control unit is equal to the preset reset value (for example, 1); if the value of the flag bit is equal to 1, then when the vehicle control unit determines that the working request of the key variable is a working request for high-voltage power-on requirement, it can be determined whether the vehicle meets the high-voltage condition or the high-voltage activation condition (specifically, refer to the contents of step 1202-step 1203). If the high-voltage condition or the high-voltage activation condition is met, the vehicle control unit changes from the low-voltage standby state to the battery pre-charge power-on state. At this time, the vehicle control unit can request the battery of the battery management system to power on the vehicle control unit, so that the vehicle control unit is restored to the high-voltage activation state.

[0103] In the fourth step, after the vehicle control unit enters the state of requesting battery pre-charge or after the vehicle control unit returns to the state of high voltage activation, if it is determined that the work request for high voltage power-on demand has been cancelled or a power-off demand has been received, high voltage power-off processing can be performed. High voltage power-off processing specifically includes the processing of unloading high voltage electrical appliances, the processing of requesting battery high voltage cut-off, and the processing of requesting active discharge of electric drive (for details, please refer to the contents of steps 1401 to 1403).

[0104] The fifth step is to determine whether the vehicle control unit enters a low-voltage standby state from a battery pre-charge request state or enters a low-voltage standby state from a high-voltage activated state after the active discharge process is completed.

[0105] Figure 4FIG. 1 is a schematic diagram showing the structure of a first embodiment of a high voltage activation state recovery device for a vehicle control unit provided by the present invention. Figure 4 As shown, the device 400 includes: a variable acquisition module 401 , a high pressure condition determination module 402 and a high pressure recovery module 403 .

[0106] A variable acquisition module is used to extract key variables from a preset storage space after determining that an abnormal reset has occurred and initialization is completed. The key variables are data stored in real time in each power-on cycle before the vehicle control unit is reset;

[0107] A high-voltage condition determination module, used to determine whether the vehicle meets the high-voltage activation condition according to the key variables;

[0108] The high-voltage recovery module is used to control the battery management system to power on the vehicle control unit if it is determined that the vehicle meets the high-voltage activation conditions, so that the vehicle control unit is restored to the high-voltage activation state.

[0109] In an optional manner, the key variable includes a work request, and determining whether the vehicle meets the high-voltage activation condition according to the key variable includes:

[0110] If the work request is a high voltage power-on request, determining a feedback state of a vehicle battery, a feedback state of a vehicle motor, and a feedback state of the vehicle;

[0111] When the feedback state of the vehicle battery indicates a power-on permission state, the feedback state of the vehicle motor indicates a power-on permission state, and the feedback state of the vehicle indicates no high-voltage power-on prohibition fault state, it is determined that the vehicle meets the high-voltage triggering condition;

[0112] When the feedback state of the vehicle battery indicates a power-on-not-allowed state, the feedback state of the vehicle motor indicates a power-on-not-allowed state, or the feedback state of the vehicle indicates a high-voltage power-on-prohibited fault state, it is determined that the vehicle does not meet the high-voltage trigger condition.

[0113] In an optional manner, the device further includes:

[0114] The high voltage cut-off module is used to perform high voltage cut-off processing when it is determined that the high voltage power-on request is cancelled or a work request for power-off demand is received after the step of determining that the vehicle meets the high voltage activation condition.

[0115] In an optional manner, the high voltage cut-off process includes:

[0116] Control the current drop of the high voltage circuit;

[0117] When the current value of the high-voltage circuit reaches the preset current safety value, the main positive relay and the main negative relay of the battery management system are controlled to be disconnected, so that the vehicle's battery stops outputting electrical energy to the outside;

[0118] The motor system is used to release the residual electrical energy of the components in the high-voltage circuit until the voltage value of the high-voltage circuit is lower than the preset voltage value.

[0119] In an optional manner, the determining that an abnormal reset occurs includes:

[0120] Obtaining a flag bit, where the flag bit is a flag generated by the application software layer of the vehicle control unit when the vehicle control unit is reset;

[0121] When the value of the flag bit is a preset reset value, it is determined that an abnormal reset occurs, and a power-on initialization process is performed.

[0122] In an optional manner, the device further includes:

[0123] A state maintaining module, used for maintaining the current working state of the counterpart of the vehicle control unit when the communication loss duration is less than a preset loss duration after the step of determining that an abnormal reset has occurred;

[0124] A switching state module, used for switching the current working state of the counterpart of the vehicle control unit when the communication loss duration is greater than or equal to the preset loss duration after the step of determining that an abnormal reset occurs;

[0125] The communication loss duration is the duration during which the communication signal between the vehicle control unit and the counterpart is lost.

[0126] In an optional manner, controlling the battery management system to power on the vehicle control unit includes:

[0127] Control the pre-charging relay of the battery management system to energize and close, so that the vehicle control unit can perform pre-charging processing;

[0128] After the vehicle control unit completes pre-charging, the pre-charging relay of the battery management system is powered off and disconnected, and the main positive relay is powered on and closed, so that the vehicle's battery powers the vehicle control unit.

[0129] Figure 5 A structural schematic diagram of an embodiment of a high-voltage activation state recovery device for a vehicle control unit provided by the present invention is shown. The specific embodiment of the present invention does not limit the specific implementation of the high-voltage activation state recovery device for a vehicle control unit.

[0130] like Figure 5 As shown, the high voltage activation state recovery device of the vehicle control unit may include: a processor (processor) 502, a communication interface (Communications Interface) 504, a memory (memory) 506, and a communication bus 508.

[0131] The processor 502, the communication interface 504, and the memory 506 communicate with each other via the communication bus 508. The communication interface 504 is used to communicate with other devices such as a client or other server network elements. The processor 502 is used to execute the program 510, which can specifically execute the relevant steps in the above-mentioned embodiment of the high-voltage activation state recovery method for the vehicle control unit.

[0132] Specifically, the program 510 may include program code including computer executable instructions.

[0133] The processor 502 may be a central processing unit (CPU), or an application-specific integrated circuit (ASIC), or one or more integrated circuits configured to implement the embodiment of the present invention. The one or more processors included in the high-voltage activation state recovery device of the vehicle control unit may be processors of the same type, such as one or more CPUs; or may be processors of different types, such as one or more CPUs and one or more ASICs.

[0134] The memory 506 is used to store the program 510. The memory 506 may include a high-speed RAM memory, and may also include a non-volatile memory (non-volatile memory), such as at least one disk memory.

[0135] The program 510 can be specifically called by the processor 502 to enable the high voltage activation state recovery device of the vehicle control unit to perform the following operations:

[0136] After determining that an abnormal reset has occurred and initialization is completed, extracting key variables from a preset storage space, wherein the key variables are data stored in real time in each power-on cycle before the vehicle control unit is reset;

[0137] determining whether the vehicle meets the high voltage activation condition according to the key variables;

[0138] If it is determined that the vehicle meets the high-voltage activation conditions, the battery management system is controlled to power on the vehicle control unit to restore the vehicle control unit to the high-voltage activation state.

[0139] In an optional manner, the key variable includes a work request, and determining whether the vehicle meets the high-voltage activation condition according to the key variable includes:

[0140] If the work request is a high voltage power-on request, determining a feedback state of a vehicle battery, a feedback state of a vehicle motor, and a feedback state of the vehicle;

[0141] When the feedback state of the vehicle battery indicates a power-on permission state, the feedback state of the vehicle motor indicates a power-on permission state, and the feedback state of the vehicle indicates no high-voltage power-on prohibition fault state, it is determined that the vehicle meets the high-voltage triggering condition;

[0142] When the feedback state of the vehicle battery indicates a power-on-not-allowed state, the feedback state of the vehicle motor indicates a power-on-not-allowed state, or the feedback state of the vehicle indicates a high-voltage power-on-prohibited fault state, it is determined that the vehicle does not meet the high-voltage trigger condition.

[0143] In an optional manner, after the step of determining that the vehicle meets the high voltage activation condition, the method further includes:

[0144] When it is determined that the high voltage power-on request is cancelled or a work request for power-off is received, a high voltage cut-off process is performed.

[0145] In an optional manner, the high voltage cut-off process includes:

[0146] Control the current drop of the high voltage circuit;

[0147] When the current value of the high-voltage circuit reaches the preset current safety value, the main positive relay and the main negative relay of the battery management system are controlled to be disconnected, so that the vehicle's battery stops outputting electrical energy to the outside;

[0148] The motor system is used to release the residual electrical energy of the components in the high-voltage circuit until the voltage value of the high-voltage circuit is lower than the preset voltage value.

[0149] In an optional manner, the determining that an abnormal reset occurs includes:

[0150] Obtaining a flag bit, where the flag bit is a flag generated by the application software layer of the vehicle control unit when the vehicle control unit is reset;

[0151] When the value of the flag bit is a preset reset value, it is determined that an abnormal reset occurs, and a power-on initialization process is performed.

[0152] In an optional manner, after the step of determining that an abnormal reset occurs, the method further includes:

[0153] When the communication loss duration is less than the preset loss duration, the current working state of the counterpart of the vehicle control unit is maintained;

[0154] When the communication loss duration is greater than or equal to the preset loss duration, the current working state of the counterpart of the vehicle control unit is switched;

[0155] The communication loss duration is the duration during which the communication signal between the vehicle control unit and the counterpart is lost.

[0156] In an optional manner, controlling the battery management system to power on the vehicle control unit includes:

[0157] Control the pre-charging relay of the battery management system to energize and close, so that the vehicle control unit can perform pre-charging processing;

[0158] After the vehicle control unit completes pre-charging, the pre-charging relay of the battery management system is powered off and disconnected, and the main positive relay is powered on and closed, so that the vehicle's battery powers the vehicle control unit.

[0159] In an optional manner, the program 510 is called by the processor 502 to enable the high voltage activation state recovery device of the vehicle control unit to perform the following operations:

[0160] After determining that an abnormal reset has occurred and initialization is completed, extracting key variables from a preset storage space, wherein the key variables are data stored in real time in each power-on cycle before the vehicle control unit is reset;

[0161] determining whether the vehicle meets the high voltage activation condition according to the key variables;

[0162] If it is determined that the vehicle meets the high-voltage activation conditions, the battery management system is controlled to power on the vehicle control unit to restore the vehicle control unit to the high-voltage activation state.

[0163] In an optional manner, the key variable includes a work request, and determining whether the vehicle meets the high-voltage activation condition according to the key variable includes:

[0164] If the work request is a high voltage power-on request, determining a feedback state of a vehicle battery, a feedback state of a vehicle motor, and a feedback state of the vehicle;

[0165] When the feedback state of the vehicle battery indicates a power-on permission state, the feedback state of the vehicle motor indicates a power-on permission state, and the feedback state of the vehicle indicates no high-voltage power-on prohibition fault state, it is determined that the vehicle meets the high-voltage triggering condition;

[0166] When the feedback state of the vehicle battery indicates a power-on-not-allowed state, the feedback state of the vehicle motor indicates a power-on-not-allowed state, or the feedback state of the vehicle indicates a high-voltage power-on-prohibited fault state, it is determined that the vehicle does not meet the high-voltage trigger condition.

[0167] In an optional manner, after the step of determining that the vehicle meets the high voltage activation condition, the method further includes:

[0168] When it is determined that the high voltage power-on request is cancelled or a work request for power-off is received, a high voltage cut-off process is performed.

[0169] In an optional manner, the high voltage cut-off process includes:

[0170] Control the current drop of the high voltage circuit;

[0171] When the current value of the high-voltage circuit reaches the preset current safety value, the main positive relay and the main negative relay of the battery management system are controlled to be disconnected, so that the vehicle's battery stops outputting electrical energy to the outside;

[0172] The motor system is used to release the residual electrical energy of the components in the high-voltage circuit until the voltage value of the high-voltage circuit is lower than the preset voltage value.

[0173] In an optional manner, the determining that an abnormal reset occurs includes:

[0174] Obtaining a flag bit, where the flag bit is a flag generated by the application software layer of the vehicle control unit when the vehicle control unit is reset;

[0175] When the value of the flag bit is a preset reset value, it is determined that an abnormal reset occurs, and a power-on initialization process is performed.

[0176] In an optional manner, after the step of determining that an abnormal reset occurs, the method further includes:

[0177] When the communication loss duration is less than the preset loss duration, the current working state of the counterpart of the vehicle control unit is maintained;

[0178] When the communication loss duration is greater than or equal to the preset loss duration, the current working state of the counterpart of the vehicle control unit is switched;

[0179] The communication loss duration is the duration during which the communication signal between the vehicle control unit and the counterpart is lost.

[0180] In an optional manner, controlling the battery management system to power on the vehicle control unit includes:

[0181] Control the pre-charging relay of the battery management system to energize and close, so that the vehicle control unit can perform pre-charging processing;

[0182] After the vehicle control unit completes pre-charging, the pre-charging relay of the battery management system is powered off and disconnected, and the main positive relay is powered on and closed, so that the vehicle's battery powers the vehicle control unit.

[0183] An embodiment of the present invention provides a computer-readable storage medium, which stores at least one executable instruction. When the executable instruction is run on a high-voltage activation state recovery device / apparatus of a vehicle control unit, the high-voltage activation state recovery device / apparatus of the vehicle control unit executes the high-voltage activation state recovery method of the vehicle control unit in any of the above-mentioned method embodiments.

[0184] The executable instructions can be specifically used to enable the high voltage activation state recovery device / apparatus of the vehicle control unit to perform the following operations:

[0185] After determining that an abnormal reset has occurred and initialization is completed, extracting key variables from a preset storage space, wherein the key variables are data stored in real time in each power-on cycle before the vehicle control unit is reset;

[0186] determining whether the vehicle meets the high voltage activation condition according to the key variables;

[0187] If it is determined that the vehicle meets the high-voltage activation conditions, the battery management system is controlled to power on the vehicle control unit to restore the vehicle control unit to the high-voltage activation state.

[0188] In an optional manner, the key variable includes a work request, and determining whether the vehicle meets the high-voltage activation condition according to the key variable includes:

[0189] If the work request is a high voltage power-on request, determining a feedback state of a vehicle battery, a feedback state of a vehicle motor, and a feedback state of the vehicle;

[0190] When the feedback state of the vehicle battery indicates a power-on permission state, the feedback state of the vehicle motor indicates a power-on permission state, and the feedback state of the vehicle indicates no high-voltage power-on prohibition fault state, it is determined that the vehicle meets the high-voltage triggering condition;

[0191] When the feedback state of the vehicle battery indicates a power-on-not-allowed state, the feedback state of the vehicle motor indicates a power-on-not-allowed state, or the feedback state of the vehicle indicates a high-voltage power-on-prohibited fault state, it is determined that the vehicle does not meet the high-voltage trigger condition.

[0192] In an optional manner, after the step of determining that the vehicle meets the high voltage activation condition, the method further includes:

[0193] When it is determined that the high voltage power-on request is cancelled or a work request for power-off is received, a high voltage cut-off process is performed.

[0194] In an optional manner, the high voltage cut-off process includes:

[0195] Control the current drop of the high voltage circuit;

[0196] When the current value of the high-voltage circuit reaches the preset current safety value, the main positive relay and the main negative relay of the battery management system are controlled to be disconnected, so that the vehicle's battery stops outputting electrical energy to the outside;

[0197] The motor system is used to release the residual electrical energy of the components in the high-voltage circuit until the voltage value of the high-voltage circuit is lower than the preset voltage value.

[0198] In an optional manner, the determining that an abnormal reset occurs includes:

[0199] Obtaining a flag bit, where the flag bit is a flag generated by the application software layer of the vehicle control unit when the vehicle control unit is reset;

[0200] When the value of the flag bit is a preset reset value, it is determined that an abnormal reset occurs, and a power-on initialization process is performed.

[0201] In an optional manner, after the step of determining that an abnormal reset occurs, the method further includes:

[0202] When the communication loss duration is less than the preset loss duration, the current working state of the counterpart of the vehicle control unit is maintained;

[0203] When the communication loss duration is greater than or equal to the preset loss duration, the current working state of the counterpart of the vehicle control unit is switched;

[0204] The communication loss duration is the duration during which the communication signal between the vehicle control unit and the counterpart is lost.

[0205] In an optional manner, controlling the battery management system to power on the vehicle control unit includes:

[0206] Control the pre-charging relay of the battery management system to energize and close, so that the vehicle control unit can perform pre-charging processing;

[0207] After the vehicle control unit completes pre-charging, the pre-charging relay of the battery management system is powered off and disconnected, and the main positive relay is powered on and closed, so that the vehicle's battery powers the vehicle control unit.

[0208] In an optional manner, the executable instruction enables the high voltage activation state recovery device / apparatus of the vehicle control unit to perform the following operations:

[0209] After determining that an abnormal reset has occurred and initialization is completed, extracting key variables from a preset storage space, wherein the key variables are data stored in real time in each power-on cycle before the vehicle control unit is reset;

[0210] determining whether the vehicle meets the high voltage activation condition according to the key variables;

[0211] If it is determined that the vehicle meets the high-voltage activation conditions, the battery management system is controlled to power on the vehicle control unit to restore the vehicle control unit to the high-voltage activation state.

[0212] In an optional manner, the key variable includes a work request, and determining whether the vehicle meets the high-voltage activation condition according to the key variable includes:

[0213] If the work request is a high voltage power-on request, determining a feedback state of a vehicle battery, a feedback state of a vehicle motor, and a feedback state of the vehicle;

[0214] When the feedback state of the vehicle battery indicates a power-on permission state, the feedback state of the vehicle motor indicates a power-on permission state, and the feedback state of the vehicle indicates no high-voltage power-on prohibition fault state, it is determined that the vehicle meets the high-voltage triggering condition;

[0215] When the feedback state of the vehicle battery indicates a power-on-not-allowed state, the feedback state of the vehicle motor indicates a power-on-not-allowed state, or the feedback state of the vehicle indicates a high-voltage power-on-prohibited fault state, it is determined that the vehicle does not meet the high-voltage trigger condition.

[0216] In an optional manner, after the step of determining that the vehicle meets the high voltage activation condition, the method further includes:

[0217] When it is determined that the high voltage power-on request is cancelled or a work request for power-off is received, a high voltage cut-off process is performed.

[0218] In an optional manner, the high voltage cut-off process includes:

[0219] Control the current drop of the high voltage circuit;

[0220] When the current value of the high-voltage circuit reaches the preset current safety value, the main positive relay and the main negative relay of the battery management system are controlled to be disconnected, so that the vehicle's battery stops outputting electrical energy to the outside;

[0221] The motor system is used to release the residual electrical energy of the components in the high-voltage circuit until the voltage value of the high-voltage circuit is lower than the preset voltage value.

[0222] In an optional manner, the determining that an abnormal reset occurs includes:

[0223] Obtaining a flag bit, where the flag bit is a flag generated by the application software layer of the vehicle control unit when the vehicle control unit is reset;

[0224] When the value of the flag bit is a preset reset value, it is determined that an abnormal reset occurs, and a power-on initialization process is performed.

[0225] In an optional manner, after the step of determining that an abnormal reset occurs, the method further includes:

[0226] When the communication loss duration is less than the preset loss duration, the current working state of the counterpart of the vehicle control unit is maintained;

[0227] When the communication loss duration is greater than or equal to the preset loss duration, the current working state of the counterpart of the vehicle control unit is switched;

[0228] The communication loss duration is the duration during which the communication signal between the vehicle control unit and the counterpart is lost.

[0229] In an optional manner, controlling the battery management system to power on the vehicle control unit includes:

[0230] Control the pre-charging relay of the battery management system to energize and close, so that the vehicle control unit can perform pre-charging processing;

[0231] After the vehicle control unit completes pre-charging, the pre-charging relay of the battery management system is powered off and disconnected, and the main positive relay is powered on and closed, so that the vehicle's battery powers the vehicle control unit.

[0232] The algorithms or displays provided herein are not inherently related to any particular computer, virtual system or other device. In addition, the embodiments of the present invention are not directed to any particular programming language.

[0233] In the description provided herein, a large number of specific details are described. However, it is understood that embodiments of the present invention can be practiced without these specific details. Similarly, in order to simplify the present invention and help understand one or more of the various inventive aspects, in the above description of exemplary embodiments of the present invention, the various features of the embodiments of the present invention are sometimes grouped together into a single embodiment, figure, or description thereof. Wherein, the claims that follow the specific embodiment are hereby expressly incorporated into the specific embodiment, wherein each claim itself is a separate embodiment of the present invention.

[0234] Those skilled in the art will appreciate that the modules in the devices in the embodiments may be adaptively changed and arranged in one or more devices different from the embodiments. The modules or units or components in the embodiments may be combined into one module or unit or component, and further may be divided into a plurality of submodules or subunits or subcomponents. Except that at least some of such features and / or processes or units are mutually exclusive.

[0235] It should be noted that the above embodiments illustrate the present invention rather than limit it, and that those skilled in the art may devise alternative embodiments without departing from the scope of the appended claims. In the claims, any reference symbol between brackets shall not be construed as a limitation on the claims. The word "comprising" does not exclude the presence of elements or steps not listed in the claims. The word "one" or "an" preceding an element does not exclude the presence of a plurality of such elements. The present invention may be implemented by means of hardware comprising a number of different elements and by means of a suitably programmed computer. In a unit claim enumerating a number of devices, several of these devices may be embodied by the same hardware item. The use of the words first, second, and third, etc. does not indicate any order. These words may be interpreted as names. The steps in the above embodiments, unless otherwise specified, should not be understood as limitations on the order of execution.

Claims

1. A method for restoring a high voltage activated state of a vehicle control unit, characterized in that: The method comprises: After determining that an abnormal reset has occurred and initialization is completed, extracting key variables from a preset storage space, wherein the key variables are data stored in real time in each power-on cycle before the vehicle control unit is reset; determining whether the vehicle meets the high voltage activation condition according to the key variables; If it is determined that the vehicle meets the high-voltage activation conditions, the battery management system is controlled to power on the vehicle control unit to restore the vehicle control unit to the high-voltage activation state.

2. The method according to claim 1, characterized in that The key variable includes a work request, and determining whether the vehicle meets the high-voltage activation condition according to the key variable includes: If the work request is a high voltage power-on request, determining a feedback state of a vehicle battery, a feedback state of a vehicle motor, and a feedback state of the vehicle; When the feedback state of the vehicle battery indicates a power-on permission state, the feedback state of the vehicle motor indicates a power-on permission state, and the feedback state of the vehicle indicates no high-voltage power-on prohibition fault state, it is determined that the vehicle meets the high-voltage triggering condition; When the feedback state of the vehicle battery indicates a power-on-not-allowed state, the feedback state of the vehicle motor indicates a power-on-not-allowed state, or the feedback state of the vehicle indicates a high-voltage power-on-prohibited fault state, it is determined that the vehicle does not meet the high-voltage trigger condition.

3. The method according to claim 2, characterized in that After the step of determining that the vehicle meets the high voltage activation condition, the method further includes: When it is determined that the high voltage power-on request is cancelled or a work request for power-off is received, a high voltage cut-off process is performed.

4. The method according to claim 3, characterized in that: The high-voltage cut-off process comprises: Control the current drop of the high voltage circuit; When the current value of the high-voltage circuit reaches the preset current safety value, the main positive relay and the main negative relay of the battery management system are controlled to be disconnected, so that the vehicle's battery stops outputting electrical energy to the outside; The motor system is used to release the residual electrical energy of the components in the high-voltage circuit until the voltage value of the high-voltage circuit is lower than the preset voltage value.

5. The method according to claim 1, characterized in that The determining that an abnormal reset occurs includes: Obtaining a flag bit, where the flag bit is a flag generated by the application software layer of the vehicle control unit when the vehicle control unit is reset; When the value of the flag bit is a preset reset value, it is determined that an abnormal reset occurs, and a power-on initialization process is performed.

6. The method according to claim 1, characterized in that After the step of determining that an abnormal reset occurs, the method further includes: When the communication loss duration is less than the preset loss duration, the current working state of the counterpart of the vehicle control unit is maintained; When the communication loss duration is greater than or equal to the preset loss duration, the current working state of the counterpart of the vehicle control unit is switched; The communication loss duration is the duration during which the communication signal between the vehicle control unit and the counterpart is lost.

7. The method according to claim 1, characterized in that The controlling battery management system to power on the vehicle control unit includes: Control the pre-charging relay of the battery management system to energize and close, so that the vehicle control unit can perform pre-charging processing; After the vehicle control unit completes pre-charging, the pre-charging relay of the battery management system is powered off and disconnected, and the main positive relay is powered on and closed, so that the vehicle's battery powers the vehicle control unit.

8. A car, characterized in that: The device comprises: A variable acquisition module is used to extract key variables from a preset storage space after determining that an abnormal reset has occurred and initialization is completed. The key variables are data stored in real time in each power-on cycle before the vehicle control unit is reset; A high-voltage condition determination module, used to determine whether the vehicle meets the high-voltage activation condition according to the key variables; The high-voltage recovery module is used to control the battery management system to power on the vehicle control unit if it is determined that the vehicle meets the high-voltage activation conditions, so that the vehicle control unit is restored to the high-voltage activation state.

9. A high voltage activation state recovery device for a vehicle control unit, comprising: A memory, a processor, and a computer program stored in the memory and executable on the processor, wherein the processor implements the high-voltage activation state recovery method of the vehicle control unit as described in any one of claims 1 to 7 when executing the computer program.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores a computer-executable program, and the computer-executable program is used to enable a computer to execute the high-voltage activation state recovery method of the vehicle control unit as described in any one of claims 1-7.