Methods, media, and products for preventing DC-DC CAN signal transmission and reception failures

By detecting and configuring the CAN transceiver, recording the number of failures, and performing resets, restarts, and power-off resets, the problem of the vehicle failing to get ready during DC-DC startup due to no message being sent was solved, thus achieving reliable CAN signal transmission and reception.

CN119232559BActive Publication Date: 2026-04-28DONGFENG MOTOR GRP
View PDF 2 Cites 0 Cited by

Patent Information

Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
DONGFENG MOTOR GRP
Filing Date
2024-08-19
Publication Date
2026-04-28

AI Technical Summary

Technical Problem

In the existing solution, the DC-DC converter is only configured 3 times at startup and no readback is required, which causes the CAN transceiver to occasionally fail to send messages, preventing the vehicle from reaching readiness.

Method used

Detect signals from KL15 and specific CAN frames, configure the CAN transceiver; if configuration fails, record the number of failures and reset the transceiver; if reset fails, record the number of resets and restart the controller; if restart fails, use a watchdog timer to perform a power-off reset until the message is successfully sent.

Benefits of technology

This effectively solves the problem of the vehicle failing to get ready during DC-DC startup due to the lack of message transmission, ensuring the reliability of CAN signal transmission and reception.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN119232559B_ABST
    Figure CN119232559B_ABST
Patent Text Reader

Abstract

The application discloses a kind of methods, devices, vehicles, medium and products for preventing DCDC CAN signal transceiver failure, relate to automobile technical field, the disclosed method for preventing DCDC CAN signal transceiver failure includes: the signal of KL15 and CAN specific frame is detected;When the signal of KL15 and CAN specific frame is detected, CAN transceiver is configured;When the CAN transceiver configuration fails, record the number of failures, and the CAN transceiver is reconfigured;When the number of failures reaches preset configuration number, the CAN transceiver is reset;When CAN transceiver reset succeeds, CAN transceiver sends message is controlled.The application solves the problem that whole vehicle cannot be on READY due to DCDC sporadic no message by resetting CAN transceiver after CAN transceiver configuration fails.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] This invention relates to the field of automotive technology, and in particular to a method, medium, and product for preventing the failure of DC-DC CAN signal transmission and reception. Background Technology

[0002] The customer experienced a failure to start the vehicle with the one-button start function. The vehicle was in the ON position but could not be READY. After turning off the vehicle and restarting it, it still could not be started, leading to strong complaints from the customer.

[0003] After investigation, it was found that the DC-DC converter did not send any messages upon startup. After checking the DC-DC hardware and software, hardware problems were ruled out, and the problem was ultimately traced to an abnormal operation of the CAN transceiver.

[0004] The wake-up from sleep mode is mainly accomplished by the DSP controlling the CAN transceiver via serial port and engaging in signal interaction. The existing solution only configures it three times and does not require readback, resulting in occasional no message transmission during DCDC startup, preventing the vehicle from reaching READY status. Summary of the Invention

[0005] The main objective of this invention is to propose a method to prevent the failure of DC-DC CAN signal transmission and reception, aiming to solve the problem that existing solutions only configure three times and do not require readback, resulting in occasional no message transmission during DC-DC startup, preventing the entire vehicle from reaching READY status.

[0006] To achieve the above objectives, the present invention proposes a method for preventing DC-DC CAN signal transmission and reception failures, the method comprising:

[0007] Detect signals from specific frames in KL15 and CAN;

[0008] Configure the CAN transceiver when signals of KL15 and specific CAN frames are detected;

[0009] When the CAN transceiver configuration fails, record the number of configuration failures and reconfigure the CAN transceiver.

[0010] When the number of configuration failures reaches a preset number, the CAN transceiver is reset;

[0011] When the CAN transceiver is successfully reset, control the CAN transceiver to send messages.

[0012] In one embodiment, after the step of resetting the CAN transceiver when the number of configuration failures reaches a preset number, the method further includes:

[0013] If the CAN transceiver fails to reset, record the number of reset failures and reset the CAN transceiver again.

[0014] When the number of failed resets reaches a preset number, the controller restarts.

[0015] When the controller restarts successfully, it controls the CAN transceiver to send messages.

[0016] In one embodiment, after the step of recording the number of reset failures and restarting the CAN transceiver when the CAN transceiver reset fails, the method further includes:

[0017] If the controller restart fails, record the number of restart failures and re-execute the controller restart steps;

[0018] When the number of controller restart failures reaches the preset number of restarts, the controller uses a watchdog timer to perform a power-off reset.

[0019] When the controller is successfully reset by power failure, the CAN transceiver is controlled to send messages.

[0020] In one embodiment, after the step of performing a power-off reset using a watchdog timer when the number of controller restart failures reaches a preset number, the method further includes:

[0021] If the controller fails to reset due to power failure, the power failure reset operation using the watchdog timer will be re-executed.

[0022] In one embodiment, the step of configuring the CAN transceiver upon detecting signals of KL15 and a specific CAN frame further includes:

[0023] Detect the working status of the CAN transceiver;

[0024] If the CAN transceiver's operating status matches the configuration, the configuration is considered successful.

[0025] If the CAN transceiver's operating status does not match the configuration, the configuration is deemed to have failed.

[0026] In one embodiment, after the step of resetting the CAN transceiver when the number of configuration failures reaches a preset number, the method further includes:

[0027] Detect the working status of the CAN transceiver;

[0028] If the CAN transceiver's operating status matches the reset status, then the reset is considered successful.

[0029] If the CAN transceiver's operating status does not match the reset status, the reset is considered to have failed.

[0030] Furthermore, to achieve the above objectives, this application also proposes a device for preventing DC-DC CAN signal transmission and reception failure, the device comprising:

[0031] The detection module is used to detect signals in specific frames of KL15 and CAN.

[0032] The driver module is used to configure and reset the CAN transceiver.

[0033] The calculation module is used to record the number of failures;

[0034] The control module is used to control the CAN transceiver to send messages.

[0035] In addition, to achieve the above objectives, this application also proposes a vehicle that can implement the steps of the method for preventing DC-DC CAN signal transmission and reception failure as described above.

[0036] In addition, to achieve the above objectives, this application also proposes a storage medium, which is a computer-readable storage medium, on which a computer program is stored, and when the computer program is executed by a processor, it implements the steps of the method for preventing the failure of DC-DC CAN signal transmission and reception described above.

[0037] In addition, to achieve the above objectives, this application also proposes a computer program product, which includes a computer program that, when executed by a processor, implements the steps of the method for preventing DC-DC CAN signal transmission and reception failure described above.

[0038] This invention discloses a method, medium, and product for preventing DC-DC CAN signal transmission and reception failures, relating to the field of automotive technology. The disclosed method includes: detecting signals from KL15 and specific CAN frames; configuring the CAN transceiver when KL15 and specific CAN frame signals are detected; recording the number of failures and reconfiguring the CAN transceiver when configuration fails; resetting the CAN transceiver when the number of failures reaches a preset configuration count; and controlling the CAN transceiver to send messages when the reset is successful. This application solves the problem of vehicles failing to reach READY status due to intermittent lack of messages from the DC-DC converter by resetting the CAN transceiver after configuration failure. Attached Figure Description

[0039] To more clearly illustrate the technical solutions in the embodiments of the present invention or the prior art, the drawings used in the description of the embodiments or the prior art will be briefly introduced below. Obviously, the drawings described below are only some embodiments of the present invention. For those skilled in the art, other drawings can be obtained based on the structures shown in these drawings without creative effort.

[0040] Figure 1 This is a flowchart illustrating the first embodiment of the screen display method of this application;

[0041] Figure 2 This is a flowchart illustrating the second embodiment of the screen display method of this application;

[0042] Figure 3 This is a flowchart illustrating the third embodiment of the screen display method of this application;

[0043] Figure 4 This is a flowchart illustrating the fourth embodiment of the screen display method of this application;

[0044] Figure 5 This is a flowchart illustrating the fifth embodiment of the screen display method of this application;

[0045] Figure 6 This is a flowchart illustrating the sixth embodiment of the screen display method of this application.

[0046] The realization of the objective, functional features and advantages of the present invention will be further explained in conjunction with the embodiments and with reference to the accompanying drawings. Detailed Implementation

[0047] The technical solutions of the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings. Obviously, the described embodiments are only a part of the embodiments of the present invention, and not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by those of ordinary skill in the art without creative effort are within the scope of protection of the present invention.

[0048] It should be noted that if the embodiments of the present invention involve directional indicators (such as up, down, left, right, front, back, etc.), the directional indicators are only used to explain the relative positional relationship and movement of the components in a specific posture. If the specific posture changes, the directional indicators will also change accordingly.

[0049] Furthermore, if the embodiments of this invention involve descriptions such as "first" or "second," these descriptions are for descriptive purposes only and should not be construed as indicating or implying their relative importance or implicitly specifying the number of technical features indicated. Therefore, a feature defined with "first" or "second" may explicitly or implicitly include at least one of those features. Additionally, the use of "and / or" or "and / or" throughout the text includes three parallel solutions. For example, "A and / or B" includes solution A, solution B, or a solution where both A and B are satisfied. Furthermore, the technical solutions of the various embodiments can be combined with each other, but this must be based on the ability of those skilled in the art to implement them. When the combination of technical solutions is contradictory or impossible to implement, it should be considered that such a combination of technical solutions does not exist and is not within the scope of protection claimed by this invention.

[0050] This invention proposes a method to prevent DC-DC CAN signal transmission and reception failure, referring to... Figure 1 , Figure 1 This is a flowchart illustrating the first embodiment of the screen display method of this application.

[0051] In this embodiment, the method for preventing DC-DC CAN signal transmission and reception failure includes steps S10 to S50:

[0052] Step S10: Detect signals from KL15 and specific CAN frames.

[0053] Step S20: Configure the CAN transceiver when signals of KL15 and specific CAN frames are detected.

[0054] Step S30: When the CAN transceiver configuration fails, record the number of configuration failures and reconfigure the CAN transceiver.

[0055] Step S40: When the number of configuration failures reaches the preset number of configuration failures, the CAN transceiver is reset.

[0056] Step S50: When the CAN transceiver is successfully reset, control the CAN transceiver to send messages.

[0057] It is understood that the execution entity in this embodiment is a controller that can control the CAN transceiver. The controller can be an MCU, DSP, industrial control chip, or electric vehicle controller, etc. This embodiment does not limit it.

[0058] It should be noted that the CAN specific frame can be a data frame, a remote control frame, an error frame, or an overload frame; this embodiment will not elaborate on this.

[0059] Understandably, the CAN-specific frame is used in this embodiment to wake up the CAN transceiver;

[0060] Understandably, in this embodiment, KL15 is used to provide power to the controller so that the controller can start working.

[0061] It should be noted that the configuration can be adjusted according to actual needs, but this embodiment does not make such adjustments.

[0062] It should be noted that the preset configuration number can be set according to actual needs, and this embodiment does not limit it.

[0063] In specific implementation, when signals of KL15 and specific CAN frames are detected, the CAN transceiver is woken up and the controller starts working; the controller configures the CAN transceiver; if the configuration is successful, the controller controls the CAN transceiver to send messages; if the configuration fails, the controller records the number of failures and reconfigures the CAN transceiver; when the number of failures reaches the preset configuration number, the CAN transceiver is reset; if the CAN transceiver is successfully reset, the controller controls the CAN transceiver to send messages.

[0064] This embodiment solves the problem in the existing solution that only configures the CAN transceiver 3 times and does not require readback, resulting in occasional no message being sent during DCDC startup and the whole vehicle failing to get ready. This is achieved by resetting the CAN transceiver after the controller fails to configure it.

[0065] Based on the first embodiment of this application, in the second embodiment of this application, the content that is the same as or similar to the first embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 2 , Figure 2 This is a flowchart illustrating the second embodiment of the screen display method of this application.

[0066] Considering that the controller may be malfunctioning and causing the CAN transceiver to send messages, it needs to be restarted to restore it to its initial state;

[0067] In this embodiment, steps S40 is followed by steps S411 to S413:

[0068] S411: When the CAN transceiver reset fails, record the number of failures and reset the CAN transceiver again.

[0069] S412: When the number of configuration failures reaches the preset number of configuration failures, a restart will be performed.

[0070] S413: Upon successful restart, control the CAN transceiver to send messages.

[0071] It should be noted that the CAN transceiver can be reset using software or configuration tools, or it can be reset using hardware, initialization mode, or clearing the error register. This embodiment does not limit the method used.

[0072] It should be noted that the preset number of resets can be set according to actual needs, and this embodiment does not limit this.

[0073] In specific implementation, when the CAN transceiver fails to reset, the number of reset failures is recorded, and the CAN transceiver is reset again; when the number of failures reaches the preset configuration number, the controller is restarted; when the controller restarts successfully, the CAN transceiver is controlled to send messages.

[0074] Based on the second embodiment of this application, in the third embodiment of this application, the content that is the same as or similar to the second embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 3 , Figure 3 This is a flowchart illustrating the third embodiment of the screen display method of this application.

[0075] Considering that the controller may be malfunctioning and causing the CAN transceiver to send messages, it is necessary to power off and reset it to its factory settings.

[0076] In this embodiment, steps S423 to S425 are included after step S402:

[0077] S423: When the controller fails to restart, record the number of restart failures and re-execute the restart steps.

[0078] S424: When the number of controller failures reaches a preset number, a power-off reset is performed using a watchdog timer.

[0079] S425: When the controller is successfully reset by power failure, control the CAN transceiver to send messages.

[0080] It should be noted that the preset number of restarts can be set according to actual needs, and this embodiment does not impose any restrictions on it.

[0081] Understandably, when the number of failed restarts reaches the preset number of restarts, the controller stops feeding the watchdog timer. When the preset duration is reached, the watchdog timer sends a reset signal to the controller, causing the controller to power off and reset.

[0082] In specific implementation, when the controller fails to restart, the number of restart failures is recorded and the restart steps are re-executed; when the number of failures reaches a preset number, a power-off reset is performed using a watchdog timer; when the controller successfully undergoes a power-off reset, the CAN transceiver is controlled to send messages.

[0083] Based on the third embodiment of this application, in the fourth embodiment of this application, the content that is the same as or similar to the third embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 4 , Figure 4 This is a flowchart illustrating the fourth embodiment of the screen display method of this application.

[0084] Furthermore, considering the possibility of a single power outage causing reset failure;

[0085] In this embodiment, step S424 is followed by step S435:

[0086] S435: If the power-off reset fails, re-execute the power-off reset operation using the watchdog timer.

[0087] In practice, if the controller fails to reset due to power failure, the watchdog timer is used to perform the power failure reset operation again. If the controller resets successfully due to power failure, the controller controls the CAN transceiver to send messages.

[0088] Based on the fifth embodiment of this application, in the sixth embodiment of this application, the content that is the same as or similar to the fifth embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 6 , Figure 6 This is a flowchart illustrating the sixth embodiment of the screen display method of this application.

[0089] Considering that it may be necessary to judge the results of the CAN transceiver configuration;

[0090] In this embodiment, steps S20 is followed by steps S21 to S23:

[0091] S21: Detect the working status of the CAN transceiver.

[0092] S22: If the CAN transceiver's operating status matches the configuration, then the configuration is considered successful.

[0093] S23: If the CAN transceiver's operating status does not match the configuration, the configuration is deemed to have failed.

[0094] In practice, the controller detects the working status of the CAN transceiver; if the working status of the CAN transceiver matches the configuration, the configuration is considered successful; if the working status of the CAN transceiver does not match the configuration, the configuration is considered to have failed.

[0095] Based on the fourth embodiment of this application, in the fifth embodiment of this application, the content that is the same as or similar to the fourth embodiment described above can be referred to the above description, and will not be repeated hereafter. Based on this, please refer to... Figure 5 , Figure 5This is a flowchart illustrating the fifth embodiment of the screen display method of this application.

[0096] Considering that it may be necessary to determine the result of resetting the CAN transceiver;

[0097] In this embodiment, steps S41 to S43 are further included after step S40:

[0098] S41: Detect the working status of the CAN transceiver.

[0099] S42: If the CAN transceiver's operating status matches the reset status, then the reset is considered successful.

[0100] S43: If the CAN transceiver's operating status does not match the reset status, the reset is deemed to have failed.

[0101] In practice, the controller detects the working status of the CAN transceiver; if the working status of the CAN transceiver matches the reset status, the reset is considered successful; if the working status of the CAN transceiver does not match the reset status, the reset is considered unsuccessful.

[0102] The present invention also proposes a device for preventing DC-DC CAN signal transmission and reception failure, the device comprising:

[0103] Detection module 10 is used to detect signals of KL15 and specific CAN frames;

[0104] The driver module 20 is used to configure and reset the CAN transceiver.

[0105] Calculation module 30 is used to record the number of failures;

[0106] The control module 40 is used to control the CAN transceiver to send messages.

[0107] The device for preventing DC-DC CAN signal transmission and reception failure proposed in this invention employs the method for preventing DC-DC CAN signal transmission and reception failure in the above embodiments, effectively solving the problem of the entire vehicle being unable to reach READY status due to occasional absence of DC-DC messages. The beneficial effects of the device for preventing DC-DC CAN signal transmission and reception failure provided in this application are the same as those of the method for preventing DC-DC CAN signal transmission and reception failure provided in the above embodiments, and other technical features in the device for preventing DC-DC CAN signal transmission and reception failure are the same as those disclosed in the method of the above embodiments, and will not be repeated here.

[0108] The present invention also proposes a vehicle that can implement the steps of the method described above for preventing the failure of DC-DC CAN signal transmission and reception.

[0109] The present invention also proposes a storage medium, wherein the storage medium stores a computer program, and the computer program, when executed by a processor, implements the steps of the method for implementing the failure of DCDC CAN signal transmission and reception.

[0110] The storage medium provided by this invention may be, for example, a USB flash drive, but is not limited to, electrical, magnetic, optical, electromagnetic, infrared, or semiconductor systems, devices, or any combination thereof. More specific examples of the storage medium may include, but are not limited to: electrical connections with one or more wires, portable computer disks, hard disks, random access memory (RAM), read-only memory (ROM), erasable programmable read-only memory (EPROM or flash memory), optical fibers, portable compact disk read-only memory (CD-ROM), optical storage devices, magnetic storage devices, or any suitable combination thereof. In this embodiment, the storage medium may be any tangible medium containing or storing a program that can be used by or in conjunction with an instruction execution system, system, or device. The program code contained on the storage medium may be transmitted using any suitable medium, including but not limited to: wires, optical cables, RF (Radio Frequency), etc., or any suitable combination thereof.

[0111] Computer program code for performing the operations of this invention can be written in one or more programming languages ​​or a combination thereof, including object-oriented programming languages ​​such as Java, Smalltalk, and C++, as well as conventional procedural programming languages ​​such as the "C" language or similar programming languages. The program code can be executed entirely on the user's computer, partially on the user's computer, as a standalone software package, partially on the user's computer and partially on a remote computer, or entirely on a remote computer or server. In cases involving remote computers, the remote computer can be connected to the user's computer via any type of network—including a local area network (LAN) or a wide area network (WAN)—or can be connected to an external computer (e.g., via the Internet using an Internet service provider).

[0112] The flowcharts and block diagrams in the accompanying drawings illustrate the architecture, functionality, and operation of possible implementations of systems, methods, and computer program products according to various embodiments of the present invention. In this regard, each block in a flowchart or block diagram may represent a module, segment, or portion of code containing one or more executable instructions for implementing a specified logical function. It should also be noted that in some alternative implementations, the functions indicated in the blocks may occur in a different order than those indicated in the drawings. For example, two consecutively indicated blocks may actually be executed substantially in parallel, and they may sometimes be executed in reverse order, depending on the functions involved. It should also be noted that each block in the block diagrams and / or flowcharts, and combinations of blocks in the block diagrams and / or flowcharts, may be implemented using a dedicated hardware-based system that performs the specified function or operation, or using a combination of dedicated hardware and computer instructions.

[0113] The modules described in the embodiments of the present invention can be implemented in software or hardware. The names of the modules do not necessarily limit the specific unit itself.

[0114] The present invention also provides a computer program product, including a computer program that, when executed by a processor, implements the steps of the method described above for preventing the failure of DC-DC CAN signal transmission and reception.

[0115] The above description is only a part of the embodiments of the present invention and does not limit the patent scope of the present invention. All equivalent structural transformations made under the technical concept of the present invention using the contents of the present invention specification and drawings, or direct / indirect applications in other related technical fields, are included within the patent protection scope of the present invention.

Claims

1. A method for preventing DC-DC CAN signal transmission and reception failure, characterized in that, The method for preventing DC-DC CAN signal transmission and reception failure includes: Detect signals from specific frames in KL15 and CAN; Configure the CAN transceiver when signals of KL15 and specific CAN frames are detected; When the CAN transceiver configuration fails, record the number of configuration failures and reconfigure the CAN transceiver. When the number of configuration failures reaches a preset number, the CAN transceiver is reset; When the CAN transceiver is successfully reset, control the CAN transceiver to send messages; The step of configuring the CAN transceiver upon detecting signals from KL15 and specific CAN frames further includes: Detect the working status of the CAN transceiver; If the CAN transceiver's operating status matches the configuration, the configuration is considered successful. If the CAN transceiver's operating status does not match the configuration, the configuration is deemed to have failed. The step of resetting the CAN transceiver when the number of configuration failures reaches a preset number also includes: Detect the working status of the CAN transceiver; If the CAN transceiver's operating status matches the reset status, then the reset is considered successful. If the CAN transceiver's operating status does not match the reset status, the reset is considered to have failed.

2. The method for preventing DC-DC CAN signal transmission and reception failure as described in claim 1, characterized in that, The step of resetting the CAN transceiver when the number of configuration failures reaches a preset number also includes: If the CAN transceiver fails to reset, record the number of reset failures and reset the CAN transceiver again. When the number of failed resets reaches a preset number, the controller restarts. When the controller restarts successfully, it controls the CAN transceiver to send messages.

3. The method for preventing DC-DC CAN signal transmission and reception failure as described in claim 2, characterized in that, After the step of recording the number of reset failures and resetting the CAN transceiver when the CAN transceiver reset fails, the method further includes: If the controller restart fails, record the number of restart failures and re-execute the controller restart steps; When the number of controller restart failures reaches the preset number of restarts, the controller uses a watchdog timer to perform a power-off reset. When the controller is successfully reset by power failure, the CAN transceiver is controlled to send messages.

4. The method for preventing DC-DC CAN signal transmission and reception failure as described in claim 3, characterized in that, The step of performing a power-off reset using a watchdog timer when the number of controller restart failures reaches a preset number also includes: If the controller fails to reset due to power failure, the power failure reset operation using the watchdog timer will be re-executed.

5. A storage medium, characterized in that, The storage medium is a computer-readable storage medium, and a computer program is stored on the storage medium. When the computer program is executed by a processor, it implements the steps of the method for preventing DCDC CAN signal transmission and reception failure as described in any one of claims 1 to 4.

6. A computer program product, characterized in that, The computer program product includes a computer program that, when executed by a processor, implements the steps of the method for preventing DCDC CAN signal transmission and reception failure as described in any one of claims 1 to 4.

Citation Information

Patent Citations

  • Fault diagnosis processing method for CAN specific frame wake-up

    CN115981289A

  • Controller area network fault detection and recovery

    US20210218596A1