Power recovery method, device, terminal and storage medium for new energy vehicles
By storing key variables in the VCU of new energy vehicles in real time and reading and restoring the state after the VCU is reset, the problem of the inability to automatically recover after the VCU is reset is solved, and the vehicle's power reliability and safety are improved.
Patent Information
- Application Number
- CN202211408972.5
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-11-11
- Publication Date
- 2025-03-04
- Estimated Expiration
- 2042-11-11
AI Technical Summary
The VCU of new energy vehicles cannot automatically recover after resetting, causing the vehicle to lose power and poses safety risks.
By storing critical variables to specific storage areas in the VCU in real time, ensuring that this data is not lost after the VCU is reset. Then, the stored target key variables are read, the working status of the vehicle is judged, and the vehicle state is automatically restored when specific conditions are met.
Automatic state recovery after VCU reset is realized, reducing vehicle power loss caused by VCU reset and reducing safety hazards.
Smart Images

Figure CN115891655B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of new energy vehicles, and in particular to a power recovery method, device, terminal and storage medium for new energy vehicles. Background Art
[0002] With the advancement of technology, more and more OEMs have launched new energy vehicles. Compared with traditional pure fuel vehicles, new energy vehicles are generally equipped with VCU (Vehicle Control Unit) due to the different powertrain topology structure to coordinate and process functions at the vehicle level.
[0003] In new energy vehicles, most of the vehicle controllers receive and respond to the VCU's instructions, such as the opening and closing of the relay of the BMS (Battery Management System) in the process of up and down high voltage electricity, the engine start and stop of the EMS (Engine Management System) in mode management, the working mode control of the charging and discharging OBC (On Board Charger), and the human-machine interactive instrument display, etc. It can be seen that the VCU plays a vital role in coordination and control in the structure of new energy vehicles.
[0004] However, for the VCU, it is inevitable that unexpected resets will occur due to various reasons throughout its life cycle, such as hardware resets and software resets caused by its own internal components, as well as resets caused by external interference, etc. Although the controller reset time is very short, if the previous state cannot be restored as soon as possible after the reset, the vehicle will lose power, which may pose a very serious safety hazard to the driver. In particular, under normal circumstances, if you want to enter the driving state, you generally need at least two different operations, such as braking, pressing the start button, shifting gears, etc.; and once the VCU resets under high-speed conditions, many signals stored before the reset will be initialized. If two operations are still required at this time, unexpected deceleration may occur, or even a rear-end collision may occur. Summary of the invention
[0005] The present application provides a power recovery method, device, terminal and storage medium for new energy vehicles, which can realize automatic recovery after an accidental reset of a vehicle controller.
[0006] On the one hand, an embodiment of the present application provides a power recovery method for a new energy vehicle, the method is based on a VCU in the new energy vehicle, and the method includes:
[0007] During the duration of the current driving cycle, key variables are stored in real time in a specific storage area, and the data stored in the specific storage area will not disappear with the reset of the VCU;
[0008] When the VCU is reset and re-awakened for initialization, the stored target key variable is read, where the target key variable refers to the key variable with the most recent storage time;
[0009] Based on the target key variables, determining the working state of the vehicle when the reset occurs;
[0010] When it is determined that the vehicle is in a driving state, it enters a waiting state for communication;
[0011] In the waiting communication state, if communication recovery is identified, then the actual state of the BMS relay is identified;
[0012] When it is identified that the BMS relay is in a closed state, the VCU is restored to a high voltage state;
[0013] Sending an instruction to enter a drivable state to the VCU;
[0014] After recognizing that the vehicle has entered a drivable state, a target gear switching instruction carrying a target gear is sent to the VCU, where the target gear is the gear included in the target key variable;
[0015] In response to the target gear switching instruction, the vehicle gear is switched to the target gear.
[0016] In some embodiments, judging the working state of the vehicle when the reset occurs based on the target key variable includes:
[0017] When it is identified that the target driving system state in the target key variable is a drivable state, and the target gear position in the target key variable is a driving gear position, it is determined that the vehicle is in a driving state when the reset occurs.
[0018] In some embodiments, the method further comprises:
[0019] In the waiting communication state, the VCU sends a state keeping instruction to the BMS, so that the BMS relay maintains the working state before the VCU is reset after the communication is restored.
[0020] In some embodiments, storing the key variables in a specific storage area in real time includes:
[0021] Storing the original value and complement data of the key variable in real time into a specific storage area;
[0022] The target key variables stored in the reading include:
[0023] Reading the original value and complement data of the target key variable stored therein;
[0024] The determining, based on the target key variable, the working state of the vehicle when the reset occurs, includes:
[0025] Verify whether the reading result of the target key variable is accurate based on the original value and the complement data corresponding to the target key variable;
[0026] When the reading result of the target key variable is verified to be accurate, the VCU determines the working state of the vehicle when the reset occurs based on the target key variable.
[0027] In some embodiments, after the VCU is awakened and initialized, before executing any step in the method, it will identify the execution duration at the current moment, and the execution duration refers to the time difference between the current moment and the awakening and initialization moment;
[0028] Any of the steps will be executed by the VCU only when the execution duration at the current moment is not greater than the preset response duration.
[0029] In some embodiments, before switching the vehicle gear to the target gear in response to the target gear switching instruction, the method further includes:
[0030] Identify current vehicle speed;
[0031] The VCU will respond to the target gear switching instruction only when the current vehicle speed is greater than a preset vehicle speed threshold.
[0032] In some embodiments, before switching the vehicle gear to the target gear in response to the target gear switching instruction, the method further includes:
[0033] Identify whether a manual gear shift command has been received after re-awakening initialization;
[0034] The VCU will respond to the target gear switching instruction only when the recognition result is negative.
[0035] In a second aspect, an embodiment of the present application provides a vehicle control device, including:
[0036] A key variable storage module, used to store the key variables in real time into a specific storage area during the duration of the current driving cycle, and the data stored in the specific storage area will not disappear with the resetting of the VCU;
[0037] A target key variable reading module, used for reading the stored target key variable when the VCU is reset and re-awakened and initialized, wherein the target key variable refers to the key variable with the most recent storage time;
[0038] A vehicle operating state judgment module, used to judge the operating state of the vehicle when the reset occurs based on the target key variable;
[0039] A state switching module is used to enter a communication waiting state when it is determined that the vehicle is in a driving state;
[0040] A BMS communication module is used to identify the actual state of the BMS relay if communication recovery is identified in the waiting communication state;
[0041] An internal high-voltage state recovery module, used to restore the internal part of the VCU to a high-voltage state when it is identified that the BMS relay is in a closed state;
[0042] An instruction sending module, used for sending an instruction to enter a drivable state to the VCU;
[0043] The instruction sending module is also used to send a target gear switching instruction carrying a target gear to the VCU after recognizing that the vehicle enters a drivable state, wherein the target gear is the gear included in the target key variable;
[0044] The target gear switching module is used to switch the vehicle gear to the target gear in response to the target gear switching instruction.
[0045] In some embodiments, the vehicle operating status judgment module is specifically used to determine that the vehicle is in a driving state when a reset occurs when it is identified that the target drive system state in the target key variable is a drivable state and the target gear in the target key variable is a driving gear.
[0046] In some embodiments, the BMS communication module is further used to send a state maintenance instruction to the BMS in the waiting communication state, so that the BMS relay maintains the working state before the VCU is reset after the communication is restored.
[0047] In some embodiments, the key variable storage module is specifically used to store the original value and complement data of the key variable in real time into a specific storage area;
[0048] The target key variable reading module is specifically used to read the original value and complement data of the stored target key variable;
[0049] The vehicle working state judgment module is specifically used to verify whether the reading result of the target key variable is accurate based on the original value and complement data corresponding to the target key variable, and when the reading result of the target key variable is verified to be accurate, based on the target key variable, judge the working state of the vehicle when reset occurs.
[0050] In some embodiments, it also includes an execution duration identification module, which is used to identify the execution duration at the current moment after the vehicle control device is awakened and initialized, before executing any step in the method, wherein the execution duration refers to the time difference between the current moment and the awakening and initialization moment;
[0051] Any of the steps will be executed by the vehicle control device only when the execution duration at the current moment is not greater than the preset response duration.
[0052] In some embodiments, a current vehicle speed identification module is further included, which is used to identify the current vehicle speed before the target gear switching module switches the vehicle gear to the target gear in response to the target gear switching instruction;
[0053] The target gear switching module will respond to the target gear switching instruction only when the current vehicle speed is greater than a preset vehicle speed threshold.
[0054] In some embodiments, a manual gear shift instruction tracing module is further included, which is used to identify whether a manual gear shift instruction has been received after re-awakening initialization before the target gear shift module switches the vehicle gear to the target gear in response to the target gear shift instruction;
[0055] The target gear switching module will respond to the target gear switching instruction only when the recognition result is negative.
[0056] In a third aspect, an embodiment of the present application provides a vehicle control terminal, including a processor and a memory, wherein the memory stores a computer program, and when the processor executes the computer program, the power recovery method for new energy vehicles as described in the first aspect is implemented.
[0057] In a fourth aspect, an embodiment of the present application provides a computer-readable storage medium, on which a program is stored. When the program is executed by a processor, it is used to implement the power recovery method for a new energy vehicle as described in the first aspect.
[0058] The technical solution of this application has at least the following advantages:
[0059] 1. During vehicle driving, by storing key variables in real time in a specific storage area, the key variables will not disappear due to the reset of the VCU. In this way, when the VCU is reset and re-awakened and initialized, the VCU can read the latest stored key variables, namely the target key variables, and automatically restore the vehicle state to the state before the VCU is reset based on the target key variables after the vehicle state meets the preset conditions, thereby reducing the possibility of an accident caused by an accidental reset of the VCU while the vehicle is driving. BRIEF DESCRIPTION OF THE DRAWINGS
[0060] In order to more clearly illustrate the specific implementation methods of the present application or the technical solutions in the prior art, the drawings required for use in the specific implementation methods or the description of the prior art will be briefly introduced below. Obviously, the drawings described below are some implementation methods of the present application. For ordinary technicians in this field, other drawings can be obtained based on these drawings without paying any creative work.
[0061] Figure 1 is a schematic diagram of a new energy vehicle control system provided by an exemplary embodiment of the present application;
[0062] Figure 2 It is a flow chart of a power recovery method for a new energy vehicle provided by an exemplary embodiment of the present application;
[0063] Figure 3 It is a system block diagram of a vehicle control device provided by an exemplary embodiment of the present application. DETAILED DESCRIPTION
[0064] The following will be combined with the accompanying drawings to clearly and completely describe the technical solutions in this application. Obviously, the described embodiments are part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without creative work are within the scope of protection of this application.
[0065] In the description of the present application, it should be noted that the terms "center", "upper", "lower", "left", "right", "vertical", "horizontal", "inner", "outer", etc., indicating the orientation or positional relationship, are based on the orientation or positional relationship shown in the drawings, and are only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as limiting the present application. In addition, the terms "first", "second", and "third" are used for descriptive purposes only, and cannot be understood as indicating or implying relative importance.
[0066] In the description of this application, it should be noted that, unless otherwise clearly specified and limited, the terms "installed", "connected", and "connected" should be understood in a broad sense, for example, it can be a fixed connection, a detachable connection, or an integral connection; it can be a mechanical connection or an electrical connection; it can be a direct connection, or it can be indirectly connected through an intermediate medium, it can also be the internal connection of two components, it can be a wireless connection, or it can be a wired connection. For ordinary technicians in this field, the specific meanings of the above terms in this application can be understood according to specific circumstances.
[0067] In addition, the technical features involved in the different embodiments of the present application described below can be combined with each other as long as they do not conflict with each other.
[0068] refer to Figure 1 The embodiment of the present application discloses a new energy vehicle control system, including a VCU (Vehicle Control Unit) and other controllers, and the other controllers are respectively connected to the VCU by signals, so as to respond to the instructions of the VCU. Among them, the other controllers may include a BMS (Battery Management System), an EMS (Engine Management System), an OBC (On Board Charger) controller, and the like.
[0069] Reference Figure 2 The embodiment of the present application also discloses a power recovery method for a new energy vehicle. The method is based on the VCU in the new energy vehicle control system described above and specifically includes the following contents:
[0070] S10: Storing key variables in real time into a specific storage area during the duration of the current driving cycle.
[0071] Among them, key variables may include engine operating status, current drive system status, current gear, vehicle speed, and other variable parameters that can reflect whether the VCU has been reset. The specific storage area belongs to the internal storage area in the VCU, and the data stored therein will not disappear with the reset of the VCU.
[0072] For example, the driver can press the start button on the vehicle to make the vehicle enter a drivable state, thereby entering a driving cycle. After that, the driver can press the start button again or lock the vehicle to make the vehicle exit the drivable state, thereby completing the above driving cycle. During the duration of the current driving cycle, the VCU can store the key variables in a specific storage area in the VCU in real time. In some embodiments, the VCU can also update the changed key variables to a specific storage area after identifying that the key variables have changed.
[0073] S20: When the VCU is reset and re-awakened for initialization, the stored target key variables are read.
[0074] The target key variable refers to a key variable with the latest storage time stored in a specific storage area, which can reflect the vehicle state when the VCU is reset.
[0075] Exemplarily, after the VCU is reset and re-awakened and initialized, it reads the target key variables stored in a specific storage area.
[0076] S30: Based on the target key variable, determine the working state of the vehicle when the reset occurs.
[0077] Among them, the working state of the vehicle can be mainly divided into a driving state and a stopped state.
[0078] For example, under different working conditions, the key variables have different characteristics. Therefore, the VCU can determine whether the vehicle is in a driving state when the reset occurs by identifying the target key variables.
[0079] Optionally, in some embodiments, the VCU can determine the working state of the vehicle by identifying the drive system state and gear position in the key variables. Taking the target key variable as an example, when the target drive system state in the target key variable is identified as a drivable state, and the target gear position in the target key variable is a driving gear position, the VCU will determine that the vehicle is in a driving state when the reset occurs. Among them, the driving gear position refers to other gear positions except the parking gear position, such as P gear and N gear.
[0080] S40: When it is determined that the vehicle is in a driving state, the vehicle enters a communication waiting state.
[0081] If within the preset first waiting time, it is determined that the vehicle is in a driving state when the reset occurs, the VCU will enter the waiting communication state, that is, enter the power recovery process. Otherwise, the VCU will not enter the power recovery process. In the waiting communication state, the VCU will wait for the communication signal of the BMS.
[0082] S50: In the waiting state for communication, if it is recognized that the communication is restored, the actual state of the BMS relay is identified.
[0083] For example, in the waiting communication state, when the VCU receives a communication signal from the BMS, it will determine that the communication is restored. If the communication is confirmed to be restored within the preset second waiting time, the VCU will further identify the actual state of the relay in the BMS.
[0084] S60: When it is recognized that the BMS relay is in a closed state, the internal VCU is restored to a high voltage state.
[0085] For example, when the relay in the BMS is identified to be in a closed state, it means that the vehicle is actually in a high-voltage state. However, when the VCU is reset, the signal value used to represent the high-voltage state of the vehicle is cleared. Therefore, in order to make the judgment of the vehicle state in the VCU conform to the actual situation, the VCU will reassign the signal value used to represent the high-voltage state of the vehicle to the high-voltage state, that is, restore the VCU to the high-voltage state.
[0086] S70: Sending a command to enter a drivable state to the VCU.
[0087] For example, if the VCU detects that the high voltage state has been restored within the preset third waiting time, the VCU will send a drivable state instruction to the inside, so that the vehicle enters the drivable state. If the VCU still fails to restore the high voltage state within the preset third waiting time, the VCU will exit the power recovery process.
[0088] S80: After recognizing that the vehicle has entered a drivable state, a target gear switching instruction carrying the target gear is sent to the VCU.
[0089] The target gear refers to the gear included in the target key variable.
[0090] Exemplarily, if within the preset fourth waiting period, the VCU recognizes that the vehicle has entered a drivable state, the VCU will send a target gear switching instruction carrying the target gear internally; otherwise, the VCU will exit the power recovery process.
[0091] S90: In response to the target gear switching instruction, the vehicle gear is switched to the target gear.
[0092] For example, after receiving the target gear switching instruction, the VCU will read the target gear and switch the vehicle gear to the target gear, thereby completing the rapid recovery of the vehicle's operating state. The VCU needs to complete the switching of the target gear within the preset fifth waiting time, otherwise the VCU will exit the power recovery process.
[0093] Optionally, in another embodiment, the above method may further include the following contents:
[0094] In the waiting communication state, the VCU sends a state holding instruction to the BMS, so that the BMS relay maintains the working state before the VCU is reset after the communication is restored.
[0095] For example, in the above-mentioned waiting communication state, the VCU will continue to send a state-keeping instruction to the BMS, so as to ensure that after the communication is restored, the instruction received by the BMS is the state-keeping instruction, so that the BMS can respond to the state-keeping instruction and control the BMS relay to maintain the working state before the VCU is reset to prevent mis-transmission. Because the VCU sends and receives signals at the same time, if the state-keeping instruction is issued after the communication is restored, the state-keeping instruction will be issued one cycle later, resulting in the BMS relay being disconnected.
[0096] Optionally, in another embodiment, the above-mentioned storing the key variables in real time into a specific storage area includes but is not limited to the following contents:
[0097] The original value and complement data of the key variable are stored in a specific storage area in real time.
[0098] Exemplarily, when storing a key variable, its original value can be 8-bit binary data with an unsigned length. For example, the gear in the key variable is 3, and its corresponding original value can be expressed as 00000011. For 8-bit binary data, the corresponding complement is to swap 0 and 1, so the complement data of the original value is 11111100. The decimal data corresponding to the complement data is 252. When writing, the VCU will write the original value 00000011 and the complement data 11111100 corresponding to the gear key variable respectively.
[0099] The target key variables stored in the above reading include but are not limited to the following:
[0100] Read the original value and complement data of the stored target key variable.
[0101] Exemplarily, when reading the target key variables, the VCU may read the original value and complement data of each target key variable respectively.
[0102] The above-mentioned determination of the working state of the vehicle when the reset occurs based on the target key variables includes but is not limited to the following:
[0103] Based on the original value and complement data corresponding to the target key variable, verify whether the reading result of the target key variable is accurate.
[0104] Exemplarily, the VCU may compare the original value of the target key variable and the corresponding complement data to determine whether the two match. When the original value and the complement data of the target key variable match each other, it is determined that the reading result of the target key variable is accurate.
[0105] When the reading result of the target key variable is verified to be accurate, the VCU determines the working state of the vehicle when the reset occurs based on the target key variable.
[0106] Optionally, in another embodiment, the following contents may also be included:
[0107] After the VCU is awakened and initialized, before executing any step in the above method, it will identify the execution duration at the current moment, where the execution duration refers to the time difference between the current moment and the awakening and initialization moment.
[0108] Exemplarily, after the VCU is reset and awakened and initialized, it will enter the power recovery process, that is, the process starting from the above-mentioned entering the waiting communication state and ending with the above-mentioned switching of the vehicle gear to the target gear. Before executing any step of the above-mentioned power recovery process, the VCU will identify the execution duration at the current moment, where the execution duration refers to the time difference between the current moment and the moment of awakening and initialization.
[0109] Any step will be executed by the VCU only if the execution duration at the current moment is not greater than the preset response duration.
[0110] Among them, since the above-mentioned power recovery process needs to be completed in a short time, otherwise the meaning of restoring power will be lost, therefore, the response time can be 0.4s, 0.5s, etc., and generally does not exceed 1s.
[0111] Exemplarily, before executing any step in the power recovery process, the VCU will compare the identified execution duration and response duration at the current moment. Only when the execution duration is not greater than the preset response duration, the VCU will continue to execute any of the above steps.
[0112] Optionally, in another embodiment, before the vehicle gear is switched to the target gear in response to the target gear switching instruction, the following contents may also be included:
[0113] Identify the current vehicle speed.
[0114] The current vehicle speed refers to the vehicle's driving speed at the current moment.
[0115] The VCU will respond to the target gear switching instruction only when the current vehicle speed is greater than a preset vehicle speed threshold.
[0116] Exemplarily, the VCU will compare the identified current vehicle speed with a preset vehicle speed threshold, and only when the current vehicle speed is greater than the vehicle speed threshold will the VCU respond to the target gear switching instruction.
[0117] Optionally, in another embodiment, before the vehicle gear is switched to the target gear in response to the target gear switching instruction, the following contents may also be included:
[0118] Identify whether a manual gear shift command has been received after re-awakening initialization.
[0119] Exemplarily, the VCU will identify whether it has received a manual gear shift instruction manually input by the driver after being reset and re-initialized.
[0120] The VCU will respond to the target gear switching instruction only when the recognition result is negative.
[0121] For example, when the recognition result is yes, it means that the driver has adjusted the gear of the vehicle. At this time, if the gear is switched to the target gear in the target key variable, it is contrary to the driving needs of the driver. Therefore, the VCU will respond to the target gear switching instruction only when the recognition result is no.
[0122] The present application also discloses a vehicle control device. Figure 3 , the vehicle control device includes:
[0123] The key variable storage module is used to store the key variables in real time into a specific storage area during the duration of the current driving cycle. The data stored in the specific storage area will not disappear with the resetting of the VCU.
[0124] The target key variable reading module is used to read the stored target key variable when the VCU is reset and re-awakened and initialized, wherein the target key variable refers to the key variable with the most recent storage time.
[0125] The vehicle operating state judgment module is used to judge the operating state of the vehicle when the reset occurs based on the target key variable.
[0126] The state switching module is used to enter the communication waiting state when it is determined that the vehicle is in the driving state.
[0127] The BMS communication module is used to identify the actual state of the BMS relay if communication recovery is identified in the waiting communication state.
[0128] The internal high-voltage state recovery module is used to restore the internal part of the VCU to a high-voltage state when it is identified that the BMS relay is in a closed state.
[0129] The instruction sending module is used to send an instruction to enter a drivable state to the VCU.
[0130] The instruction sending module is also used to send a target gear switching instruction carrying a target gear to the VCU after recognizing that the whole vehicle has entered a drivable state, and the target gear is the gear included in the target key variable.
[0131] The target gear switching module is used to switch the vehicle gear to the target gear in response to the target gear switching instruction.
[0132] Optionally, the vehicle operating state judgment module is specifically used to judge that the vehicle is in a driving state when a reset occurs when it is identified that the target drive system state in the target key variable is a drivable state and the target gear in the target key variable is a driving gear.
[0133] Optionally, the BMS communication module is also used to send a state holding instruction to the BMS in the waiting communication state, so that the BMS relay maintains the working state before the VCU is reset after the communication is restored.
[0134] Optionally, the key variable storage module is specifically used to store the original value and complement data of the key variable in a specific storage area in real time.
[0135] The target key variable reading module is specifically used to read the original value and complement data of the stored target key variable.
[0136] The vehicle working status judgment module is specifically used to verify whether the reading result of the target key variable is accurate based on the original value and complement data corresponding to the target key variable, and when the reading result of the target key variable is verified to be accurate, based on the target key variable, judge the working status of the vehicle when reset occurs.
[0137] Optionally, the vehicle control device also includes an execution duration identification module, which is used to identify the execution duration at the current moment after the vehicle control device is awakened and initialized and before executing any step in the method. The execution duration refers to the time difference between the current moment and the moment of awakening and initialization.
[0138] Any step will be executed by the vehicle control device only if the execution duration at the current moment is not greater than the preset response time.
[0139] Optionally, the vehicle control device further includes a current vehicle speed identification module, which is used to identify the current vehicle speed before the target gear switching module switches the vehicle gear to the target gear in response to the target gear switching instruction.
[0140] The target gear switching module will respond to the target gear switching instruction only when the current vehicle speed is greater than a preset vehicle speed threshold.
[0141] Optionally, the vehicle control device also includes a manual gear switching instruction tracing module, which is used to identify whether a manual gear switching instruction has been received after re-awakening initialization before the target gear switching module responds to the target gear switching instruction and switches the vehicle gear to the target gear.
[0142] The target gear switching module will respond to the target gear switching instruction only when the recognition result is negative.
[0143] Optionally, the present application also provides a vehicle control terminal, including a memory and a processor, the memory stores a computer program, and the processor implements the power recovery method for new energy vehicles provided in the above method embodiment when executing the computer program.
[0144] Optionally, the present application also provides a computer-readable storage medium, which stores at least one instruction, at least one program, a code set or an instruction set, and the at least one instruction, the at least one program, the code set or the instruction set are loaded and executed by the processor to implement the power recovery method for new energy vehicles provided in the above method embodiment.
[0145] Obviously, the above embodiments are merely examples for the purpose of clear explanation, and are not intended to limit the implementation methods. For those skilled in the art, other different forms of changes or modifications can be made based on the above description. It is not necessary and impossible to list all the implementation methods here. The obvious changes or modifications derived therefrom are still within the scope of protection created by this application.
Claims
1. A power recovery method for new energy vehicles, characterized in that: The method is based on a VCU in a new energy vehicle, and the method comprises: During the duration of the current driving cycle, the original value and the complement data of the key variables are stored in real time in a specific storage area, and the data stored in the specific storage area will not disappear with the resetting of the VCU; When the VCU is reset and re-awakened for initialization, the original value and complement data of the stored target key variable are read, and the target key variable refers to the key variable with the most recent storage time; Verify whether the reading result of the target key variable is accurate based on the original value and the complement data corresponding to the target key variable; When the reading result of the target key variable is verified to be accurate, the VCU determines the working state of the vehicle when the reset occurs based on the target key variable; When it is determined that the vehicle is in a driving state, it enters a waiting state for communication; In the waiting communication state, if communication recovery is identified, then the actual state of the BMS relay is identified; When it is identified that the BMS relay is in a closed state, the VCU is restored to a high voltage state; Sending an instruction to enter a drivable state to the VCU; After recognizing that the vehicle has entered a drivable state, a target gear switching instruction carrying a target gear is sent to the VCU, where the target gear is the gear included in the target key variable; In response to the target gear switching instruction, switching the vehicle gear to the target gear; Wherein, after the VCU is awakened and initialized, before executing any step in the method, it will identify the execution duration at the current moment, and the execution duration refers to the time difference between the current moment and the awakening and initialization moment; Any of the steps will be executed by the VCU only when the execution duration at the current moment is not greater than the preset response duration.
2. The method according to claim 1, characterized in that The determining, based on the target key variable, the working state of the vehicle when the reset occurs, includes: When it is identified that the target driving system state in the target key variable is a drivable state, and the target gear position in the target key variable is a driving gear position, it is determined that the vehicle is in a driving state when the reset occurs.
3. The method according to claim 1, characterized in that The method further comprises: In the waiting communication state, the VCU sends a state keeping instruction to the BMS, so that the BMS relay maintains the working state before the VCU is reset after the communication is restored.
4. The method according to claim 1, characterized in that: Before the vehicle gear is switched to the target gear in response to the target gear switching instruction, the method further includes: Identify current vehicle speed; The VCU will respond to the target gear switching instruction only when the current vehicle speed is greater than a preset vehicle speed threshold.
5. The method according to claim 1, characterized in that Before the vehicle gear is switched to the target gear in response to the target gear switching instruction, the method further includes: Identify whether a manual gear shift command has been received after re-awakening initialization; The VCU will respond to the target gear switching instruction only when the recognition result is negative.
6. A vehicle control device, characterized in that: The vehicle control device is used to execute the method according to any one of claims 1 to 5, and the vehicle control device includes: A key variable storage module, used to store the original value and complement data of the key variable in real time into a specific storage area during the duration of the current driving cycle, and the data stored in the specific storage area will not disappear with the resetting of the VCU; A target key variable reading module, used for reading the original value and complement data of the stored target key variable when the VCU is reset and re-awakened and initialized, wherein the target key variable refers to the key variable with the most recent storage time; A vehicle working state judgment module, used to verify whether the reading result of the target key variable is accurate based on the original value and the complement data corresponding to the target key variable, and when the reading result of the target key variable is verified to be accurate, based on the target key variable, judge the working state of the vehicle when the reset occurs; A state switching module is used to enter a communication waiting state when it is determined that the vehicle is in a driving state; A BMS communication module is used to identify the actual state of the BMS relay if communication recovery is identified in the waiting communication state; An internal high-voltage state recovery module, used to restore the internal part of the VCU to a high-voltage state when it is identified that the BMS relay is in a closed state; An instruction sending module, used for sending an instruction to enter a drivable state to the VCU; The instruction sending module is also used to send a target gear switching instruction carrying a target gear to the VCU after recognizing that the vehicle enters a drivable state, wherein the target gear is the gear included in the target key variable; a target gear switching module, configured to switch the vehicle gear to the target gear in response to the target gear switching instruction; An execution duration identification module, used to identify the execution duration at the current moment after the vehicle control device is awakened and initialized and before executing any step in the method, wherein the execution duration refers to the time difference between the current moment and the awakening and initialization moment; Any of the steps will be executed by the vehicle control device only when the execution duration at the current moment is not greater than the preset response duration.
7. The vehicle control device according to claim 6, characterized in that: The vehicle working state judgment module is specifically used to judge that the vehicle is in a driving state when a reset occurs when it is identified that the target driving system state in the target key variable is a drivable state and the target gear in the target key variable is a driving gear.
8. The vehicle control device according to claim 6, characterized in that: The BMS communication module is further configured to send a state keeping instruction to the BMS in the waiting communication state, so that the BMS relay maintains the working state before the VCU is reset after the communication is restored.
9. The vehicle control device according to claim 6, characterized in that: It also includes a current vehicle speed identification module, which is used to identify the current vehicle speed before the target gear switching module switches the vehicle gear to the target gear in response to the target gear switching instruction; The target gear switching module will respond to the target gear switching instruction only when the current vehicle speed is greater than a preset vehicle speed threshold.
10. The vehicle control device according to claim 6, characterized in that: It also includes a manual gear switching instruction tracing module, which is used to identify whether a manual gear switching instruction has been received after re-awakening initialization before the target gear switching module responds to the target gear switching instruction and switches the vehicle gear to the target gear; The target gear switching module will respond to the target gear switching instruction only when the recognition result is negative.
11. A vehicle control terminal, characterized in that: The method comprises a processor and a memory, wherein the memory stores a computer program, and when the processor executes the computer program, the method according to any one of claims 1 to 5 is implemented.
12. A computer-readable storage medium having a program stored thereon, wherein when the program is executed by a processor, the program is used to implement the method according to any one of claims 1 to 5.
Citation Information
Patent Citations
Control method and device of whole vehicle controller and whole vehicle control method and system
CN105700419A
Reset control method, device and equipment and storage medium
CN111845376A
