Power-off control method and device of vehicle, electronic equipment and storage medium
By detecting the trigger action of the emergency power-off switch and using hard-wired drive and bus signal to control the relay to disconnect, the problem of new energy vehicles being unable to cut off power in an emergency after the start switch is removed is solved, realizing reliable power cut-off in emergency situations and improving vehicle safety.
Patent Information
- Application Number
- CN202411259205.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-09
- Publication Date
- 2025-01-07
- Estimated Expiration
- 2044-09-09
AI Technical Summary
After the start switch of a new energy vehicle is removed, it cannot be powered off in an emergency using other switches, which means that power cannot be cut off in an emergency, increasing the risk of traffic accidents.
By detecting whether the trigger action of the emergency power-off switch meets the preset conditions, the vehicle's relay is controlled to disconnect using both hard-wired drive and bus signal methods to achieve emergency power-off, ensuring that an emergency power-off can be performed through another method if one method fails.
To ensure that vehicle power can be reliably cut off in emergency situations, improve vehicle safety, and avoid traffic accidents.
Smart Images

Figure CN119261560A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle technology, and more specifically, to a vehicle power-off control method, device, electronic device and storage medium. Background Art
[0002] In recent years, with the rapid development of science and technology, the use of new energy vehicles has become more and more common. Compared with fuel vehicles, new energy vehicles have a greater demand for intelligence. The functions of assisted driving and even unmanned driving are becoming more and more popular, and the safety issues of new energy vehicles are receiving more and more attention. At present, new energy vehicles may have brake failure and other situations that may lead to serious traffic accidents. The reason is that when the vehicle loses control, it is impossible to cut off the power in an emergency by some means, resulting in the destruction of the vehicle and the death of people.
[0003] At present, in order to improve the user experience when getting on the vehicle, the vehicle's start switch is cancelled, and the vehicle is powered on by opening the door or unlocking the vehicle. However, because the start switch is cancelled, the vehicle cannot be powered off in an emergency through other switches. Therefore, when an emergency avoidance situation is required, the vehicle power cannot be cut off, which leads to serious traffic accidents. Therefore, how to perform emergency power off for vehicles without the start switch has become an urgent problem to be solved. Summary of the invention
[0004] In view of this, the embodiments of the present application propose a vehicle power-off control method, device, electronic device and storage medium to improve the above-mentioned problems.
[0005] According to the first aspect of an embodiment of the present application, a vehicle power-off control method is provided, the method comprising: if it is detected that an emergency power-off switch of the vehicle is pressed, determining whether the triggering action of the emergency power-off switch satisfies a first preset condition; if it is determined that the first preset condition is satisfied, controlling the vehicle's relay to be disconnected by hard-wire drive, and sending a power-off signal to a vehicle controller of the vehicle by way of a bus signal, so that the vehicle controller performs an emergency power-off on the vehicle based on the disconnected state of the relay, and / or performs an emergency power-off on the vehicle according to the power-off signal.
[0006] According to a second aspect of an embodiment of the present application, a vehicle power-off control device is provided, the device comprising: a first determination module, for determining whether the triggering action of the emergency power-off switch of the vehicle satisfies a first preset condition if it is detected that the emergency power-off switch of the vehicle is pressed; a control module, for controlling the relay of the vehicle to disconnect by hard-wire drive if it is determined that the first preset condition is met, and sending a power-off signal to the vehicle controller of the vehicle by bus signal, so that the vehicle controller performs an emergency power-off on the vehicle based on the disconnected state of the relay, and / or performs an emergency power-off on the vehicle according to the power-off signal.
[0007] According to a third aspect of an embodiment of the present application, an electronic device is provided, comprising: a processor; a memory, wherein the memory stores computer-readable instructions, and when the computer-readable instructions are executed by the processor, the vehicle power-off control method as described above is implemented.
[0008] According to a fourth aspect of an embodiment of the present application, a computer-readable storage medium is provided, on which computer-readable instructions are stored. When the computer-readable instructions are executed by a processor, the vehicle power-off control method as described above is implemented.
[0009] In the scheme of the present application, when the emergency power-off switch is pressed, it is first determined whether the triggering action of the emergency power-off switch satisfies the first preset condition, and then, when it is determined that the first preset condition is met, the emergency power-off control of the vehicle is achieved through hard-wire drive and bus signal, thereby ensuring that when a failure occurs in one method, the vehicle can be emergency powered off by another method, and the vehicle is emergency powered off by the emergency power-off switch, ensuring that the vehicle with the start switch canceled can be emergency powered off.
[0010] It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory only and are not restrictive of the invention. BRIEF DESCRIPTION OF THE DRAWINGS
[0011] The drawings herein are incorporated into the specification and constitute a part of the specification, illustrate embodiments consistent with the present application, and together with the specification are used to explain the principles of the present application. Obviously, the drawings described below are only some embodiments of the present application, and for ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.
[0012] Figure 1 It is a schematic diagram of an application scenario of a vehicle power-off control method according to an embodiment of the present application.
[0013] Figure 2It is a flowchart of a method for controlling power-off of a vehicle according to an embodiment of the present application.
[0014] Figure 3 It is a flowchart of a method for controlling power-off of a vehicle according to another embodiment of the present application.
[0015] Figure 4 It is a flowchart of a method for controlling power-off of a vehicle according to another embodiment of the present application.
[0016] Figure 5 It is a flowchart of specific steps of step 350 according to an embodiment of the present application.
[0017] Figure 6 It is a flowchart of a method for controlling power-off of a vehicle according to another embodiment of the present application.
[0018] Figure 7 It is a schematic diagram of the working principle of a vehicle power-off control method according to an embodiment of the present application.
[0019] Figure 8 It is a flowchart of a method for controlling power-off of a vehicle according to yet another embodiment of the present application.
[0020] Fig. 9 It is a flowchart of a method for controlling power-off of a vehicle according to an embodiment of the present application.
[0021] Fig.10 It is a schematic diagram of a process of forced power-off of a vehicle in a static condition according to another embodiment of the present application.
[0022] Fig.11 It is a block diagram of a vehicle power-off control device according to an embodiment of the present application.
[0023] Fig.12 It is a hardware structure diagram of an electronic device according to an embodiment of the present application.
[0024] The above-mentioned drawings have shown clear embodiments of the present invention, which will be described in more detail hereinafter. These drawings and textual descriptions are not intended to limit the scope of the present invention in any way, but to illustrate the concept of the present invention to computer technicians in this field through specific embodiments. DETAILED DESCRIPTION
[0025] Example embodiments will now be described more fully with reference to the accompanying drawings. However, example embodiments can be implemented in a variety of forms and should not be construed as limited to the examples set forth herein; rather, these embodiments are provided so that this application will be more comprehensive and complete and fully convey the concept of the example embodiments to those skilled in the art.
[0026] It should be noted that the terms "first", "second", etc. in the specification and claims of the present invention and the above-mentioned drawings are used to distinguish similar objects, and are not necessarily used to describe a specific order or sequence. It should be understood that the data used in this way can be interchanged where appropriate, so that the embodiments of the present invention described herein can be implemented in an order other than those illustrated or described herein. In addition, the terms "including" and "having" and any variations thereof are intended to cover non-exclusive inclusions, for example, a process, method, system, product or device that includes a series of steps or units is not necessarily limited to those steps or units that are clearly listed, but may include other steps or units that are not clearly listed or inherent to these processes, methods, products or devices.
[0027] In addition, described feature, structure or characteristic can be combined in one or more embodiments in any suitable manner. In the following description, many specific details are provided to provide a full understanding of the embodiments of the present application. However, those skilled in the art will appreciate that the technical scheme of the present application can be put into practice without one or more of the specific details, or other methods, devices, steps, etc. can be adopted. In other cases, known methods, devices, realizations or operations are not shown or described in detail to avoid blurring the various aspects of the application.
[0028] The block diagrams shown in the accompanying drawings are merely functional entities and do not necessarily correspond to physically independent entities. That is, these functional entities may be implemented in software, or in one or more hardware modules or integrated circuits, or in different networks and / or processor devices and / or microcontroller devices. The flowcharts shown in the accompanying drawings are merely exemplary and do not necessarily include all the contents and operations / steps, nor do they necessarily have to be executed in the order described. For example, some operations / steps may be further decomposed, while some operations / steps may be combined or partially combined, so the actual execution order may change according to the actual situation.
[0029] Figure 1 This is an application scenario of the vehicle power-off control method shown in an embodiment of the present application, such as Figure 1As shown in the figure, the application scenario includes an emergency power-off switch, an integrated body control module (IBCM), an instrument cluster module (ICM), a gateway (GWM), an IG1 relay (Ignition 1), an ACC (Adaptive Cruise Control) relay, a braking control system (BCS), a vehicle controller unit (VCU), a drive motor control unit (DCU) and a battery management unit (BMS). Among them, the IG1 relay and the ACC relay are used to control the power supply of each electronic control unit (ECU) node of the vehicle, the IG1 relay is associated with anti-theft authentication, and the ACC relay is associated with the battery high voltage state.
[0030] IBCM is the main control ECU of the vehicle's automotive electronic control system. It is responsible for the following functions: 1. Real-time detection of whether the emergency power-off switch is faulty through hard-wire acquisition. If there is a fault, an alarm signal is sent to the instrument; 2. Real-time hard-wire acquisition is used to detect the state of the emergency power-off switch. When the switch is detected to be pressed, an operation prompt signal is sent to the ICM to execute the power-off function. When the IBCM executes the power-off, the IG1 relay and the ACC relay are controlled to disconnect through hard-wire drive. The vehicle speed signal of the BCS and the gear position signal / READY status signal of the VCU are read in real time through bus signals.
[0031] VCU is the main control ECU of the vehicle's automotive electronic control system. Its functions include: 1. Obtaining the IBCM's exit READY signal through bus acquisition and executing the vehicle's exit READY function; 2. Controlling the IG1 relay to disconnect through hard-line acquisition, executing the vehicle's exit READY function, sending a signal to the DCU to disconnect the drive system, and sending a signal to the BCS to execute emergency braking; 3. Controlling the ACC relay to disconnect through hard-line acquisition, executing the vehicle's high-voltage lowering function, sending a signal to the BMS to disconnect the high voltage, and sending a signal to the BCS to execute emergency braking.
[0032] ICM is the human-machine interaction display ECU of the vehicle's automotive electronic control system, which is responsible for displaying the IBCM's operation enhancement signal and alarm signal to inform the driver. BCS is the brake controller, which is responsible for the following functions: 1. Real-time acquisition of vehicle speed signal, and determination that the vehicle meets the functional safety level ASILC or above; 2. Receive the request brake signal from the VCU, and execute the functions of braking, decelerating, and returning to P gear for the entire vehicle. DCU is the drive system control unit, which executes motor drive / prohibits motor drive after receiving the drive control command sent by the VCU. BMS is the battery management module, which executes the function of increasing / decreasing high voltage for the entire vehicle after receiving the high voltage control command sent by the VCU.
[0033] Optionally, when the emergency power-off switch is pressed, the IBCM detects whether the triggering action of the emergency power-off switch satisfies a first preset condition, and after determining that the first preset condition is met, controls the vehicle's IG1 relay and / or ACC to disconnect through a hard-line drive method, and sends a power-off signal to the VCU through a bus signal method, so that the VCU performs an emergency power-off on the vehicle based on the disconnected state of the IG1 relay and / or ACC disconnected, and / or performs an emergency power-off on the vehicle according to the power-off signal.
[0034] See also Figure 2 , Figure 2 The present invention provides a method for controlling the power-off of a vehicle according to an embodiment of the present invention. In a specific embodiment, the method for controlling the power-off of a vehicle can be applied to Fig.11 The vehicle power-off control device 700 and the electronic device 800 equipped with the vehicle power-off control device 700 are shown. Fig.12 ). The specific process of this embodiment will be described below. Of course, it can be understood that the method can be executed by a vehicle terminal with computing and processing capabilities. Figure 2 The process shown in the figure is described in detail, and the vehicle power-off control method may specifically include the following steps:
[0035] Step 110: If it is detected that the emergency power-off switch of the vehicle is pressed, it is determined whether the triggering action of the emergency power-off switch meets a first preset condition.
[0036] As a method, an emergency power-off switch may be provided on the vehicle, so that the driver can press the emergency power-off switch to perform an emergency power-off process on the vehicle when necessary. Optionally, in order to prevent the driver from accidentally touching the emergency power-off switch, the emergency power-off switch may be provided at the roof position corresponding to the driving position of the vehicle. Optionally, the emergency power-off switch may be provided in a vehicle model that is not provided with a start switch.
[0037] Optionally, when the driver determines that the vehicle has a driving failure and continuing to drive may cause a safety accident to the vehicle, therefore, when the emergency power-off switch of the vehicle is detected to be pressed, it can be determined that the current vehicle has a failure. In order to ensure the life safety of the people in the vehicle, the vehicle needs to be emergency powered off. In order to avoid accidental touches, the start-up conditions of the emergency power-off switch can be pre-set. The start-up conditions can be the duration of the emergency power-off switch being pressed or the number of consecutive triggering of the emergency power-off switch. After the emergency power-off switch of the vehicle is detected to be pressed, the duration or number of triggering of the triggering action corresponding to the emergency power-off switch is obtained, so that it can be determined based on the triggering duration or the number of triggering times whether the first preset condition is met. Optionally, the first preset condition can be that the triggering duration of the emergency power-off switch continues for a preset duration, or the number of triggering of the emergency power-off switch is a preset number, or other conditions. The first preset condition can be set according to actual needs, and is not specifically limited here.
[0038] Optionally, the emergency power-off switch can be provided in a vehicle model in which the start switch is cancelled. Since in a vehicle model with a start switch, the start switch only includes the function of starting the vehicle and does not have the function of emergency power-off of the vehicle, the vehicle cannot be emergency powered off through the start switch. Furthermore, providing the emergency power-off switch in a vehicle model in which the start switch is cancelled can enhance the driver's driving experience.
[0039] Step 120, if it is determined that the first preset condition is met, the relay of the vehicle is controlled to be disconnected through a hard-wire drive method, and a power-off signal is sent to the vehicle controller of the vehicle through a bus signal method, so that the vehicle controller performs an emergency power-off on the vehicle based on the disconnected state of the relay, and / or, performs an emergency power-off on the vehicle according to the power-off signal.
[0040] As a way, after determining that the triggering action of the emergency power-off switch meets the first preset condition, in order to ensure that the vehicle can be powered off accurately, two methods can be set to power off the vehicle, thereby avoiding power-off control errors caused by only controlling the vehicle's power-off in one way, and thus failing to ensure safe driving of the vehicle.
[0041] Optionally, the vehicle can be set up to perform emergency power-off control through two methods: hard-wire drive and bus signal. Among them, the hard-wire drive method disconnects the vehicle's relay by hard-wire drive, so that the vehicle's relay disconnects the engine starting circuit that controls the vehicle, and the vehicle can be powered off in an emergency; the bus signal method sends an emergency power-off signal to the vehicle's gateway through the vehicle's CAN network bus, so that the gateway can forward the emergency power-off signal to the corresponding controller, so that the corresponding controller can perform emergency power-off processing on the vehicle.
[0042] Optionally, after the vehicle's relay is controlled to disconnect by hard-wire drive, the on-off state of the relay can be detected after a preset time period, so as to control the vehicle's starting circuit, stop the vehicle's drive motor from rotating, and stop the battery management module from supplying power, etc. after determining that the vehicle's relay is disconnected.
[0043] Optionally, after sending a power-off signal to the vehicle controller of the vehicle via a bus signal, the vehicle controller sends control signals to the vehicle's braking control system, drive motor control unit and battery management module via bus signals based on the power-off signal, so that the braking control system performs braking control on the vehicle according to the control signal, the drive motor control unit performs deceleration control on the vehicle's drive motor according to the control signal until the vehicle's drive motor stops rotating, and the battery management module stops supplying power to the vehicle according to the control signal, thereby stopping the vehicle from driving.
[0044] Optionally, since the vehicle may need to be powered off in an emergency during driving because the driver discovers that the brakes have failed, whether the vehicle is powered off in an emergency by hard-wired drive or by bus signal, the vehicle's drive motor control unit can be controlled to decelerate the vehicle's drive motor until the vehicle's drive motor stops rotating, and then the vehicle's brake control system can be used to perform emergency braking, and the vehicle's battery management module can be used to power off the vehicle, thereby ensuring the safety of people in the vehicle and the driving safety of the vehicle.
[0045] In an embodiment of the present application, when the emergency power-off switch is pressed, it is first determined whether the triggering action of the emergency power-off switch satisfies a first preset condition, and thereby, when it is determined that the first preset condition is satisfied, emergency power-off control of the vehicle is achieved through hard-wire drive and bus signal, thereby ensuring that when a failure occurs in one method, the vehicle can be emergency powered off through another method, and emergency power-off control of the vehicle is performed through the emergency power-off switch, thereby ensuring that the vehicle with the start switch canceled can be emergency powered off.
[0046] See also Figure 3 , Figure 3 The following is a diagram showing a method for controlling vehicle power-off provided by an embodiment of the present application. Figure 3 The process shown in the figure is described in detail, and the vehicle power-off control method may specifically include the following steps:
[0047] Step 210: If it is detected that the emergency power-off switch of the vehicle is pressed, it is determined whether the triggering action of the emergency power-off switch satisfies a first preset condition.
[0048] Step 220, if it is determined that the first preset condition is met, the relay of the vehicle is controlled to be disconnected through a hard-wire drive method, and a power-off signal is sent to the vehicle controller of the vehicle through a bus signal method, so that the vehicle controller performs an emergency power-off on the vehicle based on the disconnected state of the relay, and / or, performs an emergency power-off on the vehicle according to the power-off signal.
[0049] The specific step descriptions of step 210 and step 220 can refer to step 110 and step 120, which will not be repeated here.
[0050] Step 230: If it is detected that the brake pedal of the vehicle is stepped on, a gear shift signal of the vehicle is received.
[0051] As a way, after completing the emergency power-off control of the vehicle, if the vehicle needs to be restarted, since the gear of the vehicle is automatically switched to neutral after power-off, the driver can directly control the vehicle to resume driving by stepping on the brakes and switching gears.
[0052] Optionally, after the vehicle performs an emergency power-off, a prompt message may be generated to prompt the driver how to resume driving based on the prompt message, wherein the prompt content of the prompt message may be "Power has been cut off, please shift gears to resume driving", and the prompt may be in the form of voice or text pop-up window.
[0053] Optionally, in order to ensure the safety of the occupants and their riding experience, if the vehicle's brake pedal is not pressed or it is not detected that the vehicle's brake pedal is pressed, the vehicle cannot be started by directly shifting gears.
[0054] Optionally, in order to avoid emergency restart of the vehicle by using the emergency power-off switch, the emergency power-off switch can be set in the vehicle model that cancels the start switch, so as to avoid the driver pressing the emergency power-off switch multiple times, causing the vehicle to be emergency powered off and then emergency powered on, thereby causing vehicle safety risks.
[0055] Step 240: If the gear shift signal indicates that the vehicle is switched to a first gear, the vehicle is started, wherein the first gear includes a forward gear, a reverse gear, or a neutral gear.
[0056] As a method, after receiving the shift signal, the shift signal can be parsed to determine the target gear indicated by the shift signal, and then determine whether the target gear is the first gear. Then, when it is determined that the indicated gear is the first gear, the vehicle is switched to the first gear and the vehicle is started. Optionally, when it is determined that the gear of the vehicle is switched to the first gear, a control signal can be sent to the drive motor control unit through the vehicle controller to make the drive motor of the vehicle rotate at the speed corresponding to the first gear, and a start signal can be sent to the battery management module through the vehicle controller, so that the battery management module supplies power to the vehicle to ensure the normal start and normal operation of the vehicle.
[0057] In this embodiment, after the vehicle is emergency powered off, the vehicle power is quickly restored by stepping on the brakes and switching the gears of the vehicle, thereby improving the convenience of restoring the vehicle power and improving the user experience.
[0058] See also Figure 4 , Figure 4 The following is a diagram showing a method for controlling vehicle power-off provided by an embodiment of the present application. Figure 4 The process shown in the figure is described in detail, and the vehicle power-off control method may specifically include the following steps:
[0059] Step 310: If it is detected that the emergency power-off switch of the vehicle is pressed, it is determined whether the triggering action of the emergency power-off switch satisfies a first preset condition.
[0060] The specific step description of step 310 can refer to step 110, which will not be repeated here.
[0061] Step 320, obtaining the current speed of the vehicle.
[0062] As a method, since different driving states of the vehicle correspond to different emergency power-off operations, the current speed of the vehicle can be obtained first, so as to determine the driving state of the vehicle according to the current speed of the vehicle. Optionally, the driving state of the vehicle includes a high-speed driving state, a low-speed driving state, and a stationary state.
[0063] Step 330, if the current vehicle speed is greater than the first preset vehicle speed, the first relay is controlled to be disconnected through a hard-wire drive method, and a power-off signal is sent to the vehicle controller through a bus signal method, wherein the first relay is used to control the correct startup and normal operation of the vehicle.
[0064] As a method, when it is determined that the current vehicle speed is greater than the first preset speed, it can be determined that the vehicle is in a high-speed driving state. In this high-speed driving state, emergency power-off control of the vehicle needs to consider the safety of the occupants and the driving safety of the vehicle. The vehicle can be controlled to decelerate by hard-wire drive or bus signal, and when the vehicle speed decelerates to a preset speed, the vehicle is braked by the vehicle's braking system and the vehicle is powered off by the vehicle's battery management module. Optionally, the first preset speed can be 5km / h or other speeds, which can be set according to actual needs and are not specifically limited here.
[0065] Optionally, the first relay used to control the correct startup and normal operation of the vehicle can be disconnected by hard-wire drive, wherein the first relay can be the IG1 relay, which usually supplies power to the vehicle's ignition system, drive motor and other electrical equipment when the vehicle is in the startup state, so that the vehicle can be controlled to gradually decelerate by controlling the first relay to disconnect, so as to achieve emergency power-off control of the moving vehicle. Optionally, in order to ensure safety, when the vehicle is in a high-speed driving state, other relays cannot be controlled to disconnect, for example, the vehicle ACC relay, which is used to control the normal operation of the vehicle's entertainment system, navigation system, air conditioning system and lighting system.
[0066] Optionally, a power-off signal is first sent to the vehicle controller of the vehicle via a bus signal, so that the vehicle controller sends a deceleration signal to the vehicle's drive motor control unit, a power-off signal to the vehicle's battery management module, and a braking signal to the vehicle's braking system according to the power-off signal, thereby achieving emergency power-off control of the vehicle.
[0067] Step 340: If it is determined within a first preset time period that the vehicle controller exits the ready state in response to the power-off signal, or it is detected that the first relay is disconnected, the vehicle controller is controlled to perform an emergency power-off on the vehicle based on the disconnected state of the first relay, and / or the vehicle controller is controlled to perform an emergency power-off on the vehicle according to the power-off signal.
[0068] As a method, when the vehicle is powered off in an emergency by hard-wire drive or bus signal, the integrated body control module of the vehicle starts a timer to detect whether the vehicle controller of the vehicle responds to the power-off signal to exit the ready state within a first preset time, that is, the vehicle controller exits READAY, or detects whether the first relay of the vehicle is disconnected. Optionally, it can be determined whether the first relay is disconnected or whether the vehicle controller exits the ready state by detecting whether the motor speed of the vehicle's drive motor changes.
[0069] Optionally, when it is determined that the first relay is disconnected or the vehicle controller exits the ready state, the vehicle's braking system can control the braking of the vehicle based on the disconnected state of the first relay or the power-off signal, and the vehicle's battery management module can stop supplying power to the vehicle, thereby achieving emergency power-off of the vehicle.
[0070] As another way, if the vehicle controller does not respond to the power-off signal to exit the ready state within the first preset time period, or if it is detected that the first relay is not disconnected, the vehicle power level remains unchanged, that is, the vehicle maintains the current operating state without change, thereby avoiding powering off the vehicle and causing a safety accident.
[0071] In some embodiments, the method also includes: step 350, if the current vehicle speed is less than or equal to the first preset vehicle speed, controlling the first relay and the second relay to be disconnected by hard-wire drive, and sending a power-off signal to the vehicle controller by bus signal, controlling the vehicle controller to perform an emergency power-off on the vehicle based on the disconnection state of the first relay and the second relay, and / or controlling the vehicle controller to perform an emergency power-off on the vehicle according to the power-off signal, wherein the second relay is used to control the normal operation of the electrical equipment of the vehicle.
[0072] As a method, when it is determined that the current vehicle speed is less than or equal to the first preset vehicle speed, it can be determined that the vehicle is currently in a low-speed driving state. When the vehicle is in a low-speed driving state, directly cutting off the power of the vehicle so that the entire vehicle power supply is turned off will not cause serious safety problems for the vehicle. Therefore, the first relay and the second relay of the vehicle can be controlled to be disconnected by hard-wire drive to enable the vehicle to be powered off as soon as possible. In addition, in order to ensure that the vehicle can be powered off, two different methods are set to control the emergency power-off of the vehicle, so that the vehicle can still be powered off in an emergency when any method fails.
[0073] In other embodiments, Figure 5 As shown, the step 350 includes:
[0074] Step 351: braking the vehicle through the braking system of the vehicle.
[0075] As a method, after the vehicle controller detects that the first relay and the second relay are disconnected, or the CAN network bus receives the READY command signal of the integrated body control module, an emergency braking command is sent to the vehicle's braking system, so that the vehicle's braking system performs emergency braking control on the vehicle based on the emergency braking command.
[0076] Optionally, a disconnect start command may be sent to the vehicle's drive motor management unit, so that the vehicle's drive motor management unit can cause the vehicle's drive motor to decelerate and stop working based on the disconnect start command, thereby performing emergency power-off control on the vehicle.
[0077] Optionally, a high-voltage reduction instruction can also be sent to the vehicle's battery management module, so that the vehicle's battery management module can execute the vehicle's entire high-voltage reduction function based on the high-voltage reduction instruction, thereby enabling emergency power-off control of the vehicle.
[0078] Step 352, obtaining the braking speed of the vehicle after braking control.
[0079] As a method, when the braking system of the vehicle performs braking control on the vehicle, the speed of the vehicle is monitored in real time to obtain the braking speed of the vehicle after the braking control is performed.
[0080] Step 353: If the braking speed is less than the second preset speed, control the gear of the vehicle to switch to the second gear, wherein the second gear is the parking gear.
[0081] As a method, when it is determined that the braking speed is less than the second preset speed, the current vehicle can be regarded as being in a stationary state. In order to ensure the safety of the vehicle, the gear of the vehicle can be switched to the parking gear, so as to avoid the situation where the vehicle is in the forward gear after the vehicle is braked, causing the vehicle to continue to move, thereby ensuring the safety of the people in the vehicle and the driving safety of the vehicle.
[0082] In this embodiment, emergency power-off control of the vehicle is determined based on the relationship between the current vehicle speed and the first preset speed, so that when the current vehicle speed is greater than the first preset speed, the vehicle controller is determined to respond to the power-off signal to exit the ready state within the first preset time or detects that the first relay is disconnected, so that emergency power-off control of the vehicle is performed; when the current vehicle speed is less than or equal to the first preset speed, the first relay and the second relay are disconnected and a power-off signal is sent, so that the vehicle is emergency powered off according to the disconnection state of the first relay and the second relay, or the vehicle controller performs emergency power-off of the vehicle according to the power-off signal, so as to achieve emergency power-off of the vehicle under different driving conditions of the vehicle.
[0083] See also Figure 6 , Figure 6 The following is a diagram showing a method for controlling vehicle power-off provided by an embodiment of the present application. Figure 6 The process shown in the figure is described in detail, and the vehicle power-off control method may specifically include the following steps:
[0084] Step 410: Detect a first voltage of a first switch and a second voltage of a second switch of the emergency power-off switch.
[0085] As a method, before the vehicle performs emergency power-off control after the vehicle responds to the emergency power-off switch being triggered, it is necessary to detect whether the emergency power-off switch of the vehicle is faulty. In order to exclude the possibility that the emergency power-off switch is triggered due to a fault in the emergency power-off switch of the vehicle, the first voltage of the first switch and the second voltage of the second switch of the emergency power-off switch can be detected first, so as to determine whether the emergency power-off switch is faulty based on the first voltage and the second voltage.
[0086] Optionally, the emergency power-off switch is a dual-channel redundant design switch, so as to avoid failure of one switch to perform emergency power-off processing on the vehicle when the emergency power-off switch is triggered.
[0087] Step 420: Determine whether the emergency power-off switch fails according to the first voltage and the second voltage.
[0088] As a method, the emergency power-off switch has an open circuit fault and a short circuit fault, so whether the first switch or the second switch of the emergency power-off switch has an open circuit fault or a short circuit fault can be determined by the first voltage and the second voltage. Optionally, if the first voltage or the second voltage is 0 voltage, it is determined that the first switch or the second switch has a short circuit fault, and if the first voltage or the second voltage is equal to the power supply voltage of the emergency power-off switch, it can be determined that the first switch or the second switch has an open circuit fault.
[0089] As another way, it is also possible to determine whether the emergency power-off switch fails by the first current of the first switch and the second current of the second switch. Optionally, if the first current or the second current is zero current, it can be determined that the first switch or the second switch has an open circuit failure.
[0090] Step 430: If it is determined that the emergency power-off switch fails, the fault information of the emergency power-off switch is determined, and a fault alarm is issued according to the fault information.
[0091] As a method, after determining that the emergency power off switch has failed, in order to ensure the safety of occupants and the safety of the vehicle, the fault type and fault information of the emergency power off switch are first recorded, and then a fault alarm is issued on the vehicle based on the fault information.
[0092] Optionally, when the vehicle is in the OFF position, the vehicle network cannot be awakened when the emergency power-off switch is triggered, and an alarm signal cannot be sent, and thus a fault alarm cannot be made. When the vehicle is in the ACC position or the ON position, when a fault is detected in the emergency power-off switch of the vehicle, a fault alarm is made according to the fault information, and the fault information can be sent to the vehicle's large screen or an electronic device connected to the vehicle, so that the driver can handle the fault according to the fault information. Optionally, an alarm can be made through the vehicle's voice system, and it will continue until the fault is cleared or the vehicle is switched to the OFF position.
[0093] Optionally, after the vehicle's integrated body control module receives the alarm signal, the vehicle's large screen will permanently display the fault information, and the alarm sound will continue for a certain period of time, and the alarm will stop after a certain period of time, and the alarm can be eliminated by pressing the OK button on the steering wheel. After the vehicle's large screen receives the OK command signal, even if the integrated body control module continues to alarm, the alarm will not be displayed, and the instrument can only display this in a single power-on cycle, and the alarm process will be restarted after the vehicle is powered off and then powered on.
[0094] In some embodiments, Figure 7 As shown, the method also includes:
[0095] Step 510: Obtain a first activation timestamp of the first switch and a second activation timestamp of the second switch.
[0096] As a method, when the first switch and the second switch are activated, the power-on time of the first switch and the second switch can be regarded as the first activation timestamp of the first switch and the second activation timestamp of the second switch. In this way, the first activation timestamp can be determined by obtaining the timestamp of the power-on of the first switch. Similarly, the second activation timestamp can be determined by obtaining the timestamp of the power-on of the second switch.
[0097] Step 520: Determine whether an activation time interval between the first switch and the second switch is greater than or equal to a preset time interval according to the first activation timestamp and the second activation timestamp.
[0098] As a way, in order to ensure that the two-way switch design of the emergency power-off switch meets the functional safety ASILB design, the activation time interval between the first timestamp and the second timestamp can be determined to determine whether the emergency power-off switch fails. Optionally, the activation time interval can be determined by determining the absolute value of the difference between the first activation timestamp and the second activation timestamp. Optionally, the preset time interval can be 200ms or other time intervals, which can be set according to actual needs and are not specifically limited here.
[0099] As another method, the first continuous activation time of the first switch and the continuous activation time of the second switch can also be determined, so as to determine whether the emergency power-off switch fails by comparing the first continuous activation time and the second continuous activation time with the target continuous activation time.
[0100] Step 530: If it is determined that the activation time interval is greater than or equal to the preset time interval, it is determined that the emergency power-off switch fails.
[0101] As a method, when it is determined that the activation time interval is greater than or equal to the preset time interval, it can be determined that the first switch and the second switch of the emergency power-off switch are stuck, resulting in a failure of the emergency power-off switch.
[0102] As another way, if it is determined that the first continuous activation time and the second continuous activation time are both greater than the target continuous activation time, it can be determined that the first switch and the second switch are continuously activated, thereby causing the emergency power-off switch to be unable to be turned off and to be turned on for a long time, thereby causing the vehicle's emergency power-off switch to be continuously activated.
[0103] In this embodiment, in order to ensure that the vehicle can be powered off accurately and timely in an emergency, the emergency power-off switch of the vehicle can be fault-detected in real time, so that a fault alarm can be issued in a timely manner when it is determined that the emergency power-off switch fails.
[0104] See also Figure 8 , Figure 8 The following is a diagram showing a method for controlling vehicle power-off provided by an embodiment of the present application. Figure 8 The process shown in the figure is described in detail, and the vehicle power-off control method may specifically include the following steps:
[0105] Step 610: Acquire the triggering duration of the emergency power-off switch and the number of times the emergency power-off switch is triggered within a second preset duration.
[0106] As a method, after the emergency power-off switch of the vehicle is triggered, in order to avoid the user's accidental touch causing the vehicle to be emergency powered off, the triggering time of the emergency power-off switch or the number of triggers within the third preset time can be obtained to ensure that the emergency power-off switch is triggered as the current driver's driving intention. The third preset time can be 6 seconds or other time, which can be set according to actual needs and is not specifically limited here.
[0107] Step 620: If the triggering duration is greater than or equal to the third preset duration, or the triggering times meet the preset times within the second preset duration, it is determined that the triggering action of the emergency power-off switch meets the first preset condition.
[0108] As a duration, in order to ensure accurate emergency power-off processing of the vehicle, a variety of different triggering methods can be set. As long as the triggering action of the emergency power-off switch meets any triggering method, the vehicle can be emergency powered off according to the emergency power-off triggering action.
[0109] Optionally, since the driver has a long reaction time to identify risks in an emergency, the longer the emergency power-off switch is pressed, the later the vehicle is powered off in an emergency, and the greater the risk of personal injury or death. Therefore, the third preset time can be set to a shorter time, such as 2 seconds. Considering that the driver may have hand tremors in an emergency, a trigger definition for pressing the emergency power-off switch three times in a row can be added, and each time the emergency power-off switch is pressed, a short press and a long press must be distinguished. Therefore, it can be defined to press three times within 6 seconds, and three times within any 6 seconds after each switch is pressed. The second preset time and preset number can also be set according to actual needs. This is only an example and is not specifically limited.
[0110] Optionally, when the emergency power-off switch is triggered, a prompt for the triggering operation can be given. For example, the emergency power-off switch operation prompt can be an operation prompt alarm that lasts for 6 seconds each time it is pressed. Each additional press adds 6 seconds to the time, thereby reminding the driver to operate the emergency power-off switch according to the prompt alarm.
[0111] As another method, if it is determined that the trigger duration is less than the third preset duration, or the number of triggers within the second preset duration does not meet the preset number of times, it is determined that the triggering action of the emergency power-off switch does not meet the first preset condition. At this time, an alarm prompt can be issued. The alarm prompt can be in text form or voice form, and the prompt content can be "Emergency power off, please press and hold for 2 seconds" or "Press three times within 6 seconds", and the vehicle's power gear is maintained in the ON gear unchanged, and the alarm prompt can be maintained for a certain period of time before ending, so as to remind the driver to operate according to the prompts.
[0112] Step 630, if it is determined that the first preset condition is met, the relay of the vehicle is controlled to be disconnected through a hard-line drive method, and a power-off signal is sent to the vehicle controller of the vehicle through a bus signal method, so that the vehicle controller performs an emergency power-off on the vehicle based on the disconnected state of the relay, and / or, performs an emergency power-off on the vehicle according to the power-off signal.
[0113] The specific step description of step 630 can refer to step 120, which will not be repeated here.
[0114] In this embodiment, whether the triggering action of the emergency power-off switch satisfies the first preset condition is determined by comparing the relationship between the triggering duration of the emergency power-off switch and the third preset duration, or the relationship between the triggering times of the emergency power-off switch within the second preset duration and the preset times. This avoids the vehicle from being mistakenly powered off in an emergency when the emergency power-off switch is accidentally touched, thereby ensuring the accuracy of the vehicle's emergency power-off.
[0115] Fig. 9 FIG. 1 is a flow chart of a method for controlling power-off of a vehicle according to an embodiment of the present application, such as Fig. 9 As shown, when the vehicle is in high-speed driving, if the driver finds that the vehicle's brakes fail, the driver can trigger the emergency power-off function by pressing the emergency power-off switch in the vehicle for 2 seconds or pressing it 3 times within 6 seconds. If the integrated body control module detects that the emergency power-off switch is pressed, the emergency power-off switch is first detected to determine whether the emergency power-off switch is faulty, wherein it can be detected whether the two-way switch states of the emergency power-off switch are activated and pressed at the same time, and whether the time interval between the activation of the two-way switch circuits of the emergency power-off switch is less than 200ms (so as to meet the functional safety ASILB design and avoid the risk of false triggering of the emergency power-off switch due to switch adhesion); if it is determined that the two-way switch states of the emergency power-off switch are not activated and pressed at the same time and the time interval between the activation of the two-way switch circuits of the emergency power-off switch is greater than or equal to 200ms, a fault prompt can be issued through the vehicle or an electronic device connected to the vehicle for communication, and the prompt content can be "Please check the emergency power-off switch", and the fault code of the emergency power-off switch is recorded for the entire vehicle.
[0116] If it is determined that the two switch states of the emergency power-off switch are activated and pressed at the same time and the time interval between the activation of the two switch circuits of the emergency power-off switch is less than 200ms, the IBCM checks whether the triggering action of the emergency power-off switch meets the first preset condition, wherein the first preset condition includes whether the triggering action of the emergency power-off switch meets the requirement of pressing the emergency power-off switch for 2 seconds, or pressing the emergency power-off switch for three consecutive times within 6 seconds; if it is determined that the first preset condition is not met, the power gear of the whole vehicle remains in the ON gear unchanged, and the vehicle issues an alarm prompt, the prompt content of which may be "Emergency power off, please press and hold for 2 seconds or press three times within 6 seconds", and the alarm prompt ends after 6 seconds.
[0117] If it is determined that the first preset condition is met, the IBCM obtains the vehicle's entire speed and determines whether the vehicle speed is valid and the speed is less than 5km / h. If it is determined that the vehicle speed is valid and the speed is less than 5km / h, the IBCM disconnects the IG1 relay and the ACC relay through hard-wire drive, turns the vehicle power off, and sends a READY request command signal to the VCU through a bus signal.
[0118] When VCU detects that the IG1 relay is disconnected or IBCM receives the READY command signal through the bus signal, it sends a disconnect drive command to DCU and an emergency braking command to BCS; when DCU receives the disconnect start command sent by VCU, it executes motor deceleration and stop working; when BCS receives the emergency braking command sent by VCU, it executes the emergency braking function, and when the vehicle speed is lower than 3km / h, it requests the vehicle's gear to be switched back to P gear until the vehicle gradually stops and returns to a stationary state.
[0119] If the vehicle speed is invalid or the speed is ≥5km / h, the IBCM disconnects the IG1 relay through hard-wire drive, allowing the vehicle to power on the ACC, and sends a READY exit request command signal to the VCU through the bus signal. At the same time, the IBCM starts a 1-second timer to check in real time whether the vehicle has exited READY. If the vehicle has not exited READY after the 1-second timeout, the vehicle power level remains unchanged and the vehicle's instrument does not alarm; if the vehicle exits READY within 1 second, and the VCU detects that the IG1 relay is disconnected or the IBCM receives the READY exit command signal through the bus, it sends a disconnect drive command to the DCU. When the DCU receives the disconnect start command sent by the VCU, it executes motor deceleration and stops working.
[0120] When IBCM determines that the vehicle is in the power-off ACC state, and after the VCU exits READY, the vehicle's instrument panel will give a power-off prompt, and the prompt content may be "Power has been cut off, please shift gears to resume driving". After the vehicle is in the power-off state, the driver can step on the brake and shift to D / R / N gear to resume driving; if the driver presses the emergency power-off switch for 2 seconds or presses it three times within 6 seconds after the vehicle resumes driving, the vehicle will be powered off and the vehicle instrument alarm will be cleared.
[0121] Fig.10 FIG. 1 is a schematic diagram of a process of forcibly powering off a vehicle in a static condition according to another embodiment of the present application. Fig.10As shown, when the vehicle is stationary, the driver presses the emergency power-off switch for 2 seconds or presses it three times within 6 seconds to trigger the forced power-off function. After the emergency power-off switch is pressed, the IBCM disconnects the IG1 relay and the ACC relay by hard-wire drive, and sends the VCU a READY request command signal through a bus signal. When the VCU detects that the IG1 relay is disconnected and the ACC relay is disconnected or the IBCM receives the READY command signal based on the bus, it sends a disconnect drive command to the DCU, an emergency braking command to the BCS, and a high-voltage lowering command to the BMS. Then, when the DCU receives the disconnect start command sent by the VCU, the motor decelerates and stops working; when the BCS receives the emergency braking command sent by the VCU, the emergency braking function is executed; when the BMS receives the high-voltage lowering command sent by the VCU, the vehicle high-voltage lowering function is executed. Among them, since the forced power-off function has the highest priority, no matter whether the vehicle is in ACC / ON / READY / remote power-on and other working conditions, when the vehicle can be emergency powered off, the whole vehicle needs to be powered off and high voltage removed. Only one action is required from the "drivable mode" to the drive system power cut-off state as required by the regulations.
[0122] Fig.11 is a block diagram of a vehicle power-off control device according to an embodiment of the present application, such as Fig.11 As shown, the vehicle power-off control device 700 includes a determination module 710 and a control module 720 .
[0123] The first determination module 710 is used to determine whether the triggering action of the emergency power-off switch of the vehicle satisfies a first preset condition if it is detected that the emergency power-off switch of the vehicle is pressed; the control module 720 is used to control the relay of the vehicle to be disconnected by hard-wire drive if it is determined that the first preset condition is met, and to send a power-off signal to the vehicle controller of the vehicle by bus signal, so that the vehicle controller performs an emergency power-off on the vehicle based on the disconnected state of the relay, and / or performs an emergency power-off on the vehicle according to the power-off signal.
[0124] In some embodiments, the power-off control of the vehicle also includes: a shift signal acquisition module, which is used to receive the shift signal of the vehicle if it is detected that the brake pedal of the vehicle is pressed; and a start module, which is used to start the vehicle if the shift signal indicates that the vehicle is switched to a first gear, wherein the first gear includes a forward gear, a reverse gear or a neutral gear.
[0125] In some embodiments, the relay includes a first relay and a second relay, and the control module 720 includes: a current vehicle speed acquisition submodule, used to obtain the current vehicle speed of the vehicle; a first control submodule, used to control the first relay to disconnect by hard-wire drive if the current vehicle speed is greater than a first preset vehicle speed, and send a power-off signal to the vehicle controller by bus signal, wherein the first relay is used to control the correct startup and normal operation of the vehicle; a second control submodule, used to control the vehicle controller to perform emergency power-off on the vehicle based on the disconnected state of the first relay if it is determined within a first preset time that the vehicle controller responds to the power-off signal to exit the ready state, or detects that the first relay is disconnected, and / or control the vehicle controller to perform emergency power-off on the vehicle according to the power-off signal.
[0126] In some embodiments, the control module 720 also includes: a third control submodule, which is used to control the first relay and the second relay to be disconnected by hard-wire drive if the current vehicle speed is less than or equal to the first preset vehicle speed, and to send a power-off signal to the vehicle controller by bus signal, to control the vehicle controller to perform an emergency power-off on the vehicle based on the disconnection state of the first relay and the second relay, and / or to control the vehicle controller to perform an emergency power-off on the vehicle according to the power-off signal, wherein the second relay is used to control the normal operation of the electrical equipment of the vehicle.
[0127] In some embodiments, the third control submodule includes: a braking control unit, used to perform braking control on the vehicle through the braking system of the vehicle; a braking speed acquisition unit, used to acquire the braking speed of the vehicle after braking control; a gear switching control unit, used to control the gear of the vehicle to switch to the second gear if the braking speed is less than a second preset speed, wherein the second gear is a parking gear.
[0128] In some embodiments, the vehicle's power-off control device 700 also includes: a voltage detection module, used to detect a first voltage of a first switch and a second voltage of a second switch of the emergency power-off switch; a first fault determination module, used to determine whether the emergency power-off switch fails based on the first voltage and the second voltage; a fault alarm module, used to determine the fault information of the emergency power-off switch if it is determined that the emergency power-off switch fails, and to issue a fault alarm based on the fault information.
[0129] In some embodiments, the vehicle's power-off control device 700 also includes: a timestamp acquisition module, used to acquire a first activation timestamp of the first switch and a second activation timestamp of the second switch; a second determination module, used to determine whether the activation time interval between the first switch and the second switch is greater than or equal to a preset time interval based on the first activation timestamp and the second activation timestamp; a second fault determination module, used to determine that the emergency power-off switch has a fault if it is determined that the activation time interval is greater than or equal to the preset time interval.
[0130] In some embodiments, the first determination module 710 includes: an acquisition submodule, used to obtain the triggering duration of the emergency power-off switch and the number of times the emergency power-off switch is triggered within a second preset duration; a determination submodule, used to determine that the triggering action of the emergency power-off switch meets the first preset condition if the triggering duration is greater than or equal to a third preset duration, or the number of triggering times within the second preset duration meets the preset number.
[0131] According to one aspect of the embodiments of the present application, an electronic device is also provided, such as Fig.12 As shown, the electronic device 800 includes a processor 810 and one or more memories 820. The one or more memories 820 are used to store program instructions executed by the processor 810. When the processor 810 executes the program instructions, the above-mentioned vehicle power-off control method is implemented.
[0132] Furthermore, the processor 810 may include one or more processing cores. The processor 810 runs or executes instructions, programs, code sets or instruction sets stored in the memory 820, and calls data stored in the memory 820. Optionally, the processor 810 may be implemented in at least one hardware form of digital signal processing (DSP), field-programmable gate array (FPGA), and programmable logic array (PLA). The processor 810 may integrate one or a combination of a central processing unit (CPU), a graphics processing unit (GPU), and a modem. Among them, the CPU mainly processes the operating system, user interface, and application programs; the GPU is responsible for rendering and drawing display content; and the modem is used to process wireless communications. It is understandable that the above-mentioned modem may not be integrated into the processor, but may be implemented separately through a communication chip.
[0133] According to one aspect of the present application, the present application further provides a computer-readable storage medium, which may be included in the electronic device described in the above embodiments; or may exist independently without being assembled into the electronic device. The above computer-readable storage medium carries computer-readable instructions, and when the computer-readable storage instructions are executed by a processor, the method in any of the above embodiments is implemented.
[0134] It should be noted that the computer-readable medium shown in the embodiment of the present application may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, - but not limited to - an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable storage medium may be any tangible medium containing or storing a program, which may be used by an instruction execution system, device or device or used in combination with it. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, wherein a computer-readable program code is carried. Such propagated data signals may take a variety of forms, including but not limited to electromagnetic signals, optical signals, or any suitable combination of the above. Computer-readable signal media may also be any computer-readable medium other than computer-readable storage media, which may send, propagate, or transmit programs for use by or in conjunction with an instruction execution system, apparatus, or device. The program code contained on the computer-readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0135] The units involved in the embodiments described in this application may be implemented by software or hardware, and the units described may also be set in a processor. The names of these units do not, in some cases, constitute limitations on the units themselves.
[0136] The flowchart and block diagram in the accompanying drawings illustrate the possible architecture, functions and operations of the system, method and computer program product according to various embodiments of the present application. Wherein, each box in the flowchart or block diagram can represent a module, a program segment, or a part of the code, and the above-mentioned module, program segment, or a part of the code contains one or more executable instructions for realizing the specified logical function. It should also be noted that in some alternative implementations, the functions marked in the box can also occur in a different order from the order marked in the accompanying drawings. For example, two boxes represented in succession can actually be executed substantially in parallel, and they can sometimes be executed in the opposite order, depending on the functions involved. It should also be noted that each box in the block diagram or flowchart, and the combination of boxes in the block diagram or flowchart can be implemented with a dedicated hardware-based system that performs a specified function or operation, or can be implemented with a combination of dedicated hardware and computer instructions.
[0137] Those skilled in the art will readily appreciate other embodiments of the present application after considering the specification and practicing the embodiments disclosed herein. The present application is intended to cover any variations, uses or adaptations of the present application, which follow the general principles of the present application and include common knowledge or customary technical means in the art that are not disclosed in the present application.
[0138] It should be understood that the present application is not limited to the precise structures that have been described above and shown in the drawings, and that various modifications and changes may be made without departing from the scope thereof. The scope of the present application is limited only by the appended claims.
Claims
1. A method for controlling power-off of a vehicle, characterized in that: The method comprises: If it is detected that the emergency power-off switch of the vehicle is pressed, determining whether the triggering action of the emergency power-off switch meets a first preset condition; If it is determined that the first preset condition is met, the relay of the vehicle is controlled to be disconnected through a hard-wired drive method, and a power-off signal is sent to the vehicle controller of the vehicle through a bus signal method, so that the vehicle controller can perform an emergency power-off on the vehicle based on the disconnected state of the relay, and / or, perform an emergency power-off on the vehicle according to the power-off signal.
2. The method according to claim 1, characterized in that After the step of controlling the relay of the vehicle to be disconnected by hard-wire driving if it is determined that the first preset condition is met, and sending a power-off signal to the vehicle controller of the vehicle by bus signal, the method further includes: If it is detected that the brake pedal of the vehicle is stepped on, receiving a gear shift signal of the vehicle; If the gear shift signal indicates that the vehicle is switched to a first gear, the vehicle is started, wherein the first gear includes a forward gear, a reverse gear or a neutral gear.
3. The method according to claim 1, characterized in that The relay comprises a first relay and a second relay, and the relay of the vehicle is controlled to be disconnected by hard-wire driving, and a power-off signal is sent to the vehicle controller of the vehicle by bus signal, including: Obtaining the current speed of the vehicle; If the current vehicle speed is greater than a first preset vehicle speed, the first relay is controlled to be disconnected by hard-wire driving, and a power-off signal is sent to the vehicle controller by bus signal, wherein the first relay is used to control the correct startup and normal operation of the vehicle; If it is determined within a first preset time period that the vehicle controller exits the ready state in response to the power-off signal, or if it is detected that the first relay is disconnected, the vehicle controller is controlled to perform an emergency power-off on the vehicle based on the disconnected state of the first relay, and / or the vehicle controller is controlled to perform an emergency power-off on the vehicle according to the power-off signal.
4. The method according to claim 3, characterized in that The method further comprises: If the current vehicle speed is less than or equal to the first preset vehicle speed, the first relay and the second relay are controlled to be disconnected by hard-wire drive, and a power-off signal is sent to the vehicle controller by bus signal, so as to control the vehicle controller to perform emergency power-off on the vehicle based on the disconnected state of the first relay and the second relay, and / or control the vehicle controller to perform emergency power-off on the vehicle according to the power-off signal, wherein the second relay is used to control the normal operation of the electrical equipment of the vehicle.
5. The method according to claim 4, characterized in that The controlling the vehicle controller to perform emergency power-off on the vehicle based on the disconnected state of the first relay and the second relay, and / or the controlling the vehicle controller to perform emergency power-off on the vehicle according to the power-off signal, comprises: Performing braking control on the vehicle through the braking system of the vehicle; Obtaining a braking speed of the vehicle after braking control; If the braking speed is less than a second preset speed, the gear of the vehicle is controlled to switch to a second gear, wherein the second gear is a parking gear.
6. The method according to claim 1, characterized in that The method further comprises: Detecting a first voltage of a first switch and a second voltage of a second switch of the emergency power-off switch; determining whether the emergency power-off switch fails according to the first voltage and the second voltage; If it is determined that the emergency power-off switch fails, the fault information of the emergency power-off switch is determined, and a fault alarm is issued according to the fault information.
7. The method according to claim 6, characterized in that The method further comprises: Acquire a first activation timestamp of the first switch and a second activation timestamp of the second switch; determining, according to the first activation timestamp and the second activation timestamp, whether an activation time interval between the first switch and the second switch is greater than or equal to a preset time interval; If it is determined that the activation time interval is greater than or equal to the preset time interval, it is determined that the emergency power-off switch fails.
8. The method according to any one of claims 1 to 7, characterized in that: If it is detected that the emergency power-off switch of the vehicle is pressed, determining whether the triggering action of the emergency power-off switch meets a first preset condition includes: Acquire the triggering duration of the emergency power-off switch and the number of times the emergency power-off switch is triggered within a second preset duration; If the triggering duration is greater than or equal to the third preset duration, or the triggering times meet the preset times within the second preset duration, it is determined that the triggering action of the emergency power-off switch meets the first preset condition.
9. A vehicle power-off control device, characterized in that: The device comprises: A first determination module, configured to determine whether a triggering action of the emergency power-off switch of the vehicle satisfies a first preset condition if it is detected that the emergency power-off switch of the vehicle is pressed; A control module is used to control the relay of the vehicle to disconnect by hard-wire driving if it is determined that the first preset condition is met, and to send a power-off signal to the vehicle controller of the vehicle by bus signal, so that the vehicle controller can perform an emergency power-off on the vehicle based on the disconnected state of the relay, and / or, perform an emergency power-off on the vehicle according to the power-off signal.
10. An electronic device, characterized in that: The electronic device comprises: processor; A memory having computer-readable instructions stored thereon, wherein when the computer-readable instructions are executed by the processor, the method according to any one of claims 1 to 8 is implemented.
11. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores program codes, which can be called by a processor to execute the method according to any one of claims 1 to 8.
Citation Information
Patent Citations
Method for realizing accidental power-off protection processing during high-speed running of vehicle
CN111252080A
Power-on and power-off control method and device of electric vehicle and related equipment
CN114872551A
Power-off indication control method, device and system, storage medium and engineering machinery
CN117270503A
Vehicle driving control method, device and equipment and storage medium
CN117485315A
Circuit detection method, switch safety circuit, device, vehicle and storage medium
CN118566775A