Comparison of synchronous and asynchronous signalling: Difference between revisions
No edit summary |
|||
Line 6: | Line 6: | ||
There are two ways to synchronize the two ends of the communication. |
There are two ways to synchronize the two ends of the communication. |
||
The |
The synchronous signalling methods use 2 different signals: A pulse on one signal indicates when another bit of information is ready on the other signal. |
||
A pulse on one signal indicates when another bit of information is ready on the other signal. |
|||
The |
The asynchronous signalling methods use only 1 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. |
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. |
A pulse from the local clock indicates when another bit is ready. |
Revision as of 19:23, 3 June 2014
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.
Methods of synchronization
There are two ways to synchronize the two ends of the communication.
The synchronous signalling methods use 2 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 1 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.
Data/strobe synchronous transmission
In synchronous transmission, the stream of data to be transferred is encoded as fluctuating voltages in one wire, and a periodic pulse of voltage is put on another wire (often called the "clock" or "strobe") that tells the receiver "here's where one bit/byte ends and the next one begins".
Practically all parallel communications protocols use such synchronous transmission. For example, in a computer, address information is transmitted synchronously—the address bits over the address bus, and the read strobe in the control bus.
Synchronization can also be embedded into a signal on a single wire. In differential Manchester encoding, used on broadcast quality video tape systems[citation needed], each transition from a low to high or high to low represents a logical zero. A logical one is indicated when there are two transitions in the same time frame as a zero. Another example is the Manchester code where 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
In one form of asynchronous transmission, there is only one wire/signal carrying the transmission. The transmitter sends a stream of data and periodically inserts a certain signal element into the stream which can be "seen" and distinguished by the receiver as a sync signal.
That sync signal might be a single pulse (a "start bit" in asynchronous start/stop communication), or it may be a more complicated syncword or self-synchronizing code such as HDLC or 8B/10B encoding.
Other forms of asynchronous communication use two wires for each data bit (dual-rail encoding) or one wire for each data bit and a separate timing wire (bundled data). Both of these require a separate acknowledge wire.
Obviously, the term "asynchronous" is misleading in its literal interpretation considering that the resynchronization problem can be easily rectified...
Different frequency speeds at both source and destination.
Advantages and disadvantages
Advantages | Disadvantages | |
---|---|---|
Asynchronous transmission |
|
|
Synchronous transmission |
|
|