Vehicle control method, vehicle, storage medium and computer program product

By responding to a power-down trigger event in an electric vehicle and determining the delayed power-down time based on the vehicle environment information and working mode, the stability problems of motor multiplexing and vehicle power-down are solved, and electric drive multiplexing and The coordination of power-off ensures the stable operation of the vehicle.

CN118618014BActive Publication Date: 2024-11-19BYD CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

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

AI Technical Summary

Technical Problem

In electric vehicles, when the motor is powered off under the multiplexing function, the vehicle cannot be stable in power off or the multiplexing function is unstable, which cannot meet the requirements of stable operation.

Method used

A vehicle control method is proposed to implement different power-down control strategies by responding to power-down trigger events, including delayed power-down strategy, determine the target power-down delay time based on vehicle environment information and working mode, and complete the vehicle after the time is met. Power off to ensure that the electric drive multiplexing function is completed before powering off.

Benefits of technology

The coordination between motor multiplexing and vehicle power outage is achieved, avoiding the conflict between motor multiplexing and vehicle power outage, and ensuring the stability and compatibility of the vehicle during the multiplexing and power outage.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118618014B_ABST
    Figure CN118618014B_ABST
Patent Text Reader

Abstract

An embodiment of the present invention provides a vehicle control method, a vehicle, a storage medium and a computer program product, including: in response to a power-off trigger event, when the vehicle electric drive is in an electric drive multiplexing function state, executing a first power-off control strategy; under the condition that the vehicle electric drive has a multiplexing function, detecting the vehicle electric drive multiplexing function state to ensure that the drive motor realizes the corresponding multiplexing function and can complete the power-off of the vehicle, avoiding the conflict between the multiplexing of the motor and the power-off of the vehicle, resulting in the problem of vehicle electric drive failure.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of vehicle electronic systems, and in particular to a vehicle control method, a vehicle, a storage medium and a computer program product. Background Art

[0002] At present, in electric vehicles, the motor is used as a power drive system to drive the vehicle. Therefore, when the motor is not running, it can be powered off. However, when the motor and other vehicle electric drives are reused, if the current method is used to power off, the whole vehicle cannot be powered off or the reuse function cannot work stably, which cannot meet the requirements of stable operation. Summary of the invention

[0003] In view of the above problems, embodiments of the present invention are proposed to provide a vehicle control method, a vehicle, a storage medium and a computer program product that overcome the above problems or at least partially solve the above problems.

[0004] In order to solve the above problems, in a first aspect of the present invention, an embodiment of the present invention discloses a vehicle control method, the method comprising:

[0005] In response to a power-off triggering event, when the vehicle electric drive is in an electric drive multiplexing function state, a first power-off control strategy is executed.

[0006] Optionally, the method further comprises:

[0007] When the vehicle electric drive is not in the electric drive multiplexing function state, the second power-off control strategy is executed.

[0008] Optionally, in response to the power-off triggering event, when the vehicle electric drive is in an electric drive multiplexing function state, the step of executing the first power-off control strategy includes:

[0009] In response to a power-off triggering event, when the vehicle electric drive is in an electric drive multiplexing function state, a vehicle delayed power-off strategy is executed.

[0010] Optionally, in response to the power-off triggering event, when the vehicle electric drive is in the electric drive multiplexing function state, the step of executing the vehicle delayed power-off strategy includes:

[0011] In response to a power-off triggering event, when the vehicle electric drive is in an electric drive multiplexing function state, determining a target power-off delay time that matches the vehicle environment information;

[0012] After the target power-off delay time is met, the vehicle is powered off.

[0013] Optionally, the step of determining a target power-off delay time length matching the vehicle environment information includes:

[0014] Determine the duration weight corresponding to the vehicle environment information;

[0015] The target power-off delay duration is determined by combining the vehicle environment information with the duration weight.

[0016] Optionally, the vehicle environment information includes: vehicle speed, battery power, ambient temperature, ambient humidity, vehicle slope, battery temperature, battery power, and charging state. The step of combining the vehicle environment information with the duration weight to determine the target power-off delay duration includes:

[0017] Determine the target power-off delay duration as a weighted sum of the vehicle speed, the battery power, the ambient temperature, the ambient humidity, the vehicle slope, the battery temperature, the battery power and the charging state and the corresponding duration weights.

[0018] Optionally, the step of determining a target power-off delay time length matching the vehicle environment information includes:

[0019] Determining a vehicle operating mode according to the vehicle environment information;

[0020] In the vehicle operating mode, a target power-off delay time is determined based on vehicle environment information.

[0021] Optionally, the vehicle operation mode includes a game car mode, and in the vehicle operation mode, the step of determining the target power-off delay time according to the vehicle environment information includes:

[0022] In the game car mode, the time required for the vehicle environment information to meet the preset power-off condition is determined as the target power-off delay time.

[0023] Optionally, the vehicle operating mode includes a sentinel mode, and in the vehicle operating mode, the step of determining the target power-off delay time according to the vehicle environment information includes:

[0024] In sentinel mode, determine the length of the initial power-off delay;

[0025] Identify external landmarks based on vehicle environment information;

[0026] In response to the external marker approaching the vehicle, a preset unit time is added to the initial power-off delay time to generate a target power-off delay time.

[0027] Optionally, after the target power-off delay time is met, the step of powering off the vehicle includes:

[0028] In response to the determination of the target power-off delay time, determining a power-off time;

[0029] When the power-off time is reached, the entire vehicle is powered off.

[0030] Optionally, in response to the determination of the target power-off delay time, the step of determining the power-off time includes:

[0031] In response to the determination of the target power-off delay time, a power-off time is determined at a current time in combination with the target power-off delay time.

[0032] Optionally, when the power-off time is reached, the step of powering off the entire vehicle includes:

[0033] Perform timing based on the current moment and record the timing value;

[0034] When the timing value reaches the power-off time, the entire vehicle is powered off.

[0035] Optionally, after the target power-off delay time is met, the step of powering off the vehicle further includes:

[0036] Before the power-off time is reached, the entire vehicle is powered on in response to a vehicle power-on trigger instruction.

[0037] Optionally, the method further comprises:

[0038] Detecting the working status of the vehicle electric drive.

[0039] Optionally, the step of detecting the working state of the vehicle electric drive includes:

[0040] Detecting the operating condition flag position of the vehicle electric drive;

[0041] The working state is determined according to the working state flag.

[0042] Optionally, the step of determining the working state according to the working condition flag bit is:

[0043] In response to the operating condition flag being a first characteristic value, determining that the operating state of the vehicle electric drive is a state in which the vehicle electric drive is enabled and in an electric drive multiplexing function state;

[0044] In response to the operating condition flag being a second characteristic value, it is determined that the operating state of the vehicle electric drive is that the vehicle electric drive is not in an electric drive multiplexing function state; the first characteristic value and the second characteristic value are mutually exclusive.

[0045] Optionally, before the step of detecting the working state of the vehicle electric drive, the method further includes:

[0046] Detecting an enabling state of the electric drive of the vehicle;

[0047] When the enabling state of the vehicle electric drive is in the disabled state, the detecting the working state of the vehicle electric drive is performed.

[0048] Optionally, the step of detecting the enabling state of the vehicle electric drive includes:

[0049] During the period when the vehicle electric drive is in a high voltage state, an enabling state of the vehicle electric drive is detected.

[0050] Optionally, the method further comprises:

[0051] Detecting a fault state of the vehicle electric drive while the vehicle electric drive is in a high voltage state;

[0052] Voltage discharge is performed based on the fault state.

[0053] Optionally, the step of performing voltage discharge based on the fault state includes:

[0054] In response to the vehicle electric drive being in a fault state, discharging voltage on the vehicle electric drive;

[0055] In response to the vehicle electric drive being in a non-fault state, the step of detecting the enable state of the vehicle electric drive is performed.

[0056] Optionally, the step of discharging the voltage of the vehicle electric drive includes:

[0057] Detecting operating data of the electric drive of the vehicle;

[0058] The voltage of the vehicle electric drive is discharged according to the operating condition data.

[0059] Optionally, the operating condition data includes a terminal voltage; and the step of discharging the voltage of the vehicle electric drive according to the operating condition data includes:

[0060] The vehicle electric drive is voltage-discharged until the terminal voltage is less than a preset voltage threshold.

[0061] Optionally, the method further comprises:

[0062] After the vehicle electric drive completes the voltage discharge, the step of detecting the working state of the vehicle electric drive is performed.

[0063] Optionally, when the timing value reaches the power-off time, the step of powering off the entire vehicle includes:

[0064] When the timing value reaches the power-off time, the high voltage is powered off;

[0065] After a preset low-voltage power-off time delay, low-voltage power-off is performed.

[0066] Optionally, when the timing value reaches the power-off time, the step of powering off the high voltage includes:

[0067] Identify the vehicle's high voltage controller;

[0068] The high voltage controller is powered off.

[0069] Optionally, after delaying a preset low-voltage power-off time, the step of performing low-voltage power-off includes:

[0070] Identify the vehicle's low voltage controller;

[0071] The low voltage controller is powered off after delaying a preset low voltage power-off time.

[0072] Optionally, the method further comprises:

[0073] Detecting the position information of the vehicle's ignition switch;

[0074] The power-off trigger event is generated according to the location information.

[0075] Optionally, the step of generating the power-off trigger event according to the location information includes:

[0076] When the position information indicates that the device is in a closed position, the power-off triggering event is generated.

[0077] Optionally, when the vehicle electric drive is not in the electric drive multiplexing function state, the step of executing the second power-off control strategy includes:

[0078] When the vehicle's electric drive is not in the electric drive multiplexing function state, the vehicle's immediate power-off strategy is executed.

[0079] Optionally, when the vehicle electric drive is not in the electric drive multiplexing function state, the step of executing the vehicle instant power-off strategy includes:

[0080] When the vehicle's electric drive is not in the electric drive multiplexing function state, the vehicle is powered off.

[0081] In a second aspect of the present invention, an embodiment of the present invention discloses a vehicle, comprising a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein the computer program implements the steps of the vehicle control method as described above when executed by the processor.

[0082] In a third aspect of the present invention, an embodiment of the present invention discloses a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, the steps of the vehicle control method described above are implemented.

[0083] In a fourth aspect of the present invention, an embodiment of the present invention discloses a computer program product, including a computer program, which implements the steps of the vehicle control method as described above when executed by a processor.

[0084] The embodiments of the present invention include the following advantages:

[0085] In the embodiment of the present invention, by responding to the power-off trigger event, when the vehicle electric drive is in the electric drive multiplexing function state, the first power-off control strategy is executed; when the vehicle electric drive has a multiplexing function, the vehicle electric drive multiplexing function state is detected, and when power off is required, it is determined whether the vehicle electric drive is reused for other functions, so that the corresponding first power-off control strategy can be executed, so that the vehicle electric drive can complete the corresponding multiplexing function before the whole vehicle is powered off, thereby ensuring the reuse and power-off of the vehicle electric drive, avoiding the conflict between the reuse of the motor and the power-off of the whole vehicle, and the whole vehicle meets the requirements of stable operation. BRIEF DESCRIPTION OF THE DRAWINGS

[0086] Figure 1 is a flow chart of steps of an embodiment of a vehicle control method of the present invention;

[0087] Figure 2 is a flowchart of another vehicle control method embodiment of the present invention;

[0088] Figure 3 is a flowchart of steps of another vehicle control method embodiment of the present invention;

[0089] Figure 4 is a schematic diagram of steps of an example of a vehicle control method of the present invention;

[0090] Figure 5 It is a schematic diagram of delayed power-off of an example of a vehicle control method of the present invention;

[0091] Figure 6 is a schematic diagram of determining a target delayed power-off duration of a vehicle control method example of the present invention;

[0092] Figure 7 It is a schematic diagram of power-off time determination of sentinel mode detection in an example of a vehicle control method of the present invention;

[0093] Figure 8 is a schematic diagram of a vehicle control method example of the present invention, in which a power-off operation is performed based on a vehicle working mode;

[0094] Fig. 9 is a structural block diagram of a vehicle provided by an embodiment of the present invention;

[0095] Fig.10 It is a structural block diagram of a storage medium provided by an embodiment of the present invention. DETAILED DESCRIPTION

[0096] In order to make the above-mentioned objects, features and advantages of the present invention more obvious and easy to understand, the present invention is further described in detail below with reference to the accompanying drawings and specific embodiments.

[0097] Reference Figure 1 , shows a flow chart of steps of an embodiment of a vehicle control method of the present invention, the vehicle control method comprising:

[0098] Step 101 , in response to a power-off triggering event, when the vehicle electric drive is in an electric drive multiplexing function state, executing a first power-off control strategy.

[0099] When the user needs to power off the vehicle, a power-off command will be triggered. The vehicle controller generates a power-off trigger event through the power-off command. In response to the power-off trigger event, it can be determined whether the vehicle's electric drive is in an electric drive multiplexing functional state. The electric drive multiplexing functional state refers to the functional state of multiplexing the vehicle's electric drive system to convert non-electric energy into kinetic energy. Electric drive multiplexing includes but is not limited to: active motor sound control, motor sound wave information interaction, and motor self-heating. Active motor sound control is the function of using the motor to actively generate sound. Motor sound wave information interaction is the function of exchanging information based on the sound waves generated between motors. Motor self-heating is the function of the motor generating heat through voltage control.

[0100] When the vehicle electric drive is in the electric drive multiplexing function state, the first power-off control strategy is executed. The first power-off control strategy is the power-off control strategy performed by the vehicle controller when the vehicle is in the electric drive multiplexing function state. The specific content can be set according to demand, and the embodiment of the present invention does not specifically limit this.

[0101] In the embodiment of the present invention, by responding to the power-off trigger event, when the vehicle electric drive is in the electric drive multiplexing function state, the first power-off control strategy is executed; when the vehicle electric drive has a multiplexing function, the vehicle electric drive multiplexing function state is detected, and when power off is required, it is determined whether the vehicle electric drive is reused for other functions, so that the corresponding first power-off control strategy can be executed, so that the vehicle electric drive can complete the corresponding multiplexing function before the whole vehicle is powered off, thereby ensuring the reuse and power-off of the vehicle electric drive, avoiding the conflict between the reuse of the motor and the power-off of the whole vehicle, and the whole vehicle meets the requirements of stable operation.

[0102] Reference Figure 2 , shows a flow chart of steps of another vehicle control method embodiment of the present invention, the vehicle control method comprising:

[0103] Step 201, in response to a power-off triggering event, when the vehicle electric drive is in an electric drive multiplexing function state, executing a first power-off control strategy;

[0104] When the user performs a power-off operation on the vehicle, a power-off trigger event is triggered. In response to the triggering of the power-off command, it is possible to detect whether the vehicle drives the multiplexing function of the electric drive, determine whether the vehicle electric drive is in the electric drive multiplexing function state, and determine whether the current vehicle electric drive is used for other purposes.

[0105] The power-off trigger event can be triggered by the user directly operating the components on the vehicle, or by a third-party device sending a specified message to the vehicle controller. For example, when the vehicle is stationary, the user sends a lock message to the vehicle controller through a mobile communication device to trigger the power-off trigger event. For example, when the user turns the key to perform the power-off operation, the power-off trigger event can be triggered.

[0106] When the vehicle electric drive is in the electric drive multiplexing function state, the first power-off control strategy is executed to control the vehicle to perform corresponding power-off operations.

[0107] In an optional embodiment of the present invention, the step of executing the first power-off control strategy in response to a power-off trigger event when the vehicle's electric drive is in an electric drive multiplexing functional state includes: executing a vehicle delayed power-off strategy in response to a power-off trigger event when the vehicle's electric drive is in an electric drive multiplexing functional state.

[0108] In response to a power-off trigger event, when the vehicle's electric drive is in the electric drive multiplexing function state, the vehicle delayed power-off strategy can be executed to control the vehicle to power off the entire vehicle after a certain delay, so that the vehicle's electric drive can complete the current multiplexing function to avoid interruption of the current electric drive multiplexing function. The whole vehicle power-off is compatible with the use of the electric drive multiplexing function.

[0109] Specifically, in response to the power-off triggering event, when the vehicle electric drive is in the electric drive multiplexing function state, the step of executing the vehicle delayed power-off strategy includes:

[0110] Sub-step S11, in response to a power-off triggering event, when the vehicle electric drive is in an electric drive multiplexing function state, determining a target power-off delay time that matches the vehicle environment information;

[0111] In response to a power-off trigger event, when the vehicle's electric drive is in the electric drive multiplexing function state, the corresponding power-off delay time, i.e., the target power-off delay time, can be matched based on the vehicle's current vehicle environment information; thus, different target power-off delay times can be selected based on the vehicle environment information. The target power-off delay time refers to the length of time corresponding to the delayed power-off time. For example, when the vehicle's electric drive multiplexing function state needs to end after 1 hour, the target power-off delay time can be determined to be 65 minutes.

[0112] Vehicle environmental information includes the vehicle's own environmental status information, such as vehicle speed, battery power, battery temperature, battery power, charging status, vehicle usage habits, etc.; it also includes environmental information about the vehicle's environment, such as ambient temperature, ambient humidity, vehicle slope, etc.

[0113] Specifically, the step of determining a target power-off delay duration that matches the vehicle environment information includes: determining a duration weight corresponding to the vehicle environment information; and determining a target power-off delay duration by combining the vehicle environment information with the duration weight.

[0114] When performing a target power-off delay, the duration weight corresponding to the vehicle environment information can be determined first. The duration weight is the calculated weight value of each vehicle environment information for the target delay duration. The duration weight is determined by the calculation importance of each vehicle environment information for the target delay duration. The duration weight can be pre-set and stored in the vehicle controller. When the target power-off delay duration is required, the vehicle controller reads the corresponding information to determine the duration weight corresponding to the vehicle environment information. The vehicle environment information is then combined with the duration weight to determine the target power-off delay duration.

[0115] In addition, the duration weight can also be recalibrated and updated before each calculation, so that the duration weight can change dynamically, further improving the accuracy of the target power-off delay duration.

[0116] In an example of the present invention, the vehicle environmental information includes: vehicle speed, battery charge, ambient temperature, ambient humidity, vehicle slope, battery temperature, battery charge, and charging status. The step of combining the vehicle environmental information with the duration weight to determine the target power-off delay duration includes: determining the weighted sum of the vehicle speed, the battery charge, the ambient temperature, the ambient humidity, the vehicle slope, the battery temperature, the battery charge and the charging status and the corresponding duration weight as the target power-off delay duration.

[0117] First, determine the values ​​corresponding to the battery power, ambient temperature, ambient humidity, vehicle slope, battery temperature, battery power and charging status, and then multiply the battery power, ambient temperature, ambient humidity, vehicle slope, battery temperature, battery power and charging status with the corresponding duration weights respectively, and determine the sum of the products as the target power-off delay duration. That is, multiply the battery power with the corresponding duration weight, multiply the ambient temperature with the corresponding duration weight, multiply the ambient humidity with the corresponding duration weight, multiply the vehicle slope with the corresponding duration weight, multiply the battery temperature with the corresponding duration weight, multiply the battery power with the corresponding duration weight, and multiply the charging status with the corresponding duration weight; add the above products to obtain the target power-off delay duration. For example, the duration weight includes: w1 (battery power duration weight), w2 (ambient temperature duration weight), w3 (environmental data duration weight), w4 (vehicle slope duration weight), w5 (battery temperature duration weight), w6 (battery power duration weight), w7 (charging status duration weight). Target power-off delay time T=w1*battery charge SOC+w2*ambient temperature+w3*environmental data+w4*vehicle slope+w5*battery temperature+w6*battery charge+w7*charging status.

[0118] In addition, the update of duration weights can be optimized by iterative methods such as adaptive linear neural networks. The feedback input is time, regular location, and the error between the target delayed power-off time and the actual power-off or charging time. You can choose to use the minimum mean square error to update the weights online. The weight adjustment algorithm is w(k+1)=w(k)+μ*error(k)*X(k); Error(k)=d(k)-w(k)X(k), X(k) is the input of the system at time k, W(k) is the weight coefficient at time k, d(k) is the target output of the system, and error is the error between the target output of the system and the ideal output.

[0119] Specifically, the step of determining a target power-off delay time length that matches the vehicle environment information includes: determining a vehicle operating mode based on the vehicle environment information; and in the vehicle operating mode, determining a target power-off delay time length based on the vehicle environment information.

[0120] In the embodiment of the present invention, the current environment and usage of the vehicle can also be determined based on the vehicle environment information to determine the current working mode of the vehicle, that is, the vehicle working mode. The vehicle working mode is used to characterize the vehicle usage mode of the vehicle for other working conditions other than driving. Then, in the vehicle working mode, the usage of the multiplexing function of the vehicle is determined based on the vehicle environment information, and the corresponding target power-off delay time is determined.

[0121] In one example of the present invention, the vehicle operating mode includes a gaming vehicle mode, and in the vehicle operating mode, the step of determining a target power-off delay time based on vehicle environmental information includes: in the gaming vehicle mode, determining that the time required for the vehicle environmental information to meet a preset power-off condition is the target power-off delay time.

[0122] The gaming vehicle mode refers to a condition in which the vehicle is operated in a non-driving mode for gaming purposes, for example, using the in-car entertainment system to play games and turning on the electronic pet function to make the entire vehicle simulate the movements and sounds of a pet.

[0123] In the game car mode, the current situation of the vehicle is determined through the vehicle environment information, and the time required for the current situation of the vehicle to reach the corresponding preset power-off condition is calculated, and the time is taken as the target power-off delay time. For example, the current vehicle is parked for 2 seconds, and the power-off condition is parking for 10 seconds, that is, the target power-off delay time is 8 seconds.

[0124] Furthermore, the preset power-off conditions can be determined according to actual conditions, and the embodiments of the present invention do not specifically limit this. In addition, the preset power-off conditions may include multiple power-off conditions, which may be based on satisfying all the preset power-off conditions, or on satisfying at least one of all the preset power-off conditions. For example: the preset power-off conditions may include three power-off conditions, power-off condition 1 is that the target power-off delay time must be met, any one of the SAS (Steering Angle Sensor, car steering wheel angle sensor) and EPS (Electric Power Steering electric power steering system electronic control unit) sensor states is uncalibrated and the PDC (Power Domain Control) hard-wired signal is in a non-coupled state for 10s (seconds) and the current gear of the car is P (parking) gear. Power-off condition 2 is that the SAS and EPS sensors are in calibration state, the SGS decoupling mechanism is in fault state, and the vehicle is currently in P gear. Power-off condition 3 is that the SAS and EPS sensors are in calibration state, the PDC hard line signal is in uncoupled success state for 10 seconds, the EPS angle value - SAS angle value is greater than 10°, and the vehicle is currently in P gear. When one of the three power-off conditions is met, it is used as the basis for calculation.

[0125] In one example of the present invention, the vehicle operating mode includes a sentinel mode, and the step of determining a target power-off delay time based on vehicle environmental information in the vehicle operating mode includes: in the sentinel mode, determining an initial power-off delay time; identifying an external marker based on the vehicle environmental information; in response to the external marker approaching the vehicle, superimposing a preset unit time on the initial power-off delay time to generate a target power-off delay time.

[0126] Sentry mode refers to a working condition in which the vehicle is operating for reconnaissance of the vehicle's internal and external environments. It can obtain real-time vehicle safety information when the driver leaves the vehicle, automatically collect and record images around the vehicle, and send an alert to the driver's mobile phone.

[0127] When the vehicle is in sentinel mode, the initial power-off delay time can be determined first; the initial power-off delay time is a preset time. Then, based on the identification of the vehicle environment information, the external marker is determined from the vehicle environment. For example, the vehicle environment information may include an image of the vehicle's external environment, and biological bodies such as humans are identified from the image of the vehicle's external environment as external markers, or movable non-biological bodies are identified as external markers. When it is judged that the external marker is approaching the vehicle or is active around the vehicle, the unit time can be increased to the delayed power-off time, that is, the preset unit time is superimposed on the initial power-off delay time to generate the target power-off delay time. This process can be continuously superimposed, such as the initial power-off delay time is 30S, and the unit time of 10S is increased when the external marker is detected approaching the vehicle, and the target power-off delay time is determined, and then the unit time of 10S is increased again after 10S. The target power-off delay time is determined.

[0128] Sub-step S12, powering off the vehicle after the target power-off delay time is met.

[0129] After the waiting time meets the target power-off delay time, the vehicle controller can control each power-consuming part of the vehicle to power off the vehicle.

[0130] Specifically, after the target power-off delay time is met, the step of powering off the vehicle includes:

[0131] Sub-step S121, determining a power-off time in response to determining the target power-off delay time;

[0132] When determining the target power-off delay time, the power-off time may be determined based on the target power-off delay time.

[0133] Specifically, the step of determining the power-off time in response to the determination of the target power-off delay time includes: in response to the determination of the target power-off delay time, determining the power-off time at the current time in combination with the target power-off delay time.

[0134] First, in response to the determination of the target power-off delay time, the moment when the target power-off delay time is determined is used as the time to start timing, that is, the current moment when the target power-off delay time is determined is used as the timing start moment. In response to the determination of the target power-off delay time, the power-off moment is determined based on the current moment and the target power-off delay time.

[0135] Sub-step S122, when the power-off time is reached, powering off the entire vehicle.

[0136] When the time reaches the power-off time, the vehicle controller can power off the vehicle.

[0137] Specifically, the step of powering off the entire vehicle when the power-off time is reached includes: timing based on the current time and recording the timing value; and when the timing value reaches the power-off time, powering off the entire vehicle.

[0138] After the power-off time is determined, timing can be performed and the timing value can be recorded. When the timing value reaches the power-off time, the power-off process is not interrupted, and the entire vehicle can be powered off. Timing can be performed by enabling the timer in the vehicle controller. The counter can be 8 bits, 16 bits or higher, and the embodiment of the present invention is not limited to this. The timer is initialized at the moment of determining the target power-off delay time, and the timer starts timing. When the timing value of the counter reaches the power-off time, it is notified through the interrupt mechanism that the current duration has reached the power-off time, and then the entire vehicle is powered off.

[0139] Furthermore, the timer can be counted in an incremental manner, that is, initialized to 0, and when the time reaches the value corresponding to the power-off time, the power-off time is determined to have been reached. The timer can also be counted in a decremental manner, that is, initialized to the value corresponding to the power-off time, and when the time value returns to zero, the power-off time is determined to have been reached.

[0140] In an example of the present invention, the step of powering off the entire vehicle when the timing value reaches the power-off time includes: powering off high voltage when the timing value reaches the power-off time; and powering off low voltage after delaying a preset low voltage power-off time.

[0141] For the whole vehicle power-off process, the high-voltage controller and low-voltage controller of the vehicle can be determined first. The high-voltage controller is the controller corresponding to the actuator using high-voltage power, including but not limited to the DC voltage converter, motor control unit, battery management system, etc. The low-voltage controller is the controller corresponding to the actuator using low-voltage power, including but not limited to the vehicle display controller, lighting controller, etc.

[0142] After the high-voltage controller is determined, the high-voltage controller can be powered off first. For example, the vehicle controller sends a motor active discharge instruction to the motor controller; the vehicle controller sends a stop working instruction to the DC voltage converter; the vehicle controller sends a high-voltage power-off instruction to the battery management system; the vehicle controller sends a stop power supply instruction to the power distribution device, etc., so as to power off the high-voltage controller. After the high-voltage power-off is completed, the low-voltage controller needs to be powered off. The low-voltage power-off can be performed after delaying the preset low-voltage power-off time, and a disable enable signal is sent to the corresponding low-voltage controller, so that the corresponding low-voltage controller no longer performs related controls. Among them, the preset low-voltage power-off time can be designed according to actual conditions, and the embodiments of the present invention do not specifically limit this.

[0143] In addition, the step of powering off the vehicle after the target power-off delay time is met also includes: before reaching the power-off moment, responding to a vehicle power-on trigger instruction, powering on the entire vehicle.

[0144] Before the power-off time is reached, if the vehicle needs to be powered on, the vehicle needs to exit the power-off process to keep the power-on state. In response to the trigger instruction for the vehicle to power on, the whole vehicle can be powered on, so that the whole vehicle is in the power-on state, and the power-off operation can be exited.

[0145] Step 202, when the vehicle electric drive is not in the electric drive multiplexing function state, executing the second power-off control strategy;

[0146] When the user triggers a power-off trigger event, it is detected that the vehicle is not in the electric drive multiplexing function state, and it can be determined that the current vehicle electric drive is in a standby state. The second power-off control strategy can be executed to control the vehicle to perform a power-off operation. The second power-off control strategy is a power-off control strategy performed by the vehicle controller when the vehicle electric drive is not in the electric drive multiplexing function state. The specific content can be set according to demand, and the embodiment of the present invention does not specifically limit this.

[0147] In an optional embodiment of the present invention, the step of executing the second power-off control strategy when the vehicle electric drive is not in the electric drive multiplexing function state includes: when the vehicle electric drive is not in the electric drive multiplexing function state, executing the vehicle instant power-off strategy.

[0148] When the vehicle's electric drive is not in the electric drive multiplexing function state, the vehicle's instant power-off strategy can be executed to control the vehicle to immediately power off the entire vehicle and complete the vehicle's power-off operation.

[0149] Specifically, the step of executing the vehicle instant power-off strategy when the vehicle electric drive is not in the electric drive multiplexing function state includes: when the vehicle electric drive is not in the electric drive multiplexing function state, powering off the vehicle.

[0150] When the vehicle electric drive is not in the electric drive multiplexing function state, the vehicle is immediately powered off. The high voltage controller can be powered off at high voltage first, and then the low voltage controller can be powered off at low voltage.

[0151] In the embodiment of the present invention, by responding to the power-off trigger event, when the vehicle electric drive is in the electric drive multiplexing function state, the first power-off control strategy is executed; when the vehicle electric drive is not in the electric drive multiplexing function state, the second power-off control strategy is executed. When powering off is required, it is determined whether the vehicle electric drive is reused for other functions. When reused, the corresponding target power-off delay time can be delayed, so that the vehicle electric drive can complete the corresponding multiplexing function before the whole vehicle is powered off. When it is not reused, power can be directly turned off, thereby ensuring the reuse and power-off of the vehicle electric drive, avoiding conflicts between the reuse of the motor and the power-off of the whole vehicle, and the whole vehicle meets the requirements of stable operation.

[0152] Reference Figure 3 , shows a flow chart of steps of another vehicle control method embodiment of the present invention, the vehicle control method comprising:

[0153] Step 301, while the vehicle electric drive is in a high voltage state, detecting a fault state of the vehicle electric drive;

[0154] In an embodiment of the present invention, the method can be executed by a vehicle controller. When the vehicle is powered on at high voltage, that is, when the vehicle is running, the vehicle electric drive is in a high voltage state. The vehicle controller can detect the fault state of the vehicle electric drive. Determine whether the vehicle electric drive has a fault, and detect the fault of the vehicle electric drive in real time to ensure that the vehicle electric drive operates under high voltage safety, thereby improving the user experience. The fault state of the vehicle electric drive has a substantial fault, that is, the vehicle electric drive has a fault; it can also be empty, that is, the vehicle electric drive has not failed.

[0155] The fault detection of vehicle electric drive can be carried out through but not limited to the following aspects:

[0156] 1) Sensor monitoring: The vehicle controller will monitor the motor-related sensor data in real time, such as current, voltage, temperature, etc., to determine whether the electric drive is in a fault state.

[0157] 2) Status information analysis: The vehicle controller will analyze the motor's speed, torque output and other status information to determine whether there is any abnormality in the motor.

[0158] 3) The vehicle controller will read and parse the fault codes in the vehicle's self-diagnosis system. The fault codes can help quickly locate fault information such as the type and location of the motor fault.

[0159] Step 302, performing voltage discharge based on the fault state;

[0160] Voltage discharge can be performed based on the fault status of the vehicle's electric drive to protect the safety of vehicle use.

[0161] Specifically, the step of performing voltage discharge based on the fault state includes: in response to the vehicle electric drive being in a fault state, performing voltage discharge on the vehicle electric drive; in response to the vehicle electric drive being in a non-fault state, executing the step of detecting the enabling state of the vehicle electric drive.

[0162] When it is detected that the vehicle electric drive is in a fault state, that is, the current vehicle has a fault, in order to ensure the user's safety; the vehicle electric drive can be voltage discharged when the vehicle electric drive is in a fault state.

[0163] For voltage discharge, the vehicle controller can send an active discharge command to the electronic control unit to enable the electronic control unit to enter the active discharge state. The electronic control unit of the electric drive such as the motor can receive the active discharge command from the vehicle controller through the vehicle network, such as the CAN (Controller Area Network) network, and then execute active discharge until the vehicle electric drive is successfully discharged or the voltage drops to 36V (volts) or below.

[0164] By actively discharging the voltage of the vehicle's electric drive when the vehicle's electric drive is in a fault state, the high voltage in the vehicle's electric drive is discharged to a safe voltage range, thereby ensuring the safety of the vehicle.

[0165] Furthermore, the step of discharging the voltage of the vehicle electric drive includes: detecting vehicle operating condition data; and discharging the voltage according to the vehicle operating condition data.

[0166] In practical applications, the vehicle controller can detect vehicle operating condition data, determine the current operating condition of the vehicle through the vehicle operating condition data, and perform corresponding voltage discharge according to the operating condition corresponding to the vehicle operating condition data.

[0167] For example, when charging, the controller will adopt a delayed discharge strategy. The vehicle controller can first send a command to disconnect the charging gun, and then perform an active discharge process after confirming that the charging gun is disconnected. For example, if the vehicle is currently in parking mode, the vehicle controller will immediately start to perform active voltage discharge.

[0168] The discharge process may specifically include: discharging the voltage of the vehicle electric drive until the terminal voltage is less than a preset voltage threshold, which is determined based on the performance parameters of the motor electric drive.

[0169] When the vehicle is not in a fault state, that is, the vehicle is in a normal operating state, the vehicle electric drive can be controlled to achieve the corresponding driving function. Correspondingly, the vehicle electric drive is also in a high-voltage state. During the period when the vehicle electric drive is in a high-voltage state, the enabling state of the vehicle electric drive is detected to determine whether the vehicle electric drive is enabled and whether the current vehicle electric drive state needs to be powered off.

[0170] Step 303, when the enabling state of the vehicle electric drive is in the disabled state, executing the detecting the working state of the vehicle electric drive;

[0171] When the vehicle electric drive is in a disabled state, that is, the vehicle electric drive is not currently performing a driving function. When disabled, the vehicle electric drive is in a state not used to implement a driving function. For example, if the vehicle is in a parking state, that is, the vehicle electric drive is disabled, the vehicle electric drive does not drive the vehicle. At this time, a user's power-off request for the entire vehicle can be received, that is, a power-off instruction can be triggered. In response to the triggering of the power-off instruction, the working state of the vehicle electric drive can be detected to determine whether the vehicle electric drive is reused.

[0172] Specifically, the step of detecting the working state of the vehicle electric drive includes: detecting the working condition flag of the vehicle electric drive; and determining the working state according to the working condition flag.

[0173] There is a working condition flag in the state of the vehicle electric drive, which is used to indicate whether the vehicle electric drive is reused. The working condition flag of the vehicle electric drive can be read. The current working state of the vehicle electric drive is determined based on the specific content of the working condition flag.

[0174] In an example of the present invention, the step of determining the working state based on the working condition flag is: in response to the working condition flag being a first characteristic value, determining that the working state of the vehicle electric drive is a state in which the vehicle electric drive is enabled and is in an electric drive multiplexing function state; in response to the working condition flag being a second characteristic value, determining that the working state of the vehicle electric drive is a state in which the vehicle electric drive is not in an electric drive multiplexing function state; the first characteristic value and the second characteristic value are mutually exclusive.

[0175] In practical applications, the vehicle controller can read the working condition flag of the vehicle's electric drive. Based on the different characteristic values ​​of the working condition flag, the actual electric drive multiplexing function state can be determined. When the working condition flag is detected as the first characteristic value, it can be determined that the vehicle's electric drive is in the electric drive multiplexing function state. When the working condition flag is detected as the second characteristic value, it is determined that the vehicle's electric drive is not currently multiplexed, and the vehicle's electric drive is not in the electric drive multiplexing function state. Among them, the first characteristic value and the second characteristic value are mutually exclusive values, that is, the reuse of the vehicle's electric drive only exists in the multiplexing state and not in the multiplexing state. For example, "0" and "1" can be used as the first characteristic value and the second characteristic value; "1" is the first characteristic value, and "0" is the second characteristic value. When the working condition flag position is detected as "1", it is determined that the vehicle's electric drive is in the electric drive multiplexing function state. When the working condition flag position is detected as "0", it is determined that the vehicle's electric drive is not in the electric drive multiplexing function state.

[0176] In addition, the step of multiplexing the functional state of the electric drive can be performed after the vehicle electric drive completes the voltage discharge.

[0177] In practical applications, when the vehicle electric drive is in a fault state, the vehicle can also be powered off to ensure the safety of users in the emergency state of the vehicle electric drive failure. After the vehicle electric drive completes the voltage discharge, such as determining that the vehicle electric drive discharge is completed, or after it drops to the safe voltage range of 36V, it can be detected whether there is a triggering of a power-off command. In response to the triggering of the power-off command, the electric drive multiplexing function state of the vehicle electric drive is detected.

[0178] In addition, when the vehicle electric drive is in an enabled state, an operation instruction is sent to the vehicle electric drive, and the operation instruction is used to control the operation of the vehicle electric drive.

[0179] When the vehicle electric drive is in the enabled state, that is, the vehicle electric drive can drive the vehicle. At this time, the vehicle controller can send an operation instruction to the vehicle electric drive, and the controller in the vehicle electric drive can control the operation of the motor in the vehicle electric drive according to the operation instruction after receiving the operation instruction.

[0180] In an optional embodiment of the present invention, the method further includes:

[0181] Step S1, detecting the position information of the key switch gear position;

[0182] The detection of the power-off command can be performed by detecting the position information of the key switch position. The position information of the key switch position is used to ensure the current position of the key switch. The position includes the start position and the close position. In practical applications, when the key switch position in the vehicle is in the "ON" position, the position information of the key switch position is detected as the start position. Correspondingly, when the key switch position in the vehicle is in the "OFF" position, the position information of the key switch position is detected as the close position.

[0183] Step S2: When the position information indicates that the vehicle is in a closed position, a power-off trigger event is generated.

[0184] When the position information indicates that the vehicle is in the off position, that is, the user needs to power off the vehicle, a power-off trigger event command may be generated, thereby causing the vehicle to enter the power-off process.

[0185] Step 304, in response to a power-off triggering event, when the vehicle electric drive is in an electric drive multiplexing function state, executing a first power-off control strategy;

[0186] When the vehicle's electric drive is in the electric drive multiplexing function state, it is necessary to delay power-off to ensure that the vehicle's electric drive can achieve the corresponding multiplexing function to avoid the vehicle's electric drive being interrupted during the multiplexing period. The vehicle controller can match the corresponding target power-off delay time by obtaining the vehicle environment information.

[0187] Specifically, there is a mapping relationship between the vehicle environment information and the delay duration; the step of determining a target power-off delay duration that matches the vehicle environment information includes: determining the delay duration mapped by the vehicle environment information as the target power-off delay duration.

[0188] In an embodiment of the present invention, the specific actual state information in the vehicle environment information can be mapped with the delay duration in advance. When it is necessary to determine the target power-off delay duration, the corresponding power-off delay duration can be determined as the target power-off delay duration based on the acquired vehicle environment information and the mapping relationship with the power-off delay duration. When the vehicle controller starts timing and reaches the target power-off delay duration, the vehicle is powered off.

[0189] Step 305: When the vehicle electric drive is not in the electric drive multiplexing function state, execute the second power-off control strategy.

[0190] When the vehicle is not in the state of electric drive multiplexing function, the whole vehicle can be powered off immediately. The whole vehicle control performs high voltage power off on the vehicle, and then performs low voltage power off after the high voltage power off is completed, thereby completing the whole vehicle power off.

[0191] The embodiment of the present invention is compatible with the whole vehicle power-off solution when the vehicle is in the use of the electric drive multiplexing function and the electric drive multiplexing function scenario, so that it can be integrated into the existing whole vehicle power-off strategy, which improves the compatibility and practicality of the embodiment of the present invention. And in the high-voltage delayed power-off, the problem of rapid reduction in the life of the electric drive contactor caused by repeated power on and off of the vehicle is reduced by delay, and the probability of contactor sintering is reduced. And this embodiment combines the active voltage discharge, fault detection, power-off control of the electric drive, and the interaction between the whole vehicle control and the electronic control unit, and utilizes the domain controller architecture of the vehicle, with high control efficiency; and by detecting faults, the vehicle is powered off while ensuring the safety of high voltage, thereby improving user safety.

[0192] In order to make the implementation process of the embodiment of the present invention clear to those skilled in the art, an example is used to illustrate the following:

[0193] Reference Figure 4 , showing a schematic diagram of the steps of an example of a vehicle control method of the present invention.

[0194] First, the power-off control method is executed by the vehicle power domain controller. The high-voltage state of the vehicle power domain controller represents the operation of the vehicle power domain. Step 401, if the high-voltage state is marked as "allowed", it is considered that the motor controller in the power domain controller has entered a high-voltage state, the vehicle is in a high-voltage mode, and the motor operation control mode can be performed. The high-voltage electrical signal corresponding to the high-voltage state is that the DC bus voltage of the motor controller is 36V or above. The motor operation control mode is a mode in which the motor can receive torque signals or other motor control signals sent by other control units and respond;

[0195] Step 402: When the vehicle is in high-voltage mode, the vehicle electric drive such as the motor and high-voltage components can be tested to determine whether there is a fault. Step 403: When the vehicle controller detects that there is a fault, it will enter the active discharge mode. In the active discharge mode, the vehicle controller will adopt different discharge strategies or delayed discharge strategies according to the different states of the vehicle. For example, when charging, the controller will adopt a delayed discharge strategy. The controller first sends a command to disconnect the connection with the charging gun, and then performs the active discharge process after confirming the disconnection. If working in parking mode, the controller will immediately start to perform active discharge.

[0196] Step 404, when the vehicle controller detects that the current vehicle has no faults, the vehicle controller will detect whether the motor is enabled to run. Step 405, when the motor is enabled to run, the controller sends the motor running enable flag "allowed" through the CAN network and enables the electronic control unit to enter the normal operation mode. When the vehicle controller prohibits the motor from running, the vehicle controller sends the motor running enable flag as "prohibited" through the CAN network. The "allowed" and "prohibited" flags can be represented by 0 or 1 or any other symbols that can represent two mutually exclusive states.

[0197] Step 406, when the vehicle controller detects that the enabled motor operation state is "disabled", it will enter the key state detection process, and when the key is detected as "ON", it will re-enter the fault judgment process. When the vehicle controller detects that the key state is "OFF", it enters the next process to detect whether the electric drive multiplexing function and function type are enabled. The electric drive multiplexing function includes but is not limited to: "motor active sound control", "motor sound wave information interaction", "motor self-heating" and other functions that realize the conversion of non-electrical energy into kinetic energy through the characteristics of the motor body.

[0198] Step 407, when the vehicle controller enters the normal power-off mode, the electric vehicle will perform a high-voltage power-off operation according to the high-voltage power-off instruction, which includes but is not limited to the vehicle controller sending a motor active discharge instruction to the motor controller; the vehicle controller sending a stop working instruction to the DC-DC; the vehicle controller sending a high-voltage power-off instruction to the BMS system; the vehicle controller sending a stop signal to the power distribution device to stop supplying power to the motor controller, DC-DC converter, and BMS system. After the high-voltage power-off operation is completed, the low voltage of the vehicle is powered off.

[0199] Step 408, when the vehicle controller enters the delayed power-off mode, the matching target power-off delay time is determined, and after waiting for the target power-off delay time, the vehicle is powered off, that is, the high-voltage power-off operation is performed according to the high-voltage power-off instruction, and after the high-voltage power-off operation is completed, the low-voltage power-off operation is performed on the vehicle. Step 409, high-voltage active discharge is performed. Step 410, the normal power-off mode is performed. Step 411, after the discharge, it is determined whether the power-off is completed, thereby completing the power-off process.

[0200] Specifically, for the process of delaying the whole vehicle power off, please refer to Figure 5. It includes: step 501, command reception, delay time matching part; step 502, timing function, step 503, power-off function. Step 504, no power-off function, wherein the power-off function and no power-off function can be two execution strategies of the same execution part. Among them, the command reception, matching delay time part, based on the triggering of the power-off command, after entering the power-off mode, the motor controller receives the power-off command sent by the vehicle controller and combines the environmental state according to the currently enabled electric drive multiplexing function. The corresponding power-off delay time is matched based on the environmental state, which is generally between 0s and 600s. The above environmental states include but are not limited to vehicle speed, battery power, ambient temperature, ambient humidity, vehicle slope, battery temperature, battery power, charging state, owner's vehicle use habits, etc. After the calculation is completed to determine the target power-off delay time, the timing function is used to count. If the vehicle is powered on again during the timing process, the power-off process is terminated and the power-off operation is no longer performed. If no power-on command is received after the entire timing cycle ends, the motor controller performs a high-voltage power-off operation, and then performs a low-voltage power-off operation, thereby powering off the entire vehicle.

[0201] In addition, the determination of the target delayed power-off time is described with an example: Figure 6 ,

[0202] Step 601, determine whether it is in a networked state. Considering the processing capability of the vehicle-mounted computer, this mode is divided into a networked mode and an offline mode.

[0203] Step 602: If the vehicle is in offline mode, first obtain the enabled function flag, which refers to the working mode of the vehicle, and the working mode is any categorized state that the vehicle may have, such as the driving condition, in-vehicle game condition, parking condition, etc. Step 603: The vehicle power domain controller matches the delayed power-off time according to the current state of the vehicle. The specific delay time depends on the minimum operating time of the activated function, which is usually between 0 and 600 seconds.

[0204] Step 604, if the whole vehicle is processed in online mode, the vehicle sensor data is collected and uploaded to the cloud server. The vehicle sensor data includes vehicle speed, gear position, brake pedal activation degree, accelerator pedal activation degree, vehicle position, vehicle slope, vehicle acceleration, remaining power, remaining fuel, etc., which can be collected by sensors. Step 605, query the functional status of the whole vehicle. Step 606, the vehicle matches the reference time according to the current vehicle status. The reference time definition is the same as the matching delayed power-off time. Step 607, the cloud server creates a heat map based on the frequency of the owner's visits to different locations, the residence time and the operating habits. Step 608 Matching weight coefficients. Step 609, predict the superposition amount. At the same time, the vehicle is judged whether it is at an intersection based on its driving position, and the corresponding delayed power-off time is matched according to the traffic light timing data. The predicted superposition module performs nonlinear superposition on the total time, T_total=T_1*W_1 + T_2*W_2 + T_3*W_3 ..., and limits the maximum delayed power-off time. If T_total is greater than the maximum delayed power-off time, the result is taken as the maximum delay time. The cloud server sends the calculation result to the car. In step 610, the car accumulates the reference time and the predicted superposition amount to obtain the final calculation value. Step 611, enter process A.

[0205] Process A is a method for determining the power-off time based on sentinel mode detection. Figure 7 , including: step 701, when the vehicle-mounted camera detects that someone is approaching or detects that a preset specific person or other creature or object is approaching, step 702, if the conditions are met, a certain time is added, and the time can be set to 0~30s, step 703, if no target object is approaching, the countdown is performed normally until the set target time is reached and the cycle ends.

[0206] In addition, the power-off operation can be illustrated based on the vehicle's operating mode. Figure 8, step 801, determine whether the vehicle is in the game car mode, the game car mode refers to the electric vehicle running in other working conditions other than driving, such as using the car entertainment system to play car games, turning on the electronic pet function to simulate the pet's movements and sounds, and using the motor for non-driving purposes. Step 802, if the vehicle is in the game car mode, enter the judgment process B. Step 803, if the vehicle is in non-game mode, do not enter the judgment of exit condition B, and execute the conventional recommendation program. Step 804 judges the condition B bit combination condition, and any condition is met; condition 1 is when any one of the SAS and ES sensor states is uncalibrated and the PDC hard wire signal is in the uncoupled state for 10s and the current gear of the vehicle is P gear, condition 2 is when the SAS and EPS sensors are in the calibrated state and the SGS decoupling mechanism state is faulty and the current gear of the vehicle is P gear, condition 3 is when the SAS and EPS sensors are in the calibrated state and the PDC hard wire signal is in the uncoupled success state for 10s and the EPS angle value-SAS angle value is greater than 10° and the current gear of the vehicle is P gear. Step 805: If any of the above conditions is met, turn off the OK light.

[0207] It should be noted that, for the sake of simplicity, the method embodiments are described as a series of action combinations, but those skilled in the art should be aware that the embodiments of the present invention are not limited by the order of the actions described, because according to the embodiments of the present invention, certain steps can be performed in other orders or simultaneously. Secondly, those skilled in the art should also be aware that the embodiments described in the specification are all preferred embodiments, and the actions involved are not necessarily required by the embodiments of the present invention.

[0208] Reference Fig. 9 , an embodiment of the present invention further provides a vehicle, comprising:

[0209] A processor 901 and a storage medium 902, wherein the storage medium 902 stores a computer program executable by the processor 901. When the vehicle is running, the processor 901 executes the computer program to implement the vehicle control method as described in any one of the embodiments of the present invention.

[0210] The memory may include a random access memory (RAM) or a non-volatile memory, such as at least one disk memory. Optionally, the memory may also be at least one storage device located away from the processor.

[0211] The above-mentioned processor can be a general-purpose processor, including a central processing unit (CPU), a network processor (NP), etc.; it can also be a digital signal processor (DSP), an application specific integrated circuit (ASIC), a field programmable gate array (FPGA) or other programmable logic devices, discrete gate or transistor logic devices, discrete hardware components.

[0212] Reference Fig.10 The embodiment of the present invention further provides a computer-readable storage medium 1001, on which a computer program is stored. When the computer program is executed by a processor, the vehicle control method as described in any one of the embodiments of the present invention is executed.

[0213] An embodiment of the present invention further discloses a computer program product, including a computer program, which implements the steps of the vehicle control method described above when executed by a processor.

[0214] The various embodiments in this specification are described in a progressive manner, and each embodiment focuses on the differences from other embodiments. The same or similar parts between the various embodiments can be referenced to each other.

[0215] It will be appreciated by those skilled in the art that the embodiments of the present invention may be provided as methods, devices, or computer program products. Therefore, the embodiments of the present invention may take the form of a complete hardware embodiment, a complete software embodiment, or an embodiment combining software and hardware. Moreover, the embodiments of the present invention may take the form of a computer program product implemented on one or more computer-usable storage media (including but not limited to disk storage, CD-ROM, optical storage, etc.) containing computer-usable program codes.

[0216] The embodiments of the present invention are described with reference to the flowcharts and / or block diagrams of the methods, terminal devices (systems), and computer program products according to the embodiments of the present invention. It should be understood that each process and / or block in the flowchart and / or block diagram, as well as the combination of the processes and / or blocks in the flowchart and / or block diagram, can be implemented by computer program instructions. These computer program instructions can be provided to a processor of a general-purpose computer, a special-purpose computer, an embedded processor, or other programmable data processing terminal device to generate a machine, so that the instructions executed by the processor of the computer or other programmable data processing terminal device generate instructions for implementing the processes in the flowchart and / or block diagram. Figure 1 A process or multiple processes and / or boxes Figure 1 A device that provides the functions specified in a block or multiple blocks.

[0217] These computer program instructions may also be stored in a computer-readable memory capable of directing a computer or other programmable data processing terminal device to operate in a specific manner, so that the instructions stored in the computer-readable memory produce a manufactured product including an instruction device, which implements the process Figure 1 A process or multiple processes and / or boxes Figure 1 A function specified in one or more boxes.

[0218] These computer program instructions can also be loaded onto a computer or other programmable data processing terminal device so that a series of operating steps are executed on the computer or other programmable terminal device to produce a computer-implemented process, thereby providing instructions for executing on the computer or other programmable terminal device to implement the process. Figure 1 A process or multiple processes and / or boxes Figure 1 A step that specifies a function in one or more boxes.

[0219] Although the preferred embodiments of the present invention have been described, those skilled in the art may make additional changes and modifications to these embodiments once they have learned the basic creative concept. Therefore, the appended claims are intended to be interpreted as including the preferred embodiments and all changes and modifications that fall within the scope of the embodiments of the present invention.

[0220] Finally, it should be noted that, in this article, relational terms such as first and second, etc. are only used to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any such actual relationship or order between these entities or operations. Moreover, the terms "include", "comprise" or any other variants thereof are intended to cover non-exclusive inclusion, so that a process, method, article or terminal device including a series of elements includes not only those elements, but also other elements not explicitly listed, or also includes elements inherent to such process, method, article or terminal device. In the absence of further restrictions, the elements defined by the sentence "comprise a ..." do not exclude the existence of other identical elements in the process, method, article or terminal device including the elements.

[0221] The above is a detailed introduction to a vehicle power-off control method, a vehicle power-off control device, a vehicle and a storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for general technical personnel in this field, according to the idea of ​​the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.

Claims

1. A vehicle control method, It is characterized in that The method comprises: In response to a power-off triggering event, when the vehicle electric drive is in an electric drive multiplexing function state, executing a first power-off control strategy; In response to the power-off triggering event, when the vehicle electric drive is in the electric drive multiplexing function state, the step of executing the first power-off control strategy includes: In response to a power-off triggering event, when the vehicle electric drive is in an electric drive multiplexing function state, determining a target power-off delay time that matches the vehicle environment information; After the target power-off delay time is met, the vehicle is powered off.

2. The method according to claim 1, It is characterized in that The method further comprises: When the vehicle electric drive is not in the electric drive multiplexing function state, the second power-off control strategy is executed.

3. The method according to claim 1, It is characterized in that The step of determining a target power-off delay time length matching the vehicle environment information comprises: Determine the duration weight corresponding to the vehicle environment information; The target power-off delay duration is determined by combining the vehicle environment information with the duration weight.

4. The method according to claim 3, It is characterized in that The vehicle environment information includes: vehicle speed, battery power, ambient temperature, ambient humidity, vehicle slope, battery temperature, battery power, and charging status. The step of combining the vehicle environment information with the duration weight to determine the target power-off delay duration includes: Determine the target power-off delay duration as a weighted sum of the vehicle speed, the battery power, the ambient temperature, the ambient humidity, the vehicle slope, the battery temperature, the battery power and the charging state and the corresponding duration weights.

5. The method according to claim 1, It is characterized in that The step of determining a target power-off delay time length matching the vehicle environment information comprises: Determining a vehicle operating mode according to the vehicle environment information; In the vehicle operating mode, a target power-off delay time is determined based on vehicle environment information.

6. The method according to claim 5, It is characterized in that The vehicle operation mode includes a game car mode, and in the vehicle operation mode, the step of determining the target power-off delay time according to the vehicle environment information includes: In the game car mode, the time required for the vehicle environment information to meet the preset power-off condition is determined as the target power-off delay time.

7. The method according to claim 5, It is characterized in that The vehicle working mode includes a sentinel mode, and in the vehicle working mode, the step of determining the target power-off delay time according to the vehicle environment information includes: In sentinel mode, determine the length of the initial power-off delay; Identify external landmarks based on vehicle environment information; In response to the external marker approaching the vehicle, a preset unit time is added to the initial power-off delay time to generate a target power-off delay time.

8. The method according to claim 1, It is characterized in that After the target power-off delay time is met, the step of powering off the vehicle includes: In response to the determination of the target power-off delay time, determining a power-off time; When the power-off time is reached, the entire vehicle is powered off.

9. The method according to claim 8, It is characterized in that In response to the determination of the target power-off delay time, the step of determining the power-off time comprises: In response to the determination of the target power-off delay time, a power-off time is determined at a current time in combination with the target power-off delay time.

10. The method according to claim 9, It is characterized in that When the power-off time is reached, the step of powering off the entire vehicle includes: Perform timing based on the current moment and record the timing value; When the timing value reaches the power-off time, the entire vehicle is powered off.

11. The method according to claim 9, It is characterized in that After the target power-off delay time is met, the step of powering off the vehicle further includes: Before the power-off time is reached, the entire vehicle is powered on in response to a vehicle power-on trigger instruction.

12. The method according to claim 1, It is characterized in that The method further comprises: Detecting the working status of the vehicle electric drive.

13. The method according to claim 12, It is characterized in that The step of detecting the working state of the vehicle electric drive comprises: Detecting the operating condition flag position of the vehicle electric drive; The working state is determined according to the working state flag.

14. The method according to claim 13, It is characterized in that The step of determining the working state according to the working condition flag: In response to the operating condition flag being a first characteristic value, determining that the operating state of the vehicle electric drive is a state in which the vehicle electric drive is enabled and in an electric drive multiplexing function state; In response to the operating condition flag being a second characteristic value, it is determined that the operating state of the vehicle electric drive is that the vehicle electric drive is not in an electric drive multiplexing function state; the first characteristic value and the second characteristic value are mutually exclusive.

15. The method according to claim 12, It is characterized in that Before the step of detecting the working state of the vehicle electric drive, the method further includes: Detecting an enabling state of the electric drive of the vehicle; When the enabling state of the vehicle electric drive is in the disabled state, the detecting the working state of the vehicle electric drive is performed.

16. The method according to claim 15, It is characterized in that The step of detecting the enabling state of the vehicle electric drive comprises: During the period when the vehicle electric drive is in a high voltage state, an enabling state of the vehicle electric drive is detected.

17. The method according to claim 16, It is characterized in that The method further comprises: Detecting a fault state of the vehicle electric drive while the vehicle electric drive is in a high voltage state; Voltage discharge is performed based on the fault state.

18. The method according to claim 17, It is characterized in that The step of performing voltage discharge based on the fault state comprises: In response to the vehicle electric drive being in a fault state, discharging voltage on the vehicle electric drive; In response to the vehicle electric drive being in a non-fault state, the step of detecting the enable state of the vehicle electric drive is performed.

19. The method according to claim 18, It is characterized in that The step of discharging the voltage of the vehicle electric drive comprises: Detecting operating data of the electric drive of the vehicle; The voltage of the vehicle electric drive is discharged according to the operating condition data.

20. The method according to claim 19, It is characterized in that The operating condition data includes terminal voltage; and the step of discharging voltage of the vehicle electric drive according to the operating condition data includes: The vehicle electric drive is voltage-discharged until the terminal voltage is less than a preset voltage threshold.

21. The method according to claim 17, It is characterized in that The method further comprises: After the vehicle electric drive completes the voltage discharge, the step of detecting the working state of the vehicle electric drive is performed.

22. The method according to claim 10, It is characterized in that When the timing value reaches the power-off time, the step of powering off the entire vehicle includes: When the timing value reaches the power-off time, the high voltage is powered off; After a preset low-voltage power-off time delay, low-voltage power-off is performed.

23. The method according to claim 22, It is characterized in that When the timing value reaches the power-off time, the step of powering off the high voltage includes: Identify the vehicle's high voltage controller; The high voltage controller is powered off.

24. The method according to claim 22, It is characterized in that After the preset low-voltage power-off time is delayed, the steps for low-voltage power-off include: Identify the vehicle's low voltage controller; The low voltage controller is powered off after delaying a preset low voltage power-off time.

25. The method according to claim 1, It is characterized in that The method further comprises: Detecting the position information of the vehicle's ignition switch; The power-off trigger event is generated according to the location information.

26. The method according to claim 25, It is characterized in that The step of generating the power-off trigger event according to the location information includes: When the position information indicates that the device is in a closed position, the power-off triggering event is generated.

27. The method according to claim 2, It is characterized in that When the vehicle electric drive is not in the electric drive multiplexing function state, the step of executing the second power-off control strategy includes: When the vehicle's electric drive is not in the electric drive multiplexing function state, the vehicle's immediate power-off strategy is executed.

28. The method according to claim 2, It is characterized in that When the vehicle electric drive is not in the electric drive multiplexing function state, the step of executing the vehicle instant power-off strategy includes: When the vehicle's electric drive is not in the electric drive multiplexing function state, the vehicle is powered off.

29. A vehicle, It is characterized in that The method comprises a processor, a memory, and a computer program stored in the memory and capable of running on the processor, wherein when the computer program is executed by the processor, the steps of the vehicle control method according to any one of claims 1 to 28 are implemented.

30. A computer readable storage medium, It is characterized in that The computer-readable storage medium stores a computer program, and when the computer program is executed by a processor, the steps of the vehicle control method according to any one of claims 1 to 28 are implemented.

31. A computer program product, It is characterized in that The invention comprises a computer program which, when executed by a processor, implements the steps of the vehicle control method according to any one of claims 1 to 28.