安规网

标题: 请高手指点一下这是什么线 [打印本页]

作者: ninwei    时间: 2008-4-17 19:29
标题: 请高手指点一下这是什么线
说来惭愧,以下是今天收到一部分报价仅不知是什么线!只怪平时学艺不精.望高人指点!5 z4 |3 j$ z6 L# ]) h
1.PWR Cable C7 1.8M8 B8 y0 z% D3 V0 v/ I1 B6 f
2.SPDIF -Toslik 3M) t5 R- T6 `" t% @
3.SPDIF-M3.5mm-fRCA
: k& J4 @' {. g* `8 T4.ICIDU VGA Cable 5M
作者: cableyzf    时间: 2008-4-18 10:17
1.PWR Cable C7 1.8M4 [3 A- Y4 a4 V
PWR: POWER,电源线,7芯,长1.8M
2 p. v9 _0 T* H' U) g2.SPDIF -Toslik 3M
( I# t2 |; g" Y0 s4 c8 ?8 T) ySPDIF接口(网上输入这几个字母,一大把)---TOSLIK接口(这个没见过) 长3M
) @, B9 [. f( r( u  H+ ~3.SPDIF-M3.5mm-fRCA8 {/ e: B& t- {$ t- j! Q* C$ X
SPDIF公端接口----RCA母端接口  长3.5M+ }$ C  W3 h7 n4 W8 f: }2 D
4.ICIDU VGA Cable 5M
. G, g# _  U0 g9 M5 z8 |- WVGA接口线 长5M8 _( r, {8 V" q. C# C
我只能解释这么多,不怪你无法对应,就算我做过类似的线也不知道如何报价。因为这里面还有很多其他的东西,除非你们做过这些线,先用自己的标准品对应。如果没做过,趁早回掉。
作者: xiaoxiangtongzi    时间: 2008-4-18 10:50
第三点的M3.5mm好象不是3.5m的意思吧。, a0 ~. C  C( c) A: D; {. _
感觉有点像:( |- R' ^! o0 h
SPDIF插头接3.5公头和RCA母头
6 z2 Y. g; T( E5 O2 r楼主有没有多点的信息,也许可以更加容易明白。
2 q* F: o( g8 n( i) {% K6 o6 b* }2 ~$ t3 q- q( O! z
只有上面那点信息的话,报价肯定是做不了~
作者: cableyzf    时间: 2008-4-18 10:52
引用第2楼xiaoxiangtongzi于2008-04-18 10:50发表的  :
" n/ k9 v4 U( Y  e( n; g  D第三点的M3.5mm好象不是3.5m的意思吧。" K: y* r3 F+ {
感觉有点像:7 B* Y. X9 K, q
SPDIF插头接3.5公头和RCA母头
1 P; `8 ]  ^+ {' E楼主有没有多点的信息,也许可以更加容易明白。$ q# m2 ~+ g2 |; x( d2 ?
" }1 `+ g# U& m$ P% h
.......
哦,少看了一个M,是这样
作者: ninwei    时间: 2008-4-18 18:16
TOSlink这是指光纤,SPDIF是什么插头我就不知道.但光纤跟其它插头是无法连接的呀
/ _, ?5 q# a7 T" J# K我收到的资料也只有这么多,郁闷死了,
作者: xiaoxiangtongzi    时间: 2008-4-18 18:41
什么是SPDIF?SPDIF/光纤(optical)/同轴(coaxial)这三者之间的关系:1 T$ Y+ p. j: ~8 h$ C! v( K* p% ~' W
( |9 d5 }7 x; K& _' b& {' Z9 y
SPDIF,严谨的写法应该是S/PDIF,是SONY/PHILIPS   Digital Interface,& n3 R/ ^+ t; C# h5 [0 l6 e5 d+ u
SONY/PHILIPS 数字音频接口的缩写简称。SPDIF是一个数字信号的传递规范,同轴和光纤只是SPDIF信号的两种不同传输载体。同轴采用电的方式传播,光纤采用光的方式传播。一般来讲,近距离传输推荐使用同轴,因为光纤需要进行二次光电信号转换。长距离传输推荐光纤,避免因距离产生信号衰竭。( ?0 b$ u& @* a. y. v- v
% o  o5 g+ w! c
+ g$ _  _6 q& C) o# ~& J
就传输方式而言,SPDIF分为输出(SPDIF OUT)和输入(SPDIF IN)两种。目前大多数的声卡芯片都能够支持SPDIF OUT,但我们需要注意,并不是每一种产品都会提供数码接口。而支持SPDIF IN的声卡芯片则相对少一些,如:EMU10K1、YMF-744和FM801-AU、CMI8738等。SPDIF IN在声卡上的典型应用就是CD SPDIF,但也并不是每一种支持SPDIF IN的声卡都提供这个接口。就传输载体而言,SPDIF又分为同轴和光纤两种,其实他们可传输的信号是相同的,只不过是载体不同,接口和连线外观也有差异。但光信号传输是今后流行的趋势,其主要优势在于无需考虑接口电平及阻抗问题,接口灵活且抗干扰能力更强。通过SPDIF接口传输数码声音信号已经成为了新一代PCI声卡普遍拥有的特点。(文章来源:http://baike.baidu.com/view/396510.htm?fr=topic
作者: cableyzf    时间: 2008-4-19 10:59
给你三个参考资料看一下,第二个是英文的
2 i+ v9 p( `8 y6 ^参考一:部分传输接口9 g9 A5 f" f; a
VGA输入接口:VGA 接口采用非对称分布的15pin 连接方式,其工作原理:是将显存内以数字格式存储的图像( 帧) 信号在RAMDAC 里经过模拟调制成模拟高频信号,然后再输出到等离子成像,这样VGA信号在输入端(LED显示屏内) ,就不必像其它视频信号那样还要经过矩阵解码电路的换算。从前面的视频成像原理可知VGA的视频传输过程是最短的,所以VGA 接口拥有许多的优点,如无串扰无电路合成分离损耗等。 , J! `8 T% F  |0 |' q

+ L/ s$ g) o$ Q, }6 b& \DVI输入接口:DVI接口主要用于与具有数字显示输出功能的计算机显卡相连接,显示计算机的RGB信号。DVI(Digital Visual Interface)数字显示接口,是由1998年9月,在Intel开发者论坛上成立的数字显示工作小组(Digital Display Working Group简称DDWG),所制定的数字显示接口标准。
/ h; e0 N8 P8 x& n* cDVI数字端子比标准VGA端子信号要好,数字接口保证了全部内容采用数字格式传输,保证了主机到监视器的传输过程中数据的完整性(无干扰信号引入),可以得到更清晰的图像。
& t% x. |2 |- q: H
$ T% y7 d0 Z% a2 Z标准视频输入(RCA)接口:也称AV 接口,通常都是成对的白色的音频接口和黄色的视频接口,它通常采用RCA(俗称莲花头)进行连接,使用时只需要将带莲花头的标准AV 线缆与相应接口连接起来即可。AV接口实现了音频和视频的分离传输,这就避免了因为音/视频混合干扰而导致的图像质量下降,但由于AV 接口传输的仍然是一种亮度/色度(Y/C)混合的视频信号,仍然需要显示设备对其进行亮/ 色分离和色度解码才能成像,这种先混合再分离的过程必然会造成色彩信号的损失,色度信号和亮度信号也会有很大的机会相互干扰从而影响最终输出的图像质量。AV还具有一定生命力,但由于它本身Y/C混合这一不可克服的缺点因此无法在一些追求视觉极限的场合中使用。
  a; {, k+ |: X& ~1 A# W" v# h. T4 W/ K; J( C
S视频输入:S-Video具体英文全称叫Separate Video,为了达到更好的视频效果,人们开始探求一种更快捷优秀清晰度更高的视频传输方式,这就是当前如日中天的S-Video(也称二分量视频接口),Separate Video 的意义就是将Video 信号分开传送,也就是在AV接口的基础上将色度信号C 和亮度信号Y进行分离,再分别以不同的通道进行传输,它出现并发展于上世纪90年代后期通常采用标准的4芯(不含音效) 或者扩展的7芯( 含音效)。带S-Video接口的显卡和视频设备( 譬如模拟视频采集/ 编辑卡电视机和准专业级监视器电视卡/电视盒及视频投影设备等) 当前已经比较普遍,同AV 接口相比由于它不再进行Y/C混合传输因此也就无需再进行亮色分离和解码工作,而且使用各自独立的传输通道在很大程度上避免了视频设备内信号串扰而产生的图像失真,极大地提高了图像的清晰度,但S-Video 仍要将两路色差信号(Cr Cb)混合为一路色度信号C,进行传输然后再在显示设备内解码为Cb 和Cr 进行处理,这样多少仍会带来一定信号损失而产生失真(这种失真很小但在严格的广播级视频设备下进行测试时仍能发现) ,而且由于Cr Cb 的混合导致色度信号的带宽也有一定的限制,所以S -Video 虽然已经比较优秀但离完美还相去甚远,S-Video虽不是最好的,但考虑到目前的市场状况和综合成本等其它因素,它还是应用最普遍的视频接口。 , `5 X/ M9 b4 `

8 A. C: ]2 ^( |7 A  W' Z! C% N) [视频色差输入接口:目前可以在一些专业级视频工作站/编辑卡专业级视频设备或高档影碟机等家电上看到有YUV YCbCr Y/B-Y/B-Y等标记的接口标识,虽然其标记方法和接头外形各异但都是指的同一种接口色差端口( 也称分量视频接口) 。它通常采用YPbPr 和YCbCr两种标识,前者表示逐行扫描色差输出,后者表示隔行扫描色差输出。由上述关系可知,我们只需知道Y Cr Cb的值就能够得到G 的值( 即第四个等式不是必要的),所以在视频输出和颜色处理过程中就统一忽略绿色差Cg 而只保留Y Cr Cb ,这便是色差输出的基本定义。作为S-Video的进阶产品色差输出将S-Video传输的色度信号C分解为色差Cr和Cb,这样就避免了两路色差混合解码并再次分离的过程,也保持了色度通道的最大带宽,只需要经过反矩阵解码电路就可以还原为RGB三原色信号而成像,这就最大限度地缩短了视频源到显示器成像之间的视频信号通道,避免了因繁琐的传输过程所带来的图像失真,所以色差输出的接口方式是目前各种视频输出接口中最好的一种。 8 I/ {" O# t0 L8 ^
/ B) a8 @9 |0 |# f) V
HDMI接口:HDMI是基于DVI(Digital Visual Interface)制定的,可以看作是DVI的强化与延伸,两者可以兼容。HDMI在保持高品质的情况下能够以数码形式传输未经压缩的高分辨率视频和多声道音频数据,最高数据传输速度为5Gbps。HDMI能够支持所有的ATSC HDTV标准,不仅可以满足目前最高画质1080p的分辨率,还能支持DVD Audio等最先进的数字音频格式,支持八声道96kHz或立体声192kHz数码音频传送,而且只用一条HDMI线连接,免除数码音频接线。同时HDMI标准所具备的额外空间可以应用在日后升级的音视频格式中。与DVI相比HDMI接口的体积更小而且可同时传输音频及视频信号。DVI的线缆长度不能超过8米否则将影响画面质量,而HDMI基本没有线缆的长度限制。只要一条HDMI缆线,就可以取代最多13条模拟传输线,能有效解决家庭娱乐系统背后连线杂乱纠结的问题。HDMI可搭配宽带数字内容保护(High-bandwidth Digital Content Protection;HDCP),以防止具著作权的影音内容遭到未经授权的复制。正是由于HDMI内嵌HDCP内容保护机制,所以对好莱坞具有特别的吸引力。HDMI规格包含针对消费电子用的Type A连接器和PC用的Type B连接器两种,相信不久HDMI将会被PC业界采用。 ) l9 O2 A& U, C; {# k

- `2 ]8 U$ _" lBNC 端口:通常用于工作站和同轴电缆连接的连接器,标准专业视频设备输入、输出端口。BNC电缆有5个连接头用于接收红、绿、蓝、水平同步和垂直同步信号。BNC接头有别于普通15针D-SUB标准接头的特殊显示器接口。由R、G、B三原色信号及行同步、场同步五个独立信号接头组成。主要用于连接工作站等对扫描频率要求很高的系统。BNC接头可以隔绝视频输入信号,使信号相互间干扰减少,且信号频宽较普通D-SUB大,可达到最佳信号响应效果。 5 M) \6 c* ~( Z. Z# Q

% @* R% U% c7 A3 jRS232C串口:RS-232C标准(协议)的全称是EIA-RS-232C标准,其中EIA(Electronic Industry Association)代表美国电子工业协会,RS(ecommeded standard)代表推荐标准,232是标识号,C代表RS232的最新一次修改(1969),在这之前,有RS232B、RS232A。。它规定连接电缆和机械、电气特性、信号功能及传送过程。常用物理标准还有有EIA�RS-232-C、EIA�RS-422-A、EIA�RS-423A、EIA�RS-485.这里只介绍EIA�RS-232-C(简称232,RS232)。计算机输入输出接口,是最为常见的串行接口,RS-232C规标准接口有25条线,4条数据线、11条控制线、3条定时线、7条备用和未定义线,常用的只有9根,常用于与25-pin D-sub端口一同使用,其最大传输速率为20kbps,线缆最长为15米。RS232C端口被用于将计算机信号输入控制LED显示屏。 5 Y! |( T8 [! \  B: U
+ A8 P0 }' r6 z, G" r& y5 M1 x
AV接口
+ g3 Q0 M& i' M: e+ S$ d' x* Z4 a$ `: S. r' [# A% E5 u: R+ P8 {0 q) \" P
AV接口又称(RCARCA)可以算是TV的改进型接口,外观方面有了很大不同。分为了3条线,分别为:音频接口(红色与白色线,组成左右声道)和视频接口(黄色)。
: l* m6 X' c/ U. |7 i3 A7 q: V! q7 k2 t# G, U6 s# g( |3 ~$ s
由于AV输出仍然是将亮度与色度混合的视频信号,所以依旧需要显示设备进行亮度和色彩分离,并且解码才能成像。这样的做法必然对画质会造成损失,所以AV接口的画质依然不能让人满意。在连接方面非常的简单,只需将3种颜色的AV线与电视端的3种颜色的接口对应连接即可。
* C) V& l1 h# X; G) C; B总体来说,AV接口实现了音频和视频的分离传输,在成像方面可以避免音频与视频互相干扰而导致的画质下降。AV接口在电视与DVD连接中使用的比较广,是每台电视必备的接口之一。 3 v# c2 s3 L* F! x5 \  L4 U* F

7 a# l/ l: t; O* R! mUSB接口 ' A/ O! t, |( M

4 b, H# G. z% `, a5 {. f# b; CUSB是英文Universal Serial Bus的缩写,中文含义是“通用串行总线”。它是一种应用在PC领域的新型接口技术。早在1995年,就已经有PC机带有USB接口了,但由于缺乏软件及硬件设备的支持,这些PC机的USB接口都闲置未用。1998年后,随着微软在Windows 98中内置了对USB接口的支持模块,加上USB设备的日渐增多,USB接口才逐步走进了实用阶段。 1 J5 N7 [$ c8 `! T9 Q$ |8 M9 \4 W
0 {+ x. V1 P* u$ U( a
这几年,随着大量支持USB的个人电脑的普及,USB逐步成为PC机的标准接口已经是大势所趋。在主机(host)端,最新推出的PC机几乎100%支持USB;而在外设(device)端,使用USB接口的设备也与日俱增,例如数码相机、扫描仪、游戏杆、磁带和软驱、图像设备、打印机、键盘、鼠标等等。 : D: t1 P/ p1 u  b* {' t, A
, @. G5 r2 Y  \3 H( H. C
USB设备之所以会被大量应用,主要具有以下优点:
+ }7 C6 I; W4 V5 ]9 o2 D9 L. R
: t0 U' E9 j% H' l1、可以热插拔。这就让用户在使用外接设备时,不需要重复“关机à将并口或串口电缆接上à再开机”这样的动作,而是直接在PC开机时,就可以将USB电缆插上使用。
2 \9 G' h/ ]+ ^4 r. D
, _; W& f4 A1 E9 e! h2、携带方便。USB设备大多以“小、轻、薄”见长,对用户来说,同样20G的硬盘,USB硬盘比IDE硬盘要轻一半的重量,在想要随身携带大量数据时,当然USB硬盘会是首要之选了。 , g  A& A9 ]1 h& J2 M9 C
8 s$ |+ s# k- S
3、标准统一。大家常见的是IDE接口的硬盘,串口的鼠标键盘,并口的打印机扫描仪,可是有了USB之后,这些应用外设统统可以用同样的标准与PC连接,这时就有了USB硬盘、USB鼠标、USB打印机,等等。 ! x8 I/ b" X5 h/ N8 j  j# N5 ?

$ L* W3 z* A- _5 d# p- z4、可以连接多个设备。USB在PC上往往具有多个接口,可以同时连接几个设备,如果接上一个有4个端口的USB HUB时,就可以再连上4个USB设备,以此类推,尽可以连下去,将你家的设备都同时连在一台PC上而不会有任何问题(注:最高可连接至127个设备)。
, L; d8 z8 i0 o( o参考二:SPDIF接口- _1 @% v  F- |! Y. [
SPDIF7 R7 c5 D) C& M& f3 y

7 C# ]/ l1 x( W' ^9 R& yHistory# F' [% v- E7 G$ _& }: ^
Since the early 80's, a step towards digital audio has been set by the introduction of the Compact Disc player. In the beginning, those signals stayed inside the set, and were converted to analog signals before leaving the cabinet. A new trend is to keep signals into the digital domain as long as possible, because this is the only way to keep the signal quality. To make this possible different devices must be able communicate with one another within the digital domain. Several interfaces exist to perform such tasks, from which one has grown to the audio standard worldwide: IEC958 1989-03 (consumer Part) from the EBU. In Japan an equivalent EIAJ CP-340 1987-9 is standard. * m. H# X5 \* x) P2 t
* ^  @/ g! A; ^

# j! k6 L9 Z: N/ V+ D, {0 SCharacteristics
7 K" ?! m( {! H; C! k! UStandard IEC958 "Digital audio interface" from EBU (European Broadcasting Union) details: " e! H8 G% m1 Y) @6 C$ @
% P$ K9 x8 x: _1 f! q  _
Audio format : linear 16 bit default, up to 24 bit expandable - n$ _- k7 {) s
Allowed sampling frequencies (Fs) of the audio:
2 Y: g7 Q8 j% @" l& ^44.1kHz from CD
5 ^6 Q* q( H6 ~48 kHz from DAT 7 i' U( u- Q% L0 U: s) k
32 kHz from DSR 9 F  {1 p4 T7 A/ a& `5 A
One way communication: from a transmitter to a receiver. ) |# M; O+ [; v0 D
Control information:
7 f, i( o) ?5 Z- Y9 _" KV (validity) bit : indicates if audio sample is valid. 3 q  Z. L5 h# r) p! ^
U (user) bit : user free coding i.e. running time song, track number. 0 N1 K  L0 ?. v8 b( B' t; p5 F
C (channel status) bit : emphasis, sampling rate and copy permit.
  ?3 ^, J  F  |0 E1 z4 l$ zP (parity) bit : error detection bit to check for good reception. + G9 H( K7 Z- ^8 g! G# R# g; W% \
Coding format: biphase mark except the headers (preambles), for sync purposes. 0 W' p( ~8 _' O0 E2 {& ~* e
Bandwidth occupation : 100kHz up to 6Mhz (no DC!)
8 i& o7 P! u4 a, g7 M1 W2 G' ~Signal bitrate is 2.8Mhz (Fs=44.1kHz), 2Mhz (Fs=32kHz) and 3.1Mhz (Fs=48kHz).
. D' i- l: m0 q# p3 YPhysical connection:
3 M' g$ n7 G1 {  x2 P; {Cable: 75ohm +/-5% (l<10m) or 75ohm +/-35% (l>10m) 1 ?9 o3 e& ^. h) @9 }
Line driver:
9 }0 p- N- E4 Q0 l4 q8 W2 XZout: 75ohm +/-20% (100kHz .. 6Mhz)
# g0 m' ^% M& ~# VVout: 0.4Vpp .. 0.6Vpp, <0.05Vdc (75ohm terminated)
( Q6 c3 q' q: d$ KLine receiver: ) q& x( e) }( v
Zin: 75ohm +/-5%
+ m% I3 [; [0 c$ n( G& Y5 w$ TVin: 0.2Vpp .. 0.6Vpp
0 w5 r# f* a5 [
3 N# g1 l6 ^% w6 nThe interface8 G9 [) O2 I4 @% k! v, M. Z
IEC958 is a newer standard which supersedes AES/EBU and also S-PDIF. The S/PDIF interface (IEC-958) is a 'consumer' version of the AES/EBU-interface. The two formats are quite compatible with each other, differing only in the subcode information and connector. The professional format subcode contains ASCII strings for source and destination identification, whereas the commercial format carries the SCMS.
1 Q# `9 i) `' j! p# v8 x% Q4 D* Y1 [* I# l7 X
Here is a short comparision table of AES/EBU and S/PDIF interfaces:
2 H' E4 @5 e3 i. {  E
2 r' @6 S( r/ w+ }9 D) b                          AES/EBU              S/PDIF (IEC-958)
4 T% p3 O. k/ f7 d; m/ ]
- E' I2 s  G$ m5 z: rCabling                   110 ohm shileded TP  75 ohm coaxial or fiber
" o0 A- F" I" QConnector                 3-pin XLR            RCA (or BNC)( R0 j; J/ f8 B  v
Signal level              3..10V               0.5..1V
5 ?5 x/ a! g4 I* ?! Z+ vModulation                biphase-mark-code    biphase-mark-code
& Z) L8 |0 K/ V& CSubcode information       ASCII ID text        SCMS copy protection info
* s8 Q  W( v7 J  }Max. Resolution           24 bits              20 bits (24 bit optional)0 A( @6 z; f+ F+ g1 q: D8 G1 z( }
: ?) a( N" B$ T9 M$ w3 v+ a  [, k
NOTE: AES/EBU also exists in 75 ohm/BNC version (AES-3id-1995 standard). 75 ohm BNC version of AES/EBU is very electrically similar to 75 ohm coaxial S/PDIF shown above. $ k/ q% m, N9 x( l0 C% m
The electrical characteristics of AES/EBU are based on on RS-422, so basically any differential RS-422 chip will do as the receiver and transmitter chips. S/PDIF coaxial interface is not specificaly based on any other standard I know of (but is quite similar in signal levels and bandwidth requrements to some video signals). 7 ^7 J) u3 w- V6 N

. Y# O# U7 M- T" }4 N$ `, ^Both S/PDIF and AES/EBU can, and do transfer 24 bit words. In AES/EBU, the last 4 bits have a defined usage, so if anyone puts audio in there, it has to go to something that doesn't expect the standard specifies. But in S/PDIF, there's nothing that says what you have to use the bits for, so filling them all up with audio is acceptable. Typical S/PDIF equipments only use 16 or 20 bit resolutions. While many equipments use more than 16 bits in internal processing, it's not unusual for the output to be limited to 16 bits. # O" C; q9 m' O7 @4 L, C6 \

8 M. i1 R. y2 C/ b9 ^0 TNote on HDR-2 (2 pin header) interface used in some PC products:
" c* d# I' t0 [7 e+ F2 E! g, u4 kMany modern PC CD-ROM drives and some soundcards (SB32, AWE32, etc.) have a two pin digital output connector in the back of the drive and they sometimes call that interface S/PDIF. Unfortunately the electrical signal which comes from it is not exactly what is described in S/PDIF specifications. The data format is exactly the same, but the signal is TTL level (5Vpp) signal instead of the normal 1Vpp signal. The output level might be selected to make the interfacing to other digital electronics easy when signal is travelling inside the computer (the normal output driver system and input amplifiers can be avoided). The downnside of this is that you need to build some electronics to make the signal from the CD-ROM drive to match what normal S/PDIF equipments expect. ) [( |8 |# Z0 D% }6 c

4 f+ Z$ P2 l3 h1 T# P
6 [" y* r7 M* h" MMulti channel audio and S/PDIF
4 o1 G1 y1 C6 vIEC958 was named IEC60958 at 1998. IEC60958 (The S/PDIF) can carry normal audio and IEC61937 datastreams. IEC61937 datastreams can contain multichannel sound like MPEG2, AC3 or DTS. When IEC61937 datastrams are transferred, the bits which normally carry audio samples are replaced with the databits from the datastream and the headers of the S/PDIF signal. Channel-status information contains one bit (but 1) which tells if the data in S/PDIF frame is digital audio or some other data (DTS, AC3, MPEG audio etc.). This bit will tell normal digital audio equipments that they don't try to play back this data as they were audio samples. (would sound really horrible if this happens for some reason).
- `$ `! p5 G. b, `  C$ w" X( Q" u& D; G; _& r/ w
The equipments which can handle both normal audio and IEC61937 just look at those header bits to determine what to do with the received data. - C; R7 e: f+ }$ S! ]

/ o9 w, \5 ]1 f' Z. h) Z1 y1 _) {' Q; @. c8 X
Cabling details
! n( A0 v1 [$ C4 f0 b4 lS/PDIF (IEC-958) uses 75 ohm coaxial cable and RCA connectors. 75 ohm coaxial cable is inexpensive, because it is the same cable as used in video transmission (you can buy a video cable with RCA connectors to connect you S/PDIF equipments together). Coaxial S/PDIF connections work typically at least to 10-15 meter distances with good 75 ohm coaxial cable.
" ?( E8 Z5 Y1 l& a9 ]9 t( k% o+ k- O0 k& N: |% O5 p; v
AES/EBU-interface uses the well known symmetrical connections with transformer isolation and an output impedance of 110 ohm. The signal-level of this interface is reasonably higher than in the consumer version (3...10 volts). Because AES/EBU digital audio signals are transmitted at high, video-like frequencies (at around 6MHz) and should be handled very differently than standard analog audio lines. Commonly used XLR-3 microphone cables have various impedance ratings (30 ohm to 90 ohm typical) and exhibit poor digital transmission performance. The result is signal drop out and reduced cable lengths due to severe impedance mis-matching (VSWR) between AES/EBU 110 ohm equipment. AES/EBU signal transmission work for few tens of meters with a good cable. 4 @' P" g4 e. _$ ?& v1 J
/ J5 n& I, g2 l( U& w/ p5 [
There also an optical version of S/PDIF interface which is usually called Toslink, because uses Toslink optical components. The transmission media is 1 mm plastic fiber and the signals are trasmitted using visible light (red transmitting LED). The optical signals have exactly the same format as the electrical S/PDIF signals, they are just converted to light signals (light on/off). Because high light signal attenuation in the Toslink fiberoptic cable, the transmission distance available using this technique is less than 10 meters (with some equipments only few meters). 2 x. x; B! Z# G4 O; e$ }( l& ~/ U% z
. {6 n% q3 H# A4 N. _' y$ s# k$ ?

! R) J5 n4 x, X7 r8 RWhat can make difference in the sound of digital signal ?
' j& X. J6 W/ D8 I9 X8 tThere are two things which can cause differences between the sound of digital interfaces:
& Y/ J, _& K0 S: b, r9 L
8 I: j) V6 K. ~& @0 J4 m# s. Q( |8 V0 R
1. Jitter (clock phase noise)
( \3 r& F1 L" j: t% VThis really only affects sound of the signal going directly to a DAC. If you're running into a computer, the computer is effectively going to be reclocking everything. Same applies also to CD-recoders, DAT tape decs and similar devices. Even modern DACs have typically a small buffer and reclocking circuitry, so the jitter is not so big problem nowadays that it used to be. + W9 u2 l- m- |/ r- C6 K

0 m0 R3 \# M$ k# p
& E" ~- B: n0 X/ A3 v1 j2. Errors) n+ }% U  M/ G. t
This usually causes very significant changes in the sound, often loud popping noises but occasionally less offensive effects. Any data loss or errors in either are a sign of a very broken link which is probably intermittently dropping out altogether.
; n: ]+ v4 Y  ?% t( `
7 q$ G, A2 X) t$ G+ g/ x! g7 b' S% M# N5 b& r- }  K& J
S/PDIF signals
0 f% p5 c+ `! fThe signal on the digital output of a CD-player looks like almost perfect sine-wave, with an amplitude of 500 mVtt and a frequency of almost 3 MHz.
% U( N6 V! ^6 y9 @3 C, U- j* |+ B  `  |3 R( i
For each sample, two 32-bit words are transmitted, which results in a bit-rate of: . \; {; M9 ^$ b% m5 V8 A8 p( _
+ N6 {1 x0 ?  ~5 M* o0 _' p1 }
    2.8224 Mbit/s  (44.1 kHz samplingrate, CD, DAT)
, T1 A9 l" {/ i) j+ T1 i' D" ^' i% ~    3.072  Mbit/s  (48 kHz sampling rate, DAT), ~4 K$ a% _& T. E3 N
    2.048  Mbit/s  (32 kHz sampling rate, for satellite purposes)
# s, K  d6 G; N, l- h' ^: x% G1 i5 U, Y& b: v, n' e
The output impedance is standard 75 ohm, so ordinary coaxial cable designed for video applications can be used. The minimal input level of S/PDIF interface is 200 mVtt which allows some cable losses. There is no real need for special quality cable as long as the cable is made of 75 ohm coaxial cable (a good video accessory cable works also as good S/PDIF cable).
6 J  q( w# x5 Q5 H/ a6 C9 w0 M5 a+ L0 |! K! P9 G
The Coding Format' W& z& ^( f3 a! S
The digital signal is coded using the 'biphase-mark-code' (BMC), which is a kind of phase-modulation. In this system, two zero-crossings of the signal mean a logical 1 and one zero-crossing means a logical 0. ' B+ w1 B& G' |* ?$ k

7 S: `3 f" e' p( r                _   _   _   _   _   _   _   _   _   _   _   _
6 \% v8 f  {$ I9 o               | | | | | | | | | | | | | | | | | | | | | | | |
4 G/ C. Y) Z* Q5 A3 ]- @) mclock   0 ___ _| |_| |_| |_| |_| |_| |_| |_| |_| |_| |_| |_| |_
+ T' Q" w6 m6 ?# K& D$ ?% A4 c% h4 Q3 r6 Q- s5 A
                ___         _______     ___         ___3 S4 q& i& d2 M4 A+ v& E
               |   |       |       |   |   |       |   |  L' K% Y1 d5 p) G$ N
data    0 ___ _|   |_______|       |___|   |_______|   |___, y& Q+ A) }3 o# a, L* N, G
signal           1   0   0   1   1   0   1   0   0   1   07 s; B2 M  g: A+ M2 b. O/ g3 K" [
+ ]  H' a, G6 d- V8 Z8 b" K
                _   ___     _   _   ___   _     ___   _
& G9 r, X" U! S  ABiphase        | | |   |   | | | | |   | | |   |   | | |0 j6 R8 S. E: y6 E; R# x7 O( C
Mark    0 ___  | | |   |   | | | | |   | | |   |   | | |% _: l& w0 N. b0 p; R
signal         | | |   |   | | | | |   | | |   |   | | |
* P) ]4 |$ S0 U: p! A5 ?# Q              _| |_|   |___| |_| |_|   |_| |___|   |_| |___. r+ m. h7 H4 G3 O

, J; w: v* Y0 b5 N8 ]cells           1 0 1 1 0 0 1 0 1 0 1 1 0 1 0 0 1 1 0 1 0 0
2 ?# w9 h5 C! f& t  f4 r& {. @! e( `. S3 z
The frequency of the clock if twice the bitrate. Every bit of the original data is represented as two logical states, which, together, form a cell. The length of a cel ('time-slot') is equal to the length of a databit. The logical level at the start of a bit is always inverted to the level at the end of the previous bit. The level at the end of a bit is equal (a 0 transmitted) or inverted (a 1 transmitted) to the start of that bit. ( Q" {; G  s/ n, `% t  ~% s
The first 4 bits of a 32-bit word (bits 0 through 3) form a preamble which takes care of synchronisation. This sync-pattern doesn't actually carry any data, but only equals four databits in length. It also doesn't use the BMC, so bit patterns which include more than two 0's or 1's in a row can occur (in fact, they always do).
+ @9 w! \# g9 [; _+ k& k$ A$ }( I% u7 Y8 k
There are 3 different sync-patterns, but they can appear in different forms, depending on the last cell of the previous 32-bit word (parity):
  @- w7 f: k2 d6 |9 v" D6 P/ H& ^$ |/ i& f: W3 n
   Preamble    cell-order         cell-order; v  K# K1 L& _. W
       (last cell "0")    (last cell "1")
+ S# Z9 x/ S. I/ s# F   ----------------------------------------------3 }5 L% h# i0 _$ }6 p
   "B"         11101000           00010111
1 m; M% M: m) w   "M"         11100010           00011101, h- f3 Z4 ~; h
   "W"         11100100           000110117 L6 w9 R6 K; v* U- @* G
. q4 ^1 N. `4 [+ t. O8 I5 C
Preamble B: Marks a word containing data for channel A (left)
  f! ]- ]. i) O    at the start of the data-block.! N) h5 r  W" ^3 |% s4 B6 D

7 V/ \% i- g- K' e0 x, HPreamble M: Marks a word with data for channel A that isn't
3 S9 F% z& K4 A    at the start of the data-block.
7 m6 p+ n, f3 r1 z$ l& Q8 f3 d  s7 [3 a
Preamble W: Marks a word containing data for channel B.
/ @0 d  [! X6 `. f7 k    (right, for stereo). When using more than 2& r9 a" L3 }4 S; C4 y7 S$ R
    channels, this could also be any other channel
, @$ L, \" t: r, j4 a  ~0 x: Y) [' u) W    (except for A).7 t8 _6 v0 c) g3 u& b4 F% m

* A# L+ N6 |! q2 K8 W. q- A) qWord and Block Formats9 i2 a) e" t8 v7 O9 g% \4 ?
Every sample is transmitted as a 32-bit word (subframe). These bits are used as follows:
; w: F! A" T# ^& a/ D2 p0 ~. k9 e9 {9 L9 ~! X7 X
   bits           meaning: _: \; i% n1 }4 E* d- W
   ----------------------------------------------------------( g) |$ j1 z& A6 U
   0-3            Preamble (see above; special structure)3 w* Q( U. I4 t

7 V+ j  t' O( V- i1 O   4-7            Auxillary-audio-databits4 j: R! Y6 h- h8 l; ^
/ ^$ G8 V8 _0 S, y, l/ G
   8-27           Sample0 ~# r  j  x) {2 U4 w
  (A 24-bit sample can be used (using bits 4-27).6 i3 F! {# P+ L4 l% o
   A CD-player uses only 16 bits, so only bits
. I+ Y5 G5 c8 e5 k* s   13 (LSB) to 27 (MSB) are used. Bits 4-12 are
% E- X: n0 u' j: z  Y, s* o; w   set to 0).
& n: _* Y! ?/ r- c( p% J! r) M% c5 v5 `
- ^% j  N7 l* G! |1 S0 D8 y* E, w   28             Validity
' ]3 A; H1 r! `* J  (When this bit is set, the sample should not
+ S( n( `/ [! j7 m3 f& ]: I$ k" L: {  w   be used by the receiver. A CD-player uses
! U; j9 b/ h, V: b$ J: p! S; f5 \3 a' a   the 'error-flag' to set this bit).
# s0 s- D# R0 z# e9 c4 o& k) c  L5 f* r  d
   29             Subcode-data2 Y, e) k2 P: c# l" [3 ]' D3 ^5 B  I

: m+ c& [) m7 Q- s6 X. Y  ?& S   30             Channel-status-information
! z! O( v. ^8 v; q4 ]  h3 Z" w' Q6 i# f' T' A
   31             Parity (bit 0-3 are not included)
# v8 |, W! S$ ^6 b9 a1 l  r: D% y' }/ t7 [1 ^
The number of subframes that are used depends on the number of channels that is transmitted. A CD-player uses Channels A and B (left/right) and so each frame contains two subframes. A block contains 192 frames and starts with a preamble "B":
8 b8 a% B7 M' S8 C! \1 b"M" Ch.1 "W" Ch.2 "B" Ch.1 "W" Ch.2 "M" Ch.1 "W" Ch.2 "M" ...
0 W1 q0 g6 ^1 }: w5 A/ k( Y6 S& S$ k) Y- z: `! b
|                ||_ sub __|_ sub _||                |
2 V: ^/ R( n; l: |7 M8 l  [9 @|                ||                ||                |3 E0 c+ h2 c  x5 P
|__ Frame 191 ___||__ Frame   0 ___||__ Frame  1 ____|& ]2 V& W2 ?0 \! N

+ a! m$ O8 A, S& e6 X4 \! J$ P  |4 W' C; R- }" a0 r9 g: T' [
             block-start2 Y8 M- _  m( F- i' V. d3 m& G# ~2 f
" Q- c! k: b% A2 T4 W( ~
Channelstatus and subcode information' J6 E% f, L3 b( v( ?; z4 E- N  j
In each block, 384 bits of channelstatus and subcode info are transmitted. The Channel-status bits are equal for both subframes, so actually only 192 useful bits are transmitted: : h# S5 P6 O' V2 G" R& D5 _: h
  z( c; [: L1 B! r0 v# z' H
   bit            meaning
8 g9 Q# R/ k3 c7 R2 U6 T   -------------------------------------------------------------4 p, O: d1 J& S
   0-3            controlbits:
6 _  L, ]- _( ~! [, {% u
& ^9 f4 F' j" ?$ ?  bit 0: 0 (is set to 1 during 4 channel transmission)
# Y- q2 u, M6 r& o7 {5 d  bit 1: 0=Digital audio, 1=Non-audio   (reserved to be 0 on old S/PDIF specs)
5 B7 ^' b$ {+ k3 ], m; Z% Q4 r  bit 2: copy-protection. Copying is allowed9 V/ {' m. P3 \8 L0 V: M
when this bit is set.% N: f6 M& B% y  ?
                  bit 3: is set when pre-emphasis is used.5 l1 K* k$ j3 B8 ]0 V
3 ]! r# |1 `2 Q" Q# p  r6 i
   4-7            0 (reserved)
) x2 ]# W( V( A- Z% g2 c9 F- U3 x& b! M8 P
   9-15           catagory-code:
* w& V0 L/ D% i- G! y1 y1 a
) U2 o) Y6 |: ^. l  0 = common 2-channel format3 f: R) g. Q5 [4 Z& s
  1 = 2-channel CD-format5 B: a- b7 X: ^8 V  s
      (set by a CD-player when a subcode is
4 o% o& b6 C! K8 v6 g       transmitted)
% J. ]! h) ^- ~                  2 = 2-channel PCM-encoder-decoder format8 Z' X+ v4 n/ U4 L" h) c) e3 H  d( E

+ ?* _6 m/ B8 |8 X! [& @                  others are not used
: r! O% T" i! [" d1 k. g" `0 P7 _8 x; b+ |. j  G2 u" ?# G
   19-191         0 (reserved)/ e  R: |) o* t3 l8 y

3 H& o  }0 R- N( k7 W* d  FThe subcode-bits can be used by the manufacturer at will. They are used in blocks of 1176 bits before which a sync-word of 16 "0"-bits is transmitted 7 q( x# t# F4 O, V5 Y
/ \3 S! O& X& x' ]
Electrical Interface
4 f" Q' E  q5 f; tThe electrical interface for S/PDIF signals can be either 75 ohm coaxial cable or optical fiber (usually called Toslink). Usually consumer models use that coaxial cable interface and semiprofessional/professional equipments use optical interface. The electrical signal in the coaxial cable is about 500mVtt. 1 P) S/ l" c1 }3 _; m+ Y3 O) q
, q) Z  F! n3 \

& q2 x' t- [2 |! Z" A6 }8 y$ Y& [4 b0 ]  `2 F/ n0 X
--------------------------------------------------------------------------------
& n( X5 _% p! b5 Z9 w
5 X2 ]7 r1 {8 V! q8 Z/ HConverting between AES/EBU and S/PDIF interfaces
# y6 t! H1 N4 J- T7 ~There are differences in the electrical characteristics of AES/EBU and S/PDIF interfaces:
3 p. z+ u/ z/ N# i! \8 g5 g/ o& m+ T. f
AES/EBU uses a balanced differential line based on XLR connectors and the signal levels are 5 volts + {. L3 ~2 n: w# ]( J4 C
S/P-DIF uses a coaxial unbalanced line with RCA connectors and the signal levels are around 0.5 volts
1 `3 f$ W3 q1 k; r4 v4 HYou can convert one electrical interface to another with a small amount of off-the-shelf hardware and a little time as you can see in the circuit below.
5 o. v! c/ C8 C0 M+ MBut the protocol used in AES/EBU and S/PDIF is not exactly the same and that can cause sometimes problems. The basic data format of AES and S/P-DIF are identical. There is a bit in the channel status frame that tells which is which. Depending upon the setting of that bit, some bits have different meanings. For example, the bits used to describe de-emphasis in the AES/EBU protocol overlap the bits used to implement the SCMS protocol in S/P-DIF land.
+ l' x/ S1 W  G0 A- V9 J& O' x; J6 G, Z: c) T: ~. F% O
The big problem comes in the fact that MANY products out there are VERY picky about what they see in the bits, and even though a given signal may fall within the letter of the standard, some equipment will absolutely refuse to talk to it. Many equipments are reasonably flexible and tolerant of slight foos in the signal so the simple converters cna work on those. But a simple converter that works fine with one piece will as likely not work with another. 5 w2 D+ u, J; r1 x4 G

- W4 P4 N& p" K3 I( c3 A# B6 K' |
What are different types of IEC 958-interface8 K) _' @) \1 }% [
There are 2 implementations of IEC 958: consumer and professional. Those are referred in standard as IEC958 Types I and II. IEC958 professional format is same as AES/EBU but is carried over same type of coaxial or optical interface as consumer S/PDIF. IEC958 consumer format is the S/PDIF format used in CD-players. You can put an S-PDIF data stream on an AES/EBU physical balanced cable, or vice versa, and still have it be valid IEC958 data. Professional and consumer formats (Types I and II) differ only in the subcode information. In order to do track indexing, you must have a consumer format data stream (ie. an S/PDIF style data). 8 ~. `; B; N3 T2 S, v
8 S# N3 I: w% @: W. u

+ r. p1 e0 f) |, \& U5 Z3 m$ EJitter specifications of AES/EBU interface8 d8 @1 t1 i% u6 D; U+ v
The AES/EBU standard for serial digital audio uses typically 163 ns clock rate and allows up to +-20 ns of jitter in the signal. This peaks to peak value of 40 ns is aroun 1/4 of the unit interval. D/A conversion clock jitter requirements are considrably tighter. A draft AES/EBU standard specifies the D/A converter clock at 1 ns jitte; however, a theoretical value for 16-bit audio could be as small as 0.1 nsec. Small jitter D/A conversion is implemented by using separate PLL clocks for data recover and DAC and by using a buffering between data recovery and DAC. $ K( @3 m) M5 @$ A" T+ D2 `# l6 p

7 O$ I4 a# t, r1 p. h
6 X4 D1 d1 C7 F' WConversion circuits1 {: A0 T. S" n
Here are some AES/EBU and S/PDIF circuit collected from various sources. The following circuit will only convert the signal levels, not other protocol details.
8 b1 W: ~( j: J2 v+ B6 Q0 u3 D, g9 f( M% `- t/ g! p0 O0 L/ \
Remeber that although the audio data is the same in both AES/EBU and S/PDIF interfaces, they are indeed different formats, at least in their subcode. AES converted to coax is NOT S/PDIF, and S/PDIF converted to XLR balanced is NOT AES. They are still their native format, just the transmission medium has changed. Whether they will work in your application depends on the equipment chosen. & l5 r+ _2 e4 W4 M& W) I3 H

- F0 ]/ g9 ], p8 R# n2 T6 r; @" a9 ^Some DATs have a switch that selects one format or the other regardless of the physical interface, some just ignore what they don't understand (usually resulting in the generally positive benefit of ignoring SCMS encoding), and some indeed gag on the "other" format. But simply fixing the physical interface works far more often than it doesn't. 4 [  X. Y) j5 L$ y  }0 C6 K
( d; b7 p4 X& Z1 W% T

: E7 F5 \6 a9 l( gHow to do different conversions using the circuit below4 z* D4 P( b: Y* o& j) n/ i$ N
Here are some ideas how to make the most common conversions using the circits described below. Note: there is no guarantee that the information in this or the circuit are correct (they are believed to be correct but note tested by the author). . A( W4 A9 }3 k: g! S/ e) [8 g

2 f. B6 L5 a& NAES/EBU to S/PDIF: There is complete circuit for this
) d7 @$ E# H# N6 R' X' L+ ~S/PDIF to AES/EBU: There is complete circuit for this
+ j+ y( i% b+ i! A' D* C& K$ f) bS/PDIF to optical: S/PDIF coax input circuit followed with optical TOSLINK output + B2 i1 l& }7 U4 v
Optical to S/ODIF: Optical TOSLINK receiver followed with S/PDIF output buffer circuit
; R- K. L4 j1 G, d- A" [CD-ROM digital output to normal S/PDIF: S/PDIF output buffer circuit does this
) [. f4 s7 E7 a6 lCD-ROM digital output to optical: Connect optical TOSLINK output circuit to CD-ROM output
, Y2 @# e4 Q. ]+ AFor every other conversion combination you can think of you can find circuits on the lis below. To build an dapter you need two parts connected after each other. 7 S" ]. P. _' s5 \
First you need an input circuit which converts the input you want (coax,optical or AES/EBU) to TTL format (if the input is in TTL format you don't need any input circuitry)
8 c3 U7 c7 \- T7 j( Z' b3 zConnect a suitable output circuit with TTL input after the receiving electronics to give you the output format you want (coax,optical,AES/EBU,TTL)
7 U3 B9 _0 V5 {After you have slected the suitable circuit parts, built them an attached them together you get the conversion circuit you want. If you need more than one output, you can connect few (1-4) output modules to one input circuitry to have more then one output.
! l! O: h  ?% e4 T( k1 ]6 U$ A
AES/EBU to S/PDIF signal level converter
6 ~" o7 w% O7 O$ H' bAES out:   2-------330 ohm-----+-------------   SPDIF in
, l0 [. s, n. Q7 T$ m! z                               |
3 @, X1 ]0 A5 A9 |; v           3--+              91 ohm
6 B  m3 a9 V) W/ q              |                |: ]' `; k  m/ m9 k8 _
           1--+------+---------+-------------
+ M# K3 h2 O' z  _8 D# x                     |9 ^, |/ i- v, L. [  ~8 q2 P
                     -7 i' b; J* A  M) b# J3 D5 p! G
                ground
7 d* ~4 R/ B* o' j) B- P
1 A, J- W* c( w) i  ]* l& yThe idea for this circuit is taken from articles posted to Usenet News.
/ l; u# F3 [/ t4 V% K+ t' ]0 ^- O8 _1 b7 V" X
If you are looking for a professional components for 110 ohm to 75 ohm interconnection then check Canare web site where they have 110 OHM-75 OHM IMPEDANCE TRANSFORMERS. ) c6 ^/ K- H/ N6 U

( v# |9 @2 ~# D# ~( @8 E$ k: b$ L) Q* C
S/PDIF to AES/EBU, Y! e& w/ Z/ x+ K; P
                                           _
7 u4 s# z$ S( z. ]: ]  w                  + 5 volt                | \\8 g/ K- N& l* W% _
SPDIF out:          |                   +-|  O-+# r+ `7 k" ~+ u3 e
                    _ +--4,7k-+         | |_/  |2 K, m0 L2 O2 }' P. X. s
              diode ^ |  _    |     _   |  _   |
  N! T& E% Z* h1 y( r/ a" M# y       10 u (+)     | | | \\   |    | \\  | | \\  |      100 n
- Z; n; v) b. r* YO--+--+-||-+--------+-+-|  O--+--+-|  O-+-|  O-+-120 r-||-+----+-- 2
3 p/ [9 x/ [! ?; l& r   |  |    |        |   |_/   |  | |_/    |_/             |    |! g! ~0 O/ c+ h& b
   |  +-||-+ 100n   _       2,2k |                       1 k   |
. ~" q/ j* }' L0 _# M  75r               ^ diode   |  |     IC                 |    |   AES in
8 Q( u8 w8 a+ z! g. K8 R   |                |        --- |                       ---   |# X; _2 {( w, U) w) b. S$ E$ |  |
  ---              ---           |       _                    220r* V3 C2 ?% r* p, k; \4 r6 d6 ]/ o2 P
                                 |      | \\           100 n    |- a9 Y, r4 u  J
                                 +--+---|  O---+--120 r-||-+---+--- 3
  d% z" R$ ^6 Q  X0 d9 N Diode = 1N914 or 1N4148            |   |_/    |           |3 m, N6 P2 p3 Y) D: U9 w' ]& F. g
                                    |    _     |         1 k   +--- 1
5 Q& U' g- p8 H3 I2 N* a) x                                    |   | \\    |           |   |" M" n9 ?3 R- @2 \4 A% V& v6 x
    IC = 74HC04 or CMOS 4049        +---|  O---+          --- ---
0 A# W# i, g  H# p                                        |_/
% A5 r& `; S8 I2 s8 u  b) K: ~) ?" m# a
The idea for this circuit is taken from articles posted to Usenet News.
9 f; K8 C! B7 C( f' x$ ^- _6 I/ N$ O* v' z

/ C  V, o+ q6 o. k--------------------------------------------------------------------------------
7 g  v6 {' X- l- R' o2 ~2 L8 Y2 R, O* k
S/PDIF conversion circuit building blocks
# @) U  {6 I7 B! K% g1 J# c) _This is a collection of S/PDIF circuits found from various sources. The circuits are presented as building blocks which have one end on S/PDIF standard signal and other end an TTL level signal. The TTL levle signal end of the circuits is designed to be the the interface which you can use to wire different modules together to make whatever S/PDIF converter circuit you want. The circuit are presented as building blocks because with this approacs you can most easily build a suitable circuit for all conversion needs. 7 N. I3 S; Y9 f, _
1 D' X5 l% q8 L! q# X
Here are tips for building a conversision circuits for different uses:
/ b# j+ m+ b+ F! n3 _
# O7 [: \9 I2 Q; W0 S  gCoaxial S/PDIF to optical: Select any S/PDIF coaxial input circuit and connect it's TTL output to one optical S/PDIF (Toslink) output circuit. " ^8 `% h+ s: S1 |1 ~  B# }
Optical S/PDIF to coaxial: Select one optical S/PDIF input circuit and connet it's TTL output to any coaxial S/PDIF output circuit. 0 a( f$ u' L+ d2 D1 u: J6 U0 Y# ?& y
CD-ROM digital out to coaxial: CD-ROMs output TTL level S/PDIF, so get it to caoxial you just need a coaxial output circuit where you directly connect the digital signal from your CD-ROM drive.   M* `. i- j5 G' m6 _
For other conversion needs do a little thinking and you should find quite easily the answer what blocks to connect to each other8 K( O+ k- W, o! u0 z" `
参考三:SPDIF接口的几个误区% `6 N* l/ @/ l& R6 A6 S
错误一:S/PDIF的同轴是数字接口,光纤是模拟接口,同轴到光纤要经过数模转换,所以光纤的音质比同轴差。
# c8 H& G1 \, b& V/ ?其实同轴和光纤都是数字接口,上面跑的都是数字信号,只不过同轴用高低电平表示1和0,光纤用有光无光表示1和0。同轴到光纤只需要经过电光转换,不需要数模转换,不会对音质产生损伤。转换来转换去也不会有变化,这就是数字信号的好处。
1 W( r6 |; U. t0 Q! V1 ^: m$ k8 W. D& d& v! M
错误二:光纤比同轴的传输距离长。1 p2 B8 p: M) z$ D
根据推荐的文章描述,同轴的传输距离可以达到10~15米,而光纤反而只有不到10米,大家没想到吧。为什么呢?确实,电信设备用光纤可以把信号传几十上百公里,所以大家直观的感觉是光纤肯定传得远。但是电信设备用的可是激光,而S/PDIF的光纤(学名是TOSLINK)用的是普通的发光二极管,差了十万八千里。要是S/PDIF也改用激光,那传上几公里也不成问题。只是一个激光的光模块就要几百块RMB,发光二极管顶多几块钱,厂家会选哪个呢?8 _4 ?5 [6 y8 M% q
& \: `; k1 A8 d7 _5 Z3 `8 w! B& ?5 ]
错误三:越好的同轴电缆音质越好,用普通AV线充当同轴电缆会损伤音质。
5 W- T- P! u$ K8 W这个观点和第一个观点错在一处。对于数字信号来说,只要是满足标准规定的电缆音质都一样,超过标准规定的电缆对音质没有提升。其实标准对于同轴电缆的要求并不高,10米之内的电缆阻抗在75ohm +/-5%范围的都可以,10米以上的更是放宽到75ohm +/-35%,一般的AV电缆完全满足要求,实在没必要买发烧级的同轴线。( Z. x$ w0 h4 `. k* Y6 r9 `4 R

" D' T3 V% M4 H  w4 R; b# \6 D错误四:如果声卡、主板没有同轴、光纤接口,但是有S/PDIF插针,那只需要自己从插针引线,直接焊上个同轴插座或者发光二极管,就能DIY出同轴、光纤接口。' _$ p9 |: Q0 W, o  k+ I
这个观点不但错误,而且危险。根据标准,S/PDIF的同轴接口工作电压最大是0.5+/-0.1V,也就是最大不超过0.6V。而声卡、主板上的S/PDIF插针的电压是普通的TTL信号,最大电压是5V,是前者的10倍!要是把这个信号直接接到同轴插座上,再连到你的功放上,我不保证你的功放一定会烧坏,但机会很大。
  |( m/ D4 r! _' E+ J% [) R: `- d插针直接接发光二极管的危险要小一些,牺牲的只是小小的发光二极管。因为发光二极管的工作电流很小,主板插针供应的电流太大,至少要串联个电阻才行。




欢迎光临 安规网 (http://bbs1.angui.org/) Powered by Discuz! X3.4