Vehicle control method and system and computer readable storage medium

By initializing and controlling the latch status of the contactor drive chip and controller LAN chip in the battery management system, and controlling it based on vehicle scene information, the problem of the contactor working together with other external high-voltage components is solved, and the new energy efficiency is improved. Car safety.

CN118528814APending Publication Date: 2024-08-23HONEYCOMB ENERGY TECH (SHANGRAO) CO LTD
View PDF 0 Cites 0 Cited by

Patent Information

Application Number
CN202410848443.X
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2024-06-27
Publication Date
2024-08-23

AI Technical Summary

Technical Problem

Existing technology cannot achieve effective collaborative work between contactors and other external high-voltage components, causing new energy vehicles to lose power or become unstable when the microcontroller is reset unexpectedly, affecting safety.

Method used

In the battery management system, the contactor drive chip and controller LAN chip are initialized to enter the latched state, and control instructions are sent according to the vehicle scene information to ensure that the contactor and controller LAN work together to realize the control of the vehicle. Optimal control.

Benefits of technology

Through the operation of latching and unlocking the state, the maintenance result of the contactor is ensured, and the control is combined with the vehicle scene information to realize the effective cooperation between the contactor and other external high-voltage components and improve the safety of the vehicle.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN118528814A
    Figure CN118528814A
Patent Text Reader

Abstract

The invention discloses a vehicle control method and system and a computer readable storage medium, and belongs to the technical field of vehicle control, and the control method comprises the steps that a contactor driving chip and a controller local area network chip are initialized in response to the situation that a battery management system is awakened by unexpected reset, and the battery management system is awakened by unexpected reset; enabling the contactor driving chip and the controller local area network chip to enter a latch state; in response to the received information meeting the preset judgment condition, performing latch release on the contactor driving chip and the controller local area network chip so as to release the latch state of the contactor driving chip and the controller local area network chip; and in response to the received whole vehicle scene information, a control instruction is sent to the contactor driving chip and the controller local area network chip, so that the contactor and the controller local area network work, and control over the vehicle is completed. Therefore, the maintenance result of the contactor is ensured, the vehicle is controlled in combination with the whole vehicle scene information, effective cooperative work of the contactor and other external high-voltage parts is achieved, and the vehicle safety is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] Embodiments of the present application relate to the field of vehicle control technology, and in particular, to a vehicle control method, system, and computer-readable storage medium. Background Art

[0002] As the main power source of new energy vehicles, high-voltage battery packs are connected to the high-voltage circuit of new energy vehicles through contactors to drive new energy vehicles forward. During the driving process of new energy vehicles, if the microcontroller unit (MCU) in the battery management system (BMS) is reset unexpectedly, the contactor will suddenly disconnect, the contactor contacts will burn or the contactor contacts will stick, causing the new energy vehicle to lose power or unstable power, causing the new energy vehicle to lose control and cause an accident. Therefore, when the microcontroller is reset unexpectedly, it is crucial to keep the contactor according to different scenarios, and cooperate with the external high-voltage components of new energy vehicles such as the battery management system, vehicle control unit (VCU) and motor to achieve optimal control of new energy vehicles.

[0003] At present, high-voltage battery packs usually use holding circuits to control contactors, but this does not allow for effective coordination between contactors and other external high-voltage components, affecting the safety of new energy vehicles. Summary of the invention

[0004] An embodiment of the present application provides a vehicle control method to solve the technical problem in the prior art that the holding circuit cannot achieve effective coordination of contactors and other external high-voltage components, affecting vehicle safety; an embodiment of the present application also provides a vehicle control system; an embodiment of the present application also provides a computer-readable storage medium.

[0005] In order to solve the above technical problems, the embodiments of the present application disclose the following technical solutions:

[0006] In a first aspect, a vehicle control method is provided, which is used for a microcontroller in a battery management system of a vehicle, and controls the vehicle when an unexpected reset occurs in the battery management system. The battery management system also includes a contactor drive chip, a controller area network chip, and a high-voltage acquisition chip electrically connected to the microcontroller, wherein the contactor drive chip is electrically connected to the contactor, the controller area network chip is electrically connected to the controller area network, the high-voltage acquisition chip is electrically connected to the high-voltage acquisition circuit, and the high-voltage acquisition circuit is electrically connected to the contactor. The control method includes:

[0007] In response to the battery management system being awakened by the unexpected reset, initializing the contactor drive chip and the controller area network chip so that the contactor drive chip and the controller area network chip enter a latched state;

[0008] In response to receiving information that meets a preset judgment condition, the contactor drive chip and the controller area network chip are unlocked so that the contactor drive chip and the controller area network chip are unlocked from the latched state;

[0009] In response to receiving the whole vehicle scene information, a control instruction is sent to the contactor drive chip and the controller local area network chip to make the contactor and the controller local area network work and complete the control of the vehicle; the whole vehicle scene information is configured to represent the vehicle being in any one of the whole vehicle scenes of high voltage state under the contactor, driving, stopping, slow charging or fast charging.

[0010] In combination with the first aspect, in response to the battery management system being awakened by the unexpected reset, the step of initializing the contactor drive chip and the controller area network chip so that the contactor and the controller area network enter a latched state includes:

[0011] Obtaining a reset record of the battery management system;

[0012] Based on the reset record, a maintenance instruction is sent to the contactor driving chip to maintain the contactor in a current state, and a cut-off transmission instruction is sent to the controller area network chip to cut off the transmission function of the controller area network;

[0013] A circuit closing instruction is sent to the high voltage acquisition circuit through the high voltage acquisition chip to close the high voltage acquisition circuit.

[0014] In combination with the first aspect, the preset judgment condition includes:

[0015] Receiving an effective high-voltage sample sent by the high-voltage acquisition chip, wherein the effective high-voltage sample is the voltage on both sides of the contactor obtained by the high-voltage acquisition circuit;

[0016] The vehicle scene information sent by the controller local area network chip is received.

[0017] In combination with the first aspect, it also includes:

[0018] In response to the preset judgment condition not being met within the first preset time, a latch maintaining operation is performed to make the contactor driving chip and the controller area network chip maintain the latch state.

[0019] In combination with the first aspect, it also includes:

[0020] In response to the latching maintenance operation being performed for more than a second preset time, executing an abnormal reset initialization completion step to stop the latching state of the contactor driving chip and the controller area network chip;

[0021] The battery management system abnormality instruction is issued to control the entire vehicle to perform risk avoidance operations.

[0022] In combination with the first aspect, it also includes:

[0023] Before the unexpected reset occurs, an emergency command is sent to the vehicle controller electrically connected to the controller area network, so that after the unexpected reset occurs, the vehicle controller controls the motor controller, vehicle charger, voltage conversion controller and air conditioner electrically connected to the controller area network in response to the last frame message.

[0024] In combination with the first aspect, in response to receiving the vehicle scene information, sending a control instruction to the contactor drive chip and the controller area network chip to make the contactor and the controller area network work, the step of completing the control of the vehicle includes:

[0025] In response to the received scene information being the contactor in the low-voltage state, sending a contactor opening instruction to the contactor driving chip, sending a contactor status signal to the controller area network chip, and controlling the on-board charger and the voltage conversion controller electrically connected to the controller area network to stop working;

[0026] In response to the received scene information that the contactor is in a low-voltage state, and the voltage difference between the two sides of the contactor is greater than a preset voltage threshold, a contactor opening instruction is sent to the contactor drive chip, and a high-voltage instruction is sent to the controller area network chip to control the on-board charger and the voltage conversion controller to stop working;

[0027] In response to the received scene information being the slow charge, the upper high voltage request signal sent by the vehicle controller is received, it is identified that the vehicle meets the preset slow charge condition, and the voltage difference between the two sides is less than or equal to the preset voltage threshold, a contactor closing instruction is sent to the contactor drive chip, and a slow charge maintenance instruction is sent to the controller local area network chip;

[0028] In response to the received scene information being fast charging, receiving the upper high voltage request signal, identifying that the vehicle meets the preset fast charging condition, and the voltage difference between the two sides is less than or equal to the preset voltage threshold, sending a contactor closing instruction to the contactor drive chip, and sending a fast charging maintenance instruction to the controller area network chip;

[0029] In response to the received scene information being driving, receiving the upper high voltage request signal, and the voltage difference between the two sides being less than or equal to the preset voltage threshold, sending a contactor closing instruction to the contactor drive chip, and issuing the upper high voltage instruction to the controller local area network chip.

[0030] In combination with the first aspect, it also includes:

[0031] In response to the battery management system being awakened by an action other than the unexpected reset, an activation instruction is sent to the contactor drive chip and the controller area network chip.

[0032] In a second aspect, a vehicle control system is provided, which is used for a microcontroller in a battery management system of the vehicle, and controls the vehicle when an unexpected reset occurs in the battery management system. The battery management system also includes a contactor drive chip, a controller area network chip and a high-voltage acquisition chip electrically connected to the microcontroller, the contactor drive chip is electrically connected to the contactor, the controller area network chip is electrically connected to the controller area network, the high-voltage acquisition chip is electrically connected to the high-voltage acquisition circuit, and the high-voltage acquisition circuit is electrically connected to the contactor. The control system includes:

[0033] A first control unit is configured to initialize the contactor drive chip and the controller area network chip in response to the battery management system being awakened by the unexpected reset, so that the contactor drive chip and the controller area network chip enter a latched state;

[0034] A second control unit is configured to release the latch of the contactor drive chip and the controller area network chip in response to receiving information that meets a preset judgment condition, so that the contactor drive chip and the controller area network chip release the latch state;

[0035] The third control unit is configured to send control instructions to the contactor drive chip and the controller local area network chip in response to receiving the whole vehicle scene information, so that the contactor and the controller local area network work to complete the control of the vehicle; the whole vehicle scene information is configured to characterize the vehicle being in any one of the whole vehicle scenes of high voltage state under the contactor, driving, stopping, slow charging or fast charging.

[0036] According to a third aspect, a computer-readable storage medium is provided, wherein the computer-readable storage medium is used for executing instructions of a computing device, and when the computing device executes the instructions, the method described in one of the first aspects is implemented.

[0037] One of the above technical solutions has the following advantages or beneficial effects:

[0038] Compared with the prior art, the vehicle control method provided by the present application includes: in response to the battery management system being awakened by an unexpected reset, the contactor driver chip and the controller local area network chip are initialized, so that the contactor driver chip and the controller local area network chip enter a latched state; in response to receiving information that meets the preset judgment conditions, the contactor driver chip and the controller local area network chip are unlocked, so that the contactor driver chip and the controller local area network chip are unlocked; in response to receiving the whole vehicle scene information, a control instruction is sent to the contactor driver chip and the controller local area network chip, so that the contactor and the controller local area network work to complete the control of the vehicle; the whole vehicle scene information is configured to represent the vehicle in any one of the whole vehicle scenes of high voltage state under the contactor, driving, stopping, slow charging or fast charging. In this way, by making the contactor driver chip and the controller local area network chip enter a latched state and then unlock the latched state, the retention result of the contactor is ensured, and the vehicle is controlled in combination with the whole vehicle scene information, so that the effective coordination of the contactor and other external high voltage components is achieved, and the vehicle safety is improved.

[0039] The vehicle control system provided in this application has all the technical features and beneficial effects of the above-mentioned vehicle control method, which will not be repeated here.

[0040] The computer-readable storage medium device provided in this application has all the technical features and beneficial effects of the above-mentioned vehicle control method, which will not be repeated here. BRIEF DESCRIPTION OF THE DRAWINGS

[0041] The technical solution and other beneficial effects of the present application will be made apparent by describing in detail the specific implementation methods of the present application in conjunction with the accompanying drawings.

[0042] Figure 1 It is a structural schematic diagram of a battery management system;

[0043] Figure 2 A first flow chart of a vehicle control method provided in an embodiment of the present application;

[0044] Figure 3 A second flow chart of the vehicle control method provided in an embodiment of the present application;

[0045] Figure 4 A schematic flow chart of the initialization step in the vehicle control method provided in an embodiment of the present application. DETAILED DESCRIPTION

[0046] The following will be combined with the drawings in the embodiments of the present application to clearly and completely describe the technical solutions in the embodiments of the present application. In the description of the present application, it is necessary to understand that the orientation or position relationship indicated by the terms "center", "longitudinal", "lateral", "length", "width", "thickness", "up", "down", "front", "back", "left", "right", "vertical", "horizontal", "top", "bottom", "inside", "outside", "clockwise", "counterclockwise", etc. is based on the orientation or position relationship shown in the drawings, which is only for the convenience of describing the present application and simplifying the description, rather than indicating or implying that the device or element referred to must have a specific orientation, be constructed and operated in a specific orientation, and therefore cannot be understood as a limitation to the present application. In addition, the terms "first" and "second" are only used for descriptive purposes, and cannot be understood as indicating or implying relative importance or implicitly indicating the number of technical features indicated. Thus, the features defined as "first" and "second" can explicitly or implicitly include one or more of the features. In the description of the present application, the meaning of "multiple" is two or more, unless otherwise clearly and specifically defined.

[0047] The specific implementation methods of the present application are described below by way of examples:

[0048] See also Figure 1 , Figure 1 The structural schematic diagram of the battery management system is illustrated; the battery management system (BMS) in the embodiment of the present application is first introduced below. The battery management system includes a microcontroller (BMU) for controlling the entire battery management system, and also includes a contactor driver chip, a controller area network (CAN) chip and a high-voltage acquisition chip electrically connected to the microcontroller, the contactor driver chip is electrically connected to the contactor, the controller area network chip is electrically connected to the controller area network (CAN bus), the high-voltage acquisition chip is electrically connected to the high-voltage acquisition circuit, the high-voltage acquisition circuit is electrically connected to the contactor, and the high-voltage acquisition circuit is used to detect the voltage on both sides of the contactor. The battery management system also includes a vehicle controller (VCU) electrically connected to the controller area network. In addition, the controller area network is also electrically connected to other external high-voltage components, including a motor controller (MCU), an on-board charger (OBC), a voltage conversion controller (DCDC) and an air conditioner.

[0049] See also Figure 2 , Figure 2 The first flow chart of the vehicle control method provided by the embodiment of the present application is illustrated. The present application provides a vehicle control method, which is used for a microcontroller in a battery management system of a vehicle, and realizes control of the vehicle when an unexpected reset occurs in the battery management system. The control method includes:

[0050] Step 101, in response to the battery management system being awakened by an unexpected reset, the contactor driver chip and the controller area network chip are initialized, so that the contactor driver chip and the controller area network chip enter a latched state. In the present embodiment, as long as an unexpected reset occurs and the battery management system is awakened, the contactor driver chip and the controller area network chip need to be initialized immediately so that the contactor driver chip and the controller area network chip immediately enter a special latched state.

[0051] See also Figure 4 , Figure 4 The flowchart of the initialization step in the vehicle control method provided in the embodiment of the present application is illustrated. In some embodiments, step 101 includes:

[0052] Step 201, obtaining the reset record of the battery management system; when the battery management system is awakened, the microcontroller should immediately determine whether there is a reset record stored in the internal register, and if a reset record is identified, the reset record is obtained.

[0053] Step 202, based on the reset record, sends a maintenance instruction to the contactor driver chip so that the contactor maintains the current state, and sends a cut-off sending instruction to the controller area network chip so that the controller area network cuts off the sending function. Since the initialization step requires the contactor driver chip and the controller area network chip to enter the latched state, correspondingly, the contactor and the controller area network are also in the corresponding latched state. Therefore, after obtaining the reset record, it is necessary to send a maintenance instruction to the contactor driver chip based on the reset record so that the contactor maintains the current state, and send a cut-off sending instruction to the controller area network chip so that the controller area network cuts off the sending function, and only retains the receiving function to avoid affecting the collection of vehicle information. In addition, if there is no reset record in the register, a normal wake-up message is sent to the contactor driver chip and the controller area network chip, so that the contactor driver chip and the controller area network chip wake up normally without entering the latched state first, thereby realizing the rapid issuance of CAN messages and execution of drive commands through the controller area network.

[0054] Step 203, a circuit closing instruction is sent to the high-voltage acquisition circuit through the high-voltage acquisition chip to close the high-voltage acquisition circuit. In the embodiment of the present application, the high-voltage acquisition chip controls the high-voltage acquisition circuit to collect the voltage on both sides of the contactor to determine the state of the contactor. Specifically, if the contactor is closed, the voltages on both sides of the contactor should be almost equal, and if the contactor is open, there is a large voltage difference between the voltages on both sides of the contactor. Therefore, by sending a circuit closing instruction to the high-voltage acquisition circuit through the high-voltage acquisition chip to close the high-voltage acquisition circuit, the state time of the contactor latch can be reduced as much as possible.

[0055] See also Figure 3, Figure 3 The second flow chart of the vehicle control method provided by the embodiment of the present application is illustrated. In some embodiments, step 102, in response to receiving information that meets the preset judgment conditions, the contactor driver chip and the controller local area network chip are unlocked, so that the contactor driver chip and the controller local area network chip are unlocked; in the embodiment of the present application, the preset judgment conditions include: step 301, receiving the effective high-voltage sampling sent by the high-voltage acquisition chip, the effective high-voltage sampling is the voltage on both sides of the contactor obtained by the high-voltage acquisition circuit; in this way, the microcontroller can judge whether the contactor is maintained and whether the state of the contactor is open or closed through the effective high-voltage sampling. Step 302, receiving the whole vehicle scene information sent by the controller local area network chip, in the embodiment of the present application, the whole vehicle scene information is determined according to the CAN message sent by the whole vehicle controller. Specifically, if the preset judgment conditions in step 301 and step 302 are met, it means that the microcontroller has collected complete information and can clearly know the current contactor status and vehicle scene information. On this basis, the contactor driver chip and the controller LAN chip are unlocked, and corresponding signals are sent to the contactor driver chip and the controller LAN chip to unlock the latched state of the contactor driver chip and the controller LAN chip.

[0056] In some embodiments, the control method further includes: step 303, in response to the preset judgment condition not being met within the first preset time, executing a latch maintenance operation to maintain the contactor driver chip and the controller area network chip in a latched state. Specifically, the first preset time is determined according to the duration of supporting the vehicle to park by the side of the road, for example, the first preset time is 2.5 to 10 seconds, thereby maintaining the latch state of the contactor driver chip and the controller area network chip, and further maintaining the transmission of the contactor and the controller area network chip in a latched state.

[0057] In some embodiments, the control method further includes: step 304, in response to the latch maintenance operation being executed for more than the second preset time, executing the abnormal reset initialization completion step, so that the contactor driver chip and the controller local area network chip stop the latched state; step 305, issuing an abnormal instruction of the battery management system to control the whole vehicle to perform a risk avoidance operation. Specifically, the second preset time is also determined according to the duration of supporting the vehicle to pull over. For example, the second preset time is 2.5 to 10 seconds, so that the vehicle has enough time to pull over. At this time, the risk avoidance operation includes sending an abnormal reset initialization completion instruction to the contactor driver chip and the controller local area network chip, so that the contactor driver chip and the controller local area network chip stop the latched state, and sending an emergency stop instruction to the battery management system to park the vehicle safely by the side of the road, and contact after-sales maintenance.

[0058] In some embodiments, the control method further includes: step 104, before an unexpected reset occurs, an emergency instruction is sent to the vehicle controller electrically connected to the controller area network, so that after the unexpected reset occurs, the vehicle controller responds to the last frame message to control the motor controller, the on-board charger, the voltage conversion controller and the air conditioner electrically connected to the controller area network. That is, since the vehicle controller has not received the message from the battery management system, the motor controller, the on-board charger, the voltage conversion controller and the air conditioner should be controlled according to the last frame of valid message in the message previously received by the vehicle controller, thereby minimizing the abnormality of the vehicle. At the same time, since the battery management system does not need to write the information of the previous state into the memory (NVM) when resetting, the last frame of valid message is recorded by the normally working vehicle controller to achieve the continuation of the battery pack data before and after the abnormality, so as to avoid the abnormal scenario where the battery management system fails to write to the memory and improve the life of the microcontroller.

[0059] Step 103, in response to receiving the vehicle scene information, a control instruction is sent to the contactor driver chip and the controller area network chip, so that the contactor and the controller area network work to complete the control of the vehicle; the vehicle scene information is configured to represent any vehicle scene of the vehicle being in a high-voltage state under the contactor, driving, stopping, slow charging or fast charging. In this way, by making the contactor driver chip and the controller area network chip enter the latched state and then release the latched state, the retention result of the contactor is ensured, and the vehicle is controlled in combination with the vehicle scene information, so that the contactor and other external high-voltage components can work effectively together to improve vehicle safety.

[0060] In some embodiments, in response to receiving the whole vehicle scene information, a control instruction is sent to the contactor driver chip and the controller area network chip to make the contactor and the controller area network work, and step 103 of completing the control of the vehicle includes: step 401, in response to the received scene information being the contactor lower high voltage state, a contactor opening instruction is sent to the contactor driver chip, a contactor state signal is sent to the controller area network chip, and the on-board charger and voltage conversion controller electrically connected to the controller area network are controlled to stop working; in this way, undervoltage is avoided, resulting in false undervoltage faults of high-voltage components. In the embodiment of the present application, the upper high voltage state refers to the contactor being closed, and the lower high voltage state refers to the contactor being open.

[0061] Step 402, in response to the received scene information that the contactor is in the lower high-voltage state, and the voltage difference between the two sides of the contactor is greater than the preset voltage threshold, a contactor opening instruction is sent to the contactor driver chip, and a high-voltage instruction is sent to the controller local area network chip to control the on-board charger and the voltage conversion controller to stop working; specifically, this indicates that the contactor holding circuit has failed and is not maintained, and the high-voltage state needs to be re-executed. Therefore, the vehicle controller should stop the load work of the external high-voltage components to respond normally to the pre-charge high-voltage instruction issued by the microcontroller and start the normal power-on process. Avoid problems such as pre-charge resistor ablation caused by pre-charge overcurrent or excessive pre-charge current, and improve vehicle safety. Specifically, the preset voltage threshold is determined according to the internal voltage of the contactor. For example, the preset voltage threshold is 2.5-3.5% of the internal voltage of the contactor.

[0062] Step 403, in response to the received scene information being slow charging, receiving the upper high voltage request signal from the vehicle controller, identifying that the vehicle meets the preset slow charging conditions, and the voltage difference between the two sides is less than or equal to the preset voltage threshold, sending a contactor closing instruction to the contactor driver chip, and sending a slow charging maintenance instruction to the controller LAN chip; at this time, it is equivalent to the battery management system being reset in the slow charging scenario, and the contactor holding circuit is maintained. If the vehicle controller cannot receive a signal from the microcontroller during the battery management system reset process, it will control the slow charging according to the last frame of valid signals that have been received, and will wait until the battery management system is reset and reset successfully to wake up, and then it will be controlled by the microcontroller, thereby ensuring that the slow charging function is not affected.

[0063] Step 404, in response to the received scene information being fast charging, receiving the upper high voltage request signal, identifying that the vehicle meets the preset fast charging conditions, and the voltage difference between the two sides is less than or equal to the preset voltage threshold, sending a contactor closing instruction to the contactor driver chip, and sending a fast charging maintenance instruction to the controller LAN chip; referring to the slow charging process, and taking into account that there will be message interaction between fast charging and the fast charging state, and that fast charging has a certain fast charging timeout time (for example, 4 to 6s), and the first preset time and the second preset time in step 303 and step 305 are much lower than the fast charging timeout time, then if the abnormal situations in step 303 and step 305 occur, fast charging will also be exited before the end of the fast charging timeout time to ensure vehicle safety.

[0064] Step 405, in response to the received scene information being driving, receiving a high voltage request signal, and the voltage difference between the two sides being less than or equal to the preset voltage threshold, a contactor closing instruction is sent to the contactor driver chip, and a high voltage instruction is sent to the controller local area network chip. At this time, the battery management system is reset during the driving process of the vehicle, and the vehicle is in the high voltage state, and the contactor holding circuit is successfully maintained. Therefore, the vehicle controller controls the motor controller according to the effective message of the optimal frame to make the motor work and drive the vehicle to drive normally.

[0065] In some embodiments, the control method also includes: step 105, in response to the battery management system being awakened by an action other than an unexpected reset, sending an activation instruction to the contactor driver chip and the controller local area network chip, directly activating the contactor and the controller local area network, and avoiding affecting the sending time of the first frame CAN message of the normal battery management system awakening.

[0066] Compared with the prior art, the present application determines whether the holding circuit is successfully held based on the contactor holding circuit combined with the vehicle scene information and the battery management system, thereby minimizing the impact on the entire vehicle, allowing the vehicle to maintain maximum driving ability without the customer noticing. If an abnormality occurs and the holding circuit is not held, the vehicle's power output can be restored as soon as possible without damaging external high-voltage components or interfering with other external high-voltage components to report faults, thereby improving vehicle driving safety.

[0067] Accordingly, an embodiment of the present application provides a control system for a vehicle, a microcontroller in a battery management system of the vehicle, which realizes control of the vehicle when the battery management system is unexpectedly reset. The battery management system also includes a contactor driver chip, a controller local area network chip and a high-voltage acquisition chip electrically connected to the microcontroller, the contactor driver chip is electrically connected to the contactor, the controller local area network chip is electrically connected to the controller local area network, the high-voltage acquisition chip is electrically connected to the high-voltage acquisition circuit, and the high-voltage acquisition circuit is electrically connected to the contactor. The control system includes a first control unit, a second control unit and a third control unit; wherein the first control unit is configured to respond to the battery management system being awakened by an unexpected reset, and to awaken the contactor The first control unit is configured to initialize the contactor driver chip and the controller area network chip, so that the contactor driver chip and the controller area network chip enter a latched state; the second control unit is configured to, in response to receiving information that meets the preset judgment conditions, unlock the contactor driver chip and the controller area network chip, so that the contactor driver chip and the controller area network chip are unlocked; the third control unit is configured to, in response to receiving the whole vehicle scene information, send a control instruction to the contactor driver chip and the controller area network chip, so that the contactor and the controller area network work to complete the control of the vehicle; the whole vehicle scene information is configured to represent any one of the whole vehicle scenes of the vehicle being in a high voltage state under the contactor, driving, stopping, slow charging or fast charging.

[0068] The vehicle control system provided in this application has all the technical features and beneficial effects of the above-mentioned vehicle control method, which will not be repeated here.

[0069] Accordingly, an embodiment of the present application provides a computer-readable storage medium, which is used for instructions executed by a computing device. When the computing device executes the instructions, it implements a method as described in any one of the above embodiments.

[0070] The computer-readable storage medium device provided in this application has all the technical features and beneficial effects of the above-mentioned vehicle control method, which will not be repeated here.

[0071] The above is a detailed introduction to a vehicle control method, system and computer-readable storage medium provided in the embodiments of the present application. Specific examples are used in this article to illustrate the principles and implementation methods of the present application. The description of the above embodiments is only used to help understand the technical solutions and core ideas of the present application. Ordinary technicians in this field should understand that they can still modify the technical solutions recorded in the aforementioned embodiments, or replace some of the technical features therein with equivalents; and these modifications or replacements do not make the essence of the corresponding technical solutions deviate from the scope of the technical solutions of the embodiments of the present application.

Claims

1. A vehicle control method, characterized in that: A microcontroller in a battery management system for a vehicle, which controls the vehicle when the battery management system is unexpectedly reset, wherein the battery management system further comprises a contactor drive chip, a controller area network chip and a high-voltage acquisition chip electrically connected to the microcontroller, wherein the contactor drive chip is electrically connected to the contactor, the controller area network chip is electrically connected to the controller area network, the high-voltage acquisition chip is electrically connected to the high-voltage acquisition circuit, and the high-voltage acquisition circuit is electrically connected to the contactor, and the control method comprises: In response to the battery management system being awakened by the unexpected reset, initializing the contactor drive chip and the controller area network chip so that the contactor and the controller area network enter a latched state; In response to receiving information that meets a preset judgment condition, the contactor drive chip and the controller area network chip are unlocked, so that the contactor and the controller area network are unlocked from the latched state; In response to receiving the whole vehicle scene information, a control instruction is sent to the contactor drive chip and the controller local area network chip to make the contactor and the controller local area network work and complete the control of the vehicle; the whole vehicle scene information is configured to represent the vehicle being in any one of the whole vehicle scenes of high voltage state under the contactor, driving, stopping, slow charging or fast charging.

2. The vehicle control method according to claim 1, characterized in that: In response to the battery management system being awakened by the unexpected reset, the step of initializing the contactor drive chip and the controller area network chip to put the contactor and the controller area network into a latched state includes: Obtaining a reset record of the battery management system; Based on the reset record, a maintenance instruction is sent to the contactor driving chip to maintain the contactor in a current state, and a cut-off transmission instruction is sent to the controller area network chip to cut off the transmission function of the controller area network; A circuit closing instruction is sent to the high voltage acquisition circuit through the high voltage acquisition chip to close the high voltage acquisition circuit.

3. The vehicle control method according to claim 1, characterized in that: The preset judgment conditions include: Receiving an effective high-voltage sample sent by the high-voltage acquisition chip, wherein the effective high-voltage sample is the voltage on both sides of the contactor obtained by the high-voltage acquisition circuit; The vehicle scene information sent by the controller local area network chip is received.

4. The vehicle control method according to claim 3, characterized in that: Also includes: In response to the preset judgment condition not being met within the first preset time, a latch maintaining operation is performed to make the contactor driving chip and the controller area network chip maintain the latch state.

5. The vehicle control method according to claim 4, characterized in that: Also includes: In response to the latching maintenance operation being performed for more than a second preset time, executing an abnormal reset initialization completion step to stop the latching state of the contactor driving chip and the controller area network chip; The battery management system abnormality instruction is issued to control the entire vehicle to perform risk avoidance operations.

6. The vehicle control method according to claim 5, characterized in that: Also includes: Before the unexpected reset occurs, an emergency command is sent to the vehicle controller electrically connected to the controller area network, so that after the unexpected reset occurs, the vehicle controller controls the motor controller, vehicle charger, voltage conversion controller and air conditioner electrically connected to the controller area network in response to the last frame message.

7. The vehicle control method according to claim 1, characterized in that: In response to receiving the vehicle scene information, a control instruction is sent to the contactor drive chip and the controller area network chip to make the contactor and the controller area network work, and the step of completing the control of the vehicle includes: In response to the received scene information being the contactor in the low-voltage state, sending a contactor opening instruction to the contactor driving chip, sending a contactor status signal to the controller area network chip, and controlling the on-board charger and the voltage conversion controller electrically connected to the controller area network to stop working; In response to the received scene information that the contactor is in a low-voltage state, and the voltage difference between the two sides of the contactor is greater than a preset voltage threshold, a contactor opening instruction is sent to the contactor drive chip, and a high-voltage instruction is sent to the controller area network chip to control the on-board charger and the voltage conversion controller to stop working; In response to the received scene information being the slow charge, the upper high voltage request signal sent by the vehicle controller is received, it is identified that the vehicle meets the preset slow charge condition, and the voltage difference between the two sides is less than or equal to the preset voltage threshold, a contactor closing instruction is sent to the contactor drive chip, and a slow charge maintenance instruction is sent to the controller local area network chip; In response to the received scene information being fast charging, receiving the upper high voltage request signal, identifying that the vehicle meets the preset fast charging condition, and the voltage difference between the two sides is less than or equal to the preset voltage threshold, sending a contactor closing instruction to the contactor drive chip, and sending a fast charging maintenance instruction to the controller area network chip; In response to the received scene information being driving, receiving the upper high voltage request signal, and the voltage difference between the two sides being less than or equal to the preset voltage threshold, sending a contactor closing instruction to the contactor drive chip, and issuing the upper high voltage instruction to the controller area network chip.

8. The vehicle control method according to claim 1, characterized in that: Also includes: In response to the battery management system being awakened by an action other than the unexpected reset, an activation instruction is sent to the contactor drive chip and the controller area network chip.

9. A vehicle control system, characterized in that: A microcontroller in a battery management system for a vehicle, which controls the vehicle when an unexpected reset occurs in the battery management system. The battery management system also includes a contactor drive chip, a controller area network chip, and a high-voltage acquisition chip electrically connected to the microcontroller. The contactor drive chip is electrically connected to the contactor, the controller area network chip is electrically connected to the controller area network, the high-voltage acquisition chip is electrically connected to the high-voltage acquisition circuit, and the high-voltage acquisition circuit is electrically connected to the contactor. The control system includes: A first control unit is configured to initialize the contactor drive chip and the controller area network chip in response to the battery management system being awakened by the unexpected reset, so that the contactor drive chip and the controller area network chip enter a latched state; A second control unit is configured to release the latch of the contactor drive chip and the controller area network chip in response to receiving information that meets a preset judgment condition, so that the contactor drive chip and the controller area network chip release the latch state; The third control unit is configured to send control instructions to the contactor drive chip and the controller local area network chip in response to receiving the whole vehicle scene information, so that the contactor and the controller local area network work to complete the control of the vehicle; the whole vehicle scene information is configured to characterize the vehicle being in any one of the whole vehicle scenes of high voltage state under the contactor, driving, stopping, slow charging or fast charging.

10. A computer-readable storage medium, characterized in that: The computer-readable storage medium is used for instructions executed by a computing device, and when the computing device executes the instructions, the method according to any one of claims 1 to 8 is implemented.