Discharge control method and device of vehicle
By using a switch control in the controller area network of new energy vehicles, the hardware complexity and false discharge problems caused by physical buttons are solved, and safe and reliable discharge control is achieved.
Patent Information
- Application Number
- CN202411153913.7
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-08-21
- Publication Date
- 2024-11-26
AI Technical Summary
The existing discharge control methods for new energy vehicles require the addition of physical switches and buttons, which increases the complexity of the vehicle design and control system hardware structure, and is prone to problems such as false triggering and false discharge.
After the vehicle is powered on at high voltage, the discharge is controlled by the switch control of the controller area network, avoiding accidental touches of physical buttons. This includes detecting vehicle parameters and status to ensure that the discharge is carried out under safe conditions.
This reduces the complexity of the vehicle design and control system hardware structure, improves the safety of discharge control, and avoids the occurrence of false discharges.
Smart Images

Figure CN119017934A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the field of vehicle discharge technology, and in particular to a vehicle discharge control method and device. Background Art
[0002] Currently, new energy vehicles, such as electric vehicles and hybrid vehicles, are typically equipped with an external discharge function. This function allows the vehicle to discharge energy stored in the power battery through a control device. In related technologies, this function is activated by adding a physical switch button connected to the control system via a wire inside the vehicle. The user presses the physical switch button to control the vehicle's external discharge.
[0003] However, this method of using physical switch buttons to control the vehicle's external discharge requires the addition of corresponding hardware equipment, which increases the complexity of the vehicle design and the hardware structure of the control system. At the same time, it is easy to accidentally touch the physical switch button, causing the vehicle to discharge accidentally, affecting the safety of discharge control. Summary of the Invention
[0004] This application aims to solve at least one of the technical problems existing in the related art. To this end, this application proposes a vehicle discharge control method that can reduce the complexity of the vehicle design and the hardware structure of the control system while improving the safety of the vehicle discharge control.
[0005] A discharge control method for a vehicle according to an embodiment of the first aspect of the present application includes:
[0006] In response to a prompt signal indicating that the vehicle has completed high-voltage power-up, a switch control in the target terminal connected to a controller area network of the vehicle is activated;
[0007] In response to a trigger signal for the activated switch control, the vehicle is controlled to discharge.
[0008] By responding to a prompt signal indicating that the vehicle has completed high-voltage power-up, starting a switch control in a target terminal connected to the controller local area network of the vehicle and then triggering a signal for the started switch control, the vehicle is controlled to discharge, and then responding to the trigger signal for the started switch control to control the vehicle to discharge. As a result, when the vehicle has completed high-voltage power-up, the non-physical button formed by the switch control can be started again to control the vehicle to discharge, thereby avoiding accidental discharge of the vehicle due to accidental touching of the switch button, and achieving discharge control of the vehicle without adding hardware such as physical switch buttons in the vehicle, thereby reducing the complexity of the hardware structure of the vehicle design and the control system and improving the safety of the vehicle discharge control.
[0009] According to one embodiment of the present application, in response to a prompt signal prompting a vehicle to complete high-voltage power-up, starting a switch control in a target terminal that connects to a controller area network of the vehicle includes:
[0010] When a key signal of a remote control key of the vehicle is detected, in response to a prompt signal prompting the vehicle to complete high-voltage power-up, a switch control in a target terminal connected to a controller area network of the vehicle is started.
[0011] According to one embodiment of the present application, in response to a prompt signal prompting a vehicle to complete high-voltage power-up, starting a switch control in a target terminal that connects to a controller area network of the vehicle includes:
[0012] detecting various current vehicle parameters of the vehicle;
[0013] determining each of the current vehicle parameters, satisfying each of the preset conditions corresponding to each of the current vehicle parameters, generating the prompt signal, and activating a switch control of the target terminal connected to the controller area network of the vehicle in response to the prompt signal;
[0014] The current vehicle parameters include at least one of a current state of charge of a battery on board the vehicle, a current discharge power of the vehicle, and a current gear position of the vehicle.
[0015] According to one embodiment of the present application, in response to a prompt signal prompting a vehicle to complete high-voltage power-up, starting a switch control in the target terminal that connects to a controller area network of the vehicle includes:
[0016] In response to a prompt signal prompting the vehicle to complete high-voltage power-up, obtaining a current speed of the vehicle;
[0017] Determining that the current vehicle speed is less than or equal to a preset vehicle speed and that the duration of the current vehicle speed reaches a preset duration, activating a switch control in the target terminal that is connected to a controller area network of the vehicle;
[0018] The preset vehicle speed is determined according to an offset of a vehicle speed sensor of the vehicle.
[0019] According to one embodiment of the present application, it further includes:
[0020] Determining that the current vehicle speed exceeds the preset vehicle speed, or that the duration of the current vehicle speed is less than the preset duration, deactivating the switch control.
[0021] According to one embodiment of the present application, in response to a trigger signal of the activated switch control, controlling the vehicle to discharge includes:
[0022] In response to a trigger signal of the activated switch control, obtaining various current state parameters of the vehicle;
[0023] Determining each of the current state parameters, satisfying each of the starting conditions corresponding to each of the current state parameters, and controlling the vehicle to discharge;
[0024] The current state parameter includes at least one of a current state of charge of a battery carried by the vehicle, a current discharge power of the vehicle, a current gear position of the vehicle, and a discharge gun insertion state of the vehicle.
[0025] According to one embodiment of the present application, it further includes:
[0026] When the vehicle is in a discharging state, obtaining various current state parameters of the vehicle;
[0027] determining that any of the current state parameters does not match the start condition corresponding to the current state parameter, controlling the vehicle to stop discharging, and deactivating the switch control;
[0028] The current state parameter includes at least one of a current state of charge of a battery carried by the vehicle, a current discharge power of the vehicle, a current gear position of the vehicle, and a discharge gun insertion state of the vehicle.
[0029] A discharge control device for a vehicle according to an embodiment of the second aspect of the present application includes:
[0030] a control control module for activating a switch control in a target terminal connected to a controller area network of the vehicle in response to a prompt signal indicating that the vehicle has completed high-voltage power-up;
[0031] A discharge control module is used to control the vehicle to discharge in response to a trigger signal of the activated switch control.
[0032] According to an embodiment of the third aspect of the present application, an electronic device includes a processor and a memory storing a computer program, and when the processor executes the computer program, the discharge control method for a vehicle described in any of the above embodiments is implemented.
[0033] According to the computer-readable storage medium of the fourth embodiment of the present application, a computer program is stored thereon, and when the computer program is executed by a processor, the discharge control method of the vehicle described in any of the above embodiments is implemented.
[0034] The vehicle according to the fifth embodiment of the present application includes the electronic device described in the above embodiment. BRIEF DESCRIPTION OF THE DRAWINGS
[0035] In order to more clearly illustrate the technical solutions of the embodiments of the present application, the following is a brief introduction to the drawings required for use in the embodiments of the present application. It should be understood that the following drawings only show certain embodiments of the present application and therefore should not be regarded as limiting the scope. For ordinary technicians in this field, other relevant drawings can be obtained based on these drawings without creative work.
[0036] Figure 1 A first flow chart of a discharge control method for a vehicle provided in an embodiment of the present application;
[0037] Figure 2 This is a second flow chart of the vehicle discharge control method provided in an embodiment of the present application;
[0038] Figure 3 1 is a schematic structural diagram of a discharge control device for a vehicle provided in an embodiment of the present application;
[0039] Figure 4 It is a structural diagram of an electronic device provided in an embodiment of the present application. DETAILED DESCRIPTION
[0040] To make the objectives, technical solutions, and advantages of this application more clear, the technical solutions in this application will be clearly and completely described below in conjunction with the accompanying drawings in the embodiments of this application. Obviously, the described embodiments are only part of the embodiments of this application, not all of them. Based on the embodiments in this application, all other embodiments obtained by ordinary technicians in this field without making any creative efforts are within the scope of protection of this application.
[0041] Below, the vehicle discharge control method and device provided in the embodiments of the present application will be introduced and explained in detail through several specific embodiments.
[0042] At present, new energy vehicles, such as electric vehicles or hybrid vehicles, are usually equipped with an external discharge function. Among them, the external discharge function is that the entire vehicle outputs the energy stored in the power battery to the outside through a control device. There are usually two types of external discharge functions. One is to use a converter with a vehicle load, which can be used for ordinary household appliances, that is, the V2L function, and the other is to replenish the power batteries of other new energy vehicles, that is, the V2V function. In related technologies, the activation of the external discharge function of new energy vehicles is to add a physical switch button connected to the control system through a wire in the vehicle, and control the vehicle to discharge externally by receiving the user's pressing of the physical switch button.
[0043] However, this method of using physical switch buttons to control the vehicle's external discharge inevitably requires the addition of corresponding hardware equipment, which increases the complexity of the vehicle design and the hardware structure of the control system. At the same time, it is easy to accidentally touch the physical switch button, causing the vehicle to discharge accidentally, affecting the safety of discharge control.
[0044] To this end, in one embodiment, a method for controlling discharge of a vehicle is provided. The method is applied to a control system for controlling discharge of the vehicle. The control system may include a controller, which may specifically be a vehicle control unit (VCU).
[0045] like Figure 1 As shown, this embodiment provides a vehicle discharge control method including:
[0046] Step 101, in response to a prompt signal indicating that the vehicle has completed high-voltage power-up, starting a switch control in a target terminal connected to a controller area network of the vehicle;
[0047] Step 102 : In response to a trigger signal of the activated switch control, controlling the vehicle to discharge.
[0048] In some embodiments, before the vehicle is discharged, the controller can detect whether the high voltage of the entire vehicle is completed, that is, whether the high voltage power-up is completed. Among them, the detection of whether the vehicle has completed high voltage power-up can be to detect the gear status of the vehicle, the brake switch status, the vacuum data, the accelerator pedal opening, etc., and wake up the BMS (Battery Management System) to perform a self-test, and at the same time detect the power battery cell voltage, temperature, insulation resistance, whether the contactor is sintered / adhesive, high voltage interlock, the current power of the power battery and other data. If there is a test that does not meet the requirements, it can be determined that the vehicle has not completed high voltage power-up. At this time, an alarm signal is generated to prompt that the vehicle has not completed high voltage power-up, and the vehicle continues to detect whether the vehicle has completed high voltage power-up; if each test meets the requirements, it can be determined that the vehicle has completed high voltage power-up. At this time, the BMS can be controlled to enter the working mode and generate a prompt signal to prompt that the vehicle has completed high voltage power-up.
[0049] In some embodiments, the method for triggering the detection of whether the vehicle has completed high-voltage power-up may be that when the induction signal sent when the vehicle door is opened is received, the controller is awakened, triggering the detection of whether the vehicle has completed high-voltage power-up; or, when the signal prompting the door to be unlocked is received, the controller is awakened, triggering the detection of whether the vehicle has completed high-voltage power-up.
[0050] After generating a prompt signal to prompt the vehicle that the high-voltage power-up is completed, in response to the prompt signal, an instruction to start the switch control is sent to the target terminal to start the switch control connected to the vehicle's controller local area network in the target terminal, that is, the switch control connected to the vehicle's CAN bus. The target terminal can be a vehicle-mounted terminal or a user terminal bound to the vehicle, such as the owner's mobile terminal. The activation of the switch control can be turning on the switch control and displaying the switch control connected to the vehicle's controller local area network on the display screen of the target terminal. Alternatively, it can be switching the switch control on the display screen of the target terminal from a disabled state to an enabled state. The disabled state means that the switch control cannot respond to trigger operations such as click operations, that is, the switch control is disabled.
[0051] For example, when the switch control is in a disabled state, a target image corresponding to the switch control, such as a grayscale control image, may be displayed on the target terminal's display screen to indicate that the switch control cannot respond to trigger operations. Alternatively, the switch control may be hidden on the target terminal's display screen. When the switch control is enabled, i.e., in the on state, the switch control may be displayed on the target terminal's display screen to indicate that the switch control can respond to trigger operations.
[0052] After the switch control connected to the vehicle's controller local area network is started in the target terminal, if a trigger operation on the switch control is received, such as a pressing or clicking operation on the switch control, a trigger signal for the started switch control can be generated, and in response to the trigger signal, a control instruction is sent to the on-board charger through the controller local area network, i.e., the CAN bus, to control the vehicle's on-board charger to enter the discharge mode, so as to control the discharge of the vehicle's power battery.
[0053] By responding to a prompt signal indicating that the vehicle has completed high-voltage power-up, starting a switch control in a target terminal connected to the controller local area network of the vehicle and then triggering a signal for the started switch control, the vehicle is controlled to discharge, and then responding to the trigger signal for the started switch control to control the vehicle to discharge. As a result, when the vehicle has completed high-voltage power-up, the non-physical button formed by the switch control can be started again to control the vehicle to discharge, thereby avoiding accidental discharge of the vehicle due to accidental touching of the switch button, and achieving discharge control of the vehicle without adding hardware such as physical switch buttons in the vehicle, thereby reducing the complexity of the hardware structure of the vehicle design and the control system and improving the safety of the vehicle discharge control.
[0054] To further improve the safety of vehicle discharge control, in some embodiments, in response to a prompt signal indicating that the vehicle has completed high-voltage power-up, a switch control in a target terminal connected to a controller area network of the vehicle is activated, including:
[0055] When a key signal of a remote control key of the vehicle is detected, in response to a prompt signal prompting the vehicle to complete high-voltage power-up, a switch control in a target terminal connected to a controller area network of the vehicle is started.
[0056] In some embodiments, the controller may first detect whether a key signal from the vehicle's remote control key has been received. If the key signal is not received, it indicates that the vehicle is not in use, and the high-voltage power-on test is not performed on the vehicle. If the key signal is received, it indicates that the vehicle is in use, and the high-voltage power-on test may be performed on the vehicle. If the vehicle is detected to have completed high-voltage power-on, a prompt signal indicating that the vehicle has completed high-voltage power-on may be generated, and in response to the prompt signal, a switch control in the target terminal connected to the vehicle's controller area network is activated.
[0057] In order to further improve the safety of discharge control, in some embodiments, the high-voltage power-on detection of the vehicle can be to detect the current vehicle parameters of the vehicle; if each of the current vehicle parameters is determined and each preset condition corresponding to each of the current vehicle parameters is satisfied, the prompt signal is generated to start the switch control of the controller local area network connected to the vehicle in the target terminal in response to the prompt signal; wherein, the current vehicle parameters include at least one of the current state of charge of the battery carried by the vehicle, the current discharge power of the vehicle and the current gear of the vehicle.
[0058] For example, when the induction signal sent when the vehicle door is opened is received, the controller is awakened. At this time, if the key signal of the vehicle's remote control key is received, the current state of charge of the vehicle's battery, the current discharge power of the vehicle, and the current gear of the vehicle can be obtained and determined as the current vehicle parameters. Among them, the current discharge power of the vehicle refers to the current discharge power of the entire vehicle. After obtaining the current vehicle parameters, for any current vehicle parameter, the preset condition corresponding to the current vehicle parameter can be obtained to determine whether the current vehicle parameter meets the preset condition. If the preset condition corresponding to the current state of charge can be obtained, the current state of charge can be judged. The preset condition corresponding to the current vehicle parameter can be set according to the actual situation.
[0059] For example, for the current state of charge, the corresponding preset condition may be that the current state of charge reaches a preset value, such as 60% SOC; if the current state of charge reaches the preset value, it indicates that the current state of charge meets the preset condition. For the current discharge power, the corresponding preset condition may be that the current discharge power is less than or equal to the preset discharge power; if the current discharge power is less than or equal to the preset discharge power, it indicates that the current discharge power meets the preset condition. For the current gear of the vehicle, the corresponding preset condition may be that the current gear is P gear; if the current gear of the vehicle is P gear, it indicates that the current gear meets the preset condition.
[0060] In some embodiments, current vehicle parameters may include, in addition to the current state of charge, current discharge power, and current gear, the current state of various control systems, such as the vehicle's BMS, motor drive control system, and electric power steering control system. The preset condition corresponding to each control system is that the current state is in the awake state. That is, if the current state of the control system is in the awake state, it indicates that the current state of the control system meets the preset condition.
[0061] When it is determined that all current vehicle parameters meet the corresponding preset conditions, it means that the vehicle has completed high-voltage power-up. At this time, a prompt signal can be generated to prompt the vehicle that the high-voltage power-up has been completed, and in response to the prompt signal, the switch control of the controller local area network connected to the vehicle in the target terminal is started.
[0062] To further improve the safety of vehicle discharge control, in some embodiments, in response to a prompt signal indicating that the vehicle has completed high-voltage power-up, a switch control in the target terminal connected to the vehicle's controller area network is activated, including:
[0063] In response to a prompt signal prompting the vehicle to complete high-voltage power-up, obtaining a current speed of the vehicle;
[0064] Determining that the current vehicle speed is less than or equal to a preset vehicle speed and that the duration of the current vehicle speed reaches a preset duration, activating a switch control in the target terminal that is connected to a controller area network of the vehicle;
[0065] The preset vehicle speed is determined according to an offset of a vehicle speed sensor of the vehicle.
[0066] Considering that the vehicle must be stopped for discharge to occur, otherwise the discharge gun may be dragged, affecting discharge safety, in some embodiments, after the vehicle completes high-voltage power-up, the vehicle's current speed may be detected by the vehicle's speed sensor in response to a prompt signal indicating that the vehicle has completed high-voltage power-up. The current vehicle speed may refer to the vehicle's wheel speed.
[0067] After obtaining the vehicle's current speed, it can be compared with a preset speed. The preset speed can be the maximum offset of the vehicle sensor, i.e., the maximum error of the vehicle sensor. For example, if the maximum offset of the vehicle sensor is 1.5 km / h, the preset speed can be determined to be 1.5 km / h.
[0068] If the current speed is less than the preset speed, and the vehicle maintains the current speed for a preset duration, such as 3 or 5 seconds, the vehicle is currently stationary, and the switch control connected to the vehicle's controller local area network in the target terminal is activated. If the current speed is less than the preset speed, but the vehicle maintains the current speed for less than the preset duration, the vehicle's speed is still changing, and it can be inferred that the vehicle is in motion. In this case, the switch control is deactivated. In this way, the vehicle's current speed and the duration of the current speed can be used to more accurately determine whether the vehicle is stationary. Once the vehicle's current speed and the duration of the current speed are determined to be stationary, the switch control can be activated, thereby improving the safety of the vehicle's discharge control.
[0069] In some embodiments, if the current vehicle speed obtained exceeds the preset speed, it means that the vehicle is in motion at this time, or if the duration for which the vehicle maintains the current speed does not reach the preset duration, it means that the vehicle speed is still changing at this time. It can be inferred that the vehicle is in motion at this time, and the start switch control is stopped at this time. For example, a hiding instruction can be sent to the target terminal to make the target terminal hide the switch control on the display screen to avoid accidental touch.
[0070] After the switch control is activated, if a touch operation is received on the activated switch control, a trigger signal is generated to control the vehicle to discharge. In order to avoid over-discharge or ineffective discharge of the battery, in some embodiments, in response to the trigger signal of the activated switch control, controlling the vehicle to discharge includes:
[0071] In response to a trigger signal of the activated switch control, obtaining various current state parameters of the vehicle;
[0072] Determining each of the current state parameters, satisfying each of the starting conditions corresponding to each of the current state parameters, and controlling the vehicle to discharge;
[0073] The current state parameter includes at least one of a current state of charge of a battery carried by the vehicle, a current discharge power of the vehicle, a current gear position of the vehicle, and a discharge gun insertion state of the vehicle.
[0074] In some embodiments, upon receiving a touch operation on the activated switch control, a trigger signal may be generated. In response to the trigger signal, the current state of charge of the vehicle's battery, the vehicle's current discharge power, the vehicle's current gear position, and the vehicle's discharge gun insertion status are obtained and determined as current state parameters. After obtaining each current state parameter, a startup condition corresponding to each current state parameter may be obtained to determine whether the current state parameter satisfies the startup condition. If a startup condition corresponding to the current state of charge is obtained, the current state of charge is determined. The startup condition corresponding to the current state parameter can be set based on actual conditions.
[0075] For example, for the current state of charge, the corresponding starting condition may be that the current state of charge reaches a preset value, such as 60% SOC; if the current state of charge reaches the preset value, it means that the current state of charge meets the starting condition. For the current discharge power, the corresponding starting condition may be that the current discharge power is less than or equal to the preset discharge power; if the current discharge power is less than or equal to the preset discharge power, it means that the current discharge power meets the starting condition. For the current gear of the vehicle, the corresponding starting condition may be that the current gear is P gear; if the current gear of the vehicle is P gear, it means that the current gear meets the starting condition. For the vehicle's discharge gun insertion status, the corresponding starting condition is that the discharge gun is inserted; if the vehicle's discharge gun insertion status is discharge gun inserted, it means that the discharge gun insertion status meets the starting condition.
[0076] When it is determined that all current state parameters meet the corresponding starting conditions, it means that the vehicle is currently ready for discharge. At this time, a control instruction can be sent to the on-board charger through the controller area network, i.e., the CAN bus, to control the vehicle's on-board charger to enter the discharge mode, thereby controlling the vehicle's power battery to discharge.
[0077] If a certain current state parameter does not satisfy the corresponding start condition, an alarm signal may be generated and the switch control may be disabled, such as being hidden.
[0078] To further improve vehicle discharge safety, in some embodiments, while the vehicle is in the discharge state, i.e., during the discharge process, the vehicle's various current state parameters can be continuously detected. If a current state parameter does not meet its corresponding start-up condition, such as if the vehicle's current gear is not P, the current discharge power exceeds a preset discharge power, the current state of charge is lower than a preset value, or the discharge gun is not inserted, a control instruction can be sent to the on-board charger via the controller area network (CAN bus) to control the on-board charger to stop operation, thereby stopping the vehicle discharge and deactivating the switch control, such as by hiding the switch control. By detecting the current state of charge and current discharge power, it is determined whether to stop discharging, thereby avoiding battery over-discharge. By detecting the gear position during discharge to determine whether to stop discharging, it is possible to avoid current leakage caused by the discharge gun dragging during discharge, thereby improving discharge safety. By detecting the insertion status of the discharge gun during discharge to determine whether to stop discharging, it is possible to avoid ineffective battery discharge.
[0079] In addition, by disabling the switch control, such as hiding the switch control, when any current state parameter does not match the start condition corresponding to the current state parameter, accidental touching of the switch control can be avoided, thereby further improving safety.
[0080] In order to make the purpose, technical solutions and advantages of this application clearer, the technical solutions in this application will be described clearly and completely below. In some embodiments, Figure 2 As shown, the discharge control method of the vehicle includes:
[0081] Step 201: upon receiving a key signal from a remote control key of a vehicle, obtaining current vehicle parameters of the vehicle, wherein the current vehicle parameters include at least one of a current state of charge of a battery mounted on the vehicle, a current discharge power of the vehicle, and a current gear position of the vehicle.
[0082] Step 202 determines whether each current vehicle parameter satisfies each preset condition corresponding to each current vehicle parameter. If so, step 203 is executed. Otherwise, the switch control of the target terminal connected to the vehicle's controller area network is disabled. The disabled switch control may be hidden on the display screen of the target terminal.
[0083] Step 203: Generate a prompt signal to prompt the vehicle to complete high-voltage power-up, and obtain the current speed of the vehicle in response to the prompt signal.
[0084] Step 204, determine whether the current vehicle speed is less than or equal to the preset speed, and whether the duration of the current vehicle speed reaches the preset duration; if so, execute step 205, otherwise, disable the switch control of the controller local area network connected to the vehicle in the target terminal.
[0085] Step 205: Sending a start instruction to the target terminal so that the target terminal responds to the start instruction and starts a switch control in the target terminal connected to the vehicle's controller area network. The started switch control is displayed on a display screen of the target terminal.
[0086] Step 206 : Responding to the trigger signal of the activated switch control, obtaining various current state parameters of the vehicle.
[0087] Step 207 , determining whether each current state parameter satisfies each start-up condition corresponding to each current state parameter; if so, executing step 208 , otherwise, deactivating the switch control of the target terminal connected to the vehicle's controller area network.
[0088] Step 208: Control the vehicle to discharge.
[0089] Step 209 : When the vehicle is in a discharging state, obtain various current state parameters of the vehicle.
[0090] Step 210 , determining whether each current state parameter satisfies each start-up condition corresponding to each current state parameter; if so, returning to step 208 ; otherwise, executing step 211 .
[0091] Step 211 , controlling the vehicle to stop discharging and deactivating the switch control.
[0092] The discharge control device for a vehicle provided in the present application is described below. The discharge control device for a vehicle described below and the discharge control method for a vehicle described above can be referred to in correspondence with each other.
[0093] In one embodiment, if Figure 3 As shown, a discharge control device for a vehicle is provided, comprising:
[0094] A control control module 310 is configured to activate a switch control in a target terminal connected to a controller area network of the vehicle in response to a prompt signal indicating that the vehicle has completed high-voltage power-up;
[0095] The discharge control module 320 is configured to control the vehicle to discharge in response to a trigger signal of the activated switch control.
[0096] By responding to a prompt signal indicating that the vehicle has completed high-voltage power-up, starting a switch control in a target terminal connected to the controller local area network of the vehicle and then triggering a signal for the started switch control, the vehicle is controlled to discharge, and then responding to the trigger signal for the started switch control to control the vehicle to discharge. As a result, when the vehicle has completed high-voltage power-up, the non-physical button formed by the switch control can be started again to control the vehicle to discharge, thereby avoiding accidental discharge of the vehicle due to accidental touching of the switch button, and achieving discharge control of the vehicle without adding hardware such as physical switch buttons in the vehicle, thereby reducing the complexity of the hardware structure of the vehicle design and the control system and improving the safety of the vehicle discharge control.
[0097] In one embodiment, the control control module 310 is specifically configured to:
[0098] When a key signal of a remote control key of the vehicle is detected, in response to a prompt signal prompting the vehicle to complete high-voltage power-up, a switch control in a target terminal connected to a controller area network of the vehicle is started.
[0099] In one embodiment, the control control module 310 is specifically configured to:
[0100] detecting various current vehicle parameters of the vehicle;
[0101] determining each of the current vehicle parameters, satisfying each of the preset conditions corresponding to each of the current vehicle parameters, generating the prompt signal, and activating a switch control of the target terminal connected to the controller area network of the vehicle in response to the prompt signal;
[0102] The current vehicle parameters include at least one of a current state of charge of a battery on board the vehicle, a current discharge power of the vehicle, and a current gear position of the vehicle.
[0103] In one embodiment, the control control module 310 is specifically configured to:
[0104] In response to a prompt signal prompting the vehicle to complete high-voltage power-up, obtaining a current speed of the vehicle;
[0105] Determining that the current vehicle speed is less than or equal to a preset vehicle speed and that the duration of the current vehicle speed reaches a preset duration, activating a switch control in the target terminal that is connected to a controller area network of the vehicle;
[0106] The preset vehicle speed is determined according to an offset of a vehicle speed sensor of the vehicle.
[0107] In one embodiment, the control module 310 is further configured to:
[0108] Determining that the current vehicle speed exceeds the preset vehicle speed, or that the duration of the current vehicle speed is less than the preset duration, deactivating the switch control.
[0109] In one embodiment, the discharge control module 320 is specifically configured to:
[0110] In response to a trigger signal of the activated switch control, obtaining various current state parameters of the vehicle;
[0111] Determining each of the current state parameters, satisfying each of the starting conditions corresponding to each of the current state parameters, and controlling the vehicle to discharge;
[0112] The current state parameter includes at least one of a current state of charge of a battery carried by the vehicle, a current discharge power of the vehicle, a current gear position of the vehicle, and a discharge gun insertion state of the vehicle.
[0113] In one embodiment, the discharge control module 320 is further configured to:
[0114] When the vehicle is in a discharging state, obtaining various current state parameters of the vehicle;
[0115] determining that any of the current state parameters does not match the start condition corresponding to the current state parameter, controlling the vehicle to stop discharging, and deactivating the switch control;
[0116] The current state parameter includes at least one of a current state of charge of a battery carried by the vehicle, a current discharge power of the vehicle, a current gear position of the vehicle, and a discharge gun insertion state of the vehicle.
[0117] Figure 4 An example of a physical structure diagram of an electronic device is shown below. Figure 4 As shown, the electronic device may include: a processor 810, a communication interface 820, a memory 830, and a communication bus 840, wherein the processor 810, the communication interface 820, and the memory 830 communicate with each other via the communication bus 840. The processor 810 may call a computer program in the memory 830 to execute a discharge control method for a vehicle, for example, including:
[0118] In response to a prompt signal indicating that the vehicle has completed high-voltage power-up, a switch control in the target terminal connected to a controller area network of the vehicle is activated;
[0119] In response to a trigger signal for the activated switch control, the vehicle is controlled to discharge.
[0120] In addition, the logic instructions in the above-mentioned memory 830 can be implemented in the form of a software functional unit and can be stored in a computer-readable storage medium when it is sold or used as an independent product. Based on this understanding, the technical solution of the present application is essentially or the part that contributes to the prior art or the part of the technical solution can be embodied in the form of a software product, and the computer software product is stored in a storage medium, including a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the various embodiments of the present application. The aforementioned storage medium includes: various media that can store program codes, such as a USB flash drive, a mobile hard disk, a read-only memory (ROM), a random access memory (RAM), a magnetic disk or an optical disk.
[0121] On the other hand, an embodiment of the present application further provides a storage medium, which includes a computer program. The computer program may be stored on a non-transitory computer-readable storage medium. When the computer program is executed by a processor, the computer can execute the vehicle discharge control method provided in each of the above embodiments, for example, including:
[0122] In response to a prompt signal indicating that the vehicle has completed high-voltage power-up, a switch control in the target terminal connected to a controller area network of the vehicle is activated;
[0123] In response to a trigger signal for the activated switch control, the vehicle is controlled to discharge.
[0124] On the other hand, an embodiment of the present application further provides a vehicle, which includes the electronic device as described in the above embodiment.
[0125] The device embodiments described above are merely illustrative. The units described as separate components may or may not be physically separate, and the components shown as units may or may not be physical units. That is, they may be located in one place or distributed across multiple network units. Some or all of the modules may be selected based on actual needs to achieve the objectives of the present embodiment. Persons of ordinary skill in the art will be able to understand and implement the present invention without inventive effort.
[0126] Through the description of the above embodiments, those skilled in the art can clearly understand that each embodiment can be implemented by means of software plus a necessary general hardware platform, or of course, by hardware. Based on this understanding, the essence of the above technical solution or the part that contributes to the existing technology can be embodied in the form of a software product. The computer software product can be stored in a computer-readable storage medium, such as ROM / RAM, a magnetic disk, an optical disk, etc., and includes a number of instructions for enabling a computer device (which can be a personal computer, a server, or a network device, etc.) to execute the methods described in each embodiment or certain parts of the embodiments.
[0127] Finally, it should be noted that the above embodiments are only used to illustrate the technical solutions of the present application, rather than to limit them. Although the present application has been described in detail with reference to the aforementioned embodiments, those skilled in the art should understand that they can still modify the technical solutions described in the aforementioned embodiments, or make equivalent replacements for some of the technical features therein. However, these modifications or replacements do not deviate the essence of the corresponding technical solutions from the spirit and scope of the technical solutions of the embodiments of the present application.
Claims
1. A discharge control method for a vehicle, characterized in that: include: In response to a prompt signal prompting the vehicle to complete high-voltage power-up, a switch control in the target terminal connected to a controller area network of the vehicle is activated; In response to a trigger signal to the activated switch control, the vehicle is controlled to discharge.
2. The vehicle discharge control method according to claim 1, characterized in that: In response to a prompt signal prompting the vehicle to complete high voltage power-on, a switch control in a target terminal connected to a controller area network of the vehicle is started, including: When a key signal of a remote control key of the vehicle is detected, in response to a prompt signal prompting the vehicle to complete high-voltage power-up, a switch control in a target terminal connected to a controller area network of the vehicle is started.
3. The vehicle discharge control method according to claim 1 or 2, characterized in that: In response to a prompt signal prompting the vehicle to complete high voltage power-on, a switch control in a target terminal connected to a controller area network of the vehicle is started, including: detecting various current vehicle parameters of the vehicle; Determine each of the current vehicle parameters, meet each of the preset conditions corresponding to each of the current vehicle parameters, generate the prompt signal, and in response to the prompt signal, start a switch control of the target terminal connected to the controller area network of the vehicle; The current vehicle parameters include at least one of a current state of charge of a battery mounted on the vehicle, a current discharge power of the vehicle, and a current gear position of the vehicle.
4. The vehicle discharge control method according to claim 1 or 2, characterized in that: In response to a prompt signal prompting the vehicle to complete high-voltage power-on, a switch control in the target terminal connected to a controller area network of the vehicle is started, including: In response to a prompt signal prompting the vehicle to complete high-voltage power-up, obtaining a current speed of the vehicle; Determining that the current vehicle speed is less than or equal to a preset vehicle speed and that the duration of the current vehicle speed reaches a preset duration, activating a switch control in the target terminal that is connected to a controller area network of the vehicle; The preset vehicle speed is determined according to an offset of a vehicle speed sensor of the vehicle.
5. The vehicle discharge control method according to claim 4, characterized in that: Also includes: Determine that the current vehicle speed exceeds the preset vehicle speed, or the duration of the current vehicle speed is less than the preset duration, and deactivate the switch control.
6. The vehicle discharge control method according to claim 1, characterized in that: In response to a trigger signal of the activated switch control, controlling the vehicle to discharge, comprising: In response to a trigger signal of the activated switch control, acquiring various current state parameters of the vehicle; Determine each of the current state parameters, meet each of the starting conditions corresponding to each of the current state parameters, and control the vehicle to discharge; The current state parameter includes at least one of a current state of charge of a battery carried by the vehicle, a current discharge power of the vehicle, a current gear position of the vehicle, and a discharge gun insertion state of the vehicle.
7. The discharge control method for a vehicle according to any one of claims 1, 2, 5 or 6, characterized in that: Also includes: When the vehicle is in a discharging state, obtaining various current state parameters of the vehicle; Determining that any of the current state parameters does not match the start condition corresponding to the current state parameter, controlling the vehicle to stop discharging, and deactivating the switch control; The current state parameter includes at least one of a current state of charge of a battery carried by the vehicle, a current discharge power of the vehicle, a current gear position of the vehicle, and a discharge gun insertion state of the vehicle.
8. A discharge control device for a vehicle, characterized in that: include: A control control module, configured to start a switch control in a target terminal connected to a controller area network of the vehicle in response to a prompt signal prompting the vehicle to complete high voltage power-up; The discharge control module is used to control the vehicle to discharge in response to a trigger signal of the activated switch control.
9. An electronic device comprising a processor and a memory storing a computer program, characterized in that: When the processor executes the computer program, the discharge control method for a vehicle according to any one of claims 1 to 7 is implemented.
10. A vehicle, characterized in that: Comprising the electronic device as claimed in claim 9.
