A vehicle controller reset control method, device, vehicle and storage medium
By generating a second control message after the vehicle controller is reset, the problem of inconsistent vehicle status is solved, and the safety and normal operation of the vehicle after reset are achieved.
Patent Information
- Application Number
- CN202410838991.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2024-06-26
- Publication Date
- 2025-09-30
- Estimated Expiration
- 2044-06-26
AI Technical Summary
After the vehicle controller is reset, the vehicle status is inconsistent with the actual status, resulting in unsafe driving.
After the vehicle controller is reset, a second control message is generated based on the received state signal message of the target controller and the first control message stored before the vehicle controller is reset. The target controller is controlled by the second control message to ensure the consistency of the vehicle state.
The safety of vehicle driving is improved, the situation where the vehicle is out of control is avoided, and the vehicle can be ensured to operate normally after being reset.
Smart Images

Figure CN118778600B_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of vehicle control technology, and in particular to a vehicle controller reset control method, device, vehicle and storage medium. Background Art
[0002] During normal vehicle operation, the Vehicle Electronic Control Unit (VECU) may reset due to software or hardware failures. This can cause message transmission over the vehicle network (CAN / CANFD / Ethernet, etc.) to be interrupted between the reset and the return to normal state. This causes the vehicle to experience a power loss and power outage, preventing the VECU from receiving fault information and matching solutions. A VECU reset during normal operation can significantly impact vehicle drivability and safety, and may even threaten the driver's life.
[0003] To avoid the aforementioned situation, patent CN113759872A discloses a post-controller reset processing method. This method involves setting the vehicle controller to store certain key parameters (reset reason, PTReady, cruise status, vehicle power-on and power-off status, etc.) in non-volatile random access memory during normal operation. This allows the vehicle controller to directly return to the state before the fault occurred after a reset, eliminating the need to re-enter the vehicle power-on process. This ensures that the signals received by other controllers do not change, thereby ensuring that the vehicle state remains unchanged during this period. This ensures that vehicle drivability is largely unaffected while also reducing safety risks. However, the aforementioned patent fails to consider the potential inconsistencies between the vehicle state before and after the vehicle controller is reset. Directly reading key parameters stored before the reset could cause the actual vehicle state to be inconsistent with the control strategy, rendering the vehicle uncontrollable and significantly impacting 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:
[0007] When the vehicle controller is reset, the target controller receives the first control message stored by the vehicle controller before the reset occurs;
[0008] After 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.
[0009] In a possible implementation, the vehicle controller reset control method further includes:
[0010] Determining whether the target controller receives the instruction message sent by the vehicle controller;
[0011] When the target controller does not receive the instruction message sent by the vehicle controller, determining 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;
[0012] When the time duration is less than or equal to the preset time duration, the vehicle controller is reset.
[0013] In a possible implementation, the preset time length is greater than or equal to the self-reset time length of the vehicle controller.
[0014] In a possible implementation, the generating the second control message based on the status signal message and the first control message includes:
[0015] 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 represented by the status signal message;
[0016] Determining whether the status signal message is consistent with the first type of control message;
[0017] 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.
[0018] In a possible implementation, the vehicle controller reset control method further includes:
[0019] When the vehicle controller is reset, the motor controller does not receive the first control message;
[0020] 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.
[0021] In a possible implementation, the vehicle controller reset method further includes:
[0022] 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.
[0023] In a possible implementation, the power control message includes a vehicle cruise status message, a cruise set 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.
[0024] On the other hand, the present invention also provides a vehicle controller reset control device, comprising:
[0025] A reset control unit, configured to cause the target controller to receive a first control message stored before the vehicle controller is reset when the vehicle controller is reset;
[0026] 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.
[0027] In another aspect, the present invention further provides a vehicle, comprising a memory and a processor, wherein:
[0028] The memory is used to store programs;
[0029] The processor is coupled to the memory and is used to execute the program stored in the memory to implement the steps of the vehicle controller reset control method described in any one of the possible implementations above.
[0030] 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 one of the above possible implementation methods are implemented.
[0031] The present invention provides a beneficial effect: the vehicle controller reset control method provided by the present invention generates a second control message based on a received status signal message of a target controller and a first control message stored before the vehicle controller is reset, after the vehicle controller is reset, and controls the target controller using the second control message. Specifically, after the vehicle controller is reset, the vehicle status (status signal message) is simultaneously identified in addition to reading the stored first control message. This ensures that the second control message sent after the vehicle controller is reset is more consistent with the actual vehicle status, preventing uncontrolled vehicle conditions and improving driving safety. BRIEF DESCRIPTION OF THE DRAWINGS
[0032] 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.
[0033] Figure 1 A schematic flow chart of an embodiment of the vehicle controller reset control method provided by the present invention;
[0034] Figure 2 A schematic flow chart of an embodiment of the present invention for determining whether the vehicle controller is reset before step S101;
[0035] Figure 3 For the present invention Figure 1 A schematic flow chart of an embodiment of generating a second control message based on the status signal message and the first control message in step S102;
[0036] Figure 4 A schematic flow chart of an embodiment of the present invention for controlling a motor controller during and after resetting;
[0037] Figure 5 A schematic diagram of a specific embodiment of the vehicle controller reset method provided by the present invention;
[0038] Figure 6 A schematic structural diagram of an embodiment of the vehicle controller reset control device provided by the present invention;
[0039] Figure 7 This is a schematic structural diagram of an embodiment of a vehicle provided by the present invention. DETAILED DESCRIPTION
[0040] The following will provide a clear and complete description of the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only some of the embodiments of the present invention, not all of them. 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.
[0041] It should be understood that the schematic drawings are not drawn to scale. The flowcharts used in the present invention illustrate operations implemented according to some embodiments of the present invention. It should be understood that the operations of the flowcharts can be implemented out of sequence, and steps that have no logical contextual relationship can be reversed in order or implemented simultaneously. In addition, those skilled in the art, guided by the content of the present invention, can add one or more other operations to the flowcharts or remove one or more operations from the flowcharts. Some of the block diagrams shown in the accompanying drawings are functional entities and do not necessarily correspond to physically or logically independent entities. These functional entities can be implemented in the form of software, or in one or more hardware modules or integrated circuits, or in different networks and / or processor systems and / or microcontroller systems.
[0042] References herein to "embodiments" mean that a particular feature, structure, or characteristic described in connection with the embodiments may be included in at least one embodiment of the present invention. The appearance of this phrase in various places in the specification does not necessarily refer to the same embodiment, nor does it constitute a separate or alternative embodiment that is mutually exclusive of other embodiments. It is understood, both explicitly and implicitly, by those skilled in the art that the embodiments described herein may be combined with other embodiments.
[0043] The vehicle controller is one of the key components of a vehicle. As the upper-level management unit of the vehicle's electrical control, it is responsible for coordinating and controlling the controllers of key components of various systems in the vehicle, such as the 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 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 returning to normal operation, the messages it sends 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.
[0044] Figure 1 A flow chart of an embodiment of the vehicle controller reset control method provided by the present invention is shown as follows: Figure 1 As shown, the vehicle controller reset control method includes:
[0045] S101: When the vehicle controller is reset, the target controller receives a first control message stored by the vehicle controller before the reset occurs;
[0046] 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.
[0047] The first control message is a control message during normal driving before the vehicle controller is reset.
[0048] 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.
[0049] 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.
[0050] 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 message.
[0051] Compared to the prior art, the vehicle controller reset control method provided in embodiments of the present invention generates a second control message after the vehicle controller is reset based on the received status signal message of the target controller and the first control message stored before the vehicle controller was reset, and controls the target controller using the second control message. Specifically, after the vehicle controller is reset, the vehicle status (status signal message) is simultaneously identified in addition to reading the stored first control message. This ensures that the second control message sent after the vehicle controller is reset is more consistent with the actual vehicle status, preventing uncontrolled vehicle conditions and improving driving safety.
[0052] In order to avoid the technical problem that the vehicle controller fails to reset successfully for a long time, resulting in the vehicle losing 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:
[0053] S201, determining whether the target controller receives an instruction message sent by the vehicle controller;
[0054] 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;
[0055] S203: When the duration is less than or equal to the preset duration Xms, the vehicle controller is reset.
[0056] The embodiment of the present invention presets a time length and considers the time range within which the vehicle controller is reset as the time within which the vehicle controller is reset. This limits the time for resetting the vehicle controller, thereby preventing the vehicle controller from being reset for a long time and further improving driving safety.
[0057] It should be noted that when the duration is greater than the preset time, the timeout policy is executed. For example, when performing operations such as powering off, the timeout policy for different target controllers varies. The timeout policy is a pre-set policy.
[0058] It should also be noted that the preset time should be set according to the self-reset time of the vehicle controller.
[0059] In a specific embodiment of the present invention, the preset time is greater than or equal to the self-reset time, that is, time exceeding the self-reset time is reserved to wait for the vehicle controller to reset, providing a time margin for resetting the vehicle controller.
[0060] It should be understood that the purpose of generating the second control message based on the status signal message and the first control message in step S102 is to avoid the problem of the vehicle being out of control due to the sending of an erroneous message when there is a conflict between the status 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 status signal message and the first control message in step S102 includes:
[0061] S301, determining, 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 represented by the status signal message;
[0062] S302, determining whether the status signal message and the first type of control message are consistent;
[0063] S303: When the status signal message and the first type of control message are inconsistent, logically process the status signal message and the second type of control message based on a preset priority to generate a second control message.
[0064] Specifically, the status signal message is closer to the vehicle's current operating status. Therefore, the status signal message has a higher priority than the first-type control message. That is, in this embodiment of the present invention, when a conflict occurs between the status signal message and the first control message, the status signal message received after the vehicle controller is reset is used as the basis for generating a second control message, ensuring that the second control message is closer to the vehicle's current operating status.
[0065] 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.
[0066] The first control message includes the total mileage, fuel consumption, etc., and the status signal message includes the current status of each target controller.
[0067] 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:
[0068] S401: When the vehicle controller is reset, the motor controller does not receive the first control message;
[0069] 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.
[0070] In this embodiment of the present invention, when a vehicle controller is reset, the motor controller does not receive the first control message like the target controller. Specifically, when the vehicle controller is reset, the motor controller is not controlled to perform any power control. This prevents uncontrollable acceleration and deceleration, further improving vehicle driving safety. After the vehicle controller is reset, the power control message is retrieved from the first control message, and power control of the motor controller is restored based on the power control message. This ensures normal operation of the motor controller after the vehicle controller is reset.
[0071] 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 operating status message, and generates a comprehensive power control message based on the driver's operating 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.
[0072] 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 account, and the driver's intention can be executed unconsciously, thereby improving the driving experience.
[0073] In a specific embodiment of the present invention, the power control message includes a vehicle cruise status message, a cruise set 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.
[0074] To further illustrate the vehicle controller reset control method proposed by the present invention, Figure 5 As shown in the figure, when the vehicle controller is reset, it stops sending messages. At this time, other target controllers communicating with the vehicle controller, except the motor controller, will maintain the control instructions sent by the vehicle controller at the last moment for a preset duration. The motor controller maintains a no-torque output state, and the vehicle remains in a high-voltage power-on state, ensuring that there are no abnormalities in the vehicle's steering and braking, and that the vehicle is as safe and controllable as possible. After the vehicle controller completes the reset and recovery, it will not send messages to avoid interfering with the vehicle's previous state. After receiving the vehicle's current state from other controllers, it will send corresponding messages based on the current state to maintain the vehicle's current high-voltage power-on state.
[0075] 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:
[0076] The reset control unit 601 is configured to enable the target controller to receive the first control message stored by the vehicle controller before the vehicle controller is reset when the vehicle controller is reset;
[0077] The post-reset control unit 602 is used for, after 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.
[0078] The vehicle controller reset control device 600 provided in an 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. 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.
[0079] 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, such as Figure 6 As shown, the vehicle controller reset control device further includes a reset judgment unit 603, which is used to:
[0080] Determine whether the target controller receives 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 the preset duration; when the duration is less than or equal to the preset duration, the vehicle controller is reset.
[0081] The embodiment of the present invention presets a time length and considers the time range within which the vehicle controller is reset as the time within which the vehicle controller is reset. This limits the time for resetting the vehicle controller, thereby preventing the vehicle controller from being reset for a long time and further improving driving safety.
[0082] It should be noted that when the duration is greater than the preset time, the timeout policy is executed. For example, when performing operations such as powering off, the timeout policy for different target controllers varies. The timeout policy is a pre-set policy.
[0083] It should also be noted that the preset time should be set according to the self-reset time of the vehicle controller.
[0084] In a specific embodiment of the present invention, the preset time is greater than or equal to the self-reset time, that is, time exceeding the self-reset time is reserved to wait for the vehicle controller to reset, providing a time margin for resetting the vehicle controller.
[0085] Since, 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:
[0086] The motor reset control unit 604 is configured to prevent the motor controller from receiving the first control message when the vehicle controller is reset;
[0087] 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 power control of the motor controller.
[0088] In this embodiment of the present invention, when a vehicle controller is reset, the motor controller does not receive the first control message like the target controller. Specifically, when the vehicle controller is reset, the motor controller is not controlled to perform any power control. This prevents uncontrollable acceleration and deceleration, further improving vehicle driving safety. After the vehicle controller is reset, the power control message is retrieved from the first control message, and power control of the motor controller is restored based on the power control message. This ensures normal operation of the motor controller after the vehicle controller is reset.
[0089] Furthermore, considering the impact 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:
[0090] 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.
[0091] 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 account, and the driver's intention can be executed unconsciously, thereby improving the driving experience.
[0092] In a specific embodiment of the present invention, the power control message includes a vehicle cruise status message, a cruise set 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.
[0093] The vehicle controller reset control device 600 provided in the above embodiment can implement the technical solution described in the above embodiment of the vehicle controller reset control method. The specific implementation principles of the above modules or units can refer to the corresponding contents in the above embodiment of the vehicle controller reset control method, which will not be repeated here.
[0094] 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 implementing all of the shown components is not a requirement, and more or fewer components may alternatively be implemented.
[0095] In some embodiments, the processor 701 can be a central processing unit (CPU), a microprocessor or other data processing chip, used to run the program code or process data stored in the memory 702, such as the vehicle controller reset control method in the present invention.
[0096] In some embodiments of the present invention, processor 701 may be a single server or a server group. The server group may be centralized or distributed. In some embodiments, processor 701 may be local or remote. In some embodiments, processor 701 may be implemented on 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, multiple clouds, or any combination thereof.
[0097] In some embodiments, the memory 702 may be an internal storage unit of the vehicle 700 , such as a hard drive or memory of the vehicle 700 .
[0098] 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.
[0099] In some embodiments, display 703 can be an LED display, a liquid crystal display, a touch-sensitive liquid crystal display, or an OLED (Organic Light-Emitting Diode) touchscreen. Display 703 is used to display information about vehicle 700 and to present a visual user interface. Components 701-703 of vehicle 700 communicate with each other via a system bus.
[0100] 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:
[0101] When the vehicle controller is reset, the target controller receives the first control message stored by the vehicle controller before the reset occurs;
[0102] After 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.
[0103] 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, it can also implement other functions. For details, please refer to the description of the corresponding method embodiment above.
[0104] It should be noted that the vehicle can be a hybrid vehicle or a non-hybrid vehicle, that is, a pure electric vehicle.
[0105] Accordingly, 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, it can implement the steps or functions of the vehicle controller reset control method provided by the above-mentioned method embodiments.
[0106] It should be noted that the computer-readable medium described in the embodiments of the present invention may be a computer-readable signal medium or a computer-readable storage medium, or any combination thereof. A computer-readable storage medium may, for example, be an electrical, magnetic, optical, electromagnetic, infrared, or semiconductor system, device, or component, or any combination thereof. More specific examples of computer-readable storage media may include, but are not limited to, an electrical connection having one or more conductors, a portable computer disk, a hard disk, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM), flash memory, optical fiber, a portable compact disc read-only memory (CD-ROM), an optical storage device, a magnetic storage device, or any suitable combination thereof. In this application, a computer-readable signal medium may include a data signal propagated in baseband or as part of a carrier wave, carrying a computer-readable computer program. This propagated data signal may take various forms, including, but not limited to, an electromagnetic signal, an optical signal, or any suitable combination thereof. A computer-readable signal medium may also be any computer-readable medium other than a computer-readable storage medium that can transmit, propagate, or transport a program for use by or in connection with an instruction execution system, apparatus, or device. A computer program embodied on a computer-readable medium may be transmitted using any suitable medium, including but not limited to wireless, wired, or any suitable combination thereof.
[0107] Those skilled in the art will appreciate that all or part of the process flow of the above-described method embodiment can be implemented by instructing related hardware (such as a processor, controller, etc.) through a computer program, and the computer program can be stored in a computer-readable storage medium. The computer-readable storage medium may be a magnetic disk, an optical disk, a read-only memory, or a random access memory.
[0108] The above is a detailed introduction to the vehicle controller reset control method, device, vehicle and storage medium provided by the present invention. Specific examples are used herein 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 ideas. At the same time, for those skilled in the art, according to the ideas of the present invention, there may be changes in the specific implementation methods and application scopes. In summary, the contents of this specification should not be understood as limiting 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; The target controller is another controller other than the motor controller that coordinates control with the vehicle controller; 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; 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 driver operation status message and the power control message in the first control message, generates a comprehensive power control message based on the driver operation status message and the power control message, and sends the comprehensive power control message to the motor controller to restore power control of the motor 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 receives the instruction message sent by the vehicle controller; When the target controller does not receive the instruction message sent by the vehicle controller, determining 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 represented by the status signal message; Determining whether the status signal message is consistent with the first type of control message; 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 power control message includes a vehicle cruise status message, a cruise set 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.
6. A vehicle controller reset control device, characterized in that: include: A reset control unit, configured to cause the target controller to receive a first control message stored before the vehicle controller is reset when the vehicle controller is reset; The target controller is another controller other than the motor controller that coordinates control with the vehicle controller; a post-reset control unit, configured to, after the vehicle controller is reset, cause the vehicle controller to receive a status signal message from the target controller, 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; The reset control unit is further configured to prevent the motor controller from receiving the first control message when the vehicle controller is reset; The post-reset control unit is also used for, after the vehicle controller is reset, the vehicle controller obtains the driver's operation status message and the power control message in the first control message, generates a comprehensive power control message based on the driver's operation status message and the power control message, and sends the comprehensive power control message to the motor controller to restore power control of the motor controller.
7. 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 5.
8. 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 5 are implemented.
Citation Information
Patent Citations
Processing method after reset of controller
CN113759872A
Vehicle power torque control method and device, electronic equipment and storage medium
CN116691367A