用VGA接口发射FM广播信号
VGA(视频传输标准)详细资料大全
VGA(视频传输标准)详细资料大全VGA(Video Graphics Array)是IBM在1987年随PS/2机一起推出的一种视频传输标准,具有解析度高、显示速率快、颜色丰富等优点,在彩色显示器领域得到了广泛的套用。
不支持热插拔,不支持音频传输。
基本介绍•中文名:VGA•外文名:Video Graphics Array•全称:Video Graphics Array•推出时间:1987年•主要优点:解析度高、显示速率快、颜色丰富标准,显示模式,原理,功能单元设计,文字模式,色版,VGA显示标准,VGA接口,显示系统,标准VGA(Video Graphics Array)即视频图形阵列,是IBM在1987年随PS/2(PS/2 原是“Personal System 2”的意思,“个人系统2”,是IBM公司在1987年推出的一种个人电脑。
PS/2电脑上使用的键盘滑鼠接口就是现在的PS/2接口。
因为标准不开放,PS/2电脑在市场中失败了。
只有PS/2接口一直沿用到今天)一起推出的使用模拟信号的一种视频传输标准,在当时具有解析度高、显示速率快、颜色丰富等优点,在彩色显示器领域得到了广泛的套用。
这个标准对于现今的个人电脑市场已经十分过时。
即使如此,VGA仍然是最多制造商所共同支持的一个标准,个人电脑在载入自己的独特驱动程式之前,都必须支持VGA的标准。
例如,微软Windows系列产品的开机画面仍然使用VGA显示模式,这也说明其在显示标准中的重要性和兼容性。
显示模式VGA最早指的是显示器640X480这种显示模式。
VGA技术的套用还主要基于VGA显示卡的计算机、笔记本等设备,而在一些既要求显示彩色高解析度图像又没有必要使用计算机的设备上,VGA技术的套用却很少见到。
对于一些嵌入式VGA显示系统,可以在不使用VGA显示卡和计算机的情况下,实现VGA图像的显示和控制。
系统具有成本低、结构简单、套用灵活的优点,可广泛套用于超市、车站、飞机场等公共场所的广告宣传和提示信息显示,也可套用于工厂车间生产过程中的操作信息显示,还能以多媒体形式套用于日常生活。
VGA网线网络传输器(1080p)说明书
高清视频传输及高清编解码专业厂商VGA网络传输器产品说明书VGA网络传输器说明书一、设备简介VGA-B3/J3网络传输器是由VGA编码器(VGA-B3)和VGA解码器(VGA-J3)组成,通过局域网或网线来传输VGA、Audio、RS232信号。
在多媒体应用系统中,往往需要把VGA数字视频信号、音视频信号、RS232控制信号进行远距离传输。
但使用普通的电缆长距离传输时,总会出现输出信号差,容易受干扰,显示出来的图像会出现模糊、拖尾、分色等现象。
同时传输距离短,要多条电缆才能同时传输这些信号,不能满足多媒体信息发布、高清摄像机等场合长距离传输的要求,使用VGA-B3/J3网络传输进行传输,完全解决了此类问题,由于VGA接收器设置有二个网络接口,可以进行级联传输,解决一个编码器带多台解码器的问题。
同时,网络传输具有衰减小、抗干扰性能强、安全性能高、体积小、重量轻等优点,所以在长距离传输和特殊环境等方面具有无法比拟优势。
此外, VGA-B3/J3可以同时传输RS232串口信号,用于与液晶屏通讯、摄像机云台,也可作为触模屏的远距离传输。
此款VGA网络传输器支持HDCP功能,可直接传输蓝光高清光盘机播放的节目。
VGA 网络传输器设备在多媒体系统中应用,即节省施工成本及走线的复杂性,又能保证高品质的目标为可能。
VGA-B3是编码器, VGA- J3是解码器,二设备配合使用可实现经VGA-B3编码器把VGA、Audio、RS232信号经网络发送给多台ZY-VGA- J3解码器,特别适用于列车站台内高清视频信号的传输,军事演习、高清摄像机等各种长距离的应用。
注意:开机时间约20秒二、装箱清单当您打开包装,请确保符合以下设备及配件的使用。
·VGA编码器一台·VGA解码器一台·电源变换器二只·使用说明书、合格证、质保卡各一份三、连接设备介绍如何连接VGA-B3编码器和VGA-J3解码器VGA-B3是编码器,连接到您的电脑或媒体播放或高清摄像机等设备。
广播电视传输业的传输介质与接口
广播电视传输业的传输介质与接口传输介质在广播电视传输业中具有重要的作用,它们承载着传输信号的任务,确保信号的稳定传送。
同时,接口作为传输介质与设备之间的连接方式,也在广播电视传输业中扮演着不可或缺的角色。
本文将探讨广播电视传输业中常用的传输介质和接口,并分析它们的特点和应用。
一、传输介质1. 同轴电缆(Coaxial Cable)同轴电缆是广播电视传输业中常用的一种传输介质,具有以下特点:(1)抗干扰性强:同轴电缆的结构可以有效地抵抗外界干扰信号的干扰,保证信号的纯净传输。
(2)传输距离远:同轴电缆可以实现较长距离的信号传输,适用于广播电视传输业中需要长距离传输的场景。
(3)成本较低:同轴电缆相对于其他传输介质来说,价格较为经济实惠,适用于大规模应用的场景。
2. 光纤传输(Optical Fiber Transmission)光纤传输在广播电视传输业中得到广泛应用,具有以下特点:(1)大带宽:光纤传输具有较高的传输速度和大的带宽,可以满足广播电视信号的高清传输需求。
(2)抗干扰能力强:光纤传输对于电磁干扰的抗扰能力较强,保证信号的稳定传输。
(3)信号损耗小:光纤传输的信号损耗较低,可以实现远距离的信号传输。
3. 微波传输(Microwave Transmission)微波传输在广播电视传输业中被广泛应用于卫星传播和远程传输,具有以下特点:(1)高频带宽:微波传输可以实现较高频率的信号传输,适用于广播电视信号的传输。
(2)远距离传输:微波传输可以实现数十公里甚至上百公里的远距离信号传输,适用于大范围覆盖的广播电视传输。
二、传输接口1. HDMI接口HDMI(High Definition Multimedia Interface)接口是广播电视传输中常用的数字传输接口,具有以下特点:(1)高清传输:HDMI接口可以实现高清信号的传输,保证广播电视节目的高画质表现。
(2)音视频传输:HDMI接口可以同时传输音频和视频信号,减少了连接线的数量,提高了传输效率。
VGA传输原理
VGA传输原理VGA信号的光传输原理和应用光纤VGA传输器包括发送器和接收器,用来通过单条光缆进行远距离传输高分辨率RGB信号、音频和RS232控制信号。
它特别针对可靠性和优异的高分辨率图像质量而设计,采用Extron 独特的全数字零压缩技术,实现了完美的逐一像素的计算机视频传输,最VGA信号的光传输原理和应用光纤VGA传输器包括发送器和接收器,用来通过单条光缆进行远距离传输高分辨率RGB信号、音频和RS232控制信号。
它特别针对可靠性和优异的高分辨率图像质量而设计,采用Extron独特的全数字零压缩技术,实现了完美的逐一像素的计算机视频传输,最高分辨率可达UXGA(1920X1080)。
例如图像调整和校准,接收器的双路RGBHV和音频输出,多位置RS-232控制、机架安装能力以及实时系统监控等。
随着工程,家庭影院采用大屏幕(等离子,背投等)越来越多,巨大的屏幕要求更高的清晰度,普通电视TV信号已经达不到要求,而网络的普及使得电好的电影资源更容易得到。
结合电脑VGA视频的高清晰度,不少人提出用家庭影院的大屏幕播放电脑上面下载的电影,用电脑VGA的高清晰视频看大片。
各种监控,信息发布等工程也提出了VGA视频传输的要求。
VGA视频的标准传输距离往往制约了这个想法。
为解决工程上面的VGA传输问题,VGA信号放大器开始出现,它采用放大原理,用VGA视频线缆为传输介质,可以将电脑的VGA视频信号传输上百米。
但是随后人们发现它的缺陷,长距离VGA线材又粗又硬,不容易找到,需要到工厂定做,布线极为不便,VGA头在焊接的时候也非常容易出问题。
VGA线线材本身决定它的抗干扰差,随着距离的增加,一些本来不是很强的干扰也在长距离的线材里面变得强大,有的放大器将干扰信号也一起放大,导致有些试验环境下能成功而实际工程做了却根本没有办法应用,造成返工的巨大损失。
为解决这些传输中的问题,新的技术和想法应运而生,一种采用普通网线(双绞线)为传输介质的VGA视频延长器成为目前VGA视频传输技术的新贵。
广播电视传输业的传输介质与接口
广播电视传输业的传输介质与接口随着信息技术的不断发展,广播电视传输业逐渐走向数字化和网络化,传输介质与接口的选择和应用显得尤为重要。
本文将从传输介质和接口两个方面进行探讨,介绍广播电视传输业中常见的介质和接口,并分析其特点和应用。
一、传输介质1.电缆传输电缆传输是广播电视传输业中最常用的一种传输介质。
它可以通过地面或地下的电缆线路来传输信号。
电缆传输具有带宽大、传输距离远、抗干扰能力强等优点,适用于高清电视、宽带网络和音频信号传输等。
2.无线传输无线传输是指通过无线电波来传输信号。
广播电视业中常用的无线传输方式包括卫星传输、微波传输和红外线传输等。
卫星传输可以实现全球范围内的信号覆盖,适用于跨国广播电视传输;微波传输适用于长距离传输,常用于山区和偏远地区的信号覆盖;红外线传输适用于短距离传输,广泛应用于遥控器、红外线音频传输等。
3.光纤传输光纤传输是利用光的全内反射原理进行信号传输的一种高速传输介质。
它具有信号传输速度快、带宽大、抗干扰能力强等优点,适用于高清电视、高速宽带网络等高带宽业务的传输。
光纤传输主要应用于长距离传输和网络传输。
二、传输接口1.HDMI接口HDMI(High Definition Multimedia Interface)接口是一种多媒体接口标准,广泛应用于高清电视、高清播放器和音视频设备之间的连接。
HDMI接口具备高清画质传输、音频传输和控制信号传输等功能,广播电视业中常用于高清电视、机顶盒和蓝光播放器等设备的连接。
2.SDI接口SDI(Serial Digital Interface)接口是一种串行数字接口标准,主要用于广播电视行业的专业设备之间的视频和音频信号传输。
SDI接口具有高带宽传输、抗干扰能力强等特点,适用于广播摄像机、监视器、视频编辑设备等专业设备的连接。
3.DVB接口DVB(Digital Video Broadcasting)接口是数字视频广播的标准接口,用于数字电视信号的传输和接收。
中央人民广播电台大屏幕系统使用说明书
中央人民广播电台大屏幕系统使用说明书1.系统拓扑图2.系统结构简介会议桌和操作台上电脑均为VGA信号源,视频信号部分通过VGA矩阵接入图像处理器,根据需要在大屏幕上显示。
音频信号部分通过AV矩阵接入音响放声系统。
有线电视视频信号部分通过HDMI接口转成的DVI信号,通过DVI矩阵接入图像处理器,根据需要在大屏幕上显示。
音频部分通过AV矩阵接入音响放声系统。
中控系统通过串口对矩阵,图像处理器和歌华机顶盒进行使用控制。
3.首先开启右侧电源开关箱中的电源开关,开启设备。
3.1接口控制选择“通讯”在“通讯设置”勾选“选用NET连接”将IP地址与操控电脑设置成同一网段。
完成通讯设置后可点击“连接处理器”,完成处理器与主控电脑的连接。
3.2拼接设置点击“主功能区”里的“拼接”选项进行拼接设置。
跟本项目的实际设备配置,应选为“4*4”,输出分辨率为“1366*768”3.3设置窗口显示在显示区域内用鼠标左击画出窗口位置或点击,窗口可在显示区域内随意拖动拉伸缩小。
注:若前期已经设置好通讯及拼接参数,再次使用时不做修改。
3.4更换信号显示左击选中要显示信号的窗口,然后双击左侧信号源栏里的想要显示在大屏幕上的信号。
,可随时更换替代任意接入信号。
4.中控触摸屏操作4.1触摸屏首页,点击会进入中央人民广播电台经济之声指挥中心图标,再点击触摸屏会进入操作界面。
4.2触摸屏主操控界面,控制界面分为,处理器;电脑矩阵;DVI矩阵;音频矩阵;机顶盒,可任意进入然后操作单独选项,退出系统则回到首页。
4.3处理器操作界面:点击主菜单处理器,然后进入处理器单独控制界面,进入后可根据处理器本身设定好的模式一一切换,可根据提前设定显示分屏模式或者全频模式,此页面可操作14个预置设置。
点击主控电脑上的“刷新”项即可在操作界面上显示相应的场景。
4.4电脑矩阵操作界面:点击主菜单电脑矩阵,然后进入电脑矩阵单独控制界面,可根据信号输入位置与信号输出位置来设定信号分配,(入使用桌插3用窗口6显示,我们只需要点击桌插3,然后再点击窗口6即可)。
如何实现电脑连接电视(VGA+音频)接法(图文)
如何实现电脑连接电视(VGA+音频)接法(图文)如何实现电脑连接电视以前的旧的CRT电视机可以通过AV端子或S端子连接到电脑上,但这种连接方法的效果很差,电脑上的文字几乎看不清,图像也不是很清晰,并且现在电脑显卡上的S端子也越来越少,所以我们不建议这种连接。
现在的液晶电视几乎都提供VGA接口和HDMI接口,用这两种接口连接电视,效果要好的多,几乎跟电脑显示器的清晰度差不多。
下面我们就从以下几个方面讲解,如何通过电视的VGA口将电脑连接到电视上。
1.电脑连接电视所需的接口及连接线2.电脑和电视之间长距离连接的解决方法(如书房或卧室电脑如何连接到客厅电视上)3.电脑连接电视后,电脑上的软件设置一、电脑连接电视所需的接口及连接线我们先来介绍一下,电视上需要的接口:VGA口和音频口,其中VGA口用来传电脑图像,音频口用来传电脑声音。
下图蓝色框中的梯形蓝色接口就是VGA口,一般会写有PC或电脑等字样。
下图VGA口左边的黄色框内的耳机接口,是用来连接电脑声音的,该接口一般会写有“PC输入”或“电脑输入”等字样。
有的电视的音频接口是莲花头形状的,这种音频接头在电视上很常见,就像下图中接头顶端是红圈和白圈的这种,一般红色是右声道,白色是左声道。
连接线,你需要准备VGA线和音频线,如下图:准备好了线材,就可以开始连接了,连接就很简单,如下图,用VGA线把电脑的VGA输出和电视的VGA输出接起来,并且用音频线把电脑声卡输出也接到电视的音频输入上。
具体的音频线接头根据你的电视来确定,可能是右上图所示,一头是耳机插头一头是莲花插头,也可能是如下图所示,两头都是耳机插头。
但是根据你电脑显卡的接口类型,你可能会碰到以下两种特别的情况需要注意:1、电脑只有一个VGA口,如某些板载显卡等。
这种情况下,一端接电视的VGA口,另一端接电脑的VGA口,把电视当显示器用,所有操作方法和原来在显示器上的操作方法相同,无需任何软件,也无需做任何设置。
常见音视频信号的类型、传输介质、NBC接头和接线标准教程
具体方法如下:1.剥线同轴电缆由外向内分别为保护胶皮、金属屏蔽网线(接地屏蔽线)、乳白色透明绝缘层和芯线(信号线),芯线由一根或几根铜线构成,金属屏蔽网线是由金属线编织的金属网,内外层导线之间用乳白色透明绝缘物填充,内外层导线保持同轴固称为同轴电缆。
剥线用小刀将同轴电缆外层保护胶皮剥去1.5cm,小心不要割伤金属屏蔽线,再将芯线外的乳白色透明绝缘层剥去0.6cm,使芯线裸露。
2.连接芯线购回的BNC接头由BNC接头本体、屏蔽金属套筒、芯线插针由三件组成,芯线插针用于连接同轴电缆芯线;剥好线后请将芯线插入芯线插针尾部的小孔中,用专用卡线钳前部的小槽用力夹一下,使芯线压紧在小孔中。
可以使用电烙铁焊接芯线与芯线插针,焊接芯线插针尾部的小孔中置入一点松香粉或中性焊剂后焊接,焊接时注意不要将焊锡流露在芯线插针外表面,会导致芯线插针报废。
注意:如果你没有专用卡线钳可用电工钳代替,但需注意一是不要使芯线插针变形太大,二是将芯线压紧以防止接触不良。
3.装配BNC接头连接好芯线后,先将屏蔽金属套筒套入同轴电缆,再将芯线插针从BNC接头本体尾部孔中向前插入,使芯线插针从前端向外伸出,最后将金属套筒前推,使套筒将外层金属屏蔽线卡在BNC接头本体尾部的圆柱体;4.压线保持套筒与金属屏蔽线接触良好,用卡线钳上的六边形卡口用力夹,使套筒形变为六边形。
重复上述方法在同轴电缆另一端制作BNC接头即制作完成。
使用前最好用万用电表检查一下,断路和短路均会导致无法通信,还有可能损坏网卡或集线器。
注意:制作组装式BNC接头需使用小螺丝刀和电工钳,按前述方法剥线后,将芯线插入芯线固定孔,再用小螺丝刀固定芯线,外层金属屏蔽线拧在一起,用电工钳固定在屏蔽线固定套中,最后将尾部金属拧在BNC接头本体上。
制作焊接式BNC接头需使用电烙铁,按前述方法剥线后,只需用电烙铁将芯线和屏蔽线焊接BNC头上的焊接点上,套上硬槊料绝缘套和软槊料尾套即可。
安装视频监控时怎么布线?1.不同的施工环境有不同的要求2.视频线最好不要有接头3.如果有动点的话,控制线最好要减少星型节点4.有强点设备,要根据强电电压保持一定距离(看国标)5.电源线算好电流大小后,选择合适的线经,尽量节省布线6.根据环境情况,配相应的线管BNC焊接方法示意图:第一步:(如下图)将上过锡的屏蔽网和芯线用斜口钳剪断,屏蔽网和芯线分别留长约7mm和3mm。
常见音视频信号类型和接线
1. 复合视频(Composite-Video)- 传输介质:单根带屏蔽的同轴电缆- 传输阻抗:75Ω- 常用接头:BNC接头、莲花(RCA)接头- 接线标准:插针=同轴信号线,外壳公共地=屏蔽网线(下图所示)复合视频2. 超级视频(Super-Video)- 传输介质:两根带屏蔽的同轴电缆- 传输阻抗:75Ω- 常用接头:2×BNC接头、1×4针微型接头- 接线标准:3脚插针=亮度(Y)信号线,4脚插针=色度(C)信号线1脚、2脚公共地=屏蔽网线(下图所示)超级视频3. (RGBHV Video)- 传输介质:3-5根带屏蔽的同轴电缆- 传输阻抗:75Ω- 常用接头:3-5×BNC接头- 接线标准:红色=红基色(R)信号线,绿色=绿基色(G)信号线,蓝色=蓝基色(B)信号线,黑色=行同步(H)信号线,黄色=场同步(V)信号线,公共地=屏蔽网线(下图所示)模拟分量视频4. VGA视频(Video Graphics Array)- 传输介质:11根带屏蔽的同轴电缆- 传输阻抗:75Ω- 常用接头:15针HD型接头- 接线标准:1脚=红基色,2脚=绿基色,3脚=蓝基色,6脚=红色地,7脚=绿色地,8脚=蓝色地,13脚=行同步,14脚=场同步,5脚=自测试,10脚=数字地,4、11、12、15脚=地址码(下图所示)VGA视频5. 工作站视频(IBM PowerPC/Sun Color)- 传输介质:11根带屏蔽的同轴电缆- 传输阻抗:75Ω- 常用接头:13W3接头- 接线标准:A1脚=红基色,A2脚=绿基色,A3脚=蓝基色,5脚=行同步,9脚=场同步,3脚=自测试,4、10脚=数字地,1、2、6、7脚=地址码(下图所示)工作站视频6. 数字串行视频(Signal-Digital Interface)- 传输介质:单根带屏蔽的同轴电缆- 传输阻抗:75Ω- 常用接头:BNC接头- 接线标准:插针=同轴信号线,外壳数字地=屏蔽网线7. 非平衡模拟音频(UnBalance Audio)- 传输介质:单根带屏蔽的同轴电缆- 传输阻抗:高低阻- 常用接头:直型(TRS)接头、莲花(RCA)接头- 接线标准:插针=同轴信号线,外壳公共地=屏蔽网线(下图所示)非平衡模拟音频8. 平衡式模拟音频(Analog Balance Audio)- 传输介质:带屏蔽的双绞电缆- 传输阻抗:600Ω或高低阻- 常用接头:直型(TRS)接头、卡龙(XLR)接头- 接线标准:直插:插针=信号+,中环=信号-,外壳公共地=屏蔽网线卡龙:2脚=信号+,3脚=信号-,1脚公共地=屏蔽网线(下图所示)平衡式模拟音频9. 非平衡数字音频(Digital Unbalance Audio)- 传输介质:单根带屏蔽的同轴电缆或光纤- 传输阻抗:75Ω- 常用接头:BNC接头- 接线标准:插针=同轴信号线,外壳数字地=屏蔽网线10. 平衡式数字音频(Digital Balance Audio)- 传输介质:带屏蔽的双绞电缆- 传输阻抗:110Ω- 常用接头:卡龙(XLR)接头12、数字视频接口数字视频接口国际上标准的数字接口有三种:P&P(Plug&Play)、DFP(Digital Flat Panel)、DVI(Digital Visual Interface)。
SPDIF、SVideo、YCrCb、YPbPr、RGB、VGA区别
SPDIF、S Video、YCrCb、YPbPr、RGB、VGA区别SPDIF、S-Video、YCrCb、YPbPr、RGB、VGA区别2010-07-2211:06SPDIF数字式的音频输出。
SPDIF是SONY、PHILIPS数字音频接口的简称。
就传输方式而言,SPDIF分为输出(SPDIFOUT)和输入(SPDIFIN)两种。
目前大多数的声卡芯片都能够支持SPDIFOUT,但我们需要注意,并不是每一种产品都会提供数码接口。
而支持SPDIFIN的声卡芯片则相对少一些,如:EMU10K1、YMF-744和FM801-AU、CMI8738等。
SPDIFIN在声卡上的典型应用就是CDSPDIF,但也并不是每一种支持SPDIFIN的声卡都提供这个接口。
就传输载体而言,SPDIF又分为同轴和光纤两种,其实他们可传输的信号是相同的,只不过是载体不同,接口和连线外观也有差异。
但光信号传输是今后流行的趋势,其主要优势在于无需考虑接口电平及阻抗问题,接口灵活且抗干扰能力更强。
通过SPDIF接口传输数码声音信号已经成为了新一代PCI声卡普遍拥有的特点。
a、SPDIF是传输通道首先需要特别解释的是,大家不要以为使用SPDIF传输AC-3信号就是AC-3解码,目前民用声卡中还没有一款产品能够支持硬件等级的DolbyDigital解码,SPDIF在此时的功能主要是把数字AC-3信号从声卡传输到解码器。
而那些六声道产品都是模拟5.1和软件解码的产物。
b、数字音箱与数字声卡的关系其次大家可能对依靠同轴SPDIFOUT连接数字式音箱从而实现纯数字音频回放的具体原理不太清楚,接下来笔者为大家简要介绍一下。
前面我们就提到过,声卡的数字模拟转换工作是交给CODEC芯片来完成的。
但是我们的电脑机箱内依然存在着严重的电磁波,D/A、A/D转换仍然会受到比较严重的信号干扰。
许多专业音频录音卡普遍采用将CODEC外置的做法,把数摸转换部分以及各类外部接口等单独做成一个外置盒,以提高音质。
VGA视频信号详解_maik
VGA视频信号详解最近做了一些关于视频的工作,稍微研究了一下V4L2和硬件上的视频知识,其中包括了VGA、component、PAL等信号。
在这里总结一下关于VGA信号波形方面的知识。
在学习VGA的视频输出的时候,很容易就可以从网上找到相关的引脚定义:1 红色视频信号(Red, 75 ohm, 0.7 V p-p)2 绿色视频信号(Green, 75 ohm, 0.7 V p-p)3 蓝色视频信号(Blue, 75 ohm, 0.7 V p-p)4显示器标识信号#2(Monitor ID Bit 2)5地线(Gnd)6红色视频信号地线(Red Gnd)7绿色视频信号地线(Green Gnd)8蓝色视频信号地线(Blue Gnd)9未连接(No Pin)10 同步信号地线(Sync Gnd)11 显示器标识信号#0(Monitor ID Bit 0)12 显示器标识信号#1/SDA(Monitor ID Bit 1 or SDA)13 水平/复合同步信号(Horizontal Sync or Composite Sync)14 垂直同步信号(Vertical Sync)15 显示器标识信号#3/SCL(Monitor ID Bit 3 or SCL)根据上面的定义,可以看出VGA其实就是将我们平常的3基色数据放到了三根模拟信号线中传输。
但是我以前错误地认为水平和垂直同步信号是必须的,但是在这次硬件设计的时候发现,一个TI的公板上的VGA只有3基色信号和地,并且在软件调试的时候可以正常的让液晶显示器显示高清画面,所以上网搜索了一下,才发现了VGA的多种同步方式。
VGA接口根据同步信号的不同可分为下列三种:1.3线同步(绿同步)2.4线同步(3基色信号+复合同步信号)3.5线同步(3基色信号+场行同步信号)首先我先找到了网上较为详细的一篇英文资料:VGA Signal information,大家可以先看看。
用VGA接口发射FM广播信号
⽤VGA接⼝发射FM⼴播信号VGASIGFM radio transmitter using a VGA graphics cardBartek KaniaApril19,2009Contents1What is it?2 2Warning!2 3Requirements2 4The graphics card24.1The sync-signal problem (3)4.2The dot-clock problem (3)4.3Using harmonics (3)4.4Getting the outputs enabled without a connected monitor (3)4.5Usable VGA cards (4)4.6Con?guring your VGA port (4)5How the modulators work55.1The mono modulator (5)5.2The stereo modulator (6)6The programs86.1sig1 (8)6.2monofm (8)6.3stereofm (9)7The sourcecode9 8FAQ1011What is it?A collection of programs to generate FM radio signals in software and then transmit them using a VGAgraphics card.Basically a software radio experiment without having to spend lots of money on radio hardware.2Warning!These programs and this document are for educational purposes only!The author takes no responsibility whatsoever for any problems caused by use of these programs.These programs implement a low power radio transmitter.All countries have regulations regarding use of radio transmitters.It may very well be illegal to use these programs where you live.Make sure to check the laws in your country before running any of these programs.Although modern computers and monitors should have no problem dealing with the signals generated or the very unusual X con?gurations used there might still be a chance that something breaks.You use these programs at your own risk.This is not for everyone.You need a good understanding of C programming,the X window system and a basic understanding of electronics for these programs to be of any use to you.3RequirementsA fast modern computer running Linux or BSD or somesuch.Preferably a dualcore or quadcore.A graphics card that has an analog VGA port.The card needs to be very congurable.Not all cards work,and some cards may require patched drivers.See section4for more info.The sox program.1The SDL media library.2An antenna.34The graphics cardThe VGA card is the main component.The card is responsible for converting the digital representation into an analog signal.VGA cards have high speed DACs4that are used to generate the video signal sent to the monitor.These DACs basically convert the image into an analog signal line by line that is fed into the monitor.This allows us to create a radio signal,display it as an image and have the card convert it to a radio signal for us.1sox is used to preprocess the audio before it gets to the modulator.2SDL is used to output the signal to the X server.3A straight wire about0.7m in length will do?ne.4Digital to Analog Converters.2This all sounds good in theory,however reality isn’t quite as cooperative as one would wish and there are some obstacles to overcome.4.1The sync-signal problemUnfortunately the signal that a monitor needs not only contains the actual image data but also contains things like horizontal and vertical sync pulses and H/V blanking+sync intervals during which the DACs are idle.These things cause trouble for us that want to abuse a VGA card for radio transmission.It is possible to minimize the distortions caused by these signals by making the sync intervals as small as possible.Some cards may even let you turn them off completely.Unfortunately I haven’t found any card that lets you do this yet.To minimize the sync intervals you will need to con?gure custom modelines for your X server.This also has the side effect that you will not be able have a monitor connected to see what you are doing.54.2The dot-clock problemThe next problem to deal with is the dot clock frequency of the VGA card.Some chips let you set this to any frequency you want,and in those cases there is no problem!Just set it to73MHz and use the?rst harmonic to get to the FM band.Or if your computer is fast enough,try setting it to220MHz and set the programs to directly synthesize the correct FM carrier.Some chips can only set their pixel clock in certain increments.For these chips you will need to?nd a dot clockbetween73MHz and87MHz that the card accepts and then use the?rst harmonic to transmit on the FM band.4.3Using harmonicsDACs generate a lot of harmonics.6We can use this property to get our signal up to the FM band if we are unable to directly generate a FM carrier.The signal will be less strong but it will still be receivable within a few meters of your computer.In general,if f d is our dot-clock frequency and f c is the carrier frequency then the harmonics will appear at n f d+f c for all integer values of n.So,if you have a dot-clock frequency of73MHz and a carrier frequency of35MHz then the?rst harmonic will end upat73+35=108MHz which is right at the top of the FM band.Just remember that the dot-clock frequency meeds to be at least twice that of the carrier due to the sampling theorem.4.4Getting the outputs enabled without a connected monitorAll VGA cards I tested have the annoying habit of testing if the monitor is connected before they decide to send a signal out the VGA port.This is a big problem when using the VGA port for radio since the 5This is not100%true...If you have a card with multiple outputs it might let you recon?gure only one output and keep the other connected to your monitor.My laptop with a Intel GM965chip lets me do this.6If you don’t know what harmonics are or how much harmonics DACs generate then I recommend that you stop here,and go ask google a question or two.3card won’t generate a signal.The Intel card in my laptop lets me activate the VGA port using the xrandr command,and will hapily send a signal out of it as long as my laptop monitor is active.Fortunately it also lets me set the VGA port parameters independently from the LCD parameters so this works out?ne.Another Intel card I had in my workstation wasn’t so kind.The driver even refused to let X start unless I had a monitor connected.In the end I was forced to patch the driver so it always thinks the monitor is connected.4.5Usable VGA cardsFrom my own tests and from what I have read the following cards should do the job:Intel GM965for laptops This card works great!You just need to con?gure the VGA port correctly using xrandr and have your laptop monitor active.Intel82G33/G31integrated chip This card works great after the X driver has been patched to think that the monitor is always connected.ATI Radeon9200SE Haven’t tested it myself,but I hear that it will do the job.4.6Con?guring your VGA portThe?rst thing you need to do is decide which resolution you are going to use.If you are using the on-board VGA card in an laptop,or a VGA card that has two ports and a monitor connected to one of the ports then you should use the same resolution as you are using on your monitor.If you are using a separate VGA card for radio,then you can choose any resolution you like,but you should probably choose the highest resolution possible.Next,you need to select a dot-clock frequency.Now you are ready to con?gure the VGA port.You should try to con?gure it to use the minimal possible sync intervals.Below are two examples of how this can be done.Intel GM965laptop chipsetOn my laptop I use1152x864as my screen resolution.I’ve selected73MHz as my dot-clock for this example.Con?guring the VGA port is done using the commands below:xrandr--newmode RadioDAC731152115211521153864864864865xrandr--addmode VGA RadioDACxrandr--output VGA--mode RadioDACThe?rst command sets up a new modeline7,the?rst parameter is the dot-clock,the second is the width of the display,third is the start of the horizontal sync,fourth is the end of the sync and the?fth parameter is the total width including sync pulse.The next four parameters are the same thing but for the vertical dimension.7If you don’t know how X11modelines work then you need to read some manuals?rst4The HTOTAL value in the above example is1153,which is the lowest that I could set on my card and still get a signal out of it.This causes us to loose about a pixel to the horizontal sync,which isn’t that bad.The VTOTAL value is also just one more than the height of the display.Unfortunately this causes us to loose an entire scanline and will certainly cause some signal distortion.I have not found any way around this.Intel82G33/G31integrated pci-e chipSince I have no monitor connected to this card I use the maximum resolution of2048x2048.I use a 73MHz dotclock here aswell.The commands for this con?guration are the same as the previous,with the only difference being the larger resolution. xrandr--newmode RadioDAC7320482048204820492048204820482049xrandr--addmode VGA RadioDACxrandr--output VGA--mode RadioDAC5How the modulators workThe FM broadcasts,as the name implies,use frequency modulation.If you don’t understand how fre-quency modulation works then you might want to check out[5]before continuing.FM radio transmitters modulate a carrier in the frequency range of87.5–108MHz with a baseband audio signal that hasa15kHz bandwidth.The frequency shift is75kHz,so the transmitted signal frequency varies between75kHz below the carrier frequency to75kHz above the carrier frequency.For stereo FM transmission the modulation itself remains the same,but the baseband signal is no longera simple audio signal.It is instead a composite of the15kHz mono audio(Left+Right channel),a19kHzpilot signal and a15kHz difference signal(Left-Right channel)modulated using DSB-SC on a38kHz subcarrier.This composite signal is then frequency modulated as for the mono case.The result is that the signal is fully compatible with old mono receivers.For more information on FM broadcasts see[6]5.1The mono modulatorThe mono FM modulator is a straight-forward implementation of basic fm modulation.An overview of the structure is in?gure1.Figure1:Mono modulator structure5Resampler and lowpass?lterFM broadcasts use a15kHz audo bandwith so we?rst need to low-pass?lter the audio to15kHz and resample itto30kSPS8which is the lowest possible sample rate needed to represent15kHz.This processing is done using the sox program in a separate thread so we don’t have to do it ourselves.Baseband modulatorThe30kSPS signal is then processed by the baseband modulator,whose sole function is to convert each sample to the frequency used to represent it in the radio signal.The modulator?rst converts the sample from signed16bit integers to a real valued sample in the range [-1,1]and then calculates the frequency used to represent this sample in the radio signal according to the formula below:F t=m t?f?+f c(1) Where F t is the radio frequency,m t is the sample value,f?is75kHz9and f c is the carrier frequency. The reason this is done at this point is because of the lower sampling rate of the baseband signal,this leaves more processor power over when the real radio signal is generated.NCOThis is just a Numerically Controlled Oscillator10that generates a radio signal of a given frequency.The previous sentence is just a fancy way to describe a sine wave generator.In these particular programs the NCO also implements a very simple interpolation?lter and upsampler so it can accepta30kHz baseband signal to modulate a carrier at a signi?cantly higher sample rate. This oscillator operates at the dot-clock frequency,and must be very fast for the CPU to be able to cope. The output of this block are the samples of the radio signal,which in this particular case are the pixel lightness values in the“image”.SDL+VGAIn this last block the signal is simply rendered as an image into a SDL surface and“displayed”using the VGA card.The samples(or pixel values)have already been generated by the NCO.5.2The stereo modulatorThe stereo modulator is very similar in structure to the mono modulator.The main difference is the addition of a stereo encoder and pilot signal generator.Figure2shows the structure of this modulator. Resampler and lowpass?lterAs in the mono modulator the signal needs to be?ltered to15kHz and resampled.In the stereo modulator this is done for both the right and left channels.8SPS=Samples Per Second.9The broadcast FM frequency shift10Also known as DDS which stands for Direct Digital Synthesizer6Figure2:Stereo modulator structureFor stereo modulation we need a higher baseband sampling rate to accomodate the stereo pilot and sub-carrier,so the signal is resampled to110kHz instead of30kHz.Like in the mono modulator sox is used for this block.Sum and Difference signalsFor stereo modulation to be compatible with mono receivers the modulator actually creates a mono signal by adding the left and right channels.This is the L+R signal in the?gure.The modulator also creates a difference signal that the receiver will use to reconstruct the left and right channel.This is the L-R signal in the?gure.Pilot generatorA19kHz pilot signal is used to indicate to the receiver that this radio signal contains stereo information. The19kHz signal is also phase-locked to the38kHz stereo subcarrier to aid the receiver in correctly demodulating the difference signal.Stereo subcarrier generatorThis is a38kHz NCO/DDS that is phase locked to the19kHz pilot signal.All this“phase-locked”stuff might sound complicated,but it basically just means that both oscillators were started at the same time and run in parallell.7Stereo subcarrier modulationThe38kHz carrier is modulated using DSB-SC11with the difference signal.DSB-SC modulation is quite simple and can be described with the following formula:s t=m t?c t(2) Where s t is the output sample of the modulator,m t is a sample of the L-R difference signal and c t is a sample of the38kHz subcarrier.Signal combinationTo create the composite baseband signal the three signals described above are simply added together.The pilot signal is multiplied by0.1since the pilot signal level should only be10%of the signal power.The resulting sample is then scaled by a constant so that it is within[-1,1]before being sent to the baseband modulator. Baseband modulatorThe base band modulator does exactly the same as it did in the mono modulator.The only difference is that the baseband signal has a higher sample rate.NCO+SDL+VGAThese are identical to the ones in the mono modulator.6The programs6.1sig1This program was the?rst attempt at generating an FM signal.The only thing it does is generate a.pgm image of an FM mono signal modulated with a tone of a given frequency.No parameters are accepted by this program.To change the parameters of the generated signal the #define s at the beginning of sig1.c must be changed and the program recompiled.If you want to understand how these programs work then this is the obvious place to start.6.2monofmThe monofm program implements the mono modulator described in section5.1.The program accepts the following parameters:-r Dot-Clock frequency.-c Carrier frequency.-w Width of display.11Double SideBand Suppressed Carrier8-W Optional HTOTAL value for VGA port.Defaults to width+1.-h Height of display.-H Optional VTOTAL value for VGA port.Defaults to height+1.-f Filename of audio?le.Defaults to“tst.mp3”An example invocation:./monofm-r73000000-c35000000-w2048-h2048-f tst.mp36.3stereofmstereofm implements the stereo modulator described in section5.2.It accepts the same parameters as monofm.An example invocation:./stereofm-r73000000-c35000000-w2048-h2048-f tst.mp37The sourcecodeThis section will give you a short walk-through of the source code for the monofm and stereofm/doc/1355ba1cc281e53a5802ff03.html e the modulator description in section5as a functional reference. The programs are written to be fast so they can be used in real time.Because of this the source is not always readable and is not really a good example of how to write well structured C programs.Please keep this in mind when checking out the source.dds1.h and dds2.hThese two?les contain a fast approximate DDS signal generator based on a lookup table with sine func-tion values.The dds in dds1.h uses a linear interpolation to approximate sample values that fall in between entries in the lookup table giving it slightly better precision compared to dds2.h that just returns the value closest to the phase of the signal.However the generator in dds2.h is faster.fmdds.hfmdds.h extends the generator in dds2.h by adding a slope factor that skews the frequency a bit after every sample.This is useful since the generator is fed with a baseband signal at a signi?cantly lower sample rate.The slope acts as a very ef?cient and quite good low-pass interpolation?lter.fmmain.hThe main()function of the mono and stereo modulators is contained here.It only parses command line options and then starts the modulator.9monofm.cThe mono baseband modulator is contained in the function baseband_mod.It runs in it’s own thread so as to take advantage of multicore CPUs.The baseband modulator opens a pipe to sox and receives samples that it converts to a frequency and slope.These parameters are stored in two ring buffers freqbuf and slopebuf that are read by the NCO when generating the radio signal.stereofm.cThis?le contains the pilot signal generator,stereo encoder and baseband modulator all packed together in thebaseband_mod function.First a sample from both the left and right channels is read from the pipe to sox.Then the sum and difference signals are calculated and a composite sample is created.This sample is then converted into a frequency and slope which are saved in the ring buffers.fm.hThis?le contains the function modulate_sample which is the one that actually does the baseband mod-ulation and stuf?ng of samples into ring buffers.It also contains the function fmsignal which reads the ring buffers and creates the actual radio signal.The function loops over the pixels and lines of a VGA frame and calculates the sample value(pixel lightness)for each sample in the radio signal.It reads the frequency and slope information from the ring buffers when it needs it during signal generation.When the frame is?nished it waits the apropriate amount of time and then instructs the VGA card to display it.After that it starts generating the next frame.This function runs in its own thread.8FAQQ:WhyA:Why not?Q:What distortions can I expect due to the sync intervals?A:The horizontal sync intervals are so short,and so high in frequency that you shouldn’t hear them.They will probably cause some HF distortion in the radio wave though.The vertical sync intervals are a bigger problem.They will cause static or humming10with the same frequency as the framerate.Unfortunately this is usually very audible.Q:Can you disable the sync intervals entirely?A:I don’t know.I haven’t managed it yet.If you succeed please email me how you did it and what VGA card you used. Q:Why are there no mutexes to avoid problems with the ring buffers?A:Because they are not needed.The thread writing data to the ring buffers is much faster than the thread that reads thedata.So it only needs to?ll the buffer up when the signal generator has consumed data,and then when the buffer is full it just waits a while for more data to be consumed.References[1]Lyons,Richard G.“Understanding Digital Signal Processing”[2]Couch,Leon W.“Digital and Analog Communication systems”[3]Analog and Digital TV(DVB-T)Signal Generation:/doc/1355ba1cc281e53a5802ff03.html /dvbt/[4]Tempest for Eliza:http://www.erikyyy.de/tempest/[5]Wikipedia:“Frequency Modulation”/doc/1355ba1cc281e53a5802ff03.html/wiki/Frequency_modulation[6]Wikipedia:“FM Broadcasting”/doc/1355ba1cc281e53a5802ff03.html /wiki/FM_broadcasting 11。
基于stm32的广播音频vga显示方案设计
视听 2020.0335技术研发与应用一、引言目前在贵港转播台值班房,值班员通常使用收音机监听台站发射的广播节目。
现台站同时发射5套调频广播节目,由于多套节目的声音混淆在一起,因此不容易分辨每套节目是否正常。
为保证安播,机房值班人员提出能否将广播节目音频在电视墙显示监看的想法。
鉴于目前市场上类似的设备较少,较难采购功能符合需求的设备,因此本文使用STM32单片机作用主控,设计了一套广播音频可视化显示方案。
将多路模拟广播节目音频电压信号通过VGA 接口,接显示器在电视墙上进行可视化监看。
实现了当值班员在监视电视节目时,也可以同时监视多路广播节目是否正常,较有效提高了台站广播节目的安全播出效果。
二、整体方案设计本方案的整体设计框图如图1所示。
前端使用广播调谐器或收音头接收台站发射的5套广播节目,解调输出的左、右声道,共10路模拟音频电压信号,输入信号调理电路。
信号调理电路主要作用是把信号调整到0V-3.3V 之间(即单片机的A/D 采样电压范围内)。
然后分别输入到STM32单片机的模数转换器ADC 通道1至通道10。
单片机的ADC 工作于扫描模式,对10个ADC 通道进行轮询扫描转换。
为提高效率,使用单片机的DMA 控制器,将ADC 转换的结果传到RAM 中,以便软件调用。
Micro SD 卡主要作用是存储背景图片和字库数据,单片机完成ADC 数据处理后,单片机通过内部静态存储控制器(FSMC),控制16位并行数据总线把要显示的图像像素RGB 数据,写入到VGA 显卡的显存里。
VGA 显卡自动完成读取显存内的图像数据,并经数模转换成模拟RGB 信号,加入VGA 控制时序信号,输出到VGA 接口,实现显示器实时显示5套广播音频信号的功能。
三、硬件设计(一)单片机与ADC 引脚分配根据系统要求,STM32F 系列是一款基于Cortex-M3内核的ARM 微控制器,芯片具有16个ADC 输入引脚,同时具有静态存储控制器(FSMC),可以快速对外部的SRAM,NAND FLASH,NOR FLASH 和PSRAM 等存储器进行快速读写。
安信宝 VGA分发器-Cat5e 6分发器带音频1-输入2-输出说明书
ManualVGA Distributor over Cat5e/6 with Audio1-In / 2-OutNOTE: Model numbers that end with “Q” or products that have a round green “Q” sticker signify RoHS compliance.MVD-V1201-1QDistributes a video signal on both a primary and secondary displayExtends VGA cable range up to 459’ (140m) usingCat5e/6 at 1920x1200 resolution Allows for Gain and Peak adjustmentENFORCER VGA Extender over Cat5e/6 with Audio, 1-In 2-OutSECO-LARM U.S.A., Inc.Features:The MVD-V1201-1Q is the perfect device for playing video and audio in both local and remote locations. The MVD-V1201-1Q not only extends the range of traditional VGA cabling methods up to 984’ (300m), but it also transmits to one local and one remote station. The ability to transmit to a remote secondary display makes the MVD-V1201-1Q ideal for video playback in security, business, digital signage, and classroom settings.Dual output allows for playback on both a local display and a remote secondary display. Extends VGA and stereo audio signals up to 459’ (140m) over one UTP C at5e/6 at 1920x1200 resolution. Extends up to 984’ (300m) with 640x480 resolution.Allows for Gain and Peak adjustment to adapt to different UTP cable lengths. Use Gain for brightness adjustment and Peak for skew adjustment.The MVD-V1201-1Q comes as complete set consisting of a transmitter and receiver. Works with computer monitors and other VGA display units.Dimensions:Introduction:1 x Transmitter4 x Mounting screws1 x Manual2 x 5VDC power adapters 2 x Mounting brackets1”(25.5mm)Parts list:ENFORCER VGA Extender over Cat5e/6 with Audio, 1-In 2-OutSECO-LARM U.S.A., Inc.Installation:Sample Application:Overview:Mounting screws 1. Determine the location where the MVD-V1201-1Q will be wired as well as how much Cat5e/6 cable will be necessary. 2. Connect the VGA source to the transmitter’s VGA Input using a VGA cable.3. Connect the audio source to the transmitter’s Audio In using a 1/8” TRS mini -headphone patch cable.4. Connect a local display to the transmitter’s VGA Output using a VGA cable.5. Connect a local audio output device to the transmitter’s Audio Out using a 1/8” TRS mini -headphone patch cable.6. Connect a Cat5e/6 cable between the receiver and transmitter units.7. Connect a second ary display to the receiver’s VGA output using a VGA cable.8. Connect a secondary audio output device to the receiver’s Audio Out using a 1/8” TRS mini -headphone patch cable. 9.Connect one 5VDC adapter to the transmitter and one to the receiver.10. If necessary, use a screwdriver to adjust the Gain and Peak on the side of the receiver.11.If necessary, mount the transmitter to a wall or other surface using mounting brackets and mounting screws.*Replacement receivers are available for order: MVD-V1101-1RQ. Transmitters may not be purchased separately.RearTop Mounting HolesFront TopENFORCER VGA Extender over Cat5e/6 with Audio, 1-In 2-OutSECO-LARM U.S.A., Inc.TroubleshootingWARRANTY This SECO-LARM product is warranted against defects in material and workmanship while used in normal service for a period of one (1) year from the date of sale to the original consumer customer. SECO-LARM’s obligation is limited to the repair or replacement of any defective part if the unit is returned, transportation prepaid, to SECO-LARM. This Warranty is void if damage is caused by or attributed to acts of God, physical or electrical misuse or abuse, neglect, repair, or alteration, improper or abnormal usage, or faulty installation, or if for any other reason SECO-LARM determines that such equipment is not operating properly as a result of causes other than defects in material and workmanship.The sole obligation of SECO-LARM, and the purchaser’s exclusive remedy, shall be limited to replacement or repair only, at SECO-LARM’s option. In no event shall SECO -LARM be liable for any special, collateral, incidental, or consequential personal or property damages of any kind to the purchaser or anyone else.NOTICE: The information and specifications printed in this manual are current at the time of publication. However, the SECO-LARM policy is one of continual development and improvement. For this reason, SECO-LARM reserves the right to change specifications without notice. SECO-LARM is also not responsible for misprints or typographical errors. Copyright © 2010 SECO-LARM U.S.A., Inc. All rights reserved. This material may not be reproduced or copied, in whole or in part, without the written permission of SECO-LARM.SECO-LARM ®U.S.A., Inc. 16842 Millikan Avenue, Irvine, CA 92606Website: Tel: 800-662-0800 / 949-261-2999 Fax: 949-261-7326E-mail: sales @mi-MVD-V1201-1Q_1005.docxPICCN3Products Available from SECO-LARM :Reduce cable length.Replace with a higher-grade cable. MVD-V1201-1Q works with Cat5, butCat5e and Cat6 allow for maximum range. Adjust gain and peak.Check to make sure one power supply is connected to the transmitter andanother is connected to the receiver.Check the power supplies of all devices connected to the extender.Make sure the extender is powered on both sides. Make sure the source and displays are powered.Make sure the transmitter and receiver are plugged into the correct unitsImage is weak, faded, or blankVGA to HDMI ConverterHDMI CablesAudio BalunsHDMI SwitcherHDMI over Cat5e/6Component Video BalunsOver Cat5e/6。
VGA接口信号说明
VGA接口信号说明VGA接口信号说明.txt∞-一人行,必会发情二人行,必会激情三人行,必有奸情就不会被珍惜。
真实的女孩不完美,完美的女孩不真实。
得之坦然,失之淡然,顺其自然,争其必然。
二、VGA接口信号说明1.HSYNC (O) CRT Horizontal Synchronization(水平同步信号) )这个信号主要提供CRT水平扫描的信号。
2.VSYNC (O) CRT Vertical Synchronization(垂直同步信号)这个信号主要提供CRT垂直扫描的信号3.RED (O) RED analog video output(红色模拟信号输出)这个信号主要为CRT提供红基色模拟视频信号。
4.GREEN (O) Green analog video output(绿色模拟信号输出)这个信号主要为CRT提供绿基色模拟视频信号。
5.BLUE (O) Blue analog video output(蓝色模拟信号输出)这个信号主要为CRT提供蓝基色模拟视频信号。
6.REFSET (I) Resistor Set(电阻设置)这个信号将会连接一颗电阻到地,主要用于内部颜色调色板DAC。
这颗电阻的阻值一般为169奥姆,精度为1%。
7.DDCA_CLK (I/O) Analog DDC Clock这个信号连接NB(北桥)与显示器,这个Clock属于I²C接口,它与DDCA_DATA 组合使用,用于读取显示器的数据。
8.DDCA_DATA (I/O) Analog DDC Clock这个信号连接NB(北桥)与显示器,这个Data与Clock 一样也属于I²C接口,它与DDCA_CLK组合使用,用于读取显示器的数据。
三、AGP接口信号说明1.GPIPE# (I/O) Pipelined Read(流水线读)这个信号由当前的Master来执行,它可以使用在AGP 2.0模式,但不能在AGP 3.0的规范使用。
广播信号发布方案
广播信号发布方案引言广播信号发布是广播电视传输领域的一块非常重要的领域,涉及到广播电视节目的信号发送、分发和接收,因此需要一个可靠、高效的广播信号发布方案。
在这篇文档中,我们将介绍一种可行的广播信号发布方案,旨在为广大广播电视从业人员和技术爱好者提供一个参考和借鉴。
方案背景在传统的广播电视领域,基于卫星、电缆、ATSC、DVB-T/C/S 等传输方式被广泛使用。
随着互联网及网络技术的发展,越来越多的广播电视媒体开始采用 IP 网络传输方式(如 IPTV、流媒体等)来进行广播电视节目的分发和播放。
技术实现广播电视节目的信号发布方案需要考虑到信号发送、分发和接收方面,其中 IP 网络传输的关键技术是流媒体协议。
常见的流媒体协议有 RTSP、RTMP、HLS、DASH 等,其中 HLS 协议是苹果公司推出的适用于 HTTP 协议的一种流媒体协议,它通过将多个小分片的流经由HTTP 协议传递,实现对流式媒体内容的传输和播放。
HLS 协议具有延迟小、适用性强、兼容性好、易于扩展等优点,是目前广播电视分发领域比较流行的协议之一。
另外,配合流媒体协议,为了达到更佳的服务质量(QoS)和用户体验,可选择高带宽、低延迟的物理媒介,如光纤、跨校园网等,还可以采用增加缓存、调整码流、质量控制、ISP 优化等技术手段来实现优化效果和降低成本。
典型应用以广播电视从业者为例,我们可以考虑如下的方案:1.首先,需要一套高性能、低延迟的流媒体推送服务器进行节目信号的发布。
2.其次,需要配合使用 CDN 实现节目信号的分发。
CDN 是一种通过在分布式节点上存储缓存数据和节点之间的负载均衡技术,实现有效的视频流分发的技术手段。
3.使用 H.264 或 HEVC 编码等视频编码格式,配合 AAC、MP3 等音频编码格式,实现对视频、音频信号的压缩和编码。
4.配合强大的编解码器和相应的远程终端播放器,实现对广播电视节目的接收和播放。
总结广播电视节目的信号发布方案是广播电视行业中的关键技术之一,需要综合考虑多个因素,如传输方式、协议、带宽、延迟、质量、成本等。
- 1、下载文档前请自行甄别文档内容的完整性,平台不提供额外的编辑、内容补充、找答案等附加服务。
- 2、"仅部分预览"的文档,不可在线预览部分如存在完整性等问题,可反馈申请退款(可完整预览的文档不适用该条件!)。
- 3、如文档侵犯您的权益,请联系客服反馈,我们会尽快为您处理(人工客服工作时间:9:00-18:30)。
VGASIGFM radio transmitter using a VGA graphics cardBartek Kania<mrbk@>April19,2009Contents1What is it?2 2Warning!2 3Requirements2 4The graphics card24.1The sync-signal problem (3)4.2The dot-clock problem (3)4.3Using harmonics (3)4.4Getting the outputs enabled without a connected monitor (3)4.5Usable VGA cards (4)4.6Configuring your VGA port (4)5How the modulators work55.1The mono modulator (5)5.2The stereo modulator (6)6The programs86.1sig1 (8)6.2monofm (8)6.3stereofm (9)7The sourcecode9 8FAQ1011What is it?A collection of programs to generate FM radio signals in software and then transmit them using a VGAgraphics card.Basically a software radio experiment without having to spend lots of money on radio hardware.2Warning!These programs and this document are for educational purposes only!The author takes no responsibility whatsoever for any problems caused by use of these programs.These programs implement a low power radio transmitter.All countries have regulations regarding use of radio transmitters.It may very well be illegal to use these programs where you live.Make sure to check the laws in your country before running any of these programs.Although modern computers and monitors should have no problem dealing with the signals generated or the very unusual X configurations used there might still be a chance that something breaks.You use these programs at your own risk.This is not for everyone.You need a good understanding of C programming,the X window system and a basic understanding of electronics for these programs to be of any use to you.3Requirements•A fast modern computer running Linux or BSD or somesuch.Preferably a dualcore or quadcore.•A graphics card that has an analog VGA port.The card needs to be very configurable.Not all cards work,and some cards may require patched drivers.See section4for more info.•The sox program.1•The SDL media library.2•An antenna.34The graphics cardThe VGA card is the main component.The card is responsible for converting the digital representation into an analog signal.VGA cards have high speed DACs4that are used to generate the video signal sent to the monitor.These DACs basically convert the image into an analog signal line by line that is fed into the monitor.This allows us to create a radio signal,display it as an image and have the card convert it to a radio signal for us.1sox is used to preprocess the audio before it gets to the modulator.2SDL is used to output the signal to the X server.3A straight wire about0.7m in length will dofine.4Digital to Analog Converters.2This all sounds good in theory,however reality isn’t quite as cooperative as one would wish and there are some obstacles to overcome.4.1The sync-signal problemUnfortunately the signal that a monitor needs not only contains the actual image data but also contains things like horizontal and vertical sync pulses and H/V blanking+sync intervals during which the DACs are idle.These things cause trouble for us that want to abuse a VGA card for radio transmission.It is possible to minimize the distortions caused by these signals by making the sync intervals as small as possible.Some cards may even let you turn them off completely.Unfortunately I haven’t found any card that lets you do this yet.To minimize the sync intervals you will need to configure custom modelines for your X server.This also has the side effect that you will not be able have a monitor connected to see what you are doing.54.2The dot-clock problemThe next problem to deal with is the dot clock frequency of the VGA card.Some chips let you set this to any frequency you want,and in those cases there is no problem!Just set it to73MHz and use thefirst harmonic to get to the FM band.Or if your computer is fast enough,try setting it to220MHz and set the programs to directly synthesize the correct FM carrier.Some chips can only set their pixel clock in certain increments.For these chips you will need tofind a dot clock between73MHz and87MHz that the card accepts and then use thefirst harmonic to transmit on the FM band.4.3Using harmonicsDACs generate a lot of harmonics.6We can use this property to get our signal up to the FM band if we are unable to directly generate a FM carrier.The signal will be less strong but it will still be receivable within a few meters of your computer.In general,if f d is our dot-clock frequency and f c is the carrier frequency then the harmonics will appear at n f d+f c for all integer values of n.So,if you have a dot-clock frequency of73MHz and a carrier frequency of35MHz then thefirst harmonic will end up at73+35=108MHz which is right at the top of the FM band.Just remember that the dot-clock frequency meeds to be at least twice that of the carrier due to the sampling theorem.4.4Getting the outputs enabled without a connected monitorAll VGA cards I tested have the annoying habit of testing if the monitor is connected before they decide to send a signal out the VGA port.This is a big problem when using the VGA port for radio since the 5This is not100%true...If you have a card with multiple outputs it might let you reconfigure only one output and keep the other connected to your monitor.My laptop with a Intel GM965chip lets me do this.6If you don’t know what harmonics are or how much harmonics DACs generate then I recommend that you stop here,and go ask google a question or two.3card won’t generate a signal.The Intel card in my laptop lets me activate the VGA port using the xrandr command,and will hapily send a signal out of it as long as my laptop monitor is active.Fortunately it also lets me set the VGA port parameters independently from the LCD parameters so this works outfine.Another Intel card I had in my workstation wasn’t so kind.The driver even refused to let X start unless I had a monitor connected.In the end I was forced to patch the driver so it always thinks the monitor is connected.4.5Usable VGA cardsFrom my own tests and from what I have read the following cards should do the job:Intel GM965for laptops This card works great!You just need to configure the VGA port correctly using xrandr and have your laptop monitor active.Intel82G33/G31integrated chip This card works great after the X driver has been patched to think that the monitor is always connected.ATI Radeon9200SE Haven’t tested it myself,but I hear that it will do the job.4.6Configuring your VGA portThefirst thing you need to do is decide which resolution you are going to use.If you are using the on-board VGA card in an laptop,or a VGA card that has two ports and a monitor connected to one of the ports then you should use the same resolution as you are using on your monitor.If you are using a separate VGA card for radio,then you can choose any resolution you like,but you should probably choose the highest resolution possible.Next,you need to select a dot-clock frequency.Now you are ready to configure the VGA port.You should try to configure it to use the minimal possible sync intervals.Below are two examples of how this can be done.Intel GM965laptop chipsetOn my laptop I use1152x864as my screen resolution.I’ve selected73MHz as my dot-clock for this example.Configuring the VGA port is done using the commands below:xrandr--newmode RadioDAC731152115211521153864864864865xrandr--addmode VGA RadioDACxrandr--output VGA--mode RadioDACThefirst command sets up a new modeline7,thefirst parameter is the dot-clock,the second is the width of the display,third is the start of the horizontal sync,fourth is the end of the sync and thefifth parameter is the total width including sync pulse.The next four parameters are the same thing but for the vertical dimension.7If you don’t know how X11modelines work then you need to read some manualsfirst4The HTOTAL value in the above example is1153,which is the lowest that I could set on my card and still get a signal out of it.This causes us to loose about a pixel to the horizontal sync,which isn’t that bad.The VTOTAL value is also just one more than the height of the display.Unfortunately this causes us to loose an entire scanline and will certainly cause some signal distortion.I have not found any way around this.Intel82G33/G31integrated pci-e chipSince I have no monitor connected to this card I use the maximum resolution of2048x2048.I use a 73MHz dotclock here aswell.The commands for this configuration are the same as the previous,with the only difference being the larger resolution.xrandr--newmode RadioDAC7320482048204820492048204820482049xrandr--addmode VGA RadioDACxrandr--output VGA--mode RadioDAC5How the modulators workThe FM broadcasts,as the name implies,use frequency modulation.If you don’t understand how fre-quency modulation works then you might want to check out[5]before continuing.FM radio transmitters modulate a carrier in the frequency range of87.5–108MHz with a baseband audio signal that has a15kHz bandwidth.The frequency shift is75kHz,so the transmitted signal frequency varies between75kHz below the carrier frequency to75kHz above the carrier frequency.For stereo FM transmission the modulation itself remains the same,but the baseband signal is no longera simple audio signal.It is instead a composite of the15kHz mono audio(Left+Right channel),a19kHzpilot signal and a15kHz difference signal(Left-Right channel)modulated using DSB-SC on a38kHz subcarrier.This composite signal is then frequency modulated as for the mono case.The result is that the signal is fully compatible with old mono receivers.For more information on FM broadcasts see[6]5.1The mono modulatorThe mono FM modulator is a straight-forward implementation of basic fm modulation.An overview of the structure is infigure1.Figure1:Mono modulator structure5Resampler and lowpassfilterFM broadcasts use a15kHz audo bandwith so wefirst need to low-passfilter the audio to15kHz and resample it to30kSPS8which is the lowest possible sample rate needed to represent15kHz.This processing is done using the sox program in a separate thread so we don’t have to do it ourselves.Baseband modulatorThe30kSPS signal is then processed by the baseband modulator,whose sole function is to convert each sample to the frequency used to represent it in the radio signal.The modulatorfirst converts the sample from signed16bit integers to a real valued sample in the range [-1,1]and then calculates the frequency used to represent this sample in the radio signal according to the formula below:F t=m t∗f∆+f c(1) Where F t is the radio frequency,m t is the sample value,f∆is75kHz9and f c is the carrier frequency. The reason this is done at this point is because of the lower sampling rate of the baseband signal,this leaves more processor power over when the real radio signal is generated.NCOThis is just a Numerically Controlled Oscillator10that generates a radio signal of a given frequency.The previous sentence is just a fancy way to describe a sine wave generator.In these particular programs the NCO also implements a very simple interpolationfilter and upsampler so it can accept a30kHz baseband signal to modulate a carrier at a significantly higher sample rate. This oscillator operates at the dot-clock frequency,and must be very fast for the CPU to be able to cope. The output of this block are the samples of the radio signal,which in this particular case are the pixel lightness values in the“image”.SDL+VGAIn this last block the signal is simply rendered as an image into a SDL surface and“displayed”using the VGA card.The samples(or pixel values)have already been generated by the NCO.5.2The stereo modulatorThe stereo modulator is very similar in structure to the mono modulator.The main difference is the addition of a stereo encoder and pilot signal generator.Figure2shows the structure of this modulator. Resampler and lowpassfilterAs in the mono modulator the signal needs to befiltered to15kHz and resampled.In the stereo modulator this is done for both the right and left channels.8SPS=Samples Per Second.9The broadcast FM frequency shift10Also known as DDS which stands for Direct Digital Synthesizer6Figure2:Stereo modulator structureFor stereo modulation we need a higher baseband sampling rate to accomodate the stereo pilot and sub-carrier,so the signal is resampled to110kHz instead of30kHz.Like in the mono modulator sox is used for this block.Sum and Difference signalsFor stereo modulation to be compatible with mono receivers the modulator actually creates a mono signal by adding the left and right channels.This is the L+R signal in thefigure.The modulator also creates a difference signal that the receiver will use to reconstruct the left and right channel.This is the L-R signal in thefigure.Pilot generatorA19kHz pilot signal is used to indicate to the receiver that this radio signal contains stereo information. The19kHz signal is also phase-locked to the38kHz stereo subcarrier to aid the receiver in correctly demodulating the difference signal.Stereo subcarrier generatorThis is a38kHz NCO/DDS that is phase locked to the19kHz pilot signal.All this“phase-locked”stuff might sound complicated,but it basically just means that both oscillators were started at the same time and run in parallell.7Stereo subcarrier modulationThe38kHz carrier is modulated using DSB-SC11with the difference signal.DSB-SC modulation is quite simple and can be described with the following formula:s t=m t∗c t(2) Where s t is the output sample of the modulator,m t is a sample of the L-R difference signal and c t is a sample of the38kHz subcarrier.Signal combinationTo create the composite baseband signal the three signals described above are simply added together.The pilot signal is multiplied by0.1since the pilot signal level should only be10%of the signal power.The resulting sample is then scaled by a constant so that it is within[-1,1]before being sent to the baseband modulator.Baseband modulatorThe base band modulator does exactly the same as it did in the mono modulator.The only difference is that the baseband signal has a higher sample rate.NCO+SDL+VGAThese are identical to the ones in the mono modulator.6The programs6.1sig1This program was thefirst attempt at generating an FM signal.The only thing it does is generate a.pgm image of an FM mono signal modulated with a tone of a given frequency.No parameters are accepted by this program.To change the parameters of the generated signal the #define s at the beginning of sig1.c must be changed and the program recompiled.If you want to understand how these programs work then this is the obvious place to start.6.2monofmThe monofm program implements the mono modulator described in section5.1.The program accepts the following parameters:-r Dot-Clock frequency.-c Carrier frequency.-w Width of display.11Double SideBand Suppressed Carrier8-W Optional HTOTAL value for VGA port.Defaults to width+1.-h Height of display.-H Optional VTOTAL value for VGA port.Defaults to height+1.-f Filename of audiofile.Defaults to“tst.mp3”An example invocation:./monofm-r73000000-c35000000-w2048-h2048-f tst.mp36.3stereofmstereofm implements the stereo modulator described in section5.2.It accepts the same parameters as monofm.An example invocation:./stereofm-r73000000-c35000000-w2048-h2048-f tst.mp37The sourcecodeThis section will give you a short walk-through of the source code for the monofm and stereofm e the modulator description in section5as a functional reference.The programs are written to be fast so they can be used in real time.Because of this the source is not always readable and is not really a good example of how to write well structured C programs.Please keep this in mind when checking out the source.dds1.h and dds2.hThese twofiles contain a fast approximate DDS signal generator based on a lookup table with sine func-tion values.The dds in dds1.h uses a linear interpolation to approximate sample values that fall in between entries in the lookup table giving it slightly better precision compared to dds2.h that just returns the value closest to the phase of the signal.However the generator in dds2.h is faster.fmdds.hfmdds.h extends the generator in dds2.h by adding a slope factor that skews the frequency a bit after every sample.This is useful since the generator is fed with a baseband signal at a significantly lower sample rate.The slope acts as a very efficient and quite good low-pass interpolationfilter.fmmain.hThe main()function of the mono and stereo modulators is contained here.It only parses command line options and then starts the modulator.9monofm.cThe mono baseband modulator is contained in the function baseband_mod.It runs in it’s own thread so as to take advantage of multicore CPUs.The baseband modulator opens a pipe to sox and receives samples that it converts to a frequency and slope.These parameters are stored in two ring buffers freqbuf and slopebuf that are read by the NCO when generating the radio signal.stereofm.cThisfile contains the pilot signal generator,stereo encoder and baseband modulator all packed together in the baseband_mod function.First a sample from both the left and right channels is read from the pipe to sox.Then the sum and difference signals are calculated and a composite sample is created.This sample is then converted into a frequency and slope which are saved in the ring buffers.fm.hThisfile contains the function modulate_sample which is the one that actually does the baseband mod-ulation and stuffing of samples into ring buffers.It also contains the function fmsignal which reads the ring buffers and creates the actual radio signal.The function loops over the pixels and lines of a VGA frame and calculates the sample value(pixel lightness)for each sample in the radio signal.It reads the frequency and slope information from the ring buffers when it needs it during signal generation.When the frame isfinished it waits the apropriate amount of time and then instructs the VGA card to display it.After that it starts generating the next frame.This function runs in its own thread.8FAQQ:Why?!?A:Why not?Q:What distortions can I expect due to the sync intervals?A:The horizontal sync intervals are so short,and so high in frequency that you shouldn’t hear them.They will probably cause some HF distortion in the radio wave though.The vertical sync intervals are a bigger problem.They will cause static or humming10with the same frequency as the framerate.Unfortunately this is usually very audible.Q:Can you disable the sync intervals entirely?A:I don’t know.I haven’t managed it yet.If you succeed please email me how you did it and what VGA card you used.Q:Why are there no mutexes to avoid problems with the ring buffers?A:Because they are not needed.The thread writing data to the ring buffers is much faster than the thread that reads thedata.So it only needs tofill the buffer up when the signal generator has consumed data,and then when the buffer is full it just waits a while for more data to be consumed.References[1]Lyons,Richard G.“Understanding Digital Signal Processing”[2]Couch,Leon W.“Digital and Analog Communication systems”[3]Analog and Digital TV(DVB-T)Signal Generation:/dvbt/[4]Tempest for Eliza:http://www.erikyyy.de/tempest/[5]Wikipedia:“Frequency Modulation”/wiki/Frequency_modulation[6]Wikipedia:“FM Broadcasting”/wiki/FM_broadcasting11。