One-wire bus communication method

A communication method and bus technology, applied in transmission systems, comprehensive factory control, instruments, etc., can solve problems such as difficult to guarantee data, lack of anti-interference, etc., achieve strong anti-interference ability and improve the effect of anti-interference ability

Inactive Publication Date: 2009-04-08
EMA PRECISION ELECTRONICS SUZHOU
View PDF0 Cites 29 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

However, the current communication protocols of various first-line buses do not have the function of anti-interference, which makes it difficult to ensure that the read data is correct under harsh conditions.

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
  • One-wire bus communication method
  • One-wire bus communication method
  • One-wire bus communication method

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0037] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.

[0038] sending part

[0039] Such as figure 1 , 3 , the sending part consists of four parts: start signal, send data, receive response signal, and release the bus.

[0040] Start signal: formed by sending the device to pull down the bus for 80 instruction cycles.

[0041] Send data: Use different duty cycles to indicate whether the data to be sent is 1 or 0. If the duty cycle of the high level is not less than 80% in the data width of each bit transmission, it means that the bit is transmitted as 1; the duty cycle of the low level is not less than 80%, which means that the bit is transmitted as 0;

[0042] Receive response signal: The response signal is sent by the receiving device. In this time slot, the sending device judges whether it is a response signal by calculating the width of the low level. The user can judge whether the data is ...

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

A communication method of one-line bus comprises a data sending step and a data receiving step. The data sending comprises the following steps: (1) sending an initial signal: a sending device draws bus level down; (2) sending the data: the data is sent, and whether a bit signal is 1 or 0 is represented by the duty ratio of a high level and a low level in each bit of the data; and (3) receiving a response signal: if the response signal is received, the data sending is successful, otherwise the data sending fails. The data receiving comprises the following steps: (1) receiving the initial signal: a receiving device judges whether a signal is the initial signal, and receives the signal if yes; (2) receiving data: the duty ratio of the high level and the low level in each bit of the data is judged to determine whether the bit is signal 1 or 0; and (3) sending an acknowledgement signal: after the data is received, the acknowledgement signal is sent. After the data sending and the data receiving are over, the high level is disposed to the bus to release the bus. The method determines the received data by computing the duty ratio and verifies the duty ratio, thus the anti-interference capacity is strong.

Description

technical field [0001] The invention relates to a bus protocol, in particular to a communication method of a one-line bus. Background technique [0002] DALLAS SEMICONDUCTOR of the United States designed a high-resolution programmable digital temperature sensor. The device receives power from the data line, and because the digital transmission part only uses a microcontroller interface line, the sensor is named as a one-line digital temperature sensor. (1-wire Digital Thermometer). The data line that can communicate with the first-line digital temperature sensor is the original one-wire bus (1-wire bus). The development of one-three-wire bus technology has continuously produced a series of one-line working components and instruments. The one-line bus can communicate with all one-line components and instruments without limitation. This is because each sensor or digital device produced by DALLAS is unique. Yes, each device has a unique digital code. One-line bus is a very c...

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): H04L1/00H04L25/00G06F13/38G05B19/418
CPCY02P90/02
Inventor 陈柏志
Owner EMA PRECISION ELECTRONICS SUZHOU
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products