Vehicle control unit reset control method and device, vehicle and storage medium
By generating a second control message based on the status signal message and the stored first control message after the vehicle controller is reset, the problem of inconsistent states after the vehicle is reset is solved and the driving safety of the vehicle is improved.
Patent Information
- Application Number
- CN202410838991.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2024-10-15
- Estimated Expiration
- 2044-06-26
AI Technical Summary
In the existing technology, the vehicle status after the vehicle controller is reset is inconsistent with the vehicle status before the reset, resulting in unsafe driving of the vehicle.
When the vehicle controller is reset, it receives and stores the first control message before reset, and generates a second control message based on the received status signal message and the first control message after reset, ensuring that the sent control message The text conforms to the actual status of the vehicle, thereby preventing the vehicle from being uncontrolled.
It improves the driving safety of the vehicle, ensures that the vehicle is in a consistent state after reset, avoids uncontrollable situations, and enhances driving safety.
Smart Images

Figure CN118778600A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle control technology, and in particular to a whole vehicle controller reset control method, device, vehicle and storage medium. Background Art
[0002] During the normal operation of the vehicle, the vehicle electronic control unit (VECU) may be reset due to a software or hardware system failure, which may cause the message information transmitted through the vehicle network (CAN / CANFD / Ethernet, etc.) to be interrupted during the process of the vehicle controller being reset and restored to normal state. The vehicle will lose power and the vehicle will be powered off. The vehicle controller cannot get fault information feedback and matching solutions. During the normal driving of the vehicle, once the vehicle controller is reset, it will have a great impact on the vehicle's drivability and safety, and even threaten the driver's life.
[0003] In order to avoid the above situation, patent CN113759872A discloses a processing method after controller reset, which saves certain key parameters (reset reason, PTReady, cruise status, vehicle power-on and power-off status, etc.) in a non-volatile random access memory when the vehicle controller is set to operate normally, so that after the vehicle controller is reset and restored, it can directly enter the state before the fault occurs, without having to go through the vehicle power-on process again, and can ensure that the signals received by other controllers do not jump, so as to ensure that the vehicle status does not change during this period, and ensure that the vehicle's drivability is basically unaffected while reducing safety risks. However, the above patent does not take into account that there may be inconsistencies in the vehicle status after the vehicle controller is reset and reset. Directly reading the key parameters stored before the reset may cause the actual state of the vehicle to be inconsistent with the control strategy, causing the vehicle to be uncontrollable, which has a great impact on vehicle safety.
[0004] Therefore, there is an urgent need to provide a vehicle controller reset control method, device, vehicle and storage medium to improve the consistency of the vehicle state before and after the vehicle controller is reset, so as to improve the driving safety of the vehicle. Summary of the invention
[0005] In view of this, it is necessary to provide a vehicle controller reset control method, device, vehicle and storage medium to solve the technical problem in the prior art of directly reading key parameters before reset, resulting in inconsistency between the actual vehicle state and control strategy, and thus causing unsafe driving.
[0006] On the one hand, in order to solve the above technical problems, the present invention provides a vehicle controller reset control method, comprising: When the vehicle controller is reset, the target controller receives the first control message stored by the vehicle controller before the reset occurs; When the vehicle controller is reset, the vehicle controller receives the status signal message of the target controller, generates a second control message based on the status signal message and the first control message, and sends the second control message to the target controller.
[0007] In a possible implementation, the vehicle controller reset control method further includes: Determining whether the target controller has received the instruction message sent by the vehicle controller; When the target controller does not receive the instruction message sent by the vehicle controller, determine whether the duration for which the target controller does not receive the instruction message sent by the vehicle controller is less than or equal to a preset duration; When the time duration is less than or equal to the preset time duration, the vehicle controller is reset.
[0008] In a possible implementation, the preset time length is greater than or equal to the self-reset time length of the vehicle controller.
[0009] In a possible implementation manner, the generating a second control message based on the status signal message and the first control message includes: Determine, in the first control message, a first type of control message having the same physical quantity as that represented by the status signal message and a second type of control message having a different physical quantity than that represented by the status signal message; Determining whether the status signal message and the first type of control message are consistent; When the status signal message and the first type of control message are inconsistent, the status signal message and the second type of control message are logically processed based on a preset priority to generate the second control message.
[0010] In a possible implementation, the vehicle controller reset control method further includes: When the vehicle controller is reset, the motor controller does not receive the first control message; When the vehicle controller is reset, the vehicle controller obtains the power control message in the first control message, and sends the power control message to the motor controller to restore the power control of the motor controller.
[0011] In a possible implementation, the vehicle controller reset method further includes: When the vehicle controller is reset, the vehicle controller obtains the driver's operation status message, generates a comprehensive power control message based on the driver's operation status message and the power control message, and sends the power control message to the motor controller to restore power control of the motor controller.
[0012] In a possible implementation, the power control message includes a vehicle cruise status message, a cruise setting speed message, and an auxiliary brake gear message; the driver operation status message includes an accelerator pedal status message and a brake pedal status message.
[0013] On the other hand, the present invention also provides a vehicle controller reset control device, comprising: A reset control unit, used for, when the vehicle controller is reset, the target controller receives the first control message stored in the vehicle controller before the reset occurs; A post-reset control unit is used for, when the vehicle controller is reset, the vehicle controller receives the status signal message of the target controller, generates a second control message based on the status signal message and the first control message, and sends the second control message to the target controller.
[0014] In another aspect, the present invention further provides a vehicle, comprising a memory and a processor, wherein: The memory is used to store programs; The processor is coupled to the memory and is used to execute the program stored in the memory to implement the steps in the vehicle controller reset control method described in any one of the possible implementations above.
[0015] On the other hand, the present invention also provides a computer-readable storage medium, on which a program or instruction is stored. When the program or instruction is executed by a processor, the steps in the vehicle controller reset control method described in any possible implementation method mentioned above are implemented.
[0016] The beneficial effect of the present invention is that the vehicle controller reset control method provided by the present invention generates a second control message based on the received state signal message of the target controller and the first control message stored before the vehicle controller is reset, and controls the target controller through the second control message. That is, after the vehicle controller is reset, the vehicle state (state signal message) is synchronously identified in addition to reading the stored first control message, so that after the vehicle controller is reset, the second control message sent is more consistent with the actual state of the vehicle, avoiding the situation where the vehicle is out of control, and improving the driving safety of the vehicle. BRIEF DESCRIPTION OF THE DRAWINGS
[0017] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on these drawings without creative work.
[0018] Figure 1 A schematic flow chart of an embodiment of a vehicle controller reset control method provided by the present invention; Figure 2 A schematic flow chart of an embodiment of the present invention for determining whether the vehicle controller is reset before step S101; Figure 3 For the present invention Figure 1 A schematic flow chart of an embodiment of generating a second control message based on the state signal message and the first control message in step S102; Figure 4 A schematic diagram of a flow chart of an embodiment of the present invention for controlling a motor controller during and after resetting; Figure 5 A schematic diagram of a specific embodiment of the vehicle controller reset method provided by the present invention; Figure 6 A schematic structural diagram of an embodiment of a vehicle controller reset control device provided by the present invention; Figure 7 A schematic structural diagram of an embodiment of a vehicle provided by the present invention. DETAILED DESCRIPTION
[0019] The following will be combined with the drawings in the embodiments of the present invention to clearly and completely describe the technical solutions in the embodiments of the present invention. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those skilled in the art without creative work are within the scope of protection of the present invention.
[0020] It should be understood that the schematic drawings are not drawn to scale. The flowchart used in the present invention shows the operations implemented according to some embodiments of the present invention. It should be understood that the operations of the flowchart can be implemented out of order, and the steps without logical context can be reversed in order or implemented simultaneously. In addition, those skilled in the art, under the guidance of the content of the present invention, can add one or more other operations to the flowchart, and can also remove one or more operations from the flowchart. Some of the block diagrams shown in the accompanying drawings are functional entities, which do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in software form, or in one or more hardware modules or integrated circuits, or in different networks and / or processor systems and / or microcontroller systems.
[0021] Reference to an "embodiment" herein means that a particular feature, structure, or characteristic described in conjunction with the embodiment may be included in at least one embodiment of the present invention. The appearance of the phrase in various places in the specification does not necessarily refer to the same embodiment, nor is it an independent or alternative embodiment that is mutually exclusive with other embodiments. It is explicitly and implicitly understood by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0022] The vehicle controller is one of the key components of the vehicle. As the upper management unit of the vehicle's electrical control, it is responsible for coordinating and controlling the controllers of key components of various systems of the vehicle, such as: battery management system, motor control system, electric power steering system, electronic brake system, air conditioning and heating system, on-board charger, etc. During the driving process of the vehicle, various software or hardware problems may occur, which may cause the vehicle controller to reset. Therefore, in the process of resetting the vehicle controller to restoring normal operation, the messages sent to other vehicle controllers through the network may be interrupted or changed. When this happens, the vehicle will appear to lose power, affecting the normal operation of the vehicle. In order to solve this technical problem, the present invention provides a vehicle controller reset control method, device, vehicle and storage medium, which are described below.
[0023] Figure 1 A schematic flow chart of an embodiment of the vehicle controller reset control method provided by the present invention is shown in FIG. Figure 1 As shown, the vehicle controller reset control method includes: S101, when the vehicle controller is reset, the target controller receives a first control message stored by the vehicle controller before the reset occurs; S102: After the vehicle controller is reset, the vehicle controller receives a status signal message from the target controller, generates a second control message based on the status signal message and the first control message, and sends the second control message to the target controller.
[0024] Among them, the first control message is a control message during normal driving before the vehicle controller is reset.
[0025] It should be noted that: since the first control message needs to be called after the reset, the storage area of the first control message does not disappear with the reset of the vehicle controller. Specifically, the storage area of the first control message is a non-volatile storage unit.
[0026] The first control message includes but is not limited to vehicle steering, mode and wind speed of the air conditioning and heating system, vehicle gear position, etc.
[0027] In some embodiments of the present invention, the target controller includes a battery management system (BMS) and a high-voltage power distribution unit (PDU); the status signal message includes a battery relay status message and a high-voltage power distribution relay status.
[0028] Compared with the prior art, the vehicle controller reset control method provided in the embodiment of the present invention generates a second control message based on the received state signal message of the target controller and the first control message stored before the vehicle controller is reset, and controls the target controller through the second control message. That is, after the vehicle controller is reset, the vehicle state (state signal message) is synchronously identified in addition to reading the stored first control message, so that after the vehicle controller is reset, the second control message sent is more consistent with the actual state of the vehicle, avoiding the situation where the vehicle is out of control, and improving the driving safety of the vehicle.
[0029] In order to avoid the technical problem that the vehicle controller fails to reset successfully for a long time, causing the vehicle to lose power for a long time, and then causing the vehicle to be unsafe to drive, in some embodiments of the present invention, such as Figure 2 As shown, before step S101, the vehicle controller reset control method further includes: S201, determining whether the target controller has received an instruction message sent by the vehicle controller; S202: When the target controller does not receive the instruction message sent by the vehicle controller, determine whether the duration for which the target controller does not receive the instruction message sent by the vehicle controller is less than or equal to a preset duration Xms; S203: When the duration is less than or equal to the preset duration Xms, the vehicle controller is reset.
[0030] The embodiment of the present invention presets a time length and regards the time range less than the preset time as the time when the vehicle controller is reset. This limits the time for resetting the vehicle controller, avoids the vehicle controller not being reset for a long time, and further improves driving safety.
[0031] It should be noted that when the time is longer than the preset time, the timeout strategy is executed. For example, when performing operations such as power off, the timeout strategy of different target controllers is different. The timeout strategy is a strategy set in advance.
[0032] It should also be noted that the preset duration should be set according to the self-reset duration of the vehicle controller.
[0033] In a specific embodiment of the present invention, the preset time length is greater than or equal to the self-reset time length, that is, a time exceeding the self-reset time length is reserved to wait for the vehicle controller to reset, thereby providing a time margin for resetting the vehicle controller.
[0034] It should be understood that the purpose of setting the second control message based on the state signal message and the first control message in step S102 is to avoid the problem of the vehicle being out of control due to sending an erroneous message when there is a conflict between the state signal message and the first control message. Therefore, in some embodiments of the present invention, such as Figure 3 As shown, generating the second control message based on the state signal message and the first control message in step S102 includes: S301, determining a first type of control message having the same physical quantity as that represented by the status signal message and a second type of control message having a different physical quantity represented by the status signal message in the first control message; S302, determining whether the status signal message and the first type of control message are consistent; S303: When the status signal message and the first type of control message are inconsistent, the status signal message and the second type of control message are logically processed based on a preset priority to generate a second control message.
[0035] Specifically, the state signal message is closer to the current running state of the vehicle, so the priority of the state signal message is higher than the priority of the first type of control message. That is, in the embodiment of the present invention, when the state signal message and the first control message conflict, the state signal message received after the vehicle controller is reset is used as the basis to generate the second control message, so that the second control message is closer to the current running state of the vehicle.
[0036] It should be understood that: when the status signal message is consistent with the first type of control message, the status signal message and the first control message are logically judged and sent out to obtain a second control message, which includes all message information in the status signal message and the first type of control message.
[0037] The first control message includes the total mileage, fuel consumption, etc., and the status signal message includes the current status of each target controller.
[0038] In an actual application scenario, if the power state is acceleration before the vehicle controller is reset, if the motor controller also controls the motor according to this power state during the vehicle controller reset process, it will cause uncontrollable acceleration of the vehicle. Similarly, the same is true for deceleration. In order to avoid the adverse effects of uncontrollable acceleration and deceleration, in some embodiments of the present invention, such as Figure 4 As shown, the vehicle controller reset control method also includes: S401: When the vehicle controller is reset, the motor controller does not receive the first control message; S402: After the vehicle controller is reset, the vehicle controller obtains the power control message in the first control message, and sends the power control message to the motor controller to restore power control of the motor controller.
[0039] The embodiment of the present invention is configured such that when the vehicle controller is reset, the motor controller does not receive the first control message like the target controller, that is, when the vehicle controller is reset, the motor controller is not controlled to perform any power control, thereby avoiding uncontrollable acceleration and deceleration, and further improving the driving safety of the vehicle. After the vehicle controller is reset, the power control message is obtained from the first control message, and the power control of the motor controller is restored based on the power control message, so that the normal operation of the motor controller can be achieved after the vehicle controller is reset.
[0040] Taking into account that the driver's operating intention may have changed compared to before the vehicle controller is reset after the vehicle controller is reset, in order to adapt to this actual scenario, in some embodiments of the present invention, after the vehicle controller is reset, the vehicle controller obtains the driver's operation status message, and generates a comprehensive power control message based on the driver's operation status message and the power control message, and sends the power control message to the motor controller to restore power control of the motor controller.
[0041] The embodiment of the present invention generates a comprehensive power control message based on the driver's operation status message and the power control message. During the control process of the motor controller after the vehicle controller is reset, the driver's intention is taken into consideration, the driver's intention can be executed imperceptibly, and the driving experience is improved.
[0042] In a specific embodiment of the present invention, the power control message includes a vehicle cruise status message, a cruise setting speed message, and an auxiliary brake gear message; the driver operation status message includes an accelerator pedal status message and a brake pedal status message.
[0043] To further illustrate the vehicle controller reset control method proposed by the present invention, Figure 5As shown in the figure, when the vehicle controller is reset, the vehicle controller will stop sending messages. At this time, except for the motor controller, the target controllers that communicate with the vehicle controller will maintain the control instructions sent by the vehicle controller at the last moment for a preset period of time, and the motor controller will maintain a state of no torque output. The vehicle maintains a high-voltage power-on state to ensure that there are no abnormalities in the steering and braking of the vehicle, and to ensure that the vehicle is as safe and controllable as possible. After the vehicle controller completes the reset recovery, it will not send messages first to avoid interfering with the vehicle maintaining the previous state. After receiving the current state of the vehicle sent by other controllers, it will send corresponding messages according to the current state to maintain the current high-voltage power-on state of the vehicle.
[0044] In order to better implement the vehicle controller reset control method in the embodiment of the present invention, based on the vehicle controller reset control method, the embodiment of the present invention also provides a vehicle controller reset control device, such as Figure 6 As shown, the vehicle controller reset control device 600 includes: The reset control unit 601 is used for, when the vehicle controller is reset, the target controller receives the first control message stored by the vehicle controller before the reset occurs; The post-reset control unit 602 is used for the vehicle controller to receive the status signal message of the target controller after the vehicle controller is reset, generate a second control message based on the status signal message and the first control message, and send the second control message to the target controller.
[0045] The vehicle controller reset control device 600 provided in the embodiment of the present invention, by setting a post-reset control unit 602, realizes that after the vehicle controller is reset, in addition to reading the stored first control message, the vehicle status (status signal message) is synchronously identified, so that after the vehicle controller is reset, the second control message sent is more consistent with the actual status of the vehicle, avoiding the situation where the vehicle is out of control, and improving the driving safety of the vehicle.
[0046] In order to avoid the technical problem that the vehicle controller is not reset for a long time, causing driving unsafe, in some embodiments of the present invention, Figure 6 As shown, the vehicle controller reset control device further includes a reset judgment unit 603, and the reset judgment unit 603 is used to: Determine whether the target controller has received the indication message sent by the vehicle controller; when the target controller has not received the indication message sent by the vehicle controller, determine whether the duration for which the target controller has not received the indication message sent by the vehicle controller is less than or equal to the preset duration; when the duration is less than or equal to the preset duration, the vehicle controller is reset.
[0047] The embodiment of the present invention presets a time length and regards the time range less than the preset time as the time when the vehicle controller is reset. This limits the time for resetting the vehicle controller, avoids the vehicle controller not being reset for a long time, and further improves driving safety.
[0048] It should be noted that when the time is longer than the preset time, the timeout strategy is executed. For example, when performing operations such as power off, the timeout strategy of different target controllers is different. The timeout strategy is a strategy set in advance.
[0049] It should also be noted that the preset duration should be set according to the self-reset duration of the vehicle controller.
[0050] In a specific embodiment of the present invention, the preset time length is greater than or equal to the self-reset time length, that is, a time exceeding the self-reset time length is reserved to wait for the vehicle controller to reset, thereby providing a time margin for resetting the vehicle controller.
[0051] If the motor controller is set to synchronously receive the stored first control message during the vehicle controller reset process, it will cause uncontrollable acceleration and deceleration of the vehicle, resulting in unsafe driving. In order to solve this technical problem, in some embodiments of the present invention, such as Figure 6 As shown, the vehicle controller reset control device 600 also includes: The motor reset control unit 604 is used for preventing the motor controller from receiving the first control message when the vehicle controller is reset; The motor reset control unit 605 is used for the vehicle controller to obtain the power control message in the first control message after the vehicle controller is reset, and send the power control message to the motor controller to restore the power control of the motor controller.
[0052] The embodiment of the present invention is configured such that when the vehicle controller is reset, the motor controller does not receive the first control message like the target controller, that is, when the vehicle controller is reset, the motor controller is not controlled to perform any power control, thereby avoiding uncontrollable acceleration and deceleration, and further improving the driving safety of the vehicle. After the vehicle controller is reset, the power control message is obtained from the first control message, and the power control of the motor controller is restored based on the power control message, so that the normal operation of the motor controller can be achieved after the vehicle controller is reset.
[0053] Furthermore, considering the influence of the driver's intention on the power control after the vehicle controller is reset, in some embodiments of the present invention, the control unit 605 after the motor is reset is specifically used to: When the vehicle controller is reset, the vehicle controller obtains the driver's operation status message, generates a comprehensive power control message based on the driver's operation status message and the power control message, and sends the power control message to the motor controller to restore power control of the motor controller.
[0054] The embodiment of the present invention generates a comprehensive power control message based on the driver's operation status message and the power control message. During the control process of the motor controller after the vehicle controller is reset, the driver's intention is taken into consideration, the driver's intention can be executed imperceptibly, and the driving experience is improved.
[0055] In a specific embodiment of the present invention, the power control message includes a vehicle cruise status message, a cruise setting speed message, and an auxiliary brake gear message; the driver operation status message includes an accelerator pedal status message and a brake pedal status message.
[0056] The vehicle controller reset control device 600 provided in the above embodiment can implement the technical solution described in the above vehicle controller reset control method embodiment. The specific implementation principles of the above modules or units can refer to the corresponding contents in the above vehicle controller reset control method embodiment, which will not be repeated here.
[0057] like Figure 7 As shown, the present invention also provides a vehicle 700. The vehicle 700 includes a processor 701, a memory 702 and a display 703. Figure 7 Only some of the components of vehicle 700 are shown, but it should be understood that implementation of all of the components shown is not a requirement, and more or fewer components may alternatively be implemented.
[0058] In some embodiments, the processor 701 may be a central processing unit (CPU), a microprocessor or other data processing chip, used to run program codes or process data stored in the memory 702, such as the vehicle controller reset control method of the present invention.
[0059] In some embodiments of the present invention, the processor 701 may be a single server or a server group. The server group may be centralized or distributed. In some embodiments, the processor 701 may be local or remote. In some embodiments, the processor 701 may be implemented in a cloud platform. In one embodiment, the cloud platform may include a private cloud, a public cloud, a hybrid cloud, a community cloud, a distributed cloud, an internal cloud, a multi-cloud, etc., or any combination thereof.
[0060] In some embodiments, the memory 702 may be an internal storage unit of the vehicle 700 , such as a hard disk or a memory of the vehicle 700 .
[0061] Furthermore, the memory 702 may include both an internal storage unit of the vehicle 700 and an external storage device. The memory 702 is used to store application software installed in the vehicle 700 and various data.
[0062] In some embodiments, the display 703 may be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, an OLED (Organic Light-Emitting Diode) touch device, etc. The display 703 is used to display information of the vehicle 700 and to display a visual user interface. The components 701-703 of the vehicle 700 communicate with each other via a system bus.
[0063] In some embodiments of the present invention, when the processor 701 executes the vehicle controller reset control program in the memory 702, the following steps may be implemented: When the vehicle controller is reset, the target controller receives the first control message stored by the vehicle controller before the reset occurs; When the vehicle controller is reset, the vehicle controller receives the status signal message of the target controller, generates a second control message based on the status signal message and the first control message, and sends the second control message to the target controller.
[0064] It should be understood that: when the processor 701 executes the vehicle controller reset control program in the memory 702, in addition to the above functions, other functions can also be implemented. For details, please refer to the description of the corresponding method embodiment above.
[0065] It should be noted that the vehicle can be a hybrid vehicle or a non-hybrid vehicle, that is, a pure electric vehicle.
[0066] Correspondingly, an embodiment of the present invention also provides a computer-readable storage medium, which is used to store computer-readable programs or instructions. When the program or instructions are executed by a processor, the steps or functions in the vehicle controller reset control method provided by the above-mentioned method embodiments can be implemented.
[0067] It should be noted that the computer-readable medium shown in the embodiment of the present invention may be a computer-readable signal medium or a computer-readable storage medium or any combination of the above two. The computer-readable storage medium may be, for example, an electrical, magnetic, optical, electromagnetic, infrared or semiconductor system, device or device, or any combination of the above. More specific examples of computer-readable storage media may include, but are not limited to: an electrical connection with one or more wires, a portable computer disk, a hard disk, a random access memory (RAM), a read-only memory (ROM), an erasable programmable read-only memory (EPROM), a flash memory, an optical fiber, a portable compact disk read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination of the above. In the present application, a computer-readable signal medium may include a data signal propagated in a baseband or as part of a carrier wave, which carries a computer-readable computer program. This propagated data signal may take a variety of forms, including but not limited to an electromagnetic signal, an optical signal, or any suitable combination of the above. The computer readable signal medium may also be any computer readable medium other than a computer readable storage medium, which may send, propagate or transmit a program for use by or in conjunction with an instruction execution system, apparatus or device. The computer program contained on the computer readable medium may be transmitted using any appropriate medium, including but not limited to: wireless, wired, etc., or any suitable combination of the above.
[0068] Those skilled in the art will appreciate that all or part of the processes of the above-mentioned embodiments can be implemented by instructing related hardware (such as a processor, a controller, etc.) through a computer program, and the computer program can be stored in a computer-readable storage medium, wherein the computer-readable storage medium is a disk, an optical disk, a read-only storage memory, or a random access memory, etc.
[0069] The above is a detailed introduction to a vehicle controller reset control method, device, vehicle and storage medium provided by the present invention. Specific examples are used in this article to illustrate the principles and implementation methods of the present invention. The description of the above embodiments is only used to help understand the method of the present invention and its core idea; at the same time, for technical personnel in this field, according to the idea of the present invention, there will be changes in the specific implementation method and application scope. In summary, the content of this specification should not be understood as a limitation on the present invention.
Claims
1. A vehicle controller reset control method, characterized in that: include: When the vehicle controller is reset, the target controller receives the first control message stored by the vehicle controller before the reset occurs; When the vehicle controller is reset, the vehicle controller receives the status signal message of the target controller, generates a second control message based on the status signal message and the first control message, and sends the second control message to the target controller.
2. The vehicle controller reset control method according to claim 1, characterized in that: The vehicle controller reset control method further includes: Determining whether the target controller has received the instruction message sent by the vehicle controller; When the target controller does not receive the instruction message sent by the vehicle controller, determine whether the duration for which the target controller does not receive the instruction message sent by the vehicle controller is less than or equal to a preset duration; When the time duration is less than or equal to the preset time duration, the vehicle controller is reset.
3. The vehicle controller reset control method according to claim 2, characterized in that: The preset time length is greater than or equal to the self-reset time length of the vehicle controller.
4. The vehicle controller reset control method according to claim 1, characterized in that: The generating a second control message based on the status signal message and the first control message includes: Determine, in the first control message, a first type of control message having the same physical quantity as that represented by the status signal message and a second type of control message having a different physical quantity than that represented by the status signal message; Determining whether the status signal message and the first type of control message are consistent; When the status signal message and the first type of control message are inconsistent, the status signal message and the second type of control message are logically processed based on a preset priority to generate the second control message.
5. The vehicle controller reset control method according to claim 1, characterized in that: The vehicle controller reset control method further includes: When the vehicle controller is reset, the motor controller does not receive the first control message; When the vehicle controller is reset, the vehicle controller obtains the power control message in the first control message, and sends the power control message to the motor controller to restore the power control of the motor controller.
6. The vehicle controller reset control method according to claim 5, characterized in that: The vehicle controller reset method also includes: When the vehicle controller is reset, the vehicle controller obtains the driver's operation status message, generates a comprehensive power control message based on the driver's operation status message and the power control message, and sends the power control message to the motor controller to restore power control of the motor controller.
7. The vehicle controller reset control method according to claim 6, characterized in that: The power control message includes a vehicle cruise status message, a cruise setting speed message, and an auxiliary brake gear message; the driver operation status message includes an accelerator pedal status message and a brake pedal status message.
8. A vehicle controller reset control device, characterized in that: include: A reset control unit, used for, when the vehicle controller is reset, the target controller receives the first control message stored in the vehicle controller before the reset occurs; A post-reset control unit is used for, when the vehicle controller is reset, the vehicle controller receives the status signal message of the target controller, generates a second control message based on the status signal message and the first control message, and sends the second control message to the target controller.
9. A vehicle, characterized in that: comprising a memory and a processor, wherein: The memory is used to store programs; The processor is coupled to the memory and is used to execute the program stored in the memory to implement the steps in the vehicle controller reset control method described in any one of claims 1 to 7 above.
10. A computer-readable storage medium, characterized in that: The readable storage medium stores a program or instruction, and when the program or instruction is executed by the processor, the steps in the vehicle controller reset control method described in any one of claims 1 to 7 are implemented.
Citation Information
Patent Citations
Control method and device of whole vehicle controller and whole vehicle control method and system
CN105700419A
Vehicle power torque control method and device, electronic equipment and storage medium
CN116691367A
Vehicle power loss safety control method, device and equipment and storage medium
CN117022158A
Cited By
Vehicle control method, device, equipment and medium
CN120589032A
