CN114679374A - Reset control method and device and electronic equipment - Google Patents

Reset control method and device and electronic equipment Download PDF

Info

Publication number
CN114679374A
CN114679374A CN202011552136.5A CN202011552136A CN114679374A CN 114679374 A CN114679374 A CN 114679374A CN 202011552136 A CN202011552136 A CN 202011552136A CN 114679374 A CN114679374 A CN 114679374A
Authority
CN
China
Prior art keywords
signal
preset time
reset
fault controller
controller
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Pending
Application number
CN202011552136.5A
Other languages
Chinese (zh)
Inventor
王林
李相华
任倩萌
叶锦
王志翔
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SAIC Motor Corp Ltd
Original Assignee
SAIC Motor Corp Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SAIC Motor Corp Ltd filed Critical SAIC Motor Corp Ltd
Priority to CN202011552136.5A priority Critical patent/CN114679374A/en
Publication of CN114679374A publication Critical patent/CN114679374A/en
Pending legal-status Critical Current

Links

Images

Classifications

    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L41/00Arrangements for maintenance, administration or management of data switching networks, e.g. of packet switching networks
    • H04L41/06Management of faults, events, alarms or notifications
    • H04L41/0654Management of faults, events, alarms or notifications using network fault recovery
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L12/40169Flexible bus arrangements
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40208Bus networks characterized by the use of a particular bus standard
    • H04L2012/40215Controller Area Network CAN
    • HELECTRICITY
    • H04ELECTRIC COMMUNICATION TECHNIQUE
    • H04LTRANSMISSION OF DIGITAL INFORMATION, e.g. TELEGRAPHIC COMMUNICATION
    • H04L12/00Data switching networks
    • H04L12/28Data switching networks characterised by path configuration, e.g. LAN [Local Area Networks] or WAN [Wide Area Networks]
    • H04L12/40Bus networks
    • H04L2012/40267Bus for use in transportation systems
    • H04L2012/40273Bus for use in transportation systems the transportation system being a vehicle

Landscapes

  • Engineering & Computer Science (AREA)
  • Computer Networks & Wireless Communication (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention provides a reset control method, a device and electronic equipment, wherein the fault controller is disconnected from communication with a CAN network when in reset, at the moment, whether a key signal sent by the fault controller CAN be received in the CAN network is judged within a first preset time, namely, the function of judging whether the fault controller is in reset is provided, if the key signal sent by the fault controller cannot be received within the first preset time, the known fault controller is judged to be reset, namely, whether the fault controller is reset CAN be determined by judging whether the key signal is lost. At this time, the signal value of each signal which is not received and sent by the fault controller is set as the effective value of the corresponding signal in the last signal sending period within the first preset time, so that the vehicle can be ensured to work according to the state before the fault controller is restarted, namely, the vehicle can be ensured to work normally.

Description

Reset control method and device and electronic equipment
Technical Field
The invention relates to the field of new energy automobiles, in particular to a reset control method and device and electronic equipment.
Background
The controller of the three-electric system of the new energy automobile generally comprises a vehicle control unit VCU, a motor controller MCU and a battery management unit BMU.
If some controller has internal fault, such as memory read-write error, stack overflow, etc., the fault controller can clear the fault by resetting reset so as to make the fault controller recover to normal.
However, during the resetting process of the fault controller, other controllers do not know that the fault controller is reset, and the fault controller may issue an instruction in error during the resetting process, and at the moment, if the other controllers execute the instruction normally, the safety risk of the vehicle may be caused.
Disclosure of Invention
In view of the above, the present invention provides a reset control method, a reset control apparatus, and an electronic device, so as to solve the problem that in the reset process of a faulty controller, other controllers do not know that the faulty controller is reset, the faulty controller may issue an instruction in error in the reset process, and at this time, if the other controllers execute the instruction normally, the vehicle may have a safety risk.
In order to solve the technical problems, the invention adopts the following technical scheme:
a reset control method comprising:
judging whether a key signal sent by a fault controller CAN be received in a CAN (controller area network) within a first preset time; the key signal is a signal comprising key information used by the fault controller in data calculation; the first preset time is greater than a preset signal sending period and less than the fault controller reset time; the fault controller disconnects communication with the CAN network when reset;
if the key signals sent by the fault controller cannot be received within the first preset time, the signal value of each signal sent by the fault controller which is not received within the first preset time is set as the effective value of the corresponding signal within the last signal sending period.
Preferably, after the signal value of each signal sent by the fault controller and not received is set to the valid value of the corresponding signal at the last time within the first preset time, the method further includes:
judging whether the fault controller is reset successfully within a second preset time after the first preset time; the second preset time is longer than the system recovery normal time after the fault controller is successfully reset;
and if the failure is not successful, controlling to enter a failure mode corresponding to the failure controller.
Preferably, in the process of determining whether the fault controller is successfully reset within a second preset time after the first preset time, the method further includes:
and setting the signal value of each signal which is not received and sent by the fault controller to be a corresponding preset value.
Preferably, the determining whether the fault controller is successfully reset within a second preset time after the first preset time includes:
within the second preset time, circularly judging whether the key signal is received or not at intervals of third preset time; the third preset time is less than the second preset time;
if the key signal is received and is valid, judging that the fault controller is successfully reset;
and if the key signal is not received or the key signal is received but the key signal is invalid, judging that the fault controller is not reset successfully.
A reset control apparatus comprising:
the first judgment module is used for judging whether a key signal sent by a fault controller CAN be received in the CAN within a first preset time; the key signal is a signal comprising key information used by the fault controller in data calculation; the first preset time is greater than a preset signal sending period and less than the fault controller reset time; the fault controller disconnects communication with the CAN network when reset;
the first setting module is used for judging that the key signals sent by the fault controller cannot be received within first preset time, and setting the signal value of each signal sent by the fault controller which is not received within the first preset time as the effective value of the corresponding signal within the last signal sending period.
Preferably, the method further comprises the following steps:
the second judging module is used for judging whether the fault controller is successfully reset or not within a second preset time after the first setting module sets the signal value of each signal which is not received and sent by the fault controller as the effective value of the corresponding signal in the last signal sending period within the first preset time; the second preset time is longer than the system recovery normal time after the fault controller is successfully reset;
and the control module is used for controlling to enter a fault mode corresponding to the fault controller if the fault is not successful.
Preferably, the method further comprises the following steps:
and the second setting module is used for setting the signal value of each signal which is not received and sent by the fault controller to a corresponding preset value in the process of judging whether the fault controller is successfully reset by the second judging module within second preset time after the first preset time.
Preferably, the second determination module includes:
the judgment submodule is used for circularly judging whether the key signal is received or not at intervals of third preset time within the second preset time; the third preset time is less than the second preset time;
if the key signal is received and is valid, judging that the fault controller is successfully reset;
and if the key signal is not received or the key signal is received but the key signal is invalid, judging that the fault controller is not reset successfully.
An electronic device comprising a memory and a processor;
wherein the memory is used for storing programs;
the processor calls a program and is used to:
judging whether a key signal sent by a fault controller CAN be received in a CAN (controller area network) within a first preset time; the key signal is a signal comprising key information used by the fault controller in data calculation; the first preset time is greater than a preset signal sending period and less than the fault controller reset time; the fault controller disconnects communication with the CAN network when reset;
if the key signals sent by the fault controller cannot be received within the first preset time, the signal value of each signal sent by the fault controller which is not received within the first preset time is set as the effective value of the corresponding signal within the last signal sending period.
Compared with the prior art, the invention has the following beneficial effects:
the invention provides a reset control method, a device and electronic equipment, wherein the fault controller is disconnected from communication with a CAN network when in reset, at the moment, whether a key signal sent by the fault controller CAN be received in the CAN network is judged within a first preset time, namely, the function of judging whether the fault controller is in reset is provided, if the key signal sent by the fault controller cannot be received within the first preset time, the known fault controller is judged to be reset, namely, whether the fault controller is reset CAN be determined by judging whether the key signal is lost. At this time, the signal value of each signal which is not received and sent by the fault controller is set as the effective value of the corresponding signal in the last signal sending period within the first preset time, so that the vehicle can be ensured to work according to the state before the fault controller is restarted, namely, the vehicle can be ensured to work normally.
Drawings
In order to more clearly illustrate the embodiments of the present invention or the technical solutions in the prior art, the drawings used in the description of the embodiments or the prior art will be briefly described below, it is obvious that the drawings in the following description are only embodiments of the present invention, and for those skilled in the art, other drawings can be obtained according to the provided drawings without creative efforts.
Fig. 1 is a flowchart of a method of resetting a control method according to an embodiment of the present invention;
fig. 2 is a schematic connection diagram of a controller of a three-electric system of a new energy vehicle according to an embodiment of the present invention;
FIG. 3 is a flowchart of another method for resetting a control method according to an embodiment of the present invention;
fig. 4 is a schematic structural diagram of a reset control apparatus according to an embodiment of the present invention.
Detailed Description
The technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the drawings in the embodiments of the present invention, and it is obvious that the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. All other embodiments, which can be derived by a person skilled in the art from the embodiments given herein without making any creative effort, shall fall within the protection scope of the present invention.
An embodiment of the present invention provides a reset control method, which is applied to a controller in a normal operating state, and with reference to fig. 1, the reset control method may include:
s11, judging whether a key signal sent by a fault controller CAN be received in the CAN within a first preset time; if the critical signal sent by the fault controller cannot be received within the first preset time, executing step S12; if it is determined that the key signal transmitted by the fault controller can be received within the first preset time, step S13 is executed.
The key signal is a signal comprising key information used by the fault controller in data calculation;
the first preset time is greater than a preset signal sending period and less than the fault controller reset time;
the fault controller disconnects communication with the CAN network upon reset.
Specifically, a controller of a three-electric system of a new energy automobile generally comprises a vehicle control unit VCU, a motor controller MCU and a battery management unit BMU. Referring to fig. 2, the vehicle control unit VCU 13, the motor controller MCU 14, the battery management unit BMU 12, and the external controller 11 are all connected to the same CAN network, and the vehicle control unit VCU 13, the motor controller MCU 14, the battery management unit BMU 12, and the external controller 11 may all broadcast signals into the CAN network.
If the VCU of the vehicle control unit fails, the vehicle control unit is a failed controller, and the failed controller can clear the failure by resetting the reset method so as to recover the failed controller.
When the faulty controller is reset, the faulty controller may erroneously send an instruction to another controller because the chip state is unstable or uncontrollable during the reset process, and the other controller may analyze and execute the instruction without knowing the reset of the faulty controller. Therefore, in this embodiment, the fault controller will disconnect from the CAN network, that is, the command generated by the fault controller during the reset process will not be sent to the CAN network, and further, the other controllers will not receive the control command.
Other controllers, such as the motor controller MCU and the battery management unit BMU, may determine whether the key signal sent by the fault controller can be received within a first preset time. I.e., whether a reset of the controller has occurred can be determined based on whether a critical signal is lost.
The preset first preset time is greater than a preset signal sending period and less than the fault controller reset time, and specifically, a signal sent by the controller may be delayed, so the setting of the first preset time greater than the signal sending period is to avoid a situation of signal delay, and in addition, the setting of the first preset time less than the fault controller reset time is because if the preset time is greater than the fault controller reset time, the fault controller may have been successfully reset within the first preset time, it is determined whether the fault controller has been unnecessarily reset, and the setting of the first preset time greater than the signal sending period and less than the fault controller reset time.
In this embodiment, a key signal is introduced, and assuming that the fault controller is a BMS, the key signal may be a main relay state signal, that is, the key signal is a key signal affecting the operation of the vehicle, and if torque control is required, a signal including a torque value is the key signal.
In this embodiment, whether the fault controller is reset is determined by determining whether the key signal is lost, and the controller that normally operates can perform the subsequent corresponding steps.
S12, if the critical signal sent by the fault controller cannot be received within the first preset time, setting the signal value of each signal sent by the fault controller which is not received within the first preset time as the effective value of the corresponding signal within the last signal sending period.
Specifically, when the fault controller is reset, the fault controller cannot send a control signal, at this time, a signal value of each signal sent by the fault controller, which is not received, within the first preset time is set to be an effective value of a corresponding signal within a last signal sending period, and because the reset time of the fault controller is short, a signal value of each signal sent by the fault controller, which is not received, is set to be an effective value of a corresponding signal within a last signal sending period, so that the vehicle can be ensured to work according to a state before the fault controller is restarted, that is, the vehicle can be ensured to work normally.
And S13, controlling the vehicle to work normally.
When the key signals sent by the fault controllers cannot be received, the situation that the controllers are normal is explained, and at the moment, each controller works normally, so that the normal operation of the vehicle is ensured.
In this embodiment, when the fault controller is reset, the communication with the CAN network is disconnected, at this time, it is determined whether a key signal sent by the fault controller CAN be received in the CAN network within a first preset time, that is, it has a function of determining whether the fault controller is reset, and if it is determined that the key signal sent by the fault controller cannot be received within the first preset time, it indicates that the known fault controller is reset, that is, it is determined whether the fault controller is reset by determining whether the key signal is lost. At this time, the signal value of each signal which is not received and sent by the fault controller is set as the effective value of the corresponding signal in the last signal sending period within the first preset time, so that the vehicle can be ensured to work according to the state before the fault controller is restarted, namely, the vehicle can be ensured to work normally.
In addition, the embodiment of the invention can avoid the problem that when a certain controller in the three-electric system is reset, other controllers cannot acquire or cooperate with the abnormality to cause the system to generate safety risk or power loss of the system, and improve the fault tolerance rate, the robustness and the safety of the system of the three-electric system.
Optionally, on the basis of the above embodiment of the reset control method, referring to fig. 3, after step S22, the method may further include:
s24, judging whether the fault controller is reset successfully within a second preset time after the first preset time; if the reset is successful, go to step S23; if the reset is not successful, go to step S25;
and the second preset time is greater than the system recovery normal time after the fault controller is successfully reset.
Specifically, the failure controller is successfully reset, which means that the failure controller executes two parts, namely reset and system recovery, and after the system recovery is executed, the failure controller can normally work. The second preset time is set to be longer than the system recovery normal time after the fault controller is successfully reset, because the fault controller may start to execute the reset within the first preset time and the reset is successful, and thereafter, the fault controller can normally work only when the system recovery needs to be executed, and further, the second preset time is set to be longer than the system recovery normal time after the fault controller is successfully reset.
Optionally, on the basis of this embodiment, step S24 may specifically include:
within the second preset time, circularly judging whether the key signal is received or not at intervals of third preset time; the third preset time is less than the second preset time;
if the key signal is received and is valid, judging that the fault controller is successfully reset; and if the key signal is not received or the key signal is received but the key signal is invalid, judging that the fault controller is not reset successfully.
Specifically, the third preset time may be 5ms or 10ms, and in the second preset time, it is determined whether the key signal is received once every third preset time. And if the key signal is received and is valid, judging that the fault controller is successfully reset. If the key signal is not received or the key signal is received but the key signal is invalid, it indicates that the fault controller cannot normally send the control signal, and at this time, the fault controller is also considered to be unsuccessfully reset.
For example, the BMS is a fault controller, and when the BMS is reset due to a fault, if the main relay status signal is received and is valid, if the main relay is controlled to be in a closed state by the signal, the BMS is considered to be successfully reset.
And S25, controlling to enter a fault mode corresponding to the fault controller.
Specifically, if the reset is not successful, it indicates that the fault controller is still in a fault state, and then enters a fault mode, if the fault controller is the BMS, the fault mode may be system power down, a BMS communication fault is recorded, and a fault lamp is turned on.
It should be noted that, for the explanation of step S21-step S23 in this embodiment, please refer to the corresponding explanation in the above embodiments, which is not repeated herein.
Optionally, on the basis of this embodiment, in the process of executing step S24, the method further includes:
and setting the signal value of each signal which is not received and sent by the fault controller to be a corresponding preset value.
Specifically, in the process of determining whether to reset, in order to ensure normal operation of the vehicle, the signal value of each signal sent by the fault controller, which is not received, is set to a corresponding preset value, so as to ensure normal operation of the vehicle. The preset value is control data of normal running of the vehicle.
In this embodiment, by adding the step of determining whether the reset is successful or not at the second preset time and setting the signal value of each signal sent by the fault controller, which is not received, as the corresponding preset value, it can be ensured that the vehicle can also work normally when the fault controller is reset, the vehicle does not generate a safety risk, the system is powered off or the system power is lost, and the failure controller can be determined to be successfully reset as soon as possible.
In addition, the internal fault of the controller is solved through reset, only hundreds of milliseconds are needed, and if other controllers do not use the method provided by the embodiment of the invention, the signal loss is judged, the system is directly controlled to be powered off, and the availability of the whole vehicle is reduced; if the method provided by the embodiment of the invention is used, after the controller is operated for hundreds of milliseconds by using the set first preset time and the set second preset time, the controller is normally operated again after reset is finished, and the usability of the whole vehicle can be greatly enhanced.
Optionally, on the basis of the embodiment of the reset control method, another embodiment of the present invention provides a reset control apparatus, and with reference to fig. 4, the reset control apparatus may include:
the first judging module 101 is configured to judge whether a key signal sent by a fault controller CAN be received in a CAN network within a first preset time; the key signal is a signal comprising key information used by the fault controller in data calculation; the first preset time is greater than a preset signal sending period and less than the fault controller reset time; the fault controller disconnects communication with the CAN network when resetting;
the first setting module 102 is configured to, if it is determined that the key signal sent by the fault controller cannot be received within a first preset time, set a signal value of each signal sent by the fault controller that is not received within the first preset time to an effective value of a corresponding signal within a last signal sending period.
In this embodiment, when the fault controller is reset, the communication with the CAN network is disconnected, and at this time, it is determined whether the key signal sent by the fault controller CAN be received within a first preset time, that is, it has a function of determining whether the fault controller is reset, and if it is determined that the key signal sent by the fault controller cannot be received within the first preset time, it indicates that the known fault controller is reset, that is, it is determined whether the fault controller is reset by determining whether the key signal is lost. At this time, the signal value of each signal which is not received and sent by the fault controller is set as the effective value of the corresponding signal in the last signal sending period within the first preset time, so that the vehicle can be ensured to work according to the state before the fault controller is restarted, namely, the vehicle can be ensured to work normally.
In addition, the embodiment of the invention can avoid the problem that when a certain controller is reset in the three-electric system, other controllers cannot acquire or cooperate with the abnormality to cause the system to generate a safety risk or the system is powered off or the system power is lost, and improve the fault tolerance rate, the system robustness and the safety of the three-electric system.
It should be noted that, for the working process of each module in this embodiment, please refer to the corresponding description in the above embodiments, which is not described herein again.
Optionally, on the basis of the embodiment of the reset control apparatus, the method further includes:
the second judging module is used for judging whether the fault controller is successfully reset or not within a second preset time after the first setting module sets the signal value of each signal which is not received and sent by the fault controller as the effective value of the corresponding signal in the last signal sending period within the first preset time; the second preset time is longer than the system recovery normal time after the fault controller is successfully reset;
and the control module is used for controlling to enter a fault mode corresponding to the fault controller if the fault is not successful.
Further, still include:
and the second setting module is used for setting the signal value of each signal which is not received and sent by the fault controller to a corresponding preset value in the process of judging whether the fault controller is successfully reset by the second judging module within second preset time after the first preset time.
Further, the second determination module includes:
the judgment submodule is used for circularly judging whether the key signal is received or not at intervals of third preset time within the second preset time; the third preset time is less than the second preset time;
if the key signal is received and is valid, judging that the fault controller is successfully reset;
and if the key signal is not received or the key signal is received but the key signal is invalid, judging that the fault controller is not reset successfully.
In this embodiment, by adding the step of determining whether the reset is successful or not at the second preset time and setting the signal value of each signal sent by the fault controller, which is not received, to the corresponding preset value, it can be ensured that the vehicle can also work normally when the fault controller is reset, the vehicle does not generate a safety risk, the system is powered off or the system power is lost, and the success of the reset of the fault controller can be determined as soon as possible.
In addition, the internal fault of the controller is solved through reset, only hundreds of milliseconds are needed, and if other controllers do not use the method provided by the embodiment of the invention, the signal loss is judged, the system is directly controlled to be powered off, and the availability of the whole vehicle is reduced; if the method provided by the embodiment of the invention is used, after the controller is operated for hundreds of milliseconds by using the set first preset time and second preset time, the controller is normally operated again after reset is finished, and the usability of the whole vehicle can be greatly enhanced.
It should be noted that, please refer to the corresponding description in the above embodiment for the working process of each module and sub-module in this embodiment, which is not described herein again.
Optionally, on the basis of the embodiments of the reset control method and apparatus, another embodiment of the present invention provides an electronic device, which may include a memory and a processor;
wherein the memory is used for storing programs;
the processor calls a program and is used to:
judging whether a key signal sent by a fault controller CAN be received in a CAN (controller area network) within a first preset time; the key signal is a signal comprising key information used by the fault controller in data calculation; the first preset time is greater than a preset signal sending period and less than the fault controller reset time; the fault controller disconnects communication with the CAN network when resetting;
if the key signals sent by the fault controller cannot be received within the first preset time, the signal value of each signal sent by the fault controller which is not received within the first preset time is set as the effective value of the corresponding signal within the last signal sending period.
In this embodiment, when the fault controller is reset, the communication with the CAN network is disconnected, and at this time, it is determined whether the key signal sent by the fault controller CAN be received within a first preset time, that is, it has a function of determining whether the fault controller is reset, and if it is determined that the key signal sent by the fault controller cannot be received within the first preset time, it indicates that the known fault controller is reset, that is, it is determined whether the fault controller is reset by determining whether the key signal is lost. At this time, the signal value of each signal which is not received and sent by the fault controller is set as the effective value of the corresponding signal in the last signal sending period within the first preset time, so that the vehicle can be ensured to work according to the state before the fault controller is restarted, namely, the vehicle can be ensured to work normally.
In addition, the embodiment of the invention can avoid the problem that when a certain controller is reset in the three-electric system, other controllers cannot acquire or cooperate with the abnormality to cause the system to generate a safety risk or the system is powered off or the system power is lost, and improve the fault tolerance rate, the system robustness and the safety of the three-electric system.
The previous description of the disclosed embodiments is provided to enable any person skilled in the art to make or use the present invention. Various modifications to these embodiments will be readily apparent to those skilled in the art, and the generic principles defined herein may be applied to other embodiments without departing from the spirit or scope of the invention. Thus, the present invention is not intended to be limited to the embodiments shown herein but is to be accorded the widest scope consistent with the principles and novel features disclosed herein.

Claims (9)

1. A reset control method, comprising:
judging whether a key signal sent by a fault controller CAN be received in a CAN (controller area network) within a first preset time; the key signal is a signal comprising key information used by the fault controller in data calculation; the first preset time is greater than a preset signal sending period and less than the fault controller reset time; the fault controller disconnects communication with the CAN network when reset;
if the key signals sent by the fault controller cannot be received within the first preset time, the signal value of each signal sent by the fault controller and not received within the first preset time is set as the effective value of the corresponding signal within the last signal sending period.
2. The reset control method according to claim 1, wherein after the signal value of each signal sent by the fault controller that is not received is set to the valid value of the corresponding signal at the previous time within the first preset time, the method further comprises:
judging whether the fault controller is reset successfully within a second preset time after the first preset time; the second preset time is longer than the system recovery normal time after the fault controller is successfully reset;
and if the failure is not successful, controlling to enter a failure mode corresponding to the failure controller.
3. The reset control method according to claim 2, wherein in determining whether the fault controller is successfully reset within a second preset time after the first preset time, the method further comprises:
and setting the signal value of each signal which is not received and sent by the fault controller to be a corresponding preset value.
4. The reset control method of claim 2, wherein determining whether the fault controller is reset successfully within a second preset time after the first preset time comprises:
within the second preset time, circularly judging whether the key signal is received or not at intervals of third preset time; the third preset time is less than the second preset time;
if the key signal is received and is valid, judging that the fault controller is successfully reset;
and if the key signal is not received or the key signal is received but the key signal is invalid, judging that the fault controller is not reset successfully.
5. A reset control apparatus, comprising:
the first judgment module is used for judging whether a key signal sent by a fault controller CAN be received in the CAN within a first preset time; the key signal is a signal comprising key information used by the fault controller in data calculation; the first preset time is greater than a preset signal sending period and less than the fault controller reset time; the fault controller disconnects communication with the CAN network when reset;
the first setting module is used for judging that the key signals sent by the fault controller cannot be received within a first preset time, and setting the signal value of each signal sent by the fault controller which is not received within the first preset time as the effective value of the corresponding signal within the last signal sending period.
6. The reset control apparatus of claim 5, further comprising:
the second judging module is used for judging whether the fault controller is successfully reset or not within a second preset time after the first setting module sets the signal value of each signal which is not received and sent by the fault controller as the effective value of the corresponding signal in the last signal sending period within the first preset time; the second preset time is longer than the system recovery normal time after the fault controller is successfully reset;
and the control module is used for controlling to enter a fault mode corresponding to the fault controller if the fault is not successful.
7. The reset control apparatus of claim 6, further comprising:
and the second setting module is used for setting the signal value of each signal which is not received and sent by the fault controller to a corresponding preset value in the process of judging whether the fault controller is successfully reset by the second judging module within second preset time after the first preset time.
8. The reset control apparatus of claim 6, wherein the second determination module comprises:
the judgment submodule is used for circularly judging whether the key signal is received or not at intervals of third preset time within the second preset time; the third preset time is less than the second preset time;
if the key signal is received and is valid, judging that the fault controller is successfully reset;
and if the key signal is not received or the key signal is received but the key signal is invalid, judging that the fault controller is not reset successfully.
9. An electronic device comprising a memory and a processor;
wherein the memory is used for storing programs;
the processor calls a program and is used to:
judging whether a key signal sent by a fault controller CAN be received in a CAN (controller area network) within a first preset time; the key signal is a signal comprising key information used by the fault controller in data calculation; the first preset time is greater than a preset signal sending period and less than the fault controller reset time; the fault controller disconnects communication with the CAN network when reset;
if the key signals sent by the fault controller cannot be received within the first preset time, the signal value of each signal sent by the fault controller which is not received within the first preset time is set as the effective value of the corresponding signal within the last signal sending period.
CN202011552136.5A 2020-12-24 2020-12-24 Reset control method and device and electronic equipment Pending CN114679374A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN202011552136.5A CN114679374A (en) 2020-12-24 2020-12-24 Reset control method and device and electronic equipment

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN202011552136.5A CN114679374A (en) 2020-12-24 2020-12-24 Reset control method and device and electronic equipment

Publications (1)

Publication Number Publication Date
CN114679374A true CN114679374A (en) 2022-06-28

Family

ID=82071251

Family Applications (1)

Application Number Title Priority Date Filing Date
CN202011552136.5A Pending CN114679374A (en) 2020-12-24 2020-12-24 Reset control method and device and electronic equipment

Country Status (1)

Country Link
CN (1) CN114679374A (en)

Cited By (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117148824A (en) * 2023-10-30 2023-12-01 北京集度科技有限公司 Fault recovery method and device, electronic equipment, storage medium and vehicle

Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006191338A (en) * 2005-01-06 2006-07-20 Fujitsu Ten Ltd Gateway apparatus for diagnosing fault of device in bus
CN101783759A (en) * 2010-01-19 2010-07-21 浙江吉利汽车研究院有限公司 Bus error recovery processing method
CN102013943A (en) * 2010-07-26 2011-04-13 浙江吉利汽车研究院有限公司 Network frame loss processing method of CAN (Controller Area Network) bus
CN102063121A (en) * 2010-12-16 2011-05-18 奇瑞汽车股份有限公司 Automobile body control system
KR101173087B1 (en) * 2011-04-01 2012-08-13 주식회사 만도 Control apparatus and control method of vehicle
CN102759922A (en) * 2012-07-20 2012-10-31 湖南吉大汽车链条有限公司 Electric motorcar communication safety detection method and system thereof
KR20120136821A (en) * 2011-06-10 2012-12-20 현대자동차주식회사 Method for controling starting reset of electric vehicle
US20140108896A1 (en) * 2011-06-07 2014-04-17 Daesung Electric Co., Ltd. Error detecting device and method of a dual controller system
KR20150010078A (en) * 2013-07-18 2015-01-28 현대모비스 주식회사 Apparatus and Method for controlling a motor for fail safe reaction
CN104423374A (en) * 2013-08-30 2015-03-18 北汽福田汽车股份有限公司 Controller for automobile, automobile with controller and monitoring method
CN104782082A (en) * 2012-09-05 2015-07-15 通用汽车环球科技运作有限责任公司 New approach for controller area network bus off handling
CN106951336A (en) * 2017-03-24 2017-07-14 北京经纬恒润科技有限公司 A kind of MCU repositioning method, apparatus and system
CN107846312A (en) * 2017-10-30 2018-03-27 北方智能装备有限公司 A kind of network service ensuring equipment
US20190333296A1 (en) * 2018-04-25 2019-10-31 Shenzhen Launch Software Co., Ltd. Vehicle diagnostic method and device, and computer readable storage medium
KR20200026393A (en) * 2018-08-31 2020-03-11 현대자동차주식회사 System and method for checking fault of can communication

Patent Citations (15)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2006191338A (en) * 2005-01-06 2006-07-20 Fujitsu Ten Ltd Gateway apparatus for diagnosing fault of device in bus
CN101783759A (en) * 2010-01-19 2010-07-21 浙江吉利汽车研究院有限公司 Bus error recovery processing method
CN102013943A (en) * 2010-07-26 2011-04-13 浙江吉利汽车研究院有限公司 Network frame loss processing method of CAN (Controller Area Network) bus
CN102063121A (en) * 2010-12-16 2011-05-18 奇瑞汽车股份有限公司 Automobile body control system
KR101173087B1 (en) * 2011-04-01 2012-08-13 주식회사 만도 Control apparatus and control method of vehicle
US20140108896A1 (en) * 2011-06-07 2014-04-17 Daesung Electric Co., Ltd. Error detecting device and method of a dual controller system
KR20120136821A (en) * 2011-06-10 2012-12-20 현대자동차주식회사 Method for controling starting reset of electric vehicle
CN102759922A (en) * 2012-07-20 2012-10-31 湖南吉大汽车链条有限公司 Electric motorcar communication safety detection method and system thereof
CN104782082A (en) * 2012-09-05 2015-07-15 通用汽车环球科技运作有限责任公司 New approach for controller area network bus off handling
KR20150010078A (en) * 2013-07-18 2015-01-28 현대모비스 주식회사 Apparatus and Method for controlling a motor for fail safe reaction
CN104423374A (en) * 2013-08-30 2015-03-18 北汽福田汽车股份有限公司 Controller for automobile, automobile with controller and monitoring method
CN106951336A (en) * 2017-03-24 2017-07-14 北京经纬恒润科技有限公司 A kind of MCU repositioning method, apparatus and system
CN107846312A (en) * 2017-10-30 2018-03-27 北方智能装备有限公司 A kind of network service ensuring equipment
US20190333296A1 (en) * 2018-04-25 2019-10-31 Shenzhen Launch Software Co., Ltd. Vehicle diagnostic method and device, and computer readable storage medium
KR20200026393A (en) * 2018-08-31 2020-03-11 현대자동차주식회사 System and method for checking fault of can communication

Cited By (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN117148824A (en) * 2023-10-30 2023-12-01 北京集度科技有限公司 Fault recovery method and device, electronic equipment, storage medium and vehicle
CN117148824B (en) * 2023-10-30 2024-02-02 北京集度科技有限公司 Fault recovery method and device, electronic equipment, storage medium and vehicle

Similar Documents

Publication Publication Date Title
EP4049910A1 (en) Automatic driving control system, control method and device
CN106951336B (en) MCU (microprogrammed control Unit) resetting method, device and system
CN111781891B (en) Robot safety logic control system
CN100492305C (en) Fast restoration method of computer system and apparatus
CN112559003B (en) Domain controller software upgrading method and device and domain controller
CN106032619B (en) Machine communicating with washing method
CN111538624A (en) Server power supply maintenance method, device, equipment and medium
CN114679374A (en) Reset control method and device and electronic equipment
CN110995724A (en) Remote upgrading method for whole vehicle controller of new energy bus
CN110502369B (en) Method and device for recovering equipment crash and storage medium
CN102761646B (en) System and method for command interaction correction for dual-mode phone
CN111427259B (en) Main and standby switching method of machine frame slot type, intelligent equipment and storage medium
CN109664902B (en) Rail vehicle and human-computer interaction system thereof
CN111930573A (en) Task-level dual-computer hot standby system and method based on management platform
CN113895379B (en) Automatic drive-by-wire system of vehicle
CN201047943Y (en) Fast recovery equipment of computer system
CN114518892A (en) Remote upgrading method and system
CN111505977B (en) Function auxiliary debugging method, device, system and medium
CN112721639B (en) Relay control method and device
CN116528245B (en) Security control method, system, mobile device and electronic device
CN117319180A (en) Daisy chain breakpoint recovery method, device, equipment and storage medium
CN114003429B (en) Double-system state control method and system of safety demanding system based on 2oo2 x 2
CN111752773B (en) Method and device for realizing power-on self-check verification of clustered system
CN113938406B (en) Ethernet communication abnormity monitoring and processing method and system based on SOMEIP protocol
KR101252768B1 (en) Vehicle Brake System and Controlling Method thereof

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination