Data transmission – Movement of data in form of bits between two or more digital devices. Transfer takes place via some form of transmission media (for example, coaxial cable, fiber optics etc.)
Types of Data Transmission
Parallel transmission
In parallel transmission, all the bits of data are transmitted simultaneously on separate communication lines.
• In order to transmit n bits, n wires or lines are used. Thus each bit has its own line.
• All n bits of one group are transmitted with each clock pulse from one device to another i.e. multiple bits are sent with each clock pulse.
• Parallel transmission is used for short distance communication.
Advantage of parallel transmission
It is speedy way of transmitting data as multiple bits are transmitted simultaneously with a single clock pulse.
Disadvantage of parallel transmission
It is costly method of data transmission as it requires n lines to transmit n bits at the same time.
Serial Transmission
In serial transmission, the various bits of data are transmitted serially one after the other.
• It requires only one communication line rather than n lines to transmit data from sender to receiver.
• Thus all the bits of data are transmitted on single line in serial fashion.
• In serial transmission, only single bit is sent with each clock pulse.
• Serial transmission is used for long distance communication.
Advantage of Serial transmission
Use of single communication line reduces the transmission line cost by the factor of n as compared to parallel transmission.
Disadvantages of Serial transmission
- Use of conversion devices at source and destination end may lead to increase in overall transmission cost.
- This method is slower as compared to parallel transmission as bits are transmitted serially one after the other.
Types of Serial Transmission
There are two types of serial transmission.
1. Synchronous
2. Asynchronous
Asynchronous Transmission
Asynchronous transmission sends only one character at a time where a character is either a letter of the alphabet or number or control character i.e. it sends one byte of data at a time.
• Bit synchronization between two devices is made possible using start bit and stop bit.
• Start bit indicates the beginning of data i.e. alerts the receiver to the arrival of new group of bits. A start bit usually 0 is added to the beginning of each byte.
• Stop bit indicates the end of data i.e. to let the receiver know that byte is finished, one or more additional bits are appended to the end of the byte. These bits, usually 1s are called stop bits.
• Addition of start and stop increase the number of data bits. Hence more bandwidth is consumed in asynchronous transmission.
• There is idle time between the transmissions of different data bytes. This idle time is also known as Gap
• The gap or idle time can be of varying intervals. This mechanism is called Asynchronous, because at byte level sender and receiver need not to be synchronized. But within each byte, receiver must be synchronized with the incoming bit stream.
Application of Asynchronous Transmission
- Asynchronous transmission is well suited for keyboard type-terminals and paper tape devices. The advantage of this method is that it does not require any local storage at the terminal or the computer as transmission takes place character by character.
- Asynchronous transmission is best suited to Internet traffic in which information is transmitted in short bursts. This type of transmission is used by modems.
Advantages of Asynchronous transmission
- This method of data transmission is cheaper in cost as compared to synchronous e.g. If lines are short, asynchronous transmission is better, because line cost would be low and idle time will not be expensive.
- In this approach each individual character is complete in itself, therefore if character is corrupted during transmission, its successor and predecessor character will not be affected.
- It is possible to transmit signals from sources having different bit rates.
- The transmission can start as soon as data byte to be transmitted becomes available.
- Moreover, this mode of data transmission in easy to implement.
Disadvantages of asynchronous transmission
- This method is less efficient and slower than synchronous transmission due to the overhead of extra bits and insertion of gaps into bit stream.
- Successful transmission inevitably depends on the recognition of the start bits. These bits can be missed or corrupted.
Synchronous Transmission
• Synchronous transmission does not use start and stop bits.
• In this method bit stream is combined into longer frames that may contain multiple bytes.
• There is no gap between the various bytes in the data stream.
• In the absence of start & stop bits, bit synchronization is established between sender & receiver by ‘timing’ the transmission of each bit.
• Since the various bytes are placed on the link without any gap, it is the responsibility of receiver to separate the bit stream into bytes so as to reconstruct the original information.
• In order to receive the data error free, the receiver and sender operates at the same clock frequency.
Application of Synchronous transmission
• Synchronous transmission is used for high speed communication between computers.
Advantage of Synchronous transmission
- This method is faster as compared to asynchronous as there are no extra bits (start bit & stop bit) and also there is no gap between the individual data bytes.
Disadvantages of Synchronous transmission
- It is costly as compared to asynchronous method. It requires local buffer storage at the two ends of line to assemble blocks and it also requires accurately synchronized clocks at both ends. This lead to increase in the cost.
- The sender and receiver have to operate at the same clock frequency. This requires proper synchronization which makes the system complicated.
Comparison between Serial and Parallel transmission
Factor | Serial | Parallel |
---|---|---|
Number of bits transmitted at one clock pulse | One bit | n bits |
Number of lines required to transmit n bits | one line | n lines |
Speed of data transfer | Slow | Fast |
Cost of transmission | Low as one line is required | High as n lines are required |
Application | Long distance communication between two computers | Short distance communication like computer to printer |
Comparison between Asynchronous and Synchronous.
Factor | Asynchronous | Synchronous |
---|---|---|
Data Send at one time | Usually 2 byte | Multiple Bytes |
Start and Stop bit | Used | Not Used |
Gap between Data Units | Present | Not Present |
Transmission Speed | Slow | Fast |
Cost | Low | High |