Unlock instant, AI-driven research and patent intelligence for your innovation.

Baud rate updating method and device based on LIN protocol, equipment and medium

A baud rate and device technology, applied in the field of baud rate update based on LIN protocol, which can solve problems such as data errors and changing transmission baud rates

Inactive Publication Date: 2022-02-01
北京中科昊芯科技有限公司
View PDF4 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] When the master device uses the LIN protocol to send message frames to the slave device, it may change the transmission baud rate, and if the slave device does not use the master device's sending baud rate for data reception at this time, the received data will occur. mistake

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
  • Baud rate updating method and device based on LIN protocol, equipment and medium
  • Baud rate updating method and device based on LIN protocol, equipment and medium
  • Baud rate updating method and device based on LIN protocol, equipment and medium

Examples

Experimental program
Comparison scheme
Effect test

specific Embodiment approach

[0068] Such as Figure 4 as shown, Figure 4 It is a specific implementation of a method for updating the baud rate based on the LIN protocol in the embodiment of the present application, including:

[0069] S410. Obtain a message frame sent by the master device.

[0070] The slave device determines the communication rate with the master device according to the preset control information, and the data transmission time corresponding to each bit is Tbit0, and receives the message frame sent by the master device at the set communication rate, and presets the synchronization interval The minimum duration of the low level of a segment is 11Tbit0.

[0071] S420. Determine that the low level of the synchronization interval is detected.

[0072] After obtaining the message frame, the slave device receives the low level of the synchronization interval segment with a length of 12 bits, and obtains the low level of the synchronization interval segment for a duration of 12Tbit0. Then...

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 Baud rate updating method and device based on an LIN protocol, equipment and a medium. The method comprises the steps: determining that the duration of a start mark is greater than or equal to the total duration of a plurality of bits included in a synchronization segment when it is determined that the start mark of a message frame is monitored; and obtaining an alternative baud rate of master equipment according to the total duration of the plurality of bits included in the synchronization segment, and if the alternative baud rate is determined to be less than or equal to the maximum baud rate allowed by slave equipment, and taking the alternative baud rate as the current baud rate of the master equipment, so that at least the slave equipment can update the Baud rate of the slave equipment according to the Baud rate of the data sent by the master equipment, and synchronization with the current Baud rate of the master equipment is achieved so as to effectively avoid the technical problem that operation is inconvenient and not instant due to the fact that the Baud rate is passively modified in a configuration mode.

Description

technical field [0001] The embodiment of the present application relates to the field of baud rate detection, and in particular to a method, device, device and medium for updating the baud rate based on the LIN protocol. Background technique [0002] In related technologies, the main features of the LIN protocol include: 1) master-slave configuration, wherein a sending task is initiated by the master node (or called the master device), and the slave node (or called the slave device) responds to the sending task of the master node ,Such as figure 1 As shown; 2) The data in the LIN bus is transmitted through the message frame. The message frame is composed of a message header and a response. The message header is always initiated by the master node, and the response is sent by the slave node. The format of the message frame is as follows: figure 2 shown. [0003] When the master device uses the LIN protocol to send message frames to the slave device, it may change the trans...

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): H04L7/00H04L67/01
CPCH04L7/0016H04L69/26
Inventor 庄晓青周沈刚李任伟
Owner 北京中科昊芯科技有限公司