Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

CAN bus baud rate adaptive method and device based on TC387 chip and storage medium

A CAN bus, baud rate technology, applied in the direction of bus network, data exchange through path configuration, digital transmission system, etc., can solve the high sampling requirements, low adaptive matching success rate, and cannot eliminate bus level jumps and other problems, to achieve the effect of fast adaptive speed and high success rate

Active Publication Date: 2021-07-30
常州华控新能科技有限公司
View PDF4 Cites 1 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Adopting the baud rate automatic matching method in the above-mentioned prior art has higher requirements for sampling, and the equipment is required to be able to accurately sample the time of the level transition on the CAN bus, and at the same time, the noise and electromagnetic interference on the bus cannot be ruled out. Level jump, so the success rate of adaptive matching is low

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • CAN bus baud rate adaptive method and device based on TC387 chip and storage medium
  • CAN bus baud rate adaptive method and device based on TC387 chip and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0050] Embodiment 1 of the present invention discloses a CAN bus baud rate adaptive method based on the TC387 chip. In Embodiment 1 of the present invention, the CAN bus baud rate adaptive method can be applied to automobile controllers and electronic communications, and is suitable for TC387 chips, but not only limited to TC387 chips, but also applicable to other chips. Each will be described in detail below.

[0051] figure 1 It shows a CAN bus baud rate adaptive method based on the TC387 chip provided according to Embodiment 1 of this specification. combine figure 1 Shown, this CAN bus baud rate adaptive method comprises the following steps:

[0052] Step 101, configure the baud rate matching table of the CAN bus.

[0053] Specifically, the baud rate matching table includes a first priority baud rate matching table and a second priority baud rate matching table.

[0054] In a specific embodiment, all possible baud rates on the CAN bus are divided into the first priorit...

Embodiment 2

[0080] Embodiment 2 of the present invention discloses a CAN bus baud rate adaptive method based on the TC387 chip. In Embodiment 2 of the present invention, the CAN bus baud rate adaptive method can be applied to automobile controllers and electronic communications, and is suitable for TC387 chips, but not only limited to TC387 chips, but also applicable to other chips. Each will be described in detail below.

[0081] figure 2 It shows a CAN bus baud rate adaptive method based on the TC387 chip provided according to the second embodiment of this specification. combine figure 2 Shown, this CAN bus baud rate adaptive method comprises the following steps:

[0082] Step 201, configure the baud rate matching table of the CAN bus.

[0083] Specifically, the baud rate matching table includes a first priority baud rate matching table and a second priority baud rate matching table.

[0084] In a specific embodiment, all possible baud rates on the CAN bus are divided into the fi...

Embodiment 3

[0123] The third embodiment of the present invention discloses a CAN bus baud rate adaptive method based on the TC387 chip. In the third embodiment of the present invention, the CAN bus baud rate adaptive method can be applied to automobile controllers and electronic communications, and is suitable for TC387 chips, but not only limited to TC387 chips, but also applicable to other chips. Each will be described in detail below.

[0124] The CAN bus baud rate adaptive method in the embodiment of the present invention three specifically includes the following steps:

[0125] Step 301, configure the baud rate matching table of the CAN bus.

[0126] Specifically, the baud rate matching table includes a first priority baud rate matching table and a second priority baud rate matching table.

[0127] All possible baud rates on the CAN bus are divided into the first-priority baud-rate matching table and the second-priority baud-rate matching table according to common usage. Among the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a CAN bus baud rate adaptive method and device based on a TC387 chip and a storage medium. The CAN bus baud rate adaptive method comprises the steps: configuring a baud rate matching table of a CAN bus, wherein the baud rate matching table comprises a first priority baud rate matching table and a second priority baud rate matching table; selecting a baud rate in the baud rate matching table, and sending data to the CAN bus at the selected baud rate; when data transmission succeeds, generating a transmission success interrupt, and determining a baud rate value on the CAN bus in the transmission success interrupt; when the data transmission fails, determining whether all valid baud rates in the baud rate matching table are matched or not; if the matching is not finished, selecting the baud rate which is not selected in the baud rate matching table as the next baud rate, and sending data to the CAN bus; and if the matching is finished, generating a CAN bus error signal, and giving an error prompt. According to the method, a mode of automatically matching the valid Baud rate by software is used, and the bus Baud rate is quickly and efficiently adapted.

Description

technical field [0001] The present invention relates to the technical field of automobile bus, in particular to a CAN bus baud rate adaptive method, device and storage medium based on the TC387 chip. Background technique [0002] CAN is the abbreviation of Controller Area Network (CAN). The CAN bus protocol has become the standard bus for automotive computer control systems and embedded industrial control LANs. CAN bus communication is an efficient bus communication method and is widely used. in automotive and other fields. The CAN bus of the high-performance single-chip microcomputer TC387 chip produced by Infineon combines Bosch M_CAN and time-triggered CAN on the basis of the traditional bus to form a new MCMCAN, which has multiple working modes and can adapt to different applications. Scenes. [0003] But the baud rate of the CAN bus is not unique, and the CAN bus will use different baud rates in different application environments (mainly the communication distance). ...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
Patent Type & Authority Applications(China)
IPC IPC(8): H04L12/40
CPCH04L12/4013H04L2012/40215H04L2012/40273
Inventor 谭普荣穆林孙磊磊李中方成郝守刚
Owner 常州华控新能科技有限公司
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products