ATM tutorial

In this tutorial you can read about

A LITTLE BIT OF HISTORY

THE BASIC PRINCIPLES

THE LAYERED MODEL



A LITTLE BIT OF HISTORY .. OR
WHY DO WE NEED ATM?

ATM was developed because of developing trends in the networking field. The most important parameter is the emergence of a large number of communication services with different, sometimes yet unknown requirements. In this information age, customers are requesting an ever increasing number of new services. The most famous communication services to appear in the future are HDTV(High Definition TV), video conferencing, high speed data transfer, videophony, video library, home education and video on demand.

This large span of requirements introduces the need for one universal network which is flexible enough to provide all of these services in the same way. Two other parameters are the fast evolution of the semi - conductor and optical technology and the evolution in system concept ideas - the shift of superfluous transport functions to the edge of the network.

Both the need for a flexible network and the progress in technology and system concepts led to the definition of the Asynchronous Transfer Mode (ATM) principle.


here you can read about :

The Situation in the Telecommunication World Before ATM

Performance Reqirements from ATM


THE SITUATION IN THE TELECOMMUNICATION WORLD BEFORE ATM

Today's telecommunication networks are characterized by specialization. This means that for every individual telecommunication service at least one network exists that transports this service.
Each of these networks was specially designed for that specific service and is often not at all applicable to transporting another service.
When designing the network of the future, one must take into account all possible existing and future services.

The networks of today are very specialized and suffer from a large number of disadvantages:

* Service Dependence
Each network is only capable of transporting one specific service .

*Inflexibility
Advances in audio, video and speech coding and compression algorithms and progress in VLSI technology influence the bit rate generated by a certain service and thus change the service requirements for the network. In the future new services with unknown requirements will appear. A specialized network has great difficulties in adapting to new services requirements.

*Inefficiency
The internal available resources are used inefficiently.
Resources which are available in one network cannot be made available to other networks.

It is very important that in the future only a single network will exist and that this network is service independent.
This implies a single network capable of transporting all services, sharing all its available resources between the different services.
It will have the following advantages:
* Flexible and future safe
A network capable of transporting all types of services that will be able to adapt itself to new needs.

* Efficient in the use of its available resources All available resources can be shared between all services, such that an optimal statistical sharing of the resources can be obtained.

* Less expensive
Since only one network needs to be designed, manufactured and maintained the overall costs of the design, manufacturing, operations and maintenance will be lower.


PROGRESS IN TECHNOLOGY - ATM IS POSSIBLE

The definition of a service independent network has been influenced by an evolution in technology and system concepts.

System Concept Progress
The ideal network in the future must be flexible. The most flexible network in terms of bandwidth requirements and the most efficient in terms of resource usage, is a network based on the concept of packet switching.
Any bandwidth can be transported over a packet switching network and the resources are only used when useful information has to be transported.
The basic idea behind the concept changes is the fact that functions must not be repeated in the network several times if the required service can still be guaranteed when these functions are only implemented at the boundary of the network.

Progress In Technology In recent years large progress has occurred both in field of electronics and in the field of optics.
Broadband communication systems can be developed based on different technologies, the most promising being CMOS. (Complementary Metal Oxide Semiconductor)
Cmos allows high complexity and reasonably high speed (up to 200 to 300 Mbits/s). The low power dissipation of Cmos is particularly important, and allows the realization of high complexity, high speed systems on a very small chip surface.
With the increased complexity per chip, the system cost can easily be reduced since the large integration will continuously allow the volume of the system to shrink or to increase the functionality at a constant cost.

Optical technology is also evolving quite rapidly.
Optical fiber has been installed for transmission services for several years.


Performance Requirements from ATM

In the future broadband network a large number of services have to be supported. These services are :
* low speed like telemetry, low speed data ,telefax,..
* medium speed like hifi sounds, video telephony, high speed data,..
* very high speed like high quality video, video library ...

A single typical service description does not exist. All services have different characteristics both for their average bit rate and burstiness.
To anticipate future unknown services we must try to characterize as general a service as possible.
The optimal transfer mode should support the communication of various types of information via an integrated access. Ideally the transfer mode must provide the capability to transport information, whatever type of information is given at the network, very much like the electricity network, which provides power to it's customers without regarding the way the customer uses his electricity.

Two other important factors are:
*Semantic transparency - determines the possibility of network to transport the information error free.
The number of end to end errors introduced by the network is acceptable for the service
No system is perfect. Most of the imperfections of telecommunication systems are caused by noise. Other factors contribute to a reduced quality: limited resources causing blocking; any system errors. One of the most important parameters used to characterize imperfections is the BER (bit error rate) - the ratio between erroneous bits and transmitted bits.
*Time transparency - determines the capability of the network to transport the information through the network from source to destination in a minimal time acceptable for the service.
Time transparency can be defined as the absence of delay and delay jitter(different part of the information arrive at the destination with different delay). The value of end to end delay is an important parameter for real time services, such as voice and video. If the delay becomes too large echo problems may arise in a voice connection.

 SERVICE              BER             DELAY
 Telephony            10^(-7)         25 - 500 ms
 Data transmission     10^(-7)         1000 ms
 Broadcast Video      10^(-6)         1000 ms
 Hifi Sound           10 ^(-5)        1000 ms


THE BASIC PRINCIPLES OF ATM

What is Asynchronous Transfer Mode?
Let's talk about some basic principles.

Here is the list of subjects. You can get information by clicking or just read through it.

Information Transfer

Routing

Resources

Flow Control

Signalling


INFORMATION TRANSFER
ATM is considered a packet oriented transfer mode based on:
* asynchronous time division multiplexing
* the use of fixed length cells

An ATM cell structure is displayed in the following figure:

Each cell consist of an information field and a header.

The header is used to identify cells belonging to the same virtual channel and to perform the appropriate routing.
To guarantee a fast processing in the network, the ATM header has very limited function. Its main function is the identification of the virtual connection by an identifier which is selected at call set up and guarantees a proper routing of each packet. In addition it allows an easy multiplexing of different virtual connections over a single link.

The information field length is relatively small, in order to reduce the internal buffers in the switching node, and to limit the queuing delays in those buffers - small buffers guarantee a small delay and a small delay jitter as required in real time systems.
The information field of ATM cells is carried transparently through the network. No processing is performed on it inside the network.
All services (voice, video, data) can be transported via ATM , including connectionless services.


ROUTING
ATM is connection oriented. Before information is transferred from the terminal to the network, a logical/virtual connection is set.
The header values are assigned to each section of a connection for the complete duration of the connection, and translated when switched from one section to another.
Signalling and user information are carried on separate virtual channels Two sorts of connections are possible:
* Virtual Channel Connections VCC
* Virtual Path Connections VPC
When switching or multiplexing on cells is to be performed, it must first be done on VPC ,then on the VCC.

Virtual Channels
This function is performed by a header sub field - VCI. Since the ATM network is connection oriented each connection is characterized by a VCI which is assigned at call set up. A VCI has only a local significance on the link between ATM node and will be translated in the ATM nodes. When the connection is released , the VCI values on the involved links will be released and can be reused by other connections.
An advantage of this VCI principle is the use of multiple VCI values for multicomponent services. For instance video telephony can be composed of 3 components: voice , video and data each of which will be transported over a separate VCI. This allows the network to add or remove components during the connection. For instance, the video telephony service can start with voice only and the video can be added later.

Virtual Path
The network has to support semi-permanent connections, which have to transport a large number of simultaneous connections. This concept is known as virtual path.

All ATM switches can be schematically described as follows.
A number of incoming links ( I1,I2,..In) transport ATM information to the switch, where depending on the value of the header this information is switched to outgoing link (O1,O2,..On). The incoming header and the incoming link number are used to access a translation table. The result of the access to the table is an outgoing link and a new header value.


RESOURCES
As ATM is connection oriented, connections are established either semi-permanently, or for the duration of a call, in case of switched services.
This establishment includes the allocation of a VCI (Virtual Channel Identifier)and/or VPI (Virtual Path Identifier), and also the allocation of the required resources on the user access and inside the network. These resources are expressed in terms of throughput and Quality of Service.
They may be negotiated between user and network for switched connection during the call set up phase
Lets look at the following topics

ATM cell identifiers

Throughput

Quality Of Service

Usage Parameter Control

ATM Cell Identifiers
ATM cell identifiers are:
* Virtual Path Identifier
* Virtual Channel Identifiers
* Payload Type Identifiers
They support recognition of an ATM cell on a physical transmission medium. Recognition of a cell is a basis for all further operations.
VPI and VCI are unique for cells belonging to the same virtual connection on a shared transmission medium. As such they are limited resources. Within a particular virtual circuit, cells may be further distinguished by their PTI, which cannot be allocated freely but depends on the type of payload carried by the cell. This field indicates whether the cell is carrying user information to be delivered transparently through the network or special network information.
In case the field indicates network information, part of the information field indicates the type of network control whereas the remaining part of information field may be processed inside the network.

Throughput
Bandwidth has to be reserved in the network for each virtual connection. ATM offers the possibility to realize resources saving in the total bandwidth needed when multiplexing traffic of many variable Bit Rate connections.
The amount which can be saved depends heavily on the number of multiplexed connections, on the burstiness of the traffic they carry, on the correlation between them and on the quality of service they require.

Quality of Service
The quality of service of a connection relates to the cell loss, the delay and the delay variation incurred by the cells belonging to that connection in an ATM network. For ATM, the quality of service of a connection is closely linked to the bandwidth it uses. When providing limited physical resources using more bandwidth increases the cell loss, the delay, and the delay variation incurred, i. e. decreases the QOS for cells of all connections which share those resources.

Usage Parameter Control
In ATM there is no physical limitation on the user access rate to the physical transmission medium, apart from the physical cell rate on the medium itself. Multiplexing equipment will do its utmost to avoid cell loss to offer the highest possible throughput whatever the user chooses to send.
As virtual connections share physical resources, transmission media and buffer space, unforeseen excessive occupation of resources by one user may impair traffic for other users. Throughput must be monitored at the user - network interface by a Usage Parameter Control function in the network to ensure that a negotiated contract per VCC or VPC between network and subscriber is respected.
It is very important that the traffic parameters which are selected for this purpose can be monitored in real time at the arrival of each cell.


FLOW CONTROL
In principle, no flow control will be applied to information streams at the ATM layer of the network. In some cases it will be necessary to be able to control the flow of traffic on ATM connections from a terminal to the network. In order to cope with this a GFC (general flow control) mechanism may be used. This function is supported by a specific field in the ATM cell header. Two sets of procedure are used: Uncontrolled Transmission - for the use of point to point configuration.
Controlled Transmission - can be used in both point to point and shared medium configuration.

Another principle is no error protection on link by link basis.
If a link in the connection, either the user to network link or the internal links between the network nodes, introduces an error during the transmission or is temporarily overloaded thereby causing the loss of packets, no special action will be taken on that link to correct this error (= no requesting for retransmission).This error protection can be omitted since the links in the network have a very high quality


SIGNALLING
The negotiation between the user and the network with respect to the resources is performed over a separate signalling virtual channel. The signalling protocol to be used over the signalling virtual channel is an enhancement of those used in ISDN signalling.



ATM - THE LAYERED MODEL

The OSI model is very famous and used to model all sorts of communication systems. We can model the ATM with the same hierarchical architecture - however only the lower layers are used.

The following relations can be found:
The Physical layer is more or less equivalent to Layer 1 of OSI model, and mainly perform functions on the bit level.
The ATM layer can be located mainly at the lower edge of the layer 2 of the OSI model.
The adaptation layer performs the adaptation of higher layer protocols, be it signalling or user information, to the fixed ATM cells.
These layers can then further be divided into sublayers. Each sublayer performs a number of functions, to be explained in the following sections. click on the section you are interested in.
LAYER SUBLAYERS AAL-
adaptation layer CS
SAR ATM layer Physical Layer TC
PM PM - Physical Medium Sublayer
This sublayer is responsible for the correct transmission and reception of bits on the appropriate physical medium. At the lowest level the functions that are performed are medium dependent: optical, electrical...
In addition this sublayer must guarantee a proper bit timing reconstruction at the receiver. Therefore the transmitting peer will be responsible for the insertion of the required bit timing information and line coding. Transmission Convergence Sublayer
In this sublayer bits are already recognized, as they come from the PM sublayer. This sublayer performs the following functions:
* Adaptation to the transmission system used
* Generation of the HEC (Header Error Check) of each cell at the transmitter, and its verification at the receiver
*Cell delineation - the mechanism to perform cell delineation is based on the HEC. If a correct HEC is recognized for a number of consecutive cells it is assumed that the correct cell boundary is found. To avoid erroneous cell delineation on user information, the information field of each cell is scrambled at the transmitting side and descrambled at the receiving side. This ensures that the probability of finding a correct HEC in the information field is very low
*Once the cell delineation has been found an adaptive mechanism uses the HEC for correction or detection of cell header errors. Isolated single bit errors are corrected.
*Cell uncoupling - the sublayer ensures insertion and suppression of unassigned cells to adapt the useful rate to the available payload of the transmission system ATM Layer
The following main functions are performed by the layer:
* The multiplexing and demultiplexing of cells of different connections into a single cell stream
*A translation of cell identifiers, which is required in most cases when switching a cell from one physical link to another in an ATM switch or cross connect.
This translation can be performed either on the VCI or VPI separately, or on both simultaneously.
*Providing the user of a VCC or VPC with one QOS class out of a number of Classes supported by the network.
*MANAGEMENT FUNCTIONS: the header of user information cells provides for a congestion indication and an ATM user to ATM user indication.
*Extraction (addition) of the cell header before (after) the cell is being delivered to (from) the adaptation layer
*Implementation of flow control mechanism on the user network interface.
ATM Adaptation Layer
This layer enhances the service provided by the ATM layer to a level required by the next higher layer. It performs the functions for the user, control and management planes and supports the mapping between the ATM layer and the next higher layer. The functions performed in the AAL depend on the higher layer requirements.
The AAL layer is divided into two sublayers:
**SAR - the segmentation and reassembly sublayer
The main purpose of the SAR sublayer is segmentation of higher layer information into a size suitable for the payload of the consecutive ATM cells of a virtual connection, and the inverse operation, reassembly of contents of the cells of a virtual connection into data units to be delivered to the higher layer. **CS - the convergence sublayer
This sublayer performs functions like message identification, time/clock recovery etc. AAL Service Data Units (SDU) are transported from one AAL Service Access Point to one or more access points through the ATM network. The AAL users will have the capability to select a given AAL - SAP associated with the QOS required to transport the SDU.
Up to now four AALS have been defined-one for each class of service.

THE CLASSES OF ATM SERVICES

The services which will be transported over the ATM layer are classified in four classes, each of which has its own specific requirements towards the AAL. The services are classified according to three basic parameters:
1. Time relation between source and destination:
For real time applications like phone conversation, a time relation is required. Information transfer between computers does not require a time relation.
2. Bit Rate
Some services have a constant bit rate, others have a variable bit rate.
3. Connection mode:
connectionless or connection oriented
Four types of AAL protocols have been recommended up to now : AAL 1,AAL 2, AAL 3/4, AAL 5.
AAL 1 - Adaptation for constant bit rate services

Recommended for services such as digital voice and digital video. It is used for applications that are sensitive for both cell loss and delay. Constant Bit Rate (CBR) services require information to be transferred between source and destination at a constant bit rate after virtual connection has been set up. The Layer services provided by the AAL 1 to the user are: * Transfer of Service Data Units with a constant bit rate and their delivery with the same bit rate
*Transfer of data structure information
*Transfer of timing information between source and destination
*Indication of lost or corrupted information which is not recovered by the AAL itself when needed
CSI - CS indication - 1 bit
SN - sequence Number - 3 bits
SNP - sequence number protection 4 bits
The SAR sublayer accepts a 47 octet block of data from the CS and then adds a one octet SAR-PDU header to each block.
At the receiving end, the SAR sublayer gets a 48 byte block from the ATM layer, and then separates the SAR PDU header. The SAR sublayer receives a sequence number value from the CS. At the receiving end this number is passed to the CS. IT may be used to detect loss and incorrect insertions of SAR payloads. The SNP is used for protection against bit errors. It is capable of single bit error correction and multiple bit error detection. The convergence Sublayer functions:
* Handling of cell delay Variation * Handling of cell payload assembly delay

AAL 2 - Adaptation for variable bit rate services

This type AAL offers a transfer of information with a variable bit rate. In addition, timing information is transferred between source and destination. Since the source is generating a variable bit rate, it is possible that cells are not completely filled and that the filling level varies from cell to cell. Therefore more functions are required from the SAR .

* the SN field (Sequence Number) contains the sequence number to allow the recovery of lost or misrouted cells.
* The IT (Information Type) indicates the beginning of a message (BOM), continuing of a message (COM),the end of a message(EOM) or that the cell transports timing or other information .
BOM,COM or EOM indicate that the cell is the first, middle or last cell of a message, i.e. an information unit as defined in the CS layer with possibly a variable length.
* The LI (length indicator) field indicates the number of useful bytes in partially filled cells.
*The CRC field allows SAR to detect bit errors in the SAR SDU

In the CS sublayer the following functions have to be performed:
* Clock recovery by means of insertion and extraction of time information.
* Handling of lost or incorrectly delivered cells.
* Forward error correction for video and audio services


AAL 3/4 - Adaptation for data services

This AAL is recommended for transfer of data which is sensitive to loss, but not to delay. The AAL may be used for connection oriented as well as for connectionless services, since functions like routing and network addressing are performed on the network layer.
Two modes of AAL 3/4 are defined: * Message Mode
The AAL SDU is passed across the AAL interface in exactly one AAL Interface Data Unit (IDU) . This service is provided for the transport of fixed or variable length AAL SDU.
* Streaming mode
The AAL SDU is passed in one or more AAL IDU. Transfer of these IDUs may occur separate in time. The service provided for long variable length AAL SDUs.
The SAR sublayer functions:
*Segmentation and reassembly of variable length CS PDUs. The SAR PDU contains two fields for this purpose:
1. ST Segment Type - indicates which part of the CS PDU is carried by the SAR PDU: first middle or last
2. LI Length Indicator
* Error Detection - using CRC field
* Multiplexing of multiple CS PDUs on a common bearer in the ATM layer. Multiplexing is supported by a multiplexing identifier.

The CS functions
* Delineation and transparency of SDUs
* Error detection and handling - Corrupted SDUs are either discarded or optionally delivered to the service specific convergence sublayer.
* Buffer allocate size- each PDU carries up front an indication to the receiving entity of the maximum buffer required to receive the PDU * Abort - a partially transmitted PDU can be aborted


AAL 5 - Adaptation for data services

This AAL is recommended for high speed connection oriented data service. This AAL offers a service with less overhead and better error detection.

The SAR sublayer functions:
The SAR sublayer accepts variable length SAR SDUs which are multiples of 48 octets from the CS sublayer, and generates SAR PDUs containing 48 octets of data.

The CS functions
The functions implemented by the AAL5 are the same as the ones offered by the AAL 3/4 except that the AAL 5 does not give a buffer allocation size indication to the receiving peer entity. Also error protection in the AAL 5 is fully handled at the CS layer itself, instead of being shared between SAR and CS.
>