Misplaced Pages

M-PHY

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.

M-PHY is a high speed data communications physical layer protocol standard developed by the MIPI Alliance , PHY Working group, and targeted at the needs of mobile multimedia devices. The specification's details are proprietary to MIPI member organizations, but a substantial body of knowledge can be assembled from open sources. A number of industry standard settings bodies have incorporated M-PHY into their specifications including Mobile PCI Express , Universal Flash Storage , and as the physical layer for SuperSpeed InterChip USB .

#512487

44-535: To support high speed, M-PHY is generally transmitted using differential signaling over impedance controlled traces between components. When use on a single circuit card , the use of electrical termination may be optional. Options to extend its range could include operation over a short flexible flat cable , and M-PHY was designed to support optical media converters allowing extended distance between transmitters and receivers, and reducing concerns with electromagnetic interference. M-PHY (like its predecessor D-PHY )

88-401: A Pentaconn 4.4   mm TRRRS connector . With XLR connectors, pins 1, 2, and 3 are usually used for the shield (ideally connected to the chassis) and the two signal wires, respectively. (The phrase "ground, live, return", corresponding to "X, L, R", is often offered as a memory aid, although the second signal wire is not a "return" in the case of differential signaling) On TRS phone plugs,

132-494: A noise rejection advantage over an unbalanced two-conductor arrangement (such as used in typical home stereos) where the shield must also act as the signal return wire. Therefore, any noise currents induced into a balanced audio shield will not be directly modulated onto the signal, whereas in a two-conductor system they will be. This also prevents ground loop problems, by separating the shield/chassis from signal ground. Signals are often transmitted over balanced connections using

176-464: A balanced audio system will also result in this effect at some point when it is later mixed-down with its other channel. Telephone lines also carry audio through balanced circuitry, though this is generally now limited to the local loop . It is called this because the two wires form a balanced loop through which both sides of the telephone call travel. As telephones require DC power to operate and to allow simple on/off hook detection, extra circuitry

220-407: A balanced interface. An interface is a subsystem containing three parts: a driver, a line, and a receiver. These three components complete a full circuit for a signal to travel through and the impedances of this circuit is what determines whether the interface as a whole is balanced or not: "A balanced circuit is a two-conductor circuit in which both conductors and all circuits connected to them have

264-480: A balanced pair of conductors. For short cables and low frequencies, the two methods are equivalent, so cheap single-ended circuits with a common ground can be used with cheap cables. As signalling speeds become faster, wires begin to behave as transmission lines. Differential signalling is often used in computers to reduce electromagnetic interference , because complete screening is not possible with microstrips and chips in computers, due to geometric constraints and

308-1098: A circuit does not determine the signals it can carry and vice versa. The technique minimizes electronic crosstalk and electromagnetic interference , both noise emission and noise acceptance, and can achieve a constant or known characteristic impedance , allowing impedance matching techniques important in a high-speed signal transmission line or high-quality balanced line and balanced circuit audio signal path. Differential pairs include: Differential pairs generally carry differential or semi-differential signals, such as high-speed digital serial interfaces including LVDS differential ECL , PECL , LVPECL , Hypertransport , Ethernet over twisted pair , serial digital interface , RS-422 , RS-485 , USB , Serial ATA , TMDS , FireWire , and HDMI , etc., or else high quality and/or high frequency analog signals (e.g. video signals , balanced audio signals, etc.). Differential signalling often uses length-matched wires or conductors which are used in high speed serial links . Data rates of some interfaces implemented with differential pairs include

352-670: A differential receiver anyway, differential signalling is often used on balanced lines. Some of the benefits of differential signalling include: Differential signalling works for both analog signalling, as in balanced audio , and in digital signalling, as in RS-422 , RS-485 , Ethernet over twisted pair , PCI Express , DisplayPort , HDMI and USB . The electronics industry , particularly in portable and mobile devices, continually strives to lower supply voltage to save power. A low supply voltage, however, reduces noise immunity. Differential signalling helps to reduce these problems because, for

396-407: A differential system with the same supply voltage. The voltage difference in the high state, where one wire is at V S {\displaystyle V_{S}\,} and the other at 0 V, is V S − 0 V = V S {\displaystyle V_{S}-0\,\mathrm {V} =V_{S}} . The voltage difference in the low state, where the voltages on

440-408: A fixed reference voltage, both relative to a common ground connection shared by both ends. In many instances, single-ended designs are not feasible. Another difficulty is the electromagnetic interference that can be generated by a single-ended signalling system that attempts to operate at high speed. When transmitting signals differentially between two pieces of equipment it is common to do so through

484-548: A given supply voltage, it provides twice the noise immunity of a single-ended system. To see why, consider a single-ended digital system with supply voltage V S {\displaystyle V_{S}} . The high logic level is V S {\displaystyle V_{S}\,} and the low logic level is 0 V. The difference between the two levels is therefore V S − 0 V = V S {\displaystyle V_{S}-0\,\mathrm {V} =V_{S}} . Now consider

SECTION 10

#1732801125513

528-468: A high voltage differential (HVD) implementation whose maximum cable length was many times that of the single-ended version. SCSI equipment, for example, allows a maximum total cable length of 25 meters using HVD, while single-ended SCSI allows a maximum cable length of 1.5 to 6 meters, depending on bus speed. LVD versions of SCSI allow less than 25 m cable length not because of the lower voltage, but because these SCSI standards allow much higher speeds than

572-522: A matching image current in the ground plane, which is required anyway for supplying power, the pair looks like four lines and therefore has a shorter crosstalk distance than a simple isolated pair. In fact, it behaves as well as a twisted pair. Low crosstalk is important when many lines are packed into a small space, as on a typical PCB. High-voltage differential (HVD) signalling uses high- voltage signals. In computer electronics, high voltage normally means 5 volts or more. SCSI -1 variations included

616-408: A similar auto crossover feature). PCIe and USB SuperSpeed also support lane polarity inversion. Another way to deal with polarity errors is to use polarity-insensitive line codes . Balanced audio Balanced audio is a method of interconnecting audio equipment using balanced interfaces. This type of connection is very important in sound recording and production because it allows

660-473: Is a method for electrically transmitting information using two complementary signals . The technique sends the same electrical signal as a differential pair of signals, each in its own conductor . The pair of conductors can be wires in a twisted-pair or ribbon cable or traces on a printed circuit board . Electrically, the two conductors carry voltage signals which are equal in magnitude , but of opposite polarity . The receiving circuit responds to

704-412: Is canceled out by the differential device in the receiver. If the noise source is extremely close to the cable, then it is possible it will be induced on one of the lines more than the other, and it will not be canceled as well, but canceling will still occur to the extent of the amount of noise that is equal on both lines. The separate shield that is commonly provided in a balanced audio cable also yields

748-588: Is intended to be used in high-speed point-to-point communications, for example video Camera Serial Interfaces . The CSI-2 interface was based on D-PHY (or C-PHY ), while the newer CSI-3 interface is based on M-PHY. M-PHY was designed to supplant D-PHY in many applications, but this is expected to take a number of years. The M-PHY the physical layer is also used in a number of different high-speed emergent industry standards , DigRF (High speed radio interface), MIPI LLI (Low latency memory interconnect for multi-processors systems), and one possible physical layer for

792-448: Is not driven, care is taken to assure that the impedance to ground is equal to the impedance of the driven side. Balanced audio connections use a number of techniques to reduce noise. A typical balanced cable contains two identical wires, which are twisted together and then wrapped with a third conductor (foil or braid) that acts as a shield . The two wires form a circuit that can carry an audio signal . The term balanced comes from

836-436: Is often referred to as a quasi-balanced or impedance-balanced output, though it is, in fact, fully balanced and will reject common-mode interference. However, there are some minor benefits to driving the line with a fully differential output: Professional audio products (recording, public address, etc.) generally provide balanced inputs and outputs, typically via XLR or TRS phone connectors . However, in most cases,

880-453: Is that balanced audio requires the signal source to deliver equal waveforms of opposite polarity to the two signal conductors of the balanced line. However, many balanced devices actively drive only one side of the line, but do so at an impedance that is equal to the impedance of the non-driven side of the line. This impedance balance permits the balanced line receiver (input stage of the next device) to reject common-mode signals introduced to

924-422: Is to be contrasted to single-ended signalling which drives only one conductor with signal, while the other is connected to a fixed reference voltage. Contrary to popular belief, differential signalling does not affect noise cancellation. Balanced lines with differential receivers will reject noise regardless of whether the signal is differential or single-ended, but since balanced line noise rejection requires

SECTION 20

#1732801125513

968-414: Is twice the difference of the single-ended system. If the voltage noise on one wire is uncorrelated to the noise on the other one, it takes twice as much noise to cause an error with the differential system as with the single-ended system. In other words, differential signalling doubles the noise immunity. In single-ended signalling, the transmitter generates a single voltage that the receiver compares with

1012-500: The UniPro protocol stack . M-PHY supports a scalable variety of signaling speeds, ranging from 10 kbit/s to over 11.6 Gbit/s per lane. This is accomplished using two different major signaling/speed modes, a simple low-speed (using PWM ) mode and high speed (using 8b10b ). Communications goes on in bursts, and the design of both high-speed and low-speed forms allows for extended periods of idle communications at low-power, making

1056-420: The differential mode , meaning the wires carry signals that are equal in magnitude but of opposite polarity to each other (for instance, in an XLR connector , pin 2 carries the signal with normal polarity, and pin 3 carries an inverted version of the same signal). Despite popular belief, this arrangement is not necessary for noise rejection. As long as the impedances are balanced, noise will couple equally into

1100-404: The power amplifiers of a public address system are located at any distance from the mixing console , it is also normal to use balanced lines for the signal paths from the mixer to these amplifiers. Many other components, such as graphic equalizers and effects units, have balanced inputs and outputs to allow this. In recording and for short cable runs in general, a compromise is necessary between

1144-441: The coaxial S/PDIF interface commonly seen on consumer equipment is unbalanced. Balanced and unbalanced circuits can be interfaced by the use of a balun , often through a DI unit (also called a "DI box" or "direct box"). As a last resort a balanced audio line can be fed into an unbalanced input and vice versa as long as the electronic design used for the output stage is known. In the case of balanced output to unbalanced input,

1188-399: The design particularly suitable for mobile devices. Within each signaling method, a number of standard speeds, known as "gears", is defined, with the expectation that additional gears will be defined in future versions of the standard. This computer networking article is a stub . You can help Misplaced Pages by expanding it . Differential signaling Differential signalling

1232-517: The difference between the two signals, which results in a signal with a magnitude twice as large. The symmetrical signals of differential signalling may be referred to as balanced , but this term is more appropriately applied to balanced circuits and balanced lines which reject common-mode interference when fed into a differential receiver. Differential signalling does not make a line balanced, nor does noise rejection in balanced circuits require differential signalling. Differential signalling

1276-513: The extra amplifier stages or transformers required for front-end unbalancing and back-end rebalancing. Three-pin XLR connectors and quarter-inch (ΒΌ" or 6.35   mm) TRS phone connectors are commonly used for balanced audio interfaces. Many jacks are now designed to take either XLR or TRS phone plugs. Equipment intended for long-term installation sometimes uses terminal strips or Euroblock connectors. Some balanced headphone connections also use

1320-430: The fact that screening does not work at DC. If a DC power supply line and a low-voltage signal line share the same ground, the power current returning through the ground can induce a significant voltage in it. A low-resistance ground reduces this problem to some extent. A balanced pair of microstrip lines is a convenient solution because it does not need an additional PCB layer, as a stripline does. Because each line causes

1364-418: The following: The type of transmission line that connects two devices (chips, modules) often dictates the type of signalling. Single-ended signalling is typically used with coaxial cables , in which one conductor totally screens the other from the environment. All screens (or shields) are combined into a single piece of material to form a common ground. Differential signalling, however, is typically used with

M-PHY - Misplaced Pages Continue

1408-458: The internal circuitry is entirely unbalanced. A small number of audio products have been designed with an entirely balanced signal path from input to output; the circuitry maintains its impedance balance throughout the device. This design is achieved by providing identical (mirrored) internal signal paths for both the "hot" and "cold" conductors. In critical applications, a 100% balanced circuit design can offer better signal integrity by avoiding

1452-434: The method of balancing the impedance of each wire in the circuit; the line and all circuits directly connected to it (such as the driver and receiver) must have identical impedances with respect to some reference point. This means that much of the electromagnetic interference will induce an equal noise voltage in each wire. Since the differential device at the receiving end only responds to the difference in voltage between

1496-411: The noise reduction given by balanced lines and the cost introduced by the extra circuitry they require. Some devices, usually with a transformer output, provide a balanced output that is "floating" with respect to ground; the impedance to ground from each side of the output is high. More commonly, devices drive one or both sides of the balanced interface with a signal referenced to ground. When one side

1540-407: The older HVD SCSI. The generic term high-voltage differential signalling describes a variety of systems. Low-voltage differential signalling (LVDS), on the other hand, is a specific system defined by a TIA/EIA standard. Some integrated circuits dealing with differential signals provide a hardware option (via strapping options , under firmware control, or even automatic) to swap the polarity of

1584-613: The same impedance to ground and to all other conductors." Balanced interfaces were developed as a protection scheme against noise. In theory, it can reject any interference so long as it is common-mode (voltages that appear with equal magnitude and the same polarity in both conductors). There exists great confusion as to what constitutes a balanced interface and how it relates to differential signalling. In reality, they are two completely independent concepts: balanced interfacing concerns noise and interference rejection, while differential signalling only concerns headroom. The impedance balance of

1628-422: The tip is signal/non-inverting, the ring is return/inverting, and the sleeve is chassis ground. If a stereophonic or other binaural signal is plugged into such a jack, one channel (usually the right) will be subtracted from the other (usually the left), leaving an unlistenable L βˆ’ R (left minus right) signal instead of normal monophonic L + R (left plus right). Reversing the polarity at any other point in

1672-399: The two conductors by electromagnetic coupling. Many microphones operate at low voltage levels and some with high output impedance (hi-Z), which makes long microphone cables especially susceptible to electromagnetic interference . Microphone interconnections are therefore a common application for a balanced interconnection, which allows the receiver to reject most of this induced noise. If

1716-566: The two differential signals, called differential pair swapping , polarity reversion , differential pair inversion , polarity inversion , or lane inversion . This can be utilized to simplify or improve the routing of high-speed differential pairs of traces on printed circuit boards in hardware development, to help to cope with common cabling errors through swapped wires, or easily fix common design errors under firmware control. Many Ethernet PHY transceivers support this as auto polarity detection and correction (not to be confused with

1760-419: The two signal lines, noise that is identical on both wires is rejected. This method can be implemented with a differential amplifier . A transformer may also be used instead of an active input stage. A twisted pair makes the loop area between the conductors as small as possible, and ensures that a magnetic field that passes equally through adjacent loops will induce equal levels of noise on both lines, which

1804-401: The two wires (and be rejected by a differential amplifier), regardless of the signal that is present on them. A simple method of driving a balanced line is to inject the signal into the "hot" wire through a known source impedance , and connect the "cold" wire to the signal's local ground reference through an identical impedance. Due to common misconceptions about differential signalling, this

M-PHY - Misplaced Pages Continue

1848-611: The use of long cables while reducing susceptibility to external noise caused by electromagnetic interference. The balanced interface guarantees that induced noise appears as common-mode voltages at the receiver which can be rejected by a differential device. Balanced connections typically use shielded twisted-pair cable and three-conductor connectors. The connectors are usually three-pin XLR or 1 ⁄ 4 inch (6.35 mm) TRS phone connectors. When used in this manner, each cable carries one channel, therefore stereo audio (for example) would require two of them. A common misconception

1892-413: The wires are exchanged, is 0 V − V S = − V S {\displaystyle 0\,\mathrm {V} -V_{S}=-V_{S}} . The difference between high and low logic levels is therefore V S − ( − V S ) = 2 V S {\displaystyle V_{S}-(-V_{S})=2V_{S}\,} . This

1936-550: Was developed where one signal wire is fed from the exchange power bus, typically −50 volts, and the other grounded, both via equal value inductors which have about 400 ohms DC resistance, to avoid short-circuiting the wanted AC signal and to maintain impedance balance. Digital audio connections in professional environments are also frequently balanced, normally following the AES3 (AES/EBU) standard. This uses XLR connectors and twisted-pair cable with 110-ohm impedance. By contrast,

#512487