Engine control method, device and equipment, vehicle and storage medium
By monitoring control messages in the engine controller and controlling the engine using a preset control mode when no messages are monitored, the low safety problem caused by the engine controller monitoring failure is solved, and effective control and safety improvement in the case of failure is achieved.
Patent Information
- Application Number
- CN202510644262.X
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-05-19
- Publication Date
- 2025-07-04
AI Technical Summary
The engine controller cannot effectively control the engine when the monitoring control message fails, resulting in low vehicle safety.
After the vehicle is powered on, the engine controller monitors the control message. If the message is not monitored within the target time, the engine operation will be controlled according to the preset control mode (such as the shutdown mode, idle mode or the limiting maximum torque output mode) and generates fault information.
Ensure that the engine can still be effectively controlled in the event of communication failure or abnormal controller, and improve the safety and stability of the vehicle.
Smart Images

Figure CN120251405A_ABST
Abstract
Description
Technical Field
[0001] The present application relates to the technical field of vehicles, and in particular, to an engine control method, device, equipment, vehicle, and storage medium. Background Art
[0002] With the rapid development of vehicle electronic control technology, the intelligent level of the engine control system has been significantly improved. In the fields of commercial vehicles, construction machinery, and special vehicles, the engine controller needs to communicate with other controllers (such as the vehicle controller and the anti-lock braking controller) in real time through the CAN bus to cooperate in completing key functions such as vehicle power control and safety protection.
[0003] In the related art, the engine controller can monitor the control messages sent from other controllers and control the engine to shut down according to the control messages. However, in actual operation, due to network communication failures or failures of the controllers sending the control messages, the engine controller may fail to monitor the control messages, resulting in the inability to effectively control the engine according to the control messages, and further leading to low vehicle safety. Summary of the Invention
[0004] The present application provides an engine control method, device, equipment, vehicle, and storage medium, which are used to solve the problem that the engine can still be effectively controlled when the engine controller fails to monitor the control message, thereby improving the safety of the vehicle.
[0005] In a first aspect, the present application provides an engine control method, and the method includes:
[0006] After the vehicle is powered on, monitor the control message of the engine;
[0007] If the control message is not monitored within a target duration, control the engine to run according to a preset control mode; the preset control mode includes any one of a shutdown mode, an idle mode, and a mode of restricting the maximum torque output.
[0008] In a possible implementation manner, the method further includes:
[0009] When controlling the engine to run according to the preset control mode, generate a fault message, and the fault message is used to indicate that a timeout fault occurs in the control message;
[0010] Send the fault message to the visualization interface of the vehicle for display.
[0011] In a possible implementation manner, the method further includes:
[0012] If the control message is detected within the target duration, determine whether the control message is a valid engine shutdown message, where the valid engine shutdown message is used to control the engine to shut down;
[0013] If the control message is a valid engine shutdown message, within a preset duration, determine whether to adjust the control mode of the engine according to the number of continuously detected valid engine shutdown messages, where the preset duration is a time period calculated starting from the first detection of the valid engine shutdown message;
[0014] If the control message is an invalid engine shutdown message, continue to monitor the next control message.
[0015] In a possible implementation, determining whether to adjust the control mode of the engine according to the number of continuously detected valid engine shutdown messages includes:
[0016] Adjust the control mode of the engine to the shutdown mode according to the number of continuously detected valid engine shutdown messages being greater than or equal to a preset number;
[0017] Control the engine to maintain the current mode according to the number of continuously detected valid engine shutdown messages being less than the preset number.
[0018] In a possible implementation, determining whether the control message is a valid engine shutdown message includes:
[0019] If the shutdown control instruction in the control message is consistent with the preset shutdown instruction and the message address is consistent with the preset message address, determine that the control message is a valid engine shutdown message.
[0020] In a possible implementation, the method further includes:
[0021] If the shutdown control instruction in the control message is inconsistent with the preset shutdown instruction and / or the message address is inconsistent with the preset message address, determine that the control message is an invalid engine shutdown message.
[0022] In a second aspect, the present application provides an engine control device, where the device includes:
[0023] A first processing module, configured to monitor the control messages of the engine after the vehicle is powered on;
[0024] A second processing module, configured to determine the control mode of the engine according to a preset fault level if the control message is not detected within a preset duration.
[0025] In a third aspect, the present application provides an electronic device, including: a memory, a processor;
[0026] The memory stores computer-executable instructions;
[0027] The processor executes the computer-executable instructions stored in the memory, so that the processor executes the first aspect and / or various possible implementation manners of the first aspect as above.
[0028] Fourth aspect, the present application provides a vehicle, including the electronic device as described in the third aspect.
[0029] Fifth aspect, the present application provides a computer-readable storage medium, in which computer-executable instructions are stored, and when the computer-executable instructions are executed by a processor, they are used to implement the first aspect and / or various possible implementation manners of the first aspect as above.
[0030] Sixth aspect, the present application provides a computer program product, including a computer program, and when the computer program is executed by a processor, it implements the first aspect and / or various possible implementation manners of the first aspect as above.
[0031] The engine control method, device, equipment, vehicle and storage medium provided by the present application include that after the vehicle is powered on, the control message of the engine can be monitored. If no control message is monitored within the target duration, the operation of the engine is controlled according to a preset control mode, and the preset control mode can be any one of a shutdown mode, an idle mode or a maximum torque output limit mode. Through the above solution, it can be ensured that the engine can still be effectively controlled in case of communication failure or abnormal conditions of other controllers that send control messages, thereby improving the safety of the vehicle. Description of the Drawings
[0032] The drawings here are incorporated into the specification and form a part of this specification, showing embodiments consistent with the present application, and are used together with the specification to explain the principles of the present application.
[0033] Figure 1 It is a schematic diagram of the application scenario provided by the embodiment of the present application;
[0034] Figure 2 It is a schematic flowchart of the first embodiment of the engine control method provided by the present application;
[0035] Figure 3 It is a schematic flowchart of the second embodiment of the engine control method provided by the present application;
[0036] Figure 4 It is a schematic flowchart of the third embodiment of the engine control method provided by the present application;
[0037] Figure 5 It is a schematic flowchart of an example of the engine control method provided by the embodiment of the present application;
[0038] Figure 6 Schematic diagram of the first embodiment of the engine control device provided by this application;
[0039] Figure 7 Schematic diagram of the second embodiment of the engine control device provided by this application;
[0040] Figure 8 Schematic diagram of the electronic device provided by the embodiment of this application.
[0041] Through the above-mentioned drawings, specific embodiments of this application have been shown, and there will be more detailed descriptions hereinafter. These drawings and textual descriptions are not intended to limit the scope of the concept of this application in any way, but to illustrate the concept of this application to those skilled in the art by referring to specific embodiments. Detailed implementation manners
[0042] Here, the exemplary embodiments will be described in detail, and the examples are shown in the drawings. When the following description refers to the drawings, unless otherwise indicated, the same numerals in different drawings represent the same or similar elements. The implementation manners described in the following exemplary embodiments do not represent all the implementation manners consistent with this application. On the contrary, they are merely examples of devices and methods consistent with some aspects of this application as detailed in the appended claims.
[0043] Figure 1 Schematic diagram of the application scenario provided by the embodiment of this application. Please refer to Figure 1 , in a vehicle, a controller 1, a controller 2, and an engine can be provided. The controller 2 is used to control the engine of the vehicle. During the operation of the vehicle, the controller 1 can send a control message indicating that the engine stops. When the controller 2 monitors this control message, it can control the engine to enter the stop mode. Among them, the controller 1 and the controller 2 can be connected through a Controller Area Network (CAN). The controller 1 can be an engine controller, and the controller 2 can be other controllers other than the engine controller, such as a Vehicle Control Unit (VCU), an Anti-lock Braking System (ABS), or a Telematics Box (TBOX).
[0044] In the related art, the engine controller can continuously monitor the control messages transmitted through the CAN bus. When the control message includes a shutdown instruction, the engine can be shut down by cutting off the fuel supply according to the shutdown instruction. However, when a failure occurs in the CAN bus or the controller used to send the control message, the engine controller cannot monitor the control message for instructing the engine to shut down, and thus cannot effectively control the engine, which will reduce the safety of the vehicle.
[0045] To address the above problems, the inventor considered that when the engine controller fails to monitor the control message, the engine can be controlled to enter a preset control mode to cope with the occurrence of the failure, thereby improving the safety of the vehicle. Accordingly, after multiple experiments, the inventor found that after the vehicle is powered on, the control message of the engine can be monitored. If no control message is monitored within the target duration, the engine is controlled to run according to the preset control mode, thereby avoiding potential safety hazards caused by the failure to monitor the control message. Among them, the preset control mode can include any one of a shutdown mode, an idle mode, and a mode of restricting the maximum torque output. Based on this, the present application proposes an engine control method to ensure that the engine can still be effectively controlled in the event of a communication failure or an abnormality of the controller for sending the control message, thereby improving the safety of the vehicle.
[0046] The following uses specific embodiments to detail the technical solution of the present application and how the technical solution of the present application solves the above technical problems. These specific embodiments can be combined with each other, and the same or similar concepts or processes may not be repeated in some embodiments. The embodiments of the present application will be described below with reference to the drawings.
[0047] Figure 2 It is a flowchart of the first embodiment of the engine control method provided by the present application. Please refer to Figure 2 The method includes:
[0048] S201. After the vehicle is powered on, monitor the control message of the engine.
[0049] The execution subject of the embodiment of the present application can be an electronic device or an engine control device provided in the electronic device. The engine control device can be implemented by software or by a combination of software and hardware. The engine control device can be a processor in the electronic device. For the convenience of understanding, in the following, the electronic device is taken as an example of the engine controller to illustrate the technical solution of the present application.
[0050] In this step, the engine controller can monitor the control message of the engine after the vehicle is powered on.
[0051] Regarding vehicle power - on, it means that the user activates the vehicle's electrical system through the operation of the key. For example, the driver can turn the key to the "ON" position to power on the vehicle. In this position, the vehicle's main electrical systems, including the instrument panel, on - vehicle computer, lighting system, etc., will be powered and ready to operate. This process puts the vehicle's electronic and electrical systems in a standby state, ready to start the engine or perform other functions at any time.
[0052] It should be understood that for vehicles with keyless start, vehicle power - on generally means pressing the vehicle's start button to power on the electrical system.
[0053] In a specific implementation, after the vehicle is powered on, the controller (such as VCU) that sends control messages can periodically send control messages to the engine controller. The engine controller can monitor and identify the control messages on the CAN bus. The monitoring content can include: message address, message sending period, and message data.
[0054] Optionally, while monitoring the control messages, the engine controller can also monitor other types of messages, such as diagnostic messages, security messages, etc. In a specific implementation, the engine controller can determine the nature of the message according to the message type in the monitored messages.
[0055] Regarding the control message, it can include a stop control instruction for indicating whether the engine stops and a message address. Among them, the stop control instruction is represented by the value of a specific bit in a fixed byte of the control message; the message address is used to identify the source or destination of the message for correct routing and processing.
[0056] For example, the 3rd bit of the 5th byte of the control message is used to represent the stop control instruction. If the value of this bit is 1, it means there is a stop instruction; if it is 0, it means there is no stop instruction. Exemplarily, if the control message is "0000 00 00 04 00 00 00", where the 5th byte is "04" (binary 00000100) and the 3rd bit is 1, it means that a stop operation needs to be performed. And for the message "00 00 00 00 00 00 00 00", the 5th byte is "00" (binary 00000000) and the 3rd bit is 0, indicating that there is no need to stop.
[0057] S202: If no control message is detected within the target duration, control the engine operation according to the preset control mode.
[0058] In this step, the engine controller can control the engine operation through the preset control mode based on not detecting a control message within the target duration. Among them, the preset control mode includes any one of the stop mode, idle mode, and maximum torque output limit mode.
[0059] The shutdown mode refers to safely shutting down the engine by cutting off the fuel supply to the engine. In this mode, the fuel injection system stops supplying fuel to the cylinders, thereby terminating the combustion process and causing the engine to gradually stop running.
[0060] The idle mode refers to the engine running at the lowest speed without driving the vehicle. In this mode, the engine keeps running but does not provide enough power to drive the vehicle.
[0061] The mode of limiting the maximum torque output is used to control the output power of the engine to limit the acceleration ability and the maximum speed of the vehicle. For example, if vehicle A can output a maximum torque of 400 N·m in the normal mode of the engine, then in the mode of limiting the maximum torque output, the maximum torque output of the engine can be limited to 250 N·m.
[0062] For the setting of the target duration, it can be adjusted personalized according to user needs to meet specific usage preferences and driving habits. In addition, the target duration can also be dynamically adjusted based on factors such as environmental conditions, vehicle status, driving mode, regulatory requirements, and safety considerations. For example, in some cases, regulations or safety protocols may require automatically adjusting the target duration in a specific area to ensure driving safety and compliance.
[0063] For example, if the target duration is 1 hour and the engine controller does not detect the control message within 1 hour, the engine is controlled to run according to the idle mode.
[0064] In the embodiment of the present application, after the vehicle is powered on, the engine controller can monitor the control message of the engine. If the control message is not detected within the target duration, the engine is controlled to run according to a preset control mode, and the preset control mode includes any one of the shutdown mode, the idle mode, and the mode of limiting the maximum torque output. In the above process, the engine controller can ensure the safe operation of the vehicle based on the preset control mode when the acquisition of the control message fails.
[0065] In Figure 2 Based on the shown embodiment, below, in combination with Figure 3 the above engine control method will be further described in detail.
[0066] Figure 3 It is a schematic flowchart of the second embodiment of the engine control method provided by the present application. Please refer to Figure 3 and the method includes:
[0067] S301. After the vehicle is powered on, monitor the control message of the engine.
[0068] S302. If no control message is detected within the target duration, control the engine operation according to a preset control mode.
[0069] For example, if the target duration is 30 minutes and the engine controller does not detect a control message within 30 minutes, control the engine operation according to the mode of limiting the maximum torque output.
[0070] S303. Generate a fault message when controlling the engine operation according to a preset control mode.
[0071] In this step, when controlling the engine operation according to a preset control mode, a fault message indicating that a timeout fault has occurred in the control message can be generated.
[0072] For example, when controlling the engine operation according to the mode of limiting the maximum torque output, a fault message 1 indicating that a timeout fault has occurred in the control message can be generated. The content of the fault message 1 can be "Engine control system communication fault. Please check the service manual or contact the maintenance service".
[0073] S304. Send the fault message to the vehicle's visualization interface for display.
[0074] In this step, the engine controller can send the fault message to the vehicle's visualization interface for display to remind the driver that a timeout fault has occurred in the control message.
[0075] Regarding the visualization interface, it can be the vehicle's instrument panel or the infotainment display screen, which is used to provide real-time feedback to the driver about the vehicle status and fault information.
[0076] For example, the fault message 1 of "Engine control system communication fault. Please check the service manual or contact the maintenance service" can be sent to the vehicle's infotainment display screen via the CAN bus for display. After the driver obtains the fault message 1, appropriate measures can be taken, such as consulting the service manual or contacting the maintenance service, thereby improving driving safety and the timeliness of vehicle maintenance.
[0077] S305. If a control message is detected within the target duration, determine whether the control message is a valid shutdown message.
[0078] In this step, if the engine controller detects a control message within the target duration, it can further determine whether the control message is a valid shutdown message. Among them, the valid shutdown message is used to control the engine to shut down.
[0079] In a specific implementation manner, if the shutdown control instruction in the control message is consistent with the preset shutdown instruction and the message address is consistent with the preset message address, it is determined that the control message is a valid shutdown message.
[0080] In the control system, the structure and field positions of the message are precisely defined to ensure the accurate parsing and execution of instructions. In specific implementation, the position of the shutdown control instruction in the control message corresponds to the position of the preset shutdown instruction. For example, it is located at the 3rd bit of the 5th byte of the message. When the system detects a control message, it can check whether this specific bit is consistent with the preset shutdown instruction. If they are consistent, it is confirmed that the message contains a valid shutdown instruction, where the value of the preset shutdown instruction can be 1.
[0081] For the preset message address, it can be a unique identifier used to determine the source or target device of the control message.
[0082] On the contrary, if the shutdown control instruction in the control message is inconsistent with the preset shutdown instruction, and / or the message address is inconsistent with the preset message address, it is determined that the control message is an invalid shutdown message.
[0083] For example, the target duration is 30 minutes. If the engine controller detects a control message within 30 minutes, it can determine whether the control message is a valid shutdown message.
[0084] S306: If the control message is a valid shutdown message, within the preset duration, determine whether to adjust the control mode of the engine according to the number of continuously detected valid shutdown messages.
[0085] In this step, when it is determined that the control message is a valid shutdown message, it can be determined whether to adjust the control mode of the engine according to the number of continuously detected valid shutdown messages within the preset duration. In specific implementation, when the number of continuously detected valid shutdown messages is greater than or equal to the preset number, the control mode of the engine can be adjusted to the shutdown mode; when the number of continuously detected valid shutdown messages is less than the preset number, the engine is controlled to maintain the current mode. Among them, the preset duration is a time period calculated starting from the first detection of a valid shutdown message.
[0086] Similarly, the preset duration can be personalized according to user needs to meet specific usage preferences and driving habits. For example, the preset duration can be 10 minutes.
[0087] For example, the preset duration is 10 minutes. If the control message is a valid shutdown message, within 10 minutes, since the number of continuously detected valid shutdown messages is 3 times, which is less than the preset number of 5 times, the engine is controlled to maintain the current mode.
[0088] S307: If the control message is an invalid shutdown message, continue to monitor the next control message.
[0089] In this step, if the engine controller determines that the monitored control message is an invalid shutdown message, it can continue to monitor subsequent control messages to ensure that the engine controller can continuously analyze new control messages, so as to respond in a timely manner when a valid shutdown message is detected.
[0090] Optionally, the invalid shutdown message may be an error signal caused by signal interference or other reasons. By ignoring these invalid messages, the engine controller can reduce the risk of misoperation and ensure the stable operation of the engine.
[0091] In the embodiment of the present application, when the vehicle is powered on, the engine controller can start monitoring the control messages of the engine. If no control message is detected within the target duration, the engine can be controlled to run according to the preset control mode and a fault message can be generated; if a control message is detected within the target duration, it can be determined whether it is a valid shutdown message; if so, within the preset duration, it is determined whether to adjust the control mode of the engine according to the number of consecutive valid shutdown messages detected. If the message is invalid, the next control message can be continuously monitored. In the above process, by monitoring the control message within the target duration and running the engine according to the preset mode, the engine can run according to the preset control mode when there is a lack of control message, avoiding the risk of engine runaway caused by control message timeout failure or the failure of the controller sending the control message. In addition, the engine controller can dynamically adjust the control mode according to the number of consecutive valid shutdown messages, reducing the risk of mis-shutdown caused by a small number of valid shutdown messages or occasional signals, thereby improving the overall safety of the vehicle.
[0092] Figure 4 It is a schematic flowchart of the third embodiment of the engine control method provided by the present application. Please refer to Figure 4 , on the basis of the above-mentioned second embodiment, in the specific implementation of the engine control method, determining whether to adjust the control mode of the engine according to the number of consecutive valid shutdown messages detected in step S306 specifically includes the following steps:
[0093] S401. Adjust the control mode of the engine to the shutdown mode according to the number of consecutive valid shutdown messages detected being greater than or equal to the preset number.
[0094] Optionally, the preset number of valid shutdown messages can be dynamically adjusted according to different operating conditions or historical data. For example, under high-load conditions, the preset number can be reduced to prevent overload damage; under low-load conditions, the preset number can be increased to avoid unnecessary shutdowns.
[0095] For example, if the preset quantity is 10, then within the preset duration of 10 minutes, based on the number of consecutive valid shutdown messages detected being 15 times, the control mode of the engine can be adjusted to the shutdown mode.
[0096] S402. Control the engine to maintain the current mode according to the number of consecutive valid shutdown messages detected being less than the preset quantity.
[0097] Optionally, when the number of consecutive valid shutdown messages detected is less than the preset quantity, the engine controller can do nothing and maintain the engine running to prevent the risk of false triggering of shutdown due to detecting a small number of valid shutdown instructions.
[0098] For example, if the preset quantity is 10, then within the preset duration of 10 minutes, based on the number of consecutive valid shutdown messages detected being 5 times, control the engine to maintain the current mode.
[0099] In the embodiments of the present application, by setting the preset quantity of valid shutdown messages, it can be determined whether to enter the shutdown mode, thereby improving the safety of the vehicle. When the number of valid shutdown messages detected by the engine controller reaches or exceeds the preset quantity, the engine can be automatically adjusted to the shutdown mode. On the contrary, if the number of valid shutdown messages does not reach the preset quantity, the current operating state is continued to avoid unnecessary shutdowns, thereby maintaining the stability and continuity of the vehicle.
[0100] Figure 5 It is a schematic flowchart of an example of the engine control method provided by the embodiments of the present application. Please refer to Figure 5 , and this process includes:
[0101] S501. Power on the key.
[0102] Optionally, the electrical system of the vehicle can be activated through the operation of the key to power on the vehicle.
[0103] S502. The single control unit monitors the control message.
[0104] In this step, the single control unit (Electronic Control Unit, ECU) (i.e., the electronic device) used to control the engine can monitor the control messages in the CAN bus. Among them, the single control unit can be the engine controller, or other controllers with the control function of the engine and capable of replacing the engine controller.
[0105] In a specific implementation manner, the content monitored by the engine controller can include: message type, hundred-question address, message sending period, and message data.
[0106] S503. Whether a control message is detected.
[0107] For example, when the engine controller detects a control message (verifying that the address of the control message is the same as the preset message address), it can execute step S504. When no control message is detected, it can execute step S507.
[0108] S504. Whether the control message includes a shutdown control instruction.
[0109] For example, the shutdown control instruction can be represented by the value of a specific bit in a fixed byte of the control message. When the value is 1, it indicates that the control message includes a shutdown control instruction and is a valid shutdown message, and then step S505 can be executed; when the value is 0, it indicates that the control message does not include a shutdown control instruction and is an invalid shutdown message. When it is determined that the control message is an invalid shutdown message, step S502 can be further executed.
[0110] S505. Whether the number of shutdown control instructions is greater than or equal to a preset number within a preset time period.
[0111] In this step, when the number of continuously detected shutdown control instructions (i.e., the number of valid shutdown messages) is greater than or equal to the preset number, step S506 can be executed. When the number of continuously detected shutdown control instructions (i.e., the number of valid shutdown messages) is less than the preset number, the engine can be controlled to maintain the current mode, and step S502 can be further executed.
[0112] In a specific implementation, when the engine controller detects the first control message including a shutdown control instruction, a timer can be introduced to start timing. If within the preset time period, when the number of times of continuously receiving valid shutdown messages including a shutdown control instruction is greater than or equal to the preset number, the engine controller can determine that the shutdown control instruction is a valid instruction, and then the engine can be shut down by cutting off the fuel supply.
[0113] On the contrary, if within the preset time period, when the number of times of continuously receiving valid shutdown messages including a shutdown control instruction is less than the preset number, the engine controller can determine that the shutdown control instruction is an invalid instruction, and then the engine controller does not perform any processing and maintains the engine operation to prevent the risk of mis-triggering shutdown due to receiving a small number of shutdown control instructions.
[0114] S506. Control the engine to shut down.
[0115] S507. Control message fault detection.
[0116] In this step, if no control message is detected, the control message can be subjected to fault detection.
[0117] S508. Confirm whether the control message has a timeout fault.
[0118] In this step, when it is determined that a timeout fault occurs in the manufacturing message, step S509 can be executed. If no timeout fault occurs, step S502 can be further executed.
[0119] In an alternative embodiment, when no control message is detected, a timer can be introduced. If no control message is detected within the target duration, it can be determined that a timeout fault has occurred in the control message.
[0120] Optionally, the engine controller can send the fault information to the vehicle's visualization interface (such as the instrument panel and the infotainment display) via the CAN bus for display, to alert the driver that a timeout fault has occurred in the control message, thereby helping the driver make a more accurate decision.
[0121] S509. Determine the fault level.
[0122] In this step, according to the fault level preset in the engine controller corresponding to the control message timeout fault, a preset control mode can be adopted to control the engine operation.
[0123] Optionally, if the control message timeout fault is preset as a Class A fault, step S506 can be executed to control the engine to stop; if the control message timeout fault is preset as a Class B fault, step S510 can be executed to control the engine to force idle; if the control message timeout fault is preset as a Class C fault, step S511 can be executed to limit the maximum output torque of the engine.
[0124] S510. Force idle.
[0125] For example, according to the control message timeout fault being a Class B fault, the engine can be forced to enter the idle mode to keep the engine running at the lowest speed.
[0126] S511. Limit the maximum output torque of the engine.
[0127] For example, according to the control message timeout fault being a Class C fault, the maximum output torque of the engine can be limited.
[0128] The engine control method example provided by the embodiments of this application improves the existing engine shutdown control. On the one hand, it adds duration verification. Only within the preset duration, when the number of valid shutdown messages including the shutdown control instruction received continuously is greater than or equal to the preset quantity, the electronic control unit will execute engine shutdown; on the other hand, it adds fault diagnosis for the control message timeout, and triggers the safety protection mechanism when communication anomalies are detected, thus avoiding the risk of engine out-of-control caused by the loss or error of the control message.
[0129] Figure 6Schematic diagram of the first embodiment of the engine control device provided by this application. Please refer to Figure 6 , the engine control device 10 provided in this embodiment includes:
[0130] The first processing module 11 is used to monitor the control messages of the engine after the vehicle is powered on;
[0131] The second processing module 12 is used to determine the control mode of the engine according to the preset fault level if the control message is not monitored within a preset time period.
[0132] The engine control device provided by the embodiment of this application can execute the technical solutions shown in the above method embodiments, and its implementation principles and beneficial effects are similar, which will not be elaborated here.
[0133] Figure 7 Schematic diagram of the second embodiment of the engine control device provided by this application. Please refer to Figure 7 , on the basis of the embodiment shown in Figure 6 , the engine control device 10 further includes: The second processing module 13 is used for:
[0134] When controlling the engine to run according to the preset control mode, generate fault information, and the fault information is used to indicate that a timeout fault occurs in the control message;
[0135] Send the fault information to the visualization interface of the vehicle for display.
[0136] In a possible implementation manner, the second processing module 12 is further used for:
[0137] If the control message is monitored within the target time period, determine whether the control message is a valid shutdown message, and the valid shutdown message is used to control the engine to shut down;
[0138] If the control message is a valid shutdown message, within a preset time period, determine whether to adjust the control mode of the engine according to the number of consecutive valid shutdown messages monitored, and the preset time period is a time period calculated starting from the first monitoring of the valid shutdown message;
[0139] If the control message is an invalid shutdown message, continue to monitor the next control message.
[0140] In a possible implementation manner, the second processing module 12 is specifically used for:
[0141] According to the number of consecutive valid shutdown messages monitored being greater than or equal to the preset number, adjust the control mode of the engine to the shutdown mode;
[0142] Control the engine to maintain the current mode according to the fact that the number of continuously valid shutdown messages detected is less than a preset number.
[0143] In a possible implementation manner, the second processing module 12 is specifically configured to:
[0144] If the shutdown control instruction in the control message is consistent with the preset shutdown instruction and the message address is consistent with the preset message address, determine that the control message is a valid shutdown message.
[0145] In a possible implementation manner, the second processing module 12 is specifically configured to:
[0146] If the shutdown control instruction in the control message is inconsistent with the preset shutdown instruction and / or the message address is inconsistent with the preset message address, determine that the control message is an invalid shutdown message.
[0147] The engine control device provided by the embodiments of the present application can execute the technical solutions shown in the above method embodiments. The implementation principles and beneficial effects are similar and will not be elaborated here.
[0148] Figure 8 It is a schematic structural diagram of an electronic device provided by an embodiment of the present application. Please refer to Figure 8 , this electronic device can be an engine controller or other controllers that have the function of controlling the engine and can replace the engine controller. This electronic device 20 may include: at least one processor 21 and a memory 22. Optionally, this electronic device 20 further includes a communication component 23. Among them, the processor 21, the memory 22, and the communication component 23 are connected through a bus 24.
[0149] In a specific implementation process, at least one processor 21 executes computer execution instructions stored in the memory 22, so that at least one processor 21 executes the above method.
[0150] For the specific implementation process of the processor 21, reference can be made to the above method embodiments. The implementation principles and technical effects are similar and will not be elaborated in this embodiment.
[0151] In the above embodiments, it should be understood that the processor may be a central processing unit (CPU for short), or may also be other general-purpose processors, digital signal processors (DSP for short), application specific integrated circuits (ASIC for short), etc. The general-purpose processor may be a microprocessor or any conventional processor, etc. The steps of the method disclosed in combination with the invention can be directly implemented by a hardware processor, or can be implemented by a combination of hardware and software modules in the processor.
[0152] The memory may include a random access memory (RAM), and may also include a non-volatile memory (NVM), such as at least one disk memory.
[0153] The bus may be an Industry Standard Architecture (ISA) bus, a Peripheral Component Interconnect (PCI) bus, an Extended Industry Standard Architecture (EISA) bus, etc. The bus can be divided into an address bus, a data bus, a control bus, etc. For the convenience of representation, the bus in the drawings of this application is not limited to only one bus or one type of bus.
[0154] This application also provides a vehicle, including the Figure 8 electronic device as shown. Through the collaborative work of its processor, memory, and communication components, the electronic device realizes the intelligent control of the engine. Even in the case of communication failures or abnormal controllers for sending control messages, the electronic device can still manage the engine through a preset control mode to ensure the safety and reliability of the vehicle.
[0155] The vehicles provided by this application include, but are not limited to, the following working vehicles: heavy trucks, trailers, excavators, loaders, roadheader loaders, bulldozers, rollers, and concrete pump trucks.
[0156] This application also provides a computer program product, including a computer program, which when executed by a processor implements the above method.
[0157] The present application also provides a computer-readable storage medium storing computer-executable instructions, which, when executed by a processor, implement the above method.
[0158] The above-readable storage medium can be implemented by any type of volatile or non-volatile storage device or a combination thereof, such as static random access memory (SRAM), electrically erasable programmable read-only memory (EEPROM), erasable programmable read-only memory (EPROM), programmable read-only memory (PROM), read-only memory (ROM), magnetic memory, flash memory, a magnetic disk, or an optical disk. The readable storage medium can be any available medium accessible by a general-purpose or special-purpose computer.
[0159] An exemplary readable storage medium is coupled to the processor, enabling the processor to read information from and write information to the readable storage medium. Of course, the readable storage medium can also be a component of the processor. The processor and the readable storage medium can be located in an application specific integrated circuit (ASIC). Of course, the processor and the readable storage medium can also exist as discrete components in a device.
[0160] The division of units is only a logical function division. In actual implementation, there may be other division methods. For example, multiple units or components can be combined or integrated into another system, or some features can be ignored or not executed. Another point is that the displayed or discussed couplings or direct couplings or communication connections to each other can be through some interfaces, and the indirect couplings or communication connections of devices or units can be in electrical, mechanical, or other forms.
[0161] The units described as separate components may or may not be physically separated, and the components displayed as units may or may not be physical units, that is, they can be located in one place or distributed to multiple network units. Some or all of the units can be selected according to actual needs to achieve the purpose of the solution of this embodiment.
[0162] In addition, in each embodiment of the present invention, the functional units can be integrated in a processing unit, or each unit can physically exist alone, or two or more units can be integrated in one unit.
[0163] If a function is implemented in the form of a software functional unit and sold or used as an independent product, it can be stored in a computer-readable storage medium. Based on this understanding, the technical solution of the present invention, in essence, or the part that contributes to the prior art, or a part of this technical solution, can be embodied in the form of a software product. This computer software product is stored in a storage medium and includes several instructions for causing a computer device (which may be a personal computer, a server, or a network device, etc.) to execute all or part of the steps of the methods of the various embodiments of the present invention. The aforementioned storage medium includes: USB flash drives, mobile hard disks, read-only memories (ROMs), random access memories (RAMs), magnetic disks, or optical discs, etc., all kinds of media that can store program codes.
[0164] Those of ordinary skill in the art can understand that all or part of the steps of implementing the above method embodiments can be completed by hardware related to program instructions. The aforementioned program can be stored in a computer-readable storage medium. When this program is executed, it executes the steps including the above method embodiments; and the aforementioned storage medium includes: ROMs, RAMs, magnetic disks, or optical discs, etc., all kinds of media that can store program codes.
[0165] Finally, it should be noted that: After considering the specification and practicing the invention disclosed herein, those skilled in the art will readily think of other implementation manners of the present invention. The present invention is intended to cover any variations, uses, or adaptive changes of the present invention. These variations, uses, or adaptive changes follow the general principles of the present invention and include the common general knowledge or conventional technical means in the technical field of the present invention that is not disclosed in the present invention. It is not limited to the exact structures described above and shown in the drawings, and various modifications and changes can be made without departing from its scope. The scope of the present invention is only limited by the appended claims.
Claims
1. An engine control method, characterized in that, The method includes: After the vehicle is powered on, monitor the control message of the engine; If the control message is not monitored within the target duration, control the engine to run according to a preset control mode; the preset control mode includes any one of a shutdown mode, an idle mode, and a mode of limiting the maximum torque output.
2. The method according to claim 1, wherein The method further includes: When controlling the engine to run according to the preset control mode, generate a fault message, which is used to indicate that a timeout fault occurs in the control message; Send the fault message to the visualization interface of the vehicle for display.
3. The method according to claim 1 or 2, characterized in that, The method further includes: If the control message is monitored within the target duration, determine whether the control message is a valid shutdown message, and the valid shutdown message is used to control the engine to shut down; If the control message is a valid shutdown message, within a preset duration, determine whether to adjust the control mode of the engine according to the number of continuously monitored valid shutdown messages, and the preset duration is a time period calculated starting from the first monitoring of the valid shutdown message; If the control message is an invalid shutdown message, continue to monitor the next control message.
4. The method according to claim 3, characterized in that, The determining whether to adjust the control mode of the engine according to the number of continuously monitored valid shutdown messages includes: Adjust the control mode of the engine to the shutdown mode according to the number of continuously monitored valid shutdown messages being greater than or equal to a preset number; Control the engine to maintain the current mode according to the number of continuously monitored valid shutdown messages being less than the preset number.
5. The method according to claim 3, characterized in that, The determining whether the control message is a valid shutdown message includes: If the shutdown control instruction in the control message is consistent with a preset shutdown instruction and the message address is consistent with a preset message address, determine that the control message is a valid shutdown message.
6. The method according to claim 5, characterized in that, The method further includes: If the shutdown control instruction in the control message is inconsistent with the preset shutdown instruction, and / or the message address is inconsistent with the preset message address, determine that the control message is an invalid shutdown message.
7. An engine control device, characterized in that, The device includes: A first processing module, configured to monitor the control message of the engine after the vehicle is powered on; A second processing module, configured to determine the control mode of the engine according to a preset fault level if the control message is not monitored within a preset duration.
8. An electronic device, characterized in that, Includes: A memory, a processor; The memory stores computer execution instructions; The processor executes the computer execution instructions stored in the memory, so that the processor executes the method according to any one of claims 1-7.
9. A vehicle, characterized in that, Includes the electronic device according to claim 8.
10. A computer-readable storage medium, characterized in that, Computer execution instructions are stored in the computer-readable storage medium, and when the computer execution instructions are executed by a processor, they are used to implement the method according to any one of claims 1-6.