Method, System and Electric Vehicle for Resetting Vehicle Controller
By saving and transmitting the motor's driving parameters during the reset process of the vehicle controller, the vehicle jitter problem caused by rapid changes in motor torque and speed is solved, and a smooth driving experience is achieved.
Patent Information
- Application Number
- CN202210828066.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-07-14
- Publication Date
- 2025-08-01
- Estimated Expiration
- 2042-07-14
AI Technical Summary
After the vehicle controller is reset, the rapid changes in motor torque and speed cause vehicle jitter, affecting the driving experience.
During the reset process of the vehicle controller, the motor's driving parameters are saved and these parameters are transmitted to the motor during different state transitions to ensure that the motor's torque and speed are consistent and avoid sudden changes.
By keeping the motor's driving parameters consistent, the vehicle is avoided violent jitter during the reset of the vehicle controller and improved the driving experience.
Smart Images

Figure CN115214380B_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of electric vehicle control, and particularly relates to a method and system for resetting a vehicle controller and an electric vehicle. Background Art
[0002] In new energy pure electric vehicles, the only power source is the drive motor. Due to the architecture of the vehicle control system that adopts integrated control and distributed processing, the vehicle controller (VCU) conducts energy management for the vehicle system and coordinated control of each component controller. During the driving process of an electric vehicle, a vehicle controller reset fault may occur, that is, the vehicle controller powers off and enters the sleep state and then restarts. The power-off time is generally within 200 ms. After restarting, the vehicle controller first enters the reset state and remains in this state for a period of time (about 100 ms), and then enters the power-on state.
[0003] Currently, the control scheme for electric vehicles on the market after the vehicle controller is reset is as follows: when the vehicle controller is in the sleep state, it loses control of the motor torque, and the motor requests the torque to remain unchanged at the value at the moment before the vehicle controller powers off; when the vehicle controller is in the reset state, the motor enters the standby state, and at this time the motor requests the torque to be 0; after the vehicle controller enters the power-on state, the motor issues a new torque request, causing the torque of the motor to increase. Since the motor requests the torque to quickly drop to 0 and then quickly rise, the motor speed correspondingly drops rapidly and then rises rapidly, resulting in vehicle jitter and bringing an unpleasant driving experience. Summary of the Invention
[0004] The present application provides a method and system for resetting a vehicle controller and an electric vehicle to solve the technical problem of vehicle jitter after the vehicle controller is reset and the reduction of the driving experience.
[0005] The present application provides a method for resetting a vehicle controller, including the following steps:
[0006] Save the driving parameters of the motor;
[0007] According to the power-off instruction, the vehicle controller enters the sleep state;
[0008] Obtain the driving parameters at a certain moment before the power-off instruction and transmit them to the motor;
[0009] According to the restart instruction, the vehicle controller enters the reset state;
[0010] Obtain the driving parameters at the same moment to keep the motor in the driving parameters during the sleep state;
[0011] According to the power-on instruction, the vehicle controller sends the driving parameters at the current moment to the motor.
[0012] Optionally, the step of obtaining the driving parameters at a certain moment before the power-off instruction and transmitting them to the motor includes:
[0013] Obtaining the driving parameters at the moment immediately before the power-off instruction;
[0014] The vehicle control unit sends the driving parameters to the motor.
[0015] Optionally, the driving parameters include a control mode and a control instruction. The control mode includes a torque control mode and a speed control mode; the control instruction includes a torque instruction and a speed instruction; wherein, in the torque control mode, with the torque instruction as the target, the vehicle control unit sends a torque target to the motor according to the torque instruction, so that the motor moves according to the torque target; in the speed control mode, with the speed instruction as the target, the vehicle control unit sends a speed target to the motor according to the speed target, so that the motor moves according to the speed target.
[0016] Optionally, in the step of saving the driving parameters of the motor, the driving parameters of the motor are saved to the program memory.
[0017] Correspondingly, the present application further provides a vehicle control unit reset system, including a storage module, an instruction processing module, and a parameter processing module. The storage module is used to save the driving parameters of the motor; the instruction processing module is used to control the vehicle control unit to enter the corresponding state according to the instruction; the parameter processing module is used to obtain the corresponding driving parameters according to the state of the vehicle control unit and transmit the driving parameters to the motor; wherein, the instruction processing module makes the vehicle control unit enter the sleep state according to the power-off instruction, and the parameter processing module obtains the driving parameters at a certain moment before the power-off instruction and transmits them to the motor; the instruction processing module makes the vehicle control unit enter the reset state according to the restart instruction; the parameter processing module obtains the driving parameters at the same moment so that the motor maintains the driving parameters in the sleep state; the instruction processing module makes the parameter processing module send the driving parameters at the current moment to the motor according to the power-on instruction.
[0018] Optionally, when the vehicle control unit enters the sleep state, the parameter processing module obtains the driving parameters at a certain moment before the power-off instruction and transmits them to the motor.
[0019] Optionally, the storage module includes a program memory.
[0020] Optionally, the driving parameters include a control mode and control instructions. The control mode includes a torque control mode and a speed control mode; the control instructions include a torque instruction and a speed instruction. Among them, the torque control mode targets the torque instruction, and the vehicle controller sends a torque target to the motor according to the torque instruction, so that the motor moves according to the torque target; the speed control mode targets the speed instruction, and the vehicle controller sends a speed target to the motor according to the speed target, so that the motor moves according to the speed target.
[0021] Correspondingly, the present application also provides an electric vehicle, which includes a vehicle controller reset system, and the vehicle controller reset system is the vehicle controller reset system of any one of the above.
[0022] Correspondingly, the present application also provides a computer-readable storage medium, on which a computer program is stored. It is characterized in that when the program is executed by a processor, it implements the vehicle controller reset method of any one of the above.
[0023] The present application provides a vehicle controller reset method, system and electric vehicle. After the vehicle controller enters the sleep state according to the power-off instruction, it can transmit the driving parameters at a certain moment of power-off to the motor. When the vehicle controller enters the reset state according to the restart instruction, it can transmit the driving parameters at that moment to the motor, and after the vehicle controller enters the power-on state according to the power-on instruction, it can transmit the driving parameters at the current moment to the motor. Therefore, when the vehicle controller experiences a reset failure and goes through the sleep state and the reset state, the motor maintains the driving parameters at the same moment. When the vehicle controller enters the power-on state, the vehicle controller can transmit the driving parameters at the current moment to the motor. When the vehicle controller goes through different stages such as the sleep state, the reset state, and the power-on state, the driving parameters of the motor change from the driving parameters at a certain moment of the power-off instruction to the driving parameters at the current moment. Therefore, the torque (or speed) of the motor will not change suddenly, so that the vehicle will not shake violently, thus improving the driving experience. Description of the Drawings
[0024] In order to more clearly illustrate the technical solutions in the embodiments of the present application, the following will briefly introduce the drawings required for the description of the embodiments. Obviously, the following drawings are only some embodiments of the present application. For those skilled in the art, without creative efforts, other drawings can be obtained according to these drawings.
[0025] Figure 1 It is a flowchart of the vehicle controller reset method provided by the present application. Detailed Embodiments
[0026] Next, the technical solutions in the embodiments of the present application will be clearly and completely described in conjunction with the accompanying drawings in the embodiments of the present application. Obviously, the described embodiments are only a part of the embodiments of the present application, rather than all the embodiments. Based on the embodiments in the present application, all other embodiments obtained by those skilled in the art without creative efforts belong to the scope of protection of the present application. In addition, it should be understood that the specific implementation manners described herein are only used to illustrate and explain the present application, and are not used to limit the present application. In the present application, unless otherwise stated, the orientation words such as "upper", "lower", "left", and "right" generally refer to the upper, lower, left, and right in the actual use or working state of the device, specifically the drawing direction in the accompanying drawings.
[0027] The present application provides a method, a system and an electric vehicle for resetting a vehicle controller, which will be described in detail below. It should be noted that the description order of the following embodiments does not limit the preferred order of the embodiments of the present application. And in the following embodiments, each embodiment is described with its own emphasis. For the parts not detailed in a certain embodiment, reference can be made to the relevant descriptions of other embodiments.
[0028] Please refer to Figure 1 , the present application provides a method for resetting a vehicle controller, which includes the following steps:
[0029] S100. Save the driving parameters of the motor;
[0030] The driving parameters of the motor are collected and saved in real time. In the present application, the above driving parameters are saved in the program memory. The collected driving parameters are saved in the non-volatile memory. When the vehicle controller enters the reset state, according to the driving parameters saved before the fault, it is convenient for the vehicle controller to select the saved driving parameters and transmit them to the motor.
[0031] Compared with the prior art in which the collected driving parameters are saved in the system memory, when a fault occurs in the vehicle controller of the vehicle, the driving parameters saved in the system memory may be lost. When the vehicle controller enters the reset state after the fault, since the previously saved driving parameters are lost, at this time, the driving parameters of the motor can only remain unchanged.
[0032] S200. According to the power-off instruction, the vehicle controller enters the sleep state;
[0033] When a reset fault occurs in the vehicle controller, the vehicle controller enters the sleep state according to the power-off instruction, and the power-off time is generally within 200 ms.
[0034] S300. Obtain the driving parameters at a certain moment before the power-off instruction and transmit them to the motor;
[0035] When the vehicle control unit enters the sleep state, the vehicle control unit loses control of the motor torque. Therefore, the vehicle control unit can obtain the driving parameters at a preset moment before receiving the power-off command and transmit the driving parameters to the motor. The above step S300 specifically includes the following steps:
[0036] S310. Obtain the driving parameters at the moment before the power-off command;
[0037] During vehicle operation, the driving parameters of the motor are saved in the program memory in real time. When the vehicle control unit has a reset failure, the driving parameters saved in the program memory are not affected. Therefore, the vehicle control unit can obtain the driving parameters at the previous moment saved in the program memory.
[0038] S320. The vehicle control unit sends the driving parameters to the motor;
[0039] In this application, after the vehicle control unit obtains the driving parameters at the moment before the power-off command, the vehicle control unit can transmit the driving parameters to the motor, so that the motion state of the motor is the same as the motion state at the moment before the power-off command. When the vehicle control unit enters the sleep state according to the power-off command, the driving state of the motor remains the driving state at the moment before the power-off command. Therefore, when the vehicle control unit enters the sleep state, the driving state of the motor does not change suddenly, so that the vehicle will not shake violently.
[0040] S400. According to the restart command, the vehicle control unit enters the reset state;
[0041] S500. Obtain the driving parameters at the same moment to keep the driving parameters of the motor in the sleep state;
[0042] When the vehicle control unit enters the reset state according to the restart command, at this time, the vehicle control unit can obtain the driving parameters at the same moment and can transmit the driving parameters to the motor. Therefore, when the vehicle control unit is in the sleep state and the reset state, the driving parameters of the motor remain consistent, thus avoiding rapid changes in the torque and speed of the motor, making the vehicle not prone to shaking, and improving the driving experience of the vehicle.
[0043] S600. According to the power-on command, the vehicle control unit sends the driving parameters at the current moment to the motor;
[0044] The vehicle control unit enters the power-on state according to the power-on command. It can obtain the driving parameters at the current moment and transmit the driving parameters at the current moment to the motor, so that the motor adjusts its operating state according to the driving parameters at the current moment.
[0045] After the vehicle control unit (VCU) in this application enters the sleep state according to the power-off command, it can transmit the driving parameters at the moment before power-off to the motor. When the VCU enters the reset state according to the restart command, it can transmit the driving parameters at the moment before power-off to the motor, and after the VCU enters the power-on state according to the power-on command, it can transmit the driving parameters at the current moment to the motor. Therefore, when the VCU experiences a reset failure and goes through the sleep state and the reset state, the motor maintains the driving parameters at the same moment. When the VCU enters the power-on state, the VCU can transmit the driving parameters at the current moment to the motor. When the VCU goes through different stages such as the sleep state, the reset state, and the power-on state, the driving parameters of the motor change from the driving parameters at the moment before the power-off command to the driving parameters at the current moment. Therefore, the torque (or speed) of the motor does not change suddenly, so that the vehicle does not shake violently, thus improving the driving experience.
[0046] In the prior art, when the VCU has a reset failure and enters the reset state, the motor enters the standby state, and at this time, the torque in the driving parameters of the motor is 0. Therefore, when the VCU transitions from the sleep state to the reset state, the driving parameters of the motor change from the driving parameters at the moment before power-off to 0. When the VCU enters the power-on state, it can transmit the driving parameters at the current moment to the motor. Therefore, the torque of the motor will quickly drop from the torque at the power-off moment to 0, and then rise from 0 to the torque at the current moment, causing the speed of the motor to quickly drop and then quickly rise, which in turn causes the vehicle to shake violently.
[0047] The driving parameters include the control mode and the control command. The control mode includes the torque control mode and the speed control mode. The control command includes the torque command and the speed command, and the control mode corresponds to the control command. The torque control mode targets the torque command, and the speed control mode targets the speed command. When the control mode is speed control, the VCU will correspondingly give a speed target, and the motor operates at that speed. When the control mode is torque control, the VCU will correspondingly give a torque target, and the motor operates at that torque. When facing different working conditions such as motor angle self-learning and motor insulation detection, the vehicle has different requirements for the motor. Therefore, many control modes are defined inside the motor, and the vehicle controls the motor by requesting the motor to enter the corresponding mode.
[0048] The present application provides a vehicle controller reset system, which includes a storage module, an instruction processing module, and a parameter processing module. The storage module is used to save the driving parameters of the motor; the instruction processing module is used to control the vehicle controller to enter the corresponding state according to the instruction; the parameter processing module is used to obtain the corresponding driving parameters according to the state of the vehicle controller and transmit the driving parameters to the motor. Among them, according to the power-off instruction, the instruction processing module makes the vehicle controller enter the sleep state, and the parameter processing module obtains the driving parameters at a certain moment before the power-off instruction and transmits them to the motor; according to the restart instruction, the instruction processing module makes the vehicle controller enter the reset state; the parameter processing module obtains the driving parameters at the same moment to make the motor maintain the driving parameters in the sleep state; according to the power-on instruction, the instruction processing module makes the parameter processing module send the driving parameters at the current moment to the motor. In the present application, when the vehicle controller enters the sleep state, the parameter processing module obtains the driving parameters at a certain moment before the power-off instruction and transmits them to the motor.
[0049] When the vehicle controller experiences a reset failure and goes through the sleep state and the reset state, the motor maintains the driving parameters at the same moment. When the vehicle controller enters the power-on state, the parameter processing module can transmit the driving parameters at the current moment to the motor. When the vehicle controller goes through different stages such as the sleep state, the reset state, and the power-on state, the driving parameters of the motor change from the driving parameters at a certain moment before the power-off instruction to the driving parameters at the current moment. Therefore, the torque (or speed) of the motor will not change suddenly, so that the vehicle will not shake violently, thus improving the driving experience.
[0050] When the vehicle controller enters the sleep state, the parameter processing module obtains the driving parameters at a moment before the power-off instruction and transmits them to the motor. When the vehicle controller goes through different stages such as the sleep state, the reset state, and the power-on state, the driving parameters of the motor change from the driving parameters at a moment before the power-off instruction to the driving parameters at the current moment. Therefore, the torque (or speed) of the motor will not change suddenly, so that the vehicle will not shake violently, further improving the driving experience.
[0051] The storage module includes a program memory, and saves the collected driving parameters in a non-volatile memory. After the vehicle controller enters the reset state, according to the driving parameters saved before the failure, it is convenient for the vehicle controller to select the saved driving parameters and transmit them to the motor.
[0052] The present application also provides an electric vehicle, which includes the aforementioned vehicle controller reset system, and will not be elaborated here.
[0053] The present application also provides a computer device, which includes a memory, a processor, and a computer program stored on the memory and executable on the processor. When the processor executes the computer program, it implements the vehicle controller reset method.
[0054] The present application also provides a computer-readable storage medium, on which a computer program is stored, and when the program is executed by a processor, it implements the method for resetting a vehicle controller.
[0055] The above has introduced in detail a method, a system and an electric vehicle for resetting a vehicle controller provided by the present application. Specific examples are used in this article to elaborate on the principle and implementation manner of the present application. The description of the above embodiments is only used to help understand the method and its core idea of the present application; at the same time, for those of ordinary skill in the art, according to the idea of the present application, there will be changes in the specific implementation manner and application scope. In summary, the content of this specification should not be construed as a limitation to the present application.
Claims
1. A method for resetting a vehicle controller, characterized in that, It includes the following steps: Save the driving parameters of the motor; According to the power-off instruction, the vehicle control unit enters the sleep state; Obtain the driving parameters at a certain moment before the power-off instruction and transmit them to the motor; According to the restart instruction, the vehicle control unit enters the reset state; Obtain the driving parameters at a certain moment before the aforesaid power-off instruction. When the vehicle control unit experiences the sleep state and the reset state due to a reset failure, the motor maintains the driving parameters at the same moment. When the vehicle control unit enters the power-on state, the vehicle control unit can transmit the driving parameters at the current moment to the motor; According to the power-on instruction, the vehicle control unit sends the driving parameters at the current moment to the motor.
2. The method for resetting a vehicle control unit according to claim 1, wherein In the step of obtaining the driving parameters at a certain moment before the power-off instruction and transmitting them to the motor, it includes: Obtain the driving parameters at the moment before the power-off instruction; The vehicle control unit sends the driving parameters to the motor.
3. The method for resetting a vehicle controller according to claim 1, characterized in that, The driving parameters include: Control modes, which include a torque control mode and a speed control mode; and Control instructions, which include a torque instruction and a speed instruction; Wherein, in the torque control mode, taking the torque instruction as the target, the vehicle control unit sends a torque target to the motor according to the torque instruction, so that the motor moves according to the torque target; In the speed control mode, taking the speed instruction as the target, the vehicle control unit sends a speed target to the motor according to the speed target, so that the motor moves according to the speed target.
4. The vehicle controller reset method according to claim 1, wherein In the step of saving the driving parameters of the motor, save the driving parameters of the motor to the program memory.
5. A vehicle controller reset system, characterized in that, It includes: A storage module, which is used to save the driving parameters of the motor; An instruction processing module, which is used to control the vehicle control unit to enter the corresponding state according to the instruction; And A parameter processing module, which is used to obtain the corresponding driving parameters according to the state of the vehicle control unit and transmit the driving parameters to the motor; Wherein, the instruction processing module makes the vehicle control unit enter the sleep state according to the power-off instruction, and the parameter processing module obtains the driving parameters at a certain moment before the power-off instruction and transmits them to the motor; The instruction processing module makes the vehicle control unit enter the reset state according to the restart instruction; the parameter processing module obtains the driving parameters at a certain moment before the aforesaid power-off instruction. When the vehicle control unit experiences the sleep state and the reset state due to a reset failure, the motor maintains the driving parameters at the same moment. When the vehicle control unit enters the power-on state, the vehicle control unit can transmit the driving parameters at the current moment to the motor; The instruction processing module makes the parameter processing module send the driving parameters at the current moment to the motor according to the power-on instruction.
6. The vehicle controller reset system according to claim 5, wherein When the vehicle control unit enters the sleep state, the parameter processing module obtains the driving parameters at the moment before the power-off instruction and transmits them to the motor.
7. The vehicle controller reset system according to claim 5, wherein The storage module includes a program memory.
8. The vehicle controller reset system according to claim 5, wherein The driving parameters include: Control modes, which include a torque control mode and a speed control mode; and Control instructions, which include a torque instruction and a speed instruction; Among them, the torque control mode targets the torque command, and the vehicle controller sends a torque target to the motor according to the torque command, so that the motor moves according to this torque target; The speed control mode targets the speed command, and the vehicle controller sends a speed target to the motor according to the speed target, so that the motor moves according to this speed target.
9. An electric vehicle, characterized in that, It includes the vehicle controller reset system according to any one of claims 5-8.
10. A computer-readable storage medium having a computer program stored thereon, characterized in that, When the program is executed by a processor, it realizes the vehicle controller reset method according to any one of claims 1-4.
Citation Information
Patent Citations
Control method and device of whole vehicle controller and whole vehicle control method and system
CN105700419A
Reset control method, device and equipment and storage medium
CN111845376A