In the seven-layer OSI model of computer networking, the physical layer or layer 1 is the first and lowest layer: the layer most closely associated with the physical connection between devices. The physical layer provides an electrical, mechanical, and procedural interface to the transmission medium. The shapes and properties of the electrical connectors, the frequencies to transmit on, the line code to use and similar low-level parameters, are specified by the physical layer.
At the electrical layer, the physical layer is commonly implemented by dedicated PHY chip or, in electronic design automation (EDA), by a design block. In mobile computing, the MIPI Alliance
family of interconnect protocols are widely used.
Historically, the OSI model is closely associated with internetworking, such as the Internet protocol suite and Ethernet, which were developed in the same era, along similar lines, though with somewhat different abstractions. Beyond internetworking, the OSI abstraction can be brought to bear on all forms of device interconnection in data communications and computational electronics.
The physical layer defines the means of transmitting a stream of raw bits[1] over a physical data link connecting network nodes. The bitstream may be grouped into code words or symbols and converted to a physical signal that is transmitted over a transmission medium.
The physical layer consists of the electronic circuit transmission technologies of a network.[2] It is a fundamental layer underlying the higher level functions in a network, and can be implemented through a great number of different hardware technologies with widely varying characteristics.[3]
Within the semantics of the OSI model, the physical layer translates logical communications requests from the data link layer into hardware-specific operations to cause transmission or reception of electronic (or other) signals.[4] [5] The physical layer supports higher layers responsible for generation of logical data packets.
In a network using Open Systems Interconnection (OSI) architecture, the physical signaling sublayer is the portion of the physical layer that[6]
The Internet protocol suite, as defined in RFC 1122 and RFC 1123, is a high-level networking description used for the Internet and similar networks. It does not define a layer that deals exclusively with hardware-level specifications and interfaces, as this model does not concern itself directly with physical interfaces.[7] [8]
The major functions and services performed by the physical layer are:The physical layer performs bit-by-bit or symbol-by-symbol data delivery over a physical transmission medium.[9] It provides a standardized interface to the transmission medium, including[10] [11] a mechanical specification of electrical connectors and cables, for example maximum cable length, an electrical specification of transmission line signal level and impedance. The physical layer is responsible for electromagnetic compatibility including electromagnetic spectrum frequency allocation and specification of signal strength, analog bandwidth, etc. The transmission medium may be electrical or optical over optical fiber or a wireless communication link such as free-space optical communication or radio.
Line coding is used to convert data into a pattern of electrical fluctuations which may be modulated onto a carrier wave or infrared light. The flow of data is managed with bit synchronization in synchronous serial communication or start-stop signalling and flow control in asynchronous serial communication. Sharing of the transmission medium among multiple network participants can be handled by simple circuit switching or multiplexing. More complex medium access control protocols for sharing the transmission medium may use carrier sense and collision detection such as in Ethernet's Carrier-sense multiple access with collision detection (CSMA/CD).
To optimize reliability and efficiency, signal processing techniques such as equalization, training sequences and pulse shaping may be used. Error correction codes and techniques including forward error correction[12] may be applied to further improve reliability.
Other topics associated with the physical layer include: bit rate; point-to-point, multipoint or point-to-multipoint line configuration; physical network topology, for example bus, ring, mesh or star network; serial or parallel communication; simplex, half duplex or full duplex transmission mode; and autonegotiation[13]
A PHY, an abbreviation for physical layer, is an electronic circuit, usually implemented as an integrated circuit, required to implement physical layer functions of the OSI model in a network interface controller.
A PHY connects a link layer device (often called MAC as an acronym for medium access control) to a physical medium such as an optical fiber or copper cable. A PHY device typically includes both physical coding sublayer (PCS) and physical medium dependent (PMD) layer functionality.[14]
-PHY may also be used as a suffix to form a short name referencing a specific physical layer protocol, for example M-PHY.
Modular transceivers for fiber-optic communication (like the SFP family) complement a PHY chip and form the PMD sublayer.
The Ethernet PHY is a component that operates at the physical layer of the OSI network model. It implements the physical layer portion of the Ethernet. Its purpose is to provide analog signal physical access to the link. It is usually interfaced with a media-independent interface (MII) to a MAC chip in a microcontroller or another system that takes care of the higher layer functions.
More specifically, the Ethernet PHY is a chip that implements the hardware send and receive function of Ethernet frames; it interfaces between the analog domain of Ethernet's line modulation and the digital domain of link-layer packet signaling.[15] The PHY usually does not handle MAC addressing, as that is the link layer's job. Similarly, Wake-on-LAN and Boot ROM functionality is implemented in the network interface card (NIC), which may have PHY, MAC, and other functionality integrated into one chip or as separate chips.
Common Ethernet interfaces include fiber or two to four copper pairs for data communication. However, there now exists a new interface, called Single Pair Ethernet (SPE), which is able to utilize a single pair of copper wires while still communicating at the intended speeds. Texas Instruments DP83TD510E[16] is an example of a PHY which uses SPE.
Examples include the Microsemi SimpliPHY and SynchroPHY VSC82xx/84xx/85xx/86xx family, Marvell Alaska 88E1310/88E1310S/88E1318/88E1318S Gigabit Ethernet transceivers, Texas Instruments DP838xx family[17] and offerings from Intel[18] and ICS.[19]
The following technologies provide physical layer services:[20]