资源描述
,Click to edit Master title style,Click to edit Master text styles,Second level,Third level,Fourth level,Fifth level,CONFIDENTIAL,*, 2014 VMware Inc. All rights reserved.,Click to edit Master title style,Click to edit Master text styles,Second level,Third level,Fourth level,Fifth level, 2014 VMware Inc. All rights reserved.,Click to edit Master title style,Click to edit Master text styles,Second level,Third level,Fourth level,Fifth level,Click to edit Master title style,Click to edit Master text styles,Second level,Third level,Fourth level,Fifth level,Click to edit Master title style,Click to edit Master text styles,Second level,Third level,Fourth level,Fifth level,Click to edit Master title style,Click to edit Master text styles,Second level,Third level,Fourth level,Fifth level,Click to edit Master title style,Click to edit Master text styles,Second level,Third level,Fourth level,Fifth level,Click to edit Master title style,Click to edit Master text styles,Second level,Third level,Fourth level,Fifth level,Click to edit Master title style,Click to edit Master text styles,Second level,Third level,Fourth level,Fifth level,Click to edit Master title style,Click to edit Master text styles,Second level,Third level,Fourth level,Fifth level,Click to edit Master title style,Click to edit Master text styles,Second level,Third level,Fourth level,Fifth level,Click to edit Master title style,Click to edit Master text styles,Second level,Third level,Fourth level,Fifth level,Click to edit Master title style,Click to edit Master text styles,Second level,Third level,Fourth level,Fifth level,Click to edit Master title style,Click to edit Master text styles,Second level,Third level,Fourth level,Fifth level,Click to edit Master title style,Click to edit Master text styles,Second level,Third level,Fourth level,Fifth level,Confidential,*,Click to edit Master title style,Click to edit Master text styles,Second level,Third level,Fourth level,Fifth level,Confidential,*,Click to edit Master title style,Click to edit Master text styles,Second level,Third level,Fourth level,Fifth level,Confidential,*,串行通信基础知识,MOXA,产品知识,Prepared by:,彭洪波,Date:,9-10-2009,串行通信基础知识MOXA产品知识Prepared by:,Confidential,议程,串行通信基础知识,MOXA,产品知识,Confidential议程 串行通信基础知识,Confidential,串行通信基础知识,Confidential串行通信基础知识,Confidential,串口信号,串口流控,串口效能,串口保护,串行通信基础知识,Confidential串口信号串行通信基础知识,Confidential,串口信号,RS-232,RS-422/485,Confidential串口信号RS-232,Confidential,串行通信的基本概念,串行通信资料是一个,bit,一个,bit,地送出,且每个,bit,表示不是,0,就是,1,1 bit,Confidential串行通信的基本概念串行通信资料是一个,Confidential,并行通信的基本概念,一次发送和接收多个,Bit,传输一次就可以完成 一个,Byte,的容量。传输的效率高,1,2,3,4,5,6,7,8,1,2,3,4,5,6,7,8,1bit,1bit,1bit,1bit,1bit,1bit,1bit,1bit,Confidential并行通信的基本概念一次发送和接收多个,Confidential,串行通信,VS,并行通信,串行通信,并行通信,通信距离,远,近,搞干扰能力,高,低,传输速度,慢,快,成本,低,高,Confidential串行通信 VS 并行通信串行通信并行,Confidential,起始位,:,总是,“,1”,数据位,: 5, 6, 7, 8,位,校验,: None, Odd, Even, Space, Mark,停止位,: 1, 1.5(,数据位,=5), 2,位,数据帧长度,如果,N, 8, 1:,数据帧长度为,10,位,如果,E, 7, 2:,数据帧长度为,10,位,串行通讯数据格式,1,5, 6, 7, 8,1, 1.5, 2,1,Unit: bit,Data,Start,Parity,Stop,Confidential起始位: 总是 “1”串行通讯数据格,Confidential,RS232,由电子工业协会(,EIA,)制订并发布工业标准,,RS-232,标准在,1962,年发布,保证不同厂家产品之间的兼容。,RS-232-C,接口(又称,EIA RS-232-C,)是目前最常用的一种串行通讯接口。,RS-232,作用,:,在串行通讯时,要求通讯双方都采用统一的标准接口,使不同的设备进行通讯。,ConfidentialRS232由电子工业协会(EIA)制,Confidential,RS-232-C,发展,用于串行通讯的标准。,规定采用一个,25,个脚的,DB-25,连接器,对连接器的每个引脚的信号加以规定,对各种信号的电平加以规定。,IBM,将,RS232,简化成了,DB-9,连接器,工业控制的,RS-232,一般只使用,RXD,、,TXD,、,GND,三条线。,DB25,DB9,ConfidentialRS-232-C 发展用于串行通讯的,Confidential,电气特性、逻辑电平,EIA-RS-232C,对电气特性、逻辑电平和各种信号线功能都作了规定。,在,TxD,和,RxD,上:逻辑,1=-3V,-15V,逻辑,0=+3,15V,在,RTS,、,CTS,、,DSR,、,DTR,和,DCD,等控制线上:,信号有效(接通,,ON,状态,正电压),+3V,+15V,信号无效(断开,,OFF,状态,负电压,)=-3V,-15V,Confidential电气特性、逻辑电平EIA-RS-23,Confidential,UART,并行,TTL,0V,5V,RS-232,信号,传输,收发器,D0,D7,Data,Stop,Parity,Start,Data,Start,Parity,Stop,0V,5V,RS-232,-12V,+12V,Data,Stop,Parity,Start,Data,Start,Parity,Stop,-12V,+12V,Tx,Rx,ConfidentialUART并行TTL0V5VRS-23,Confidential,RS-232,信号传输及信号波形,ConfidentialRS-232信号传输及信号波形,Confidential,RS-232,接口,信号定义:,TXD,、,RXD,、,RTS,、,CTS,、,DTR,、,DSR,、,DCD,、,RI,、,GND,(,Female/Male,定义相反),最高速率:,115200bps,Confidential RS-232 接口信号定义:TXD,Confidential,RS-232,信号,典型应用,: PC +,交叉电缆,+ PC,短接,DCD,信号和,DSR,信号,确保所有应用程序工作,比如架装服务器的控制台端口,。,RS-232,连接类型,I,TxD,RxD,RTS,CTS,DTR,DSRDCD,GND,TxD,RxD,RTS,CTS,DTR,DSR,DCD,GND,接线,DTE,信号,DTE,信号,ConfidentialRS-232 信号RS-232 连接,Confidential,RS-232,连接类型,II,RS-232,信号,典型应用,: PC +,直连电缆,+ Modem,DCE,设备上的,DCD,信号一般用作输出信号,TxD,RxD,RTS,CTS,DTR,DSR,DCD,GND,RxD,TxD,CTS,RTS,DSR,DTR,DCD,GND,接线,DTE,信号,DCE,信号,ConfidentialRS-232 连接类型 IIRS-2,Confidential,串口信号,RS-232,RS-422/485,Confidential串口信号RS-232,Confidential,RS-232 VS RS-422,RS-232,通信距离短,RS-232,通信速率低,提出,RS-422,定义了一种平衡通信接口,,数据信号采用差分传输方式,它使用二对双绞线,将其中一对定义为,A,,另一对定义为,B,ConfidentialRS-232 VS RS-422 R,Confidential,RS-422,电气特性,发送驱动器,A,、,B,之间的电压差,正电平在,+200mv,+6V,,是一个逻辑状态,负电平在,-200mv,-6V,,是另一个逻辑状态,ConfidentialRS-422电气特性发送驱动器A、B,Confidential,RS-422,信号,收、发端通过平衡双绞线将,Txd+,与,Rxd+,、,Rxd-,与,Txd-,对应相连,大于,+200mV,的电平时输出正逻辑电平,小于,-200mV,时输出负逻辑电平,MOXA,定义,B,为信号正,A,为信号负,|A-B|200mv,ConfidentialRS-422信号收、发端通过平衡双绞,Confidential,RS-422,特性,RS-422,传输速率提高到,10Mb/s,,传输距离延长到,1200,米(速率低于,100kb/s,时),并允许在一条平衡总线上连接最多,10,个接收器。,RS-422,是一种单机发送、多机接收的单向、平衡传输方式,被命名为,TIA/EIA-422-A,标准。,平衡传输方式,长度:,1200,米,速度:,10M,节点:,2,、,10(,广播,),线缆类型:,4,线或,8,线,(,带握手信号,)+GND,ConfidentialRS-422 特性RS-422传输速,Confidential,RS-422,优势与不足,RS-422,优势,传输距离远,传输速率高,不易受到干扰,RS-422,不足,点对多点方式只能单向通讯,ConfidentialRS-422 优势与不足RS-42,Confidential,RS485,EIA,又于,1983,年在,RS-422,基础上制定了,RS-485,标准,多点双向通讯能力,增加发送器的驱动能力和冲突保护特性,扩展了总线共模范围,命名为,TIA/EIA-485-A,标准,由于,EIA,提出的建议标准都是以“,RS”,作为前缀,所以在通讯工业领域,仍然习惯将上述标准以,RS,作前缀称谓。,平衡传输方式,长度:,1200,米,速度:,10M,节点:,32,、,256(,加中继器,),线缆类型:,2,线,+GND,ConfidentialRS485EIA又于1983年在RS,Confidential,(B+Noise) (A+Noise) 0.2 V,高,(B +Noise) (B+Noise) PCI - PCI-X - PCI Express,(PCIe),ISA,1988,PCI,1992,1980,1990,2000,PCIe,2003,PCI-X,1998,33M/66MHz,266M/533MHz,66M/133MHz,2.5GHz,1M/4MHz,2GI/O,2.5GI/O,3GI/O,Confidential总线ISA - PCI - PC,Confidential,MOXA,串口卡命名规则,ConfidentialMOXA串口卡命名规则,Confidential,MOXA,串口卡命名规则,-,CA,系列,ConfidentialMOXA串口卡命名规则 - CA系列,Confidential,智能型卡特点,C320,每块卡最多可达,32,口,单机最多,128,口,高速率:,C320 460.8Kbps,C218 921.6Kbps,自带精简指令集,CPU,、,512KB Ram,,可有效的降低,CPU,占用率,提供,ISA,版本和,PCI,版本,Confidential 智能型卡特点C320每块卡最多可,Confidential,智能型多用戶卡架構,CPU,16K RAM,(Firmware),CPU,512K RAM,(Firmware),(Dumb Part),PC,Intelligent Control Board,UARTsT/Rs er,(Intelligent Part),ASIC & ICs,(Internal BUS),(PC BUS),IRQ,MemoryAddress,Confidential智能型多用戶卡架構CPU16K RA,Confidential,智能型多用戶卡架構, Memory Mapping,Memory Mapping :,主存映射,頁切換模式,Internal Input / Output Buffer Size,PC,主存,Moxa RAM 512KB,16KB,.01000111,.01000111,C8000,CBFFF,Confidential智能型多用戶卡架構 Memory,Confidential,智能型多用戶卡架構,High-Performance vs. Classic,兩者差異,: AP,在資料傳輸的回覆時間差異,簡介,High-Performance,模式,Driver,將資料搬入,Memory,後就算完成傳輸,並釋放,CPU,控制權,Classic,模式,Driver,需等資料完成傳輸後才會釋放,CPU,控制權,Moxa,智能型產品特色功能,Confidential智能型多用戶卡架構 High-P,Confidential,非智能型卡特点,高速率,921.6Kbps,128Byte FIFO(MU860),使用户以非智能卡的价格得到近似于智能卡的传输性能,自带,15KV(ESD),自带,LED(,串口数据收,/,发闪烁,),两线,485,硬件实现,ADDC(,自动数据流向控制,),自带终端电阻,适应所有,PCI,总线,有低档板设计版本,Confidential非智能型卡特点高速率921.6Kbp,Confidential,非智能型多用戶卡架,构,PCI / ISA BUS,ASIC DeCode,UART Processing16C550C,Transmitor & Receiver,I/O AddressINT VectorInterrupt,I/O Signal of Data / Modem/ Break,Interrupt,TTL Signal of All I/O Signal,RS232,RS422/485,CPU / Memory,Confidential非智能型多用戶卡架构PCI / IS,Confidential,Interrupt :,Data Receive, Modem Signal Change, Receive Break, Tx Buffer Empty,INT Vector,: (,Interrupt,共享,),8 bit I/O Address, O True,例,.,第,2 Port,發生中斷,: 11111101,第,1,5 Port,發生中斷,: 11101110,中断向量,(I,NT Vector,),ConfidentialInterrupt : Data,Confidential,中断向量,(I,NT Vector,),UART1,UART2,UART3,UART4,UART5,UART6,UART7,UART8,1,1,1,1,1,1,1,1,中断向量,1Byte,UART1,UART2,UART3,UART4,UART5,UART6,UART7,UART8,1,1,1,0,1,1,1,1,如图所示,当,UART4,使用中断服务的时候就将中断向量中对应用的第四位值改为”,0”.,Confidential中断向量(INT Vector)UA,Confidential,MOXA,UPCI,VS,PCI,卡,Universal PCI,PCI,PCI,版本,PCI X,2.1,电压,3.3/5.0,5.0,PCI bit,32Bit,32Bit,FIFO,128Byte*2,16Byte*2,PCI Bridge,MOXA,Other,突波保护,有,部分,UART,MOXA(MU860),16C550,低档板设计,有,无,ConfidentialMOXAUPCIVSPCI卡U,Confidential,Universal PCI,介绍,Earlier Smartio/Industio Series Boards,All New Universal PCI Boards,ConfidentialUniversal PCI 介绍Ea,Confidential,Universal PCI,介绍,PCI-X Slot,64 bit,3.3V,向前兼容,32,位,PCI,主板,(,不必是,3.3V),Standard PCI Slot,32 bit,5V,ConfidentialUniversal PCI 介绍PC,Confidential,PCI and PCI-X,Universal PCI,卡片,PCI,PCI/PCI-X,ConfidentialPCI and PCI-XUnive,Confidential,MOXA,产品知识,串口卡,智能型,非智能型,USB,转串口,转换器,串口连网服务器,NPort 5000,系列,NPort 6000,系列,Confidential MOXA产品知识串口卡,Confidential,什么是,USB,USB (,U,niversal,S,erial,B,us),通用串行总线,USBIF(USB Implementers Forum),负责,USB,标准制订,其成员包括,:,苹果电脑,惠普, NEC, Microsoft,和,Intel.,Confidential什么是USBUSB (Univers,Confidential,USB 1.1 & USB 2.0,USB 1.1,修正了,USB1.0,出现的问题,USB 1.1,是,USB,开始普及的最早版本,;,USB 2.0,在,USB 1.1,的基础上提高了速度,;,USB,的三种速率,1.5 Mbit/s(183 KByte/s),低速速率,12 Mbit/s(1.4 MByte/s),全速速率,480 Mbit/s(57 MByte/s),高速速率,USB,的传输距离,USB 1.15mUSB 2.01.5m,ConfidentialUSB 1.1 & USB 2.0U,Confidential,USB,的特点,方便,即插即用,(PNP),高传输速率,无须占用,IRQ,和,I/O,地址,应用范围广,ConfidentialUSB的特点方便, 即插即用(PNP,Confidential,USB,转串口产品的命名规则,ConfidentialUSB转串口产品的命名规则,Confidential,USB,转串口的优势,方便,即插即用,(PNP),不占用主机的内部空间,速度快,效率高,口数多,ConfidentialUSB转串口的优势方便, 即插即用(,Confidential,USB,接头,加固型,的,USB Type B 15N,接头,ConfidentialUSB接头加固型的USB Type,Confidential,USB,供电,USB,接口可提供,5V 500mA,的电流,我们一到四串口的产品都可以通过,USB,供电正常工作,(,除,1450,外,),ConfidentialUSB供电USB接口可提供5V 50,Confidential,UPort,与市场上同类产口对比,UPort,市场上同类产品,速率,921.6Kbps,230Kbps,Linux,支持,支持,通常不支持,WinCE,支持,支持,不支持,自动驱动安装,手动,手动,COM,口保存功能,有,无,Windows,徽标认证,通过,没通过,接口数量,1, 2, 4,8, 16,1, 2, 4,工业等级安规认证,有,无,ConfidentialUPort与市场上同类产口对比 U,Confidential,USB VS MSB,USB,MSB,系统资源占用,少,多,方便,灵活性,高,低,必须连接到,PC,是,是,128Byte FIFO,支持,支持,Microsoft WHQL,通过,通过,质保,五年,五年,ConfidentialUSB VS MSBUSBMSB系,Confidential,MOXA,产品知识,串口卡,智能型,非智能型,USB,转串口,转换器,串口连网服务器,NPort 5000,系列,NPort 6000,系列,Confidential MOXA产品知识串口卡,Confidential,接口类型回顾,RS-232,RS-422,RS-485 4,线,RS-485 2,线,双绞线,光纤,RS-232,RS-422/485,RJ45,双绞线接头,光纤接头,ST,Confidential接口类型回顾RS-232RS-232,Confidential,为什么需要转换器,信号转换,介质转换,延长距离,提供光电隔离保护,提高抗干扰能力,Confidential为什么需要转换器信号转换,Confidential,功能,&,型号,RS-232 to RS-422/485,串口信号转换,TCC-80, TCC-80I,TCC-100, TCC-100I,RS-422/485,延长距离,:,TCC-120, TCC-120I,串口到光纤,介质转换,&,延长距离,TCF-90,TCF-142,以太网到光纤,介质转换,&,延长距离,IMC-21,IMC-101, IMC-101G,隔离保护,:,RS-232 to RS-232 or RS-422/485 to RS-422/485,TCC-82, TCC-120I,TCC-80I, TCC-100I,Confidential功能 & 型号RS-232 to R,Confidential,无源型产品,单信号线供电,Confidential无源型产品单信号线供电,Confidential,2,线, 4,线,RS-485 / RS-422,端子接头,RS-232,DB9,孔式接头,USB,及电源适配器连接头,无源型产品,Confidential2线, 4线RS-485 / R,Confidential,TCF-142,光纤环,ConfidentialTCF-142光纤环,Confidential,Link Fault Pass-Through,没有,Link Fault Pass-Through,Link Fault Pass-Through,不知道远端连接出现错误,数据错误不可,预知,连接正常,连接正常,自动断开连接,自动断开连接,可以得知远端连接错误,帮助系统维护人员及时了解到故障发生,ConfidentialLink Fault Pass-Th,Confidential,工业级转换器,vs,商业级转换器,工业级转换器,商业级转换器,MTBF,1,000,000h,100,000h,工业等级安规认证,有,无,光电隔离保护,有,无,告警输出,有,无,TCC-80 MTBF:,Confidential工业级转换器 vs 商业级转换器工,Confidential,串口转换器选型,信号,线缆,接口,隔离,&,宽温,转换器,(T),电,(C),电,(C),无源型,RS-232 to RS-422/485 (80),铜缆,TCC-80,隔离,(I),TCC-80I,工业型,RS-232 to RS-422/485 (100),TCC-100,隔离,(I),TCC-100I,RS-422/485 to RS-422/485 (120),TCC-120,隔离,(I),TCC-120I,RS-232 to RS-232 (82),隔离,(I),TCC-82,光,(F),RS-232 to,光纤,(90),多模光纤,(M),SC,TCF-90-M-SC,ST,TCF-90-M-ST,单模光纤,(S),SC,TCF-90-S-SC,ST,TCF-90-S-ST,RS-232/422/485 to,光纤,(142),多模光纤,(M),SC,宽温,(T),TCF-142-M-SC-T,ST,宽温,(T),TCF-142-M-ST-T,单模光纤,(S),SC,宽温,(T),TCF-142-S-SC-T,ST,宽温,(T),TCF-142-S-ST-T,Confidential串口转换器选型信号线缆接口隔离 &,Confidential,以太网转换器选型,信号,线缆,接口,宽温,以太网,(IMC),商用级,(21),10M/100M to,光纤,多模光纤,(M),SC,IMC-21-M-SC,ST,IMC-21-M-ST,单模光纤,(S),SC,IMC-21-S-SC,ST,IMC-21-S-ST,工业级,(101),10M/100M to,光纤,多模光纤,(M),SC,宽温,IMC-101-M-SC,ST,宽温,IMC-101-M-ST,单模光纤,(S),SC,宽温,IMC-101-S-SC,ST,宽温,IMC-101-S-S
展开阅读全文