S/PDIF
[dummy-text]
S/PDIF
Jump to navigation
Jump to search
S/PDIF (Sony/Philips Digital Interface)[1][2] is a type of digital audio interconnect used in consumer audio equipment to output audio over reasonably short distances. The signal is transmitted over either a coaxial cable with RCA connectors or a fibre optic cable with TOSLINK connectors. S/PDIF interconnects components in home theatres and other digital high-fidelity systems.
S/PDIF is based on the AES3 interconnect standard.[3] S/PDIF can carry two channels of uncompressed PCM audio or compressed 5.1/7.1 surround sound (such as DTS audio codec); it cannot support lossless surround formats that require greater bandwidth.[4]
S/PDIF is a data link layer protocol as well as a set of physical layer specifications for carrying digital audio signals between devices and components over either optical or electrical cable. The name stands for Sony/Philips Digital Interconnect Format but is also known as Sony/Philips Digital Interface. Sony and Philips were the primary designers of S/PDIF. S/PDIF is standardized in IEC 60958 as IEC 60958 type II (IEC 958 before 1998).[5]
Contents
1 Applications
2 Hardware specifications
3 Protocol specifications
4 Limitations
5 See also
6 Notes
7 References
8 External links
Applications[edit]
A common use for the S/PDIF interface is to carry compressed digital audio for surround sound as defined by the standard IEC 61937. This mode is used to connect the output of a DVD player or computer, via optical or coax, to a home theatre amplifying receiver that supports Dolby Digital or DTS. Another common use is to carry two channels of uncompressed digital audio from a CD player to an amplifying receiver.
Hardware specifications[edit]
S/PDIF was developed at the same time as the main standard, AES3, used to interconnect professional audio equipment in the professional audio field. This resulted from the desire of the various standards committees to have at least sufficient similarities between the two interfaces to allow the use of the same, or very similar, designs for interfacing ICs.[6] S/PDIF remained nearly identical at the protocol level,[a] but changed the physical connectors from XLR to either electrical coaxial cable (with RCA connectors) or optical fibre (TOSLINK; i.e., F05 or EIAJ optical), both of which cost less than the XLR connection. The RCA connectors are typically colour-coded orange to differentiate from other RCA connector uses such as composite video. The cable was also changed from 110 Ω balanced twisted pair to 75 Ω coaxial cable, using RCA jacks.
Signals transmitted over consumer-grade TOSLINK connections are identical in content to those transmitted over coaxial connectors, though TOSLINK S/PDIF commonly exhibits higher jitter.[7]
AES3 balanced | AES3 unbalanced | S/PDIF | |
---|---|---|---|
Cabling | 110 Ω STP | 75 Ω coaxial | 75 Ω coaxial or optical fibre |
Connector | 3-pin XLR | BNC | RCA or TOSLINK |
Output level | 2–7 V peak to peak | 1.0–1.2 V peak to peak | 0.5–0.6 V peak to peak |
Min. input level | 0.2 V | 0.32 V | 0.2 V |
Max. distance | 100 m | 1,000 m | 10 m |
Modulation | Biphase mark code | Biphase mark code | Biphase mark code |
Subcode information | ASCII id. text | ASCII id. text | SCMS copy protection info. |
Audio bit depth | 24 bits | 24 bits | 20 bits (24 bits optional) |
Protocol specifications[edit]
S/PDIF is used to transmit digital signals of a number of formats, the most common being the 48 kHz sample rate format (used in DAT) and the 44.1 kHz format, used in CD audio. In order to support both systems, as well as others that might be needed, the format has no defined data rate. Instead, the data is sent using biphase mark code, which has either one or two transitions for every bit, allowing the original word clock to be extracted from the signal itself.
S/PDIF is meant to be used for transmitting 20-bit audio data streams plus other related information. To transmit sources with less than 20 bits of sample accuracy, the superfluous bits will be set to zero. S/PDIF can also transport 24-bit samples by way of four extra bits; however, not all equipment supports this, and these extra bits may be ignored.
S/PDIF protocol is identical to AES3 with one exception: the channel status bit differs in S/PDIF. Both protocols group 192 samples into an audio block, and transmit one channel status bit per sample, providing one 192-bit channel status word per channel per audio block. The meaning of the channel status word is completely different between AES3 and S/PDIF. For S/PDIF, the 192-bit status word is identical between the two channels and is divided into 12 words of 16 bits each, with the first 16 bits being a control code.
Bit | Unset (0) | Set (1) |
---|---|---|
0 | Consumer (S/PDIF) | Professional (AES3) (changes meaning of control word) |
1 | Normal | Compressed data |
2 | Copy restrict | Copy permit |
3 | 2 channels | 4 channels |
4 | — | — |
5 | No pre-emphasis | Pre-emphasis |
6–7 | Mode, defines subsequent bytes, always zero | |
8–14 | Audio source category (general, CD-DA, DVD, etc.) | |
15 | L-bit, original or copy (see text) |
Bits 8–14 of the control code are a 7-bit category code indicating the type of source equipment, and bit 15 is the "L-bit", which (for most category codes) indicates whether copy-restricted audio is original (may be copied once) or a copy (does not allow recording again). The L-bit is only used if bit 2 is zero, meaning copy-restricted audio. The L-bit polarity depends on the category, with recording allowed if it is 1 for DVD-R and DVR-RW, but 0 for CD-R, CD-RW, and DVD. For plain CD-DA (ordinary nonrecordable CDs), the L-bit is not defined, and recording is prevented by alternating bit 2 at a rate of 4–10 Hz.
Limitations[edit]
The receiver does not control the data rate, so it must avoid bit slip by synchronizing its reception with the source clock. Many S/PDIF implementations cannot fully decouple the final signal from influence of the source or the interconnect. Specifically the process of clock recovery used to synchronize reception may produce jitter.[9][10][11] If the DAC does not have a stable clock reference then noise will be introduced into the resulting analog signal. However, receivers can implement various strategies that limit this influence.[11][12]
TOSLINK optical fiber, unlike coaxial cables, are immune to ground loops and RF interference.[13] The fiber core of TOSLINK, however, may suffer permanent damage if tightly bent.
See also[edit]
- ADAT Lightpipe
- Dolby Digital Plus
- I²S
- McASP
- Manchester code
Notes[edit]
^ Consumer S/PDIF provides for copy protection, whereas professional interfaces do not
References[edit]
^ "S/PDIF Information". Intel. 21 July 2017. Retrieved 3 April 2018..mw-parser-output cite.citationfont-style:inherit.mw-parser-output .citation qquotes:"""""""'""'".mw-parser-output .citation .cs1-lock-free abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/6/65/Lock-green.svg/9px-Lock-green.svg.png")no-repeat;background-position:right .1em center.mw-parser-output .citation .cs1-lock-limited a,.mw-parser-output .citation .cs1-lock-registration abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/d/d6/Lock-gray-alt-2.svg/9px-Lock-gray-alt-2.svg.png")no-repeat;background-position:right .1em center.mw-parser-output .citation .cs1-lock-subscription abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/a/aa/Lock-red-alt-2.svg/9px-Lock-red-alt-2.svg.png")no-repeat;background-position:right .1em center.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registrationcolor:#555.mw-parser-output .cs1-subscription span,.mw-parser-output .cs1-registration spanborder-bottom:1px dotted;cursor:help.mw-parser-output .cs1-ws-icon abackground:url("//upload.wikimedia.org/wikipedia/commons/thumb/4/4c/Wikisource-logo.svg/12px-Wikisource-logo.svg.png")no-repeat;background-position:right .1em center.mw-parser-output code.cs1-codecolor:inherit;background:inherit;border:inherit;padding:inherit.mw-parser-output .cs1-hidden-errordisplay:none;font-size:100%.mw-parser-output .cs1-visible-errorfont-size:100%.mw-parser-output .cs1-maintdisplay:none;color:#33aa33;margin-left:0.3em.mw-parser-output .cs1-subscription,.mw-parser-output .cs1-registration,.mw-parser-output .cs1-formatfont-size:95%.mw-parser-output .cs1-kern-left,.mw-parser-output .cs1-kern-wl-leftpadding-left:0.2em.mw-parser-output .cs1-kern-right,.mw-parser-output .cs1-kern-wl-rightpadding-right:0.2em
^ "S/PDIF". Retrieved 3 April 2018.
^ "SoundSystem SixPack 5.1+ True 6 Channel + Digital In & out – Stuff Worth Knowing" (PDF). TerraTec. 5 July 2001. p. 43. Retrieved 18 January 2011.
^ Mark Johnson; Charles Crawford; Chris Armbrust (2007). High-Definition DVD Handbook : Producing for HD-DVD and Blu-Ray Disc: Producing for HD-DVD and Blu-Ray Disc. McGraw Hill Professional. p. 4–10. ISBN 9780071485852....connections such as S/PDIF do not have the bandwidth necessary to deliver uncompressed surround sound...
^
"Sound card". kioskea.net. Kioskea Network. Retrieved 2010-08-04.The components of a sound card are: [...] An SPDIF digital output (Sony Philips Digital Interface, also known as S/PDIF or S-PDIF or IEC 958 or IEC 60958 since 1998). This is an output line that sends digitised audio data to a digital amplifier using a coaxial cable with RCA connectors at the ends.
^ Finger, Robert A. 1992 'AES3-1992: The RevisedTwo-ChannelDigital Audio Interface', J.AudioEng.Soc.,Vol.40,No.3, 1992 March, p108
^ "Toslink or Coax". Retrieved 2015-04-15.
^ Dennis Bohn (2001). "Interfacing AES3 & S/PDIF" (PDF). Rane Corporation. p. 2. Retrieved 18 January 2011.
^ Giorgio Pozzoli. "DIGITabilis: crash course on digital audio interfaces" tnt-audio.com.
^ Chris Dunn, Malcolm J. Hawksford. "Is the AES/EBU/SPDIF Digital Audio Interface Flawed?" AES Convention 93, paper 3360.
^ ab Norman Tracy. "On Jitter, the S/PDIF Standard, and Audio DACs."
^ Lesso, Paul (2006). "A High Performance S/PDIF Receiver" (PDF). Audio Engineering Society. Archived from the original (PDF) on 4 June 2014. AES Convention 121, paper 6948
^ Joseph D. Cornwall (December 31, 2004). "Understanding Digital Interconnects". Audioholics.com. Retrieved 2007-07-12.
External links[edit]
Wikimedia Commons has media related to S/PDIF. |
- S/PDIF at Epanorama.net
- More about channel data bits
- Interfacing AES3 and S/PDIF
Categories:
- Sony
- Digital audio
- Computer hardware standards
- IEC 60958
(window.RLQ=window.RLQ||).push(function()mw.config.set("wgPageParseReport":"limitreport":"cputime":"0.692","walltime":"1.094","ppvisitednodes":"value":2235,"limit":1000000,"ppgeneratednodes":"value":0,"limit":1500000,"postexpandincludesize":"value":595826,"limit":2097152,"templateargumentsize":"value":2313,"limit":2097152,"expansiondepth":"value":19,"limit":40,"expensivefunctioncount":"value":1,"limit":500,"unstrip-depth":"value":1,"limit":20,"unstrip-size":"value":28677,"limit":5000000,"entityaccesscount":"value":0,"limit":400,"timingprofile":["100.00% 743.911 1 -total"," 70.43% 523.971 23 Template:Navbox"," 36.30% 270.034 2 Template:Reflist"," 23.31% 173.420 1 Template:Commons_category"," 22.23% 165.346 1 Template:Sony_Corp"," 22.12% 164.587 7 Template:Cite_web"," 19.15% 142.438 1 Template:Commons"," 18.71% 139.180 1 Template:Sister_project"," 16.15% 120.107 1 Template:Side_box"," 11.41% 84.895 2 Template:If_then_show"],"scribunto":"limitreport-timeusage":"value":"0.252","limit":"10.000","limitreport-memusage":"value":4886618,"limit":52428800,"cachereport":"origin":"mw1266","timestamp":"20190312171002","ttl":2592000,"transientcontent":false););"@context":"https://schema.org","@type":"Article","name":"S/PDIF","url":"https://en.wikipedia.org/wiki/S/PDIF","sameAs":"http://www.wikidata.org/entity/Q214738","mainEntity":"http://www.wikidata.org/entity/Q214738","author":"@type":"Organization","name":"Contributors to Wikimedia projects","publisher":"@type":"Organization","name":"Wikimedia Foundation, Inc.","logo":"@type":"ImageObject","url":"https://www.wikimedia.org/static/images/wmf-hor-googpub.png","datePublished":"2002-11-23T00:12:34Z","dateModified":"2019-03-09T23:45:06Z","image":"https://upload.wikimedia.org/wikipedia/commons/4/4d/TOS_LINK_clear_cable.jpg","headline":"standardized optical fiber connection system"(window.RLQ=window.RLQ||).push(function()mw.config.set("wgBackendResponseTime":114,"wgHostname":"mw1263"););