[IEEE 2011 International Conference on Electric Information and Control Engineering (ICEICE) -...

3
Research of One-Wire Bus Distributed System Based on Token Technology Qin Jin-ping Department of Electronic Engineering Heilongjiang Institute of Technology Harbin, China [email protected] LIU Hai-cheng Department of Electronic Engineering Heilongjiang Institute of Technology Harbin, China [email protected] Abstract—Distributed systems are widely used in the field of measurement, control and monitoring alarm. The reliability of bus topology and overall costs are the key to distributed bus applications. This article analyzes the shortcomings of mainstream distributed alarm system, and proposes one-wire bus type token network topology. Then, one-wire bus driver circuit which supports wired-and function is designed, and data link layer protocol is given, include the frame structure, parity and bus arbitration. The design parameters are described in detail, and specific design elements and software processes are given. One-wire bus type token network topology is conducive to modular product design, clear structure, can significantly reduce the requirements of the microcontroller, and a significant cost savings. Therefore, it has some practical value. Keywords- One-Wire bus; Token; Bus arbitration I. [1] RS-485 RS-485 1 2 K1 K15 K1 K15 K1 K15 1 RS-485 2 II. OC OD 12V 3 100k 3ms 1ms 1 1ms 1ms 0 [1] 3 12V 978-1-4244-8039-5/11/$26.00 ©2011 IEEE

Transcript of [IEEE 2011 International Conference on Electric Information and Control Engineering (ICEICE) -...

Page 1: [IEEE 2011 International Conference on Electric Information and Control Engineering (ICEICE) - Wuhan, China (2011.04.15-2011.04.17)] 2011 International Conference on Electric Information

Research of One-Wire Bus Distributed System Based on Token Technology

Qin Jin-ping Department of Electronic Engineering Heilongjiang Institute of Technology

Harbin, China [email protected]

LIU Hai-cheng Department of Electronic Engineering Heilongjiang Institute of Technology

Harbin, China [email protected]

Abstract—Distributed systems are widely used in the field of measurement, control and monitoring alarm. The reliability of bus topology and overall costs are the key to distributed bus applications. This article analyzes the shortcomings of mainstream distributed alarm system, and proposes one-wire bus type token network topology. Then, one-wire bus driver circuit which supports wired-and function is designed, and data link layer protocol is given, include the frame structure, parity and bus arbitration. The design parameters are described in detail, and specific design elements and software processes are given. One-wire bus type token network topology is conducive to modular product design, clear structure, can significantly reduce the requirements of the microcontroller, and a significant cost savings. Therefore, it has some practical value.

Keywords- One-Wire bus; Token; Bus arbitration

I.

[1]

RS-485RS-485 1

2

K1

K15

K1

K15

K1

K15

1 RS-485

2

II.

OC OD

12V 3 100k

3ms 1ms 1 1ms1ms 0

[1]

3 12V

978-1-4244-8039-5/11/$26.00 ©2011 IEEE

Page 2: [IEEE 2011 International Conference on Electric Information and Control Engineering (ICEICE) - Wuhan, China (2011.04.15-2011.04.17)] 2011 International Conference on Electric Information

III.

A.

[2]

4

4

1~1506bit 1~63 15

1~15 05

5

000000 00001

10ms6bit 0000

10ms 6bit 4bit

0000

B.

1 4ms 0 2ms 114 11=44ms 64

10ms (44ms+10ms)64=3456ms 3.5s

C. 1bit

20ms

1

Page 3: [IEEE 2011 International Conference on Electric Information and Control Engineering (ICEICE) - Wuhan, China (2011.04.15-2011.04.17)] 2011 International Conference on Electric Information

IV. Atmega48V

6 7

20ms

6

20ms

7

V.

WSN( )

REFERENCES [1] LIU Hai-cheng, AVR Microcontroller Principle and Applications in

Measuring & Control Engineering[M]. Beijing Aerospace University Press, pp.170-172, March 2008 (In Chinese).

[2] Greg Sutterlin, Bich Pham. One-Wire Serial Bus Carries Isolated Power And Data. Electronic design[J], 200553(22) .