请输入您要查询的百科知识:

 

词条 Comparison of synchronous and asynchronous signalling
释义

  1. The need for synchronization

  2. Methods of synchronization

     Synchronous transmission  Asynchronous transmission 

  3. Advantages and disadvantages

  4. References

{{Refimprove|date=September 2017}}

Synchronous and asynchronous transmissions are two different methods of transmission synchronization. Synchronous transmissions are synchronized by an external clock, while asynchronous transmissions are synchronized by special signals along the transmission medium.

The need for synchronization

Whenever an electronic device transmits digital (and sometimes analog) data to another, there must be a certain rhythm established between the two devices, i.e., the receiving device must have some way of, within the context of the fluctuating signal that it's receiving, determining where each unit of data begins and where it ends.

Methods of synchronization

There are two ways to synchronize the two ends of the communication.

The synchronous signalling methods use two different signals.

A pulse on one signal indicates when another bit of information is ready on the other signal.

The asynchronous signalling methods use only one signal.

The receiver uses transitions on that signal to figure out the transmitter bit rate ("autobaud") and timing, and set a local clock to the proper timing, typically using a phase-locked loop (PLL) to synchronize with the transmission rate.

A pulse from the local clock indicates when another bit is ready.

Synchronous transmission

In synchronous communications, the stream of data to be transferred is encoded as fluctuating voltage levels in one wire (the 'DATA'), and a periodic pulse of voltage on a separate wire (called the "CLOCK" or "STROBE") which tells the receiver "the current DATA bit is 'valid' at this moment in time".

Practically all parallel communications protocols use synchronous transmission. For example, in a computer, address information is transmitted synchronously—the address bits over the address bus, and the read or write 'strobe's of the control bus.

A logical one is indicated when there are two transitions in the same time frame as a zero. In the Manchester coding a transition from low to high indicates a one and a transition from high to low indicates a zero. When there are successive ones or zeros, an opposite transition is required on the edge of the time frame to prepare for the next transition and signal.

Asynchronous transmission

The most common asynchronous signalling, asynchronous start-stop signalling, uses a near-constant 'bit' timing (+/- 5% local oscillator required at both end of the connection). Using this method, the receiver detects the 'first' edge transition... (the START BIT), waits 'half a bit duration' and then reads the value of the signal. A further delay of one 'whole bit duration' is executed before the next data bit is 'read' - repeating for length of the whole serial word (typically 7/8-data bits).

Finally an optional STOP bit is appended to identify the end of the data word.

The word structure used in typical asynchronous serial communications is START-DATA[0:7]-STOP[0:1] (followed by an optional PARITY bit). These formatting variables are specified when configuring the transmit and receive nodes before communications take place.

The bit duration is determined from the nominated 'bit rate' in bps... 300, 1200, 9600, 19200, 115200 etc. The use of the word BAUD is not strictly correct in the modern application of serial channels.

Special level & timing conditions are detected to identify an open-circuit condition (BREAK)

The sync token might be a single pulse (a "start bit" as noted above), or it may be a more complicated syncword or self-synchronizing code such as HDLC or 8B/10B encoding.

Advantages and disadvantages

Advantages Disadvantages
Asynchronous transmission
  • Simple, doesn't require synchronization of both communication sides
  • Cheap, because asynchronous transmission requires less hardware
  • Setup is faster than other transmissions, so well suited for applications where messages are generated at irregular intervals, for example data entry from the keyboard, and the speed depends on different applications.
  • Large relative overhead, a high proportion of the transmitted bits are uniquely for control purposes and thus carry no useful information
Synchronous transmission
  • Lower overhead and thus, greater throughput
  • Slightly more complex
  • Hardware is more expensive

References

1. ^{{Cite web|url=http://www.engr.iupui.edu/~skoskie/ECE362/lecture_notes/LNB25_html/text12.html|title=Synchronous vs. Asynchronous|website=www.engr.iupui.edu|access-date=2017-01-26}}
[1]{{DEFAULTSORT:Comparison Of Synchronous And Asynchronous Signalling}}

2 : Computing comparisons|Distributed computing

随便看

 

开放百科全书收录14589846条英语、德语、日语等多语种百科知识,基本涵盖了大多数领域的百科知识,是一部内容自由、开放的电子版国际百科全书。

 

Copyright © 2023 OENC.NET All Rights Reserved
京ICP备2021023879号 更新时间:2024/9/24 7:27:27