电子专业中英文翻译.docx

上传人:牧羊曲112 文档编号:2092996 上传时间:2023-01-09 格式:DOCX 页数:13 大小:428.72KB
返回 下载 相关 举报
电子专业中英文翻译.docx_第1页
第1页 / 共13页
电子专业中英文翻译.docx_第2页
第2页 / 共13页
电子专业中英文翻译.docx_第3页
第3页 / 共13页
电子专业中英文翻译.docx_第4页
第4页 / 共13页
电子专业中英文翻译.docx_第5页
第5页 / 共13页
点击查看更多>>
资源描述

《电子专业中英文翻译.docx》由会员分享,可在线阅读,更多相关《电子专业中英文翻译.docx(13页珍藏版)》请在三一办公上搜索。

1、基于单片机控制的光收发器设计1 引 言在“三网合一”的推动下,光纤到户等光纤接入方案的应用日益广泛。在光进铜退的呼声下,光网络迅速发展。光收发器在光通信中起到光电、电光转换的作用,是光通信必不可少的器件。由于涉及到高速电路设计、精密机械加工和光学设计,光收发器的成本占据了光纤通信系统和的重要部分,而较高的光收发器价格成了制约光纤接入推广的瓶颈。进一步降低光收发器的成本将有利于光接入的应用推广,加快光进铜退的步伐。光收发器主要由电路部分、光发送组件和光接收组件组成。其中电路部分又包括激光驱动、光接收信号放大和控制部分。目前市场上的光收发器的电路部分使用的是三个专用芯片。一直有公司在研究把激光驱动

2、和接收信号放大电路集成在一个器件上,控制器使用普通的嵌入式处理器的方案。由于只使用一个专用芯片和一个通用芯片,这样就可以大幅降低电路部分的成本。PHYWORKS公司研制的PHY1076芯片就是一款这样的芯片。它主要针对1.25Gbps 到2.5Gbps的光收发器,具有外围电路简单,控制电路只需要普通的8位单片机就可以实现的特点。本文主要研究了PHY1076 的性能,选择了ATMEL 公司的ATMEGA88 单片机进行控制,设计出光收发器样品,并进行了性能测试,最终成功设计了1.25G 光收发器。2 光收发器设计方案及工作原理讨论光收发器在发展的过程中,有许多种不同的外形封装。SFP(小型化可热

3、插拔光收发一体模块)是目前在5Gbps以下速率中最先进的一种封装形式,具有小型化、可热插拔、功耗小、系统可集成度高以及能够进行数字诊断功能等特点。本设计中使用激光驱动电路和光接收放大电路集成的PHY1076 作为专用芯片,使用ATMEL 的AVR 单片机ATMEGA88 进行控制和实现DDM 功能,加上相应的TOSA(光发射组件),ROSA(光接收组件)和结构件,设计了一款工作在1.25Gbps 传输距离为10km 的SFP 光收发器。系统方框图如图1 所示:图 1 光纤收发器的内部结构图1) 发射部分工作原理:系统的串行数据信号从TX+/-端以差分信号形式输入到PHY1706 的激光器驱动部

4、分。驱动电路进行放大处理后,转换成差分调制电流信号加载到TOSA(光发射组件)上,控制TOSA 中的激光器发出光脉冲,耦合入光纤发送到远端。2) 接收部分工作原理:光脉冲信号输入到ROSA(光接收组件),ROSA 将光脉冲信号转换成差分电压信号输出到PHY1076 的限幅放大部分。该信号经过限幅放大处理后,从PHY1076 的RX+/-端输出差分电压串行数字信号。3) 控制及DDM 部分:PHY1076 是一款模拟数字混合芯片,其内部包括多个模数(A/D)、数模转换(D/A)器。发射和接收通路上的参数都是通过ADC 转换成数字量存入状态寄存器进行监视,通过DAC 把设置寄存器的值转换成模拟量来

5、进行控制的。这些寄存器都可以由外部控制器进行读取和设置。DDM(Digital Diagnostic Monitor),数字诊断和监控是指的光纤收发器能够对发射功率(Tx_power),接收功率(Rx_power),激光器偏置电流(Ibias),工作电压(Vcc),模块内部温度(Temperature)这些参数进行实时监视,并能够在各项参数超过设定值时设置报警标志位的功能。PHY1076 内部集成的ADC 能够对发射功率、接收功率和偏置电流进行监测。工作电压和温度传感则需要另外ADC 进行转换。而所有这些报警的实现则需要外部控制器来实现。ATMEL 公司的AVR 单片机ATMEGA88 是一款

6、8 位单片机,内部集成FLASH、RAM、EEPROM、内部时钟和ADC。无需任何外围电路即可构成系统,支持在线编程下载和单步调试。系统设计和软件调试都很方便。集成硬件I2C模块,可直接对外提供符合SFP-MSA 规范要求的外部I2C接口。而且此单片机是一款在家电和工业控制领域使用广泛的芯片,用量大,性能稳定可靠,价格低。本设计选用此芯片控制PHY1076 的工作参数和实现DDM 功能。3 关键参数控制和实现在光纤通信系统中,发射光脉冲的平均光功率和消光比是两个非常重要的参数。根据传输距离不同,需要设定不同的值。对具体某一个光收发器则希望其发光功率和消光比能够长期维持在一定范围内。要维持稳定的

7、光功率则需要使用APC(自动功率控制)电路。又由于激光器的温度特性和老化特性,其发光效率会变化,所以又需要进行温度补偿。消光比的自动控制则需要根据温度变化而实时的调整调制电流的大小。早期的光收发器中,大都使用专用模拟器件,所以要实现功率APC、温度补偿和消光比自动控制都非常困难,或者很难得到满意的效果。PHY1076 是一个模数混合器件,其高速通道部分使用模拟设计,而其功率控制、调制电流则是使用寄存器进行的。从而只要外部控制器能够监测温度,就能根据温度调整寄存器的值,达到自动更改输出功率和调制电流,使功率和消光比维持在一定得范围内的目的。1) 平均光功率的控制实现:PHY1076 内部APC

8、电路如图2 所示。TOSA 内部集成了一个激光发射二极管和一个光电感应二极管。激光器的发光功率与电流成正比,激光器的阴极接到PHY1076 的Laser_bias 引脚。PHY1076 内部功率设置寄存器的数据直接输入到DAC,DAC 产生一个模拟电压输出控制压控电流源的输出电流,此电流源输出电流经过电感耦合后给激光器的提供直流偏置电流。因此修改功率设置寄存器的值就可以直接修改激光器的输出光功率。光电感应二极管的反向漏电流与激光器的发射功率成正比。该电流从MPD 引脚接入PHY1076 内部,经过放大和转换成电压信号后,作为负反馈信号引入到压控电流源的控制端,起到自动功率控制的作用。但是APC

9、 能够控制的功率变化范围是有限的。当温度变大时,由于激光器的发光效率降低,APC 将不能提供足够大的电流来保持功率稳定。此时就需要调节功率设置寄存器的值来获得更大的偏置电流以保持功率稳定。本设计中是通过外接单片机来根据温度进行寄存器设置,达到温度补偿的目的。图2 APC 工作原理图2) 消光比控制的实现:PHY1076 内部调制电流控制电路如图3 所示。消光比在光纤通信系统中定义为发送数据为1 时与发送0 时的光功率的比值。其值的大小会影响通信系统的误码率,因此需要控制在一定范围内。在使用交流耦合的调制激光器的电路中,平均发射功率受直流偏置电流影响,消光比的大小受调制电流的影响。在PHY107

10、6 的内部,激光器的调制电流由专门的寄存器进行设置后,经过模数转换器(DAC)输出控制电压,进而控制输出调制电流的大小。因此适当设置该寄存器的值就可以得到理想的消光比。由于没有办法检测工作中消光比的大小,因此无法引入反馈电路实现消光比自动控制。比较可行的办法是寻找消光比与温度变化的统计规律,然后通过外部控制器依规律进行温度补偿。图3 调制电流控制原理图3) ATMEGA88 的控制算法分析和DDM 实现:从上面的分析可以看出,光收发器的关键参数平均发射功率和消光比都是通过对PHY1076 的内部寄存器的设置来控制的,而PHY1076 提供I2C 接口进行访问。本设计中,使用ATMEGA88 单

11、片机进行控制。ATMEGA88 单片机内部有一个标准的硬件I2C 接口,可以用来为系统设备提供SFP-MSA(SFP 多源协议)要求的对外I2C。为了与PHY1076进行通信,本设计中用软件模拟了一个I2C 接口。单片机的主要工作内容包括:为功率控制提供温度补偿功能;为消光比提供自动控制功能;设置PHY1076 的接收放大部分的一些工作参数;对PHY1076 进行初始化;提供DDM 功能和记录产品信息。ATMEGE88 与PHY1076 的连接如图4 所示。图4 ATMEGA88 与PHY1076 连接图激光器的发光效率和阈值电流与环境温度成反比,即当环境温度升高时,激光器的发光效率会降低,阈

12、值电流会升高。为了达到输出光功率和消光比的稳定性,就要根据温度变化来响应调节激光器的偏置电流和调制电流。本设计中采用查表法来设置偏置和调制电流。具体就是建立两个数据表,功率设置表和调制电流设置表,每个值对应一段温度下的功率设置寄存器的值。如图4 所示,调制电流设置表为80 个字节,每两摄氏度占一个字节;功率设置表占用40 个字节,每4 摄氏度占用一个字节;温度范围都是-40120,满足工业温度的要求。给单片机外接一个温度传感器,单片机通过模数转换器把温度传感器送来的电压转换成温度值,然后根据温度查表,找到对应的数据,把数据分别送往PHY1076 的功率设置寄存器和调制电流设置寄存器,调整激光器

13、的偏置电流和调制电流,由此调整输出光功率和消光比。数据表的数值确定则使用测试的方法得出。在收发器的调试过程中,对样品在每个温度下的输出眼图进行测试,并修改对应温度下的数据,使得光收发器的输出光眼图、光功率和消光比满足要求。最后把这些数据保存到温度查找表中,并同时保存到ATMEGA88 内部的EEPROM 中。收发器在实际的应用环境下,重新加电后,就先从EEPROM 中把数据加载到RAM 区,然后就可以在全温度范围内稳定平均输出光功率和消光比。4 设计结果及测试分析本设计根据以上讨论的方案,选择PHY1076 专用芯片和ATMEGA88 单片机,外加适当的外围电路设计电路板,把TOSA、ROSA

14、 焊接到一起装入定制外壳,实现了一款1.25Gbps 的SFP 光收发器。调试PHY1076 内部寄存器使光收发器各项参数符合802.3z 协议中对10km 千兆以太网光接口的要求。同时设计的上位机调试软件对ATMEGA88 的温度查找表进行调试,确定了具体每个温度下的值。由此完成了整个光收发器的设计工作。然后对光收发器在低温,常温,高温三种环境下的所有参数进行测试。结果如表1 所示。表1 光收发器的参数测试结果参数单位设计要求测试结果-40C25C80C平均发射功率dBm-9-3-6.54-6.10-6.01消光比dB912.7710.959.7发射眼圈符合802.3z要求-接收灵敏度dBm

15、-23-28.2-29.6-29.4从表中可以看出。激光器的输出光功率和消光比都在参数要求范围内,且变化小。测试了各个温度下的眼图,发现光收发器在低温,常温,低温下的性能都比较好。由于温度变高时需要提供较大的调制电流,因此信号的下冲比较明显,表现在眼图中就是在眼图中的“0”信号出现轻微双眼线。但总体上模板测试余量都大于40%。由此验证了此设计方案的可行性和正确性。5 总结经过方案讨论、硬件设计、软件设计和样品调试、测试。最终成功设计了1.25GSFP 单芯片SFP 光收发器。此方案的特点是把激光驱动和接收放大部分集成在一起,使用了普通单片机进行控制,理论上能够降低了产品的成本和提高生产效率。由

16、于此方案是一个新的方案,技术成熟度有待提高,系统兼容性和市场应用的潜在问题有待验证。加上用量的关系,其成本的优势也体现不出很大的优势。但是可以相信,随着网络速率的加快和光接入对成本的压力,新技术会越来越完善,市场占有率也会越来越高,届时成本优势就会体现出来。Microcontroller-Based Optical Transceiver Design1 IntroductionUnder the impetus of the “Three Net Combined”, Fiber access programme such as FTTH (fiber to the home) is wid

17、ely used. Under the voice of the light for copper, the optical network is developing rapidly. Optical transceiver plays a role of electro - optical, electro - optical conversion in optical communications, and is an essential device for optical communication. As it relates to high-speed circuit desig

18、n, precision machining and optical design, the cost of optical transceivers occupies an important part in fiber optical communication systems and while the high prices of optical transceivers become the bottleneck of restricting fiber access promotion. Further reduce the cost of optical transceivers

19、 will benefit to promote the application of optical access and speed up the pace of light for copper. Optical transceiver mainly consists of circuits, optical transmitter components and optical receiver components. And the Part of the circuit which also includes laser driver, optical receiver signal

20、 amplifier and control section. In current ,The circuit part of optical transceivers on the market is using three specific chip. The company has always been in the study of laser driver and receiving signal amplifier circuit integration in a device, with the controller using the common embedded proc

21、essor solutions. Due to only use a specific chip and a common chip, we can significantly low the cost of the circuit part. The PHY1076 chip developed by PHYWORKS company is such a chip. It is intended mainly for 1.25Gbps to 2.5Gbps optical transceiver with a simple external circuit, and it requires

22、only an ordinary 8-bit microcontroller to realize the control circuit. This paper studies the performance of the PHY1076 which controled by the selected ATMEL companys ATMEGA88 microcontroller, designed the optical transceiver samples, and conducted the performance test, with the ultimate success of

23、 the design of the 1.25G optical transceiver.2 Discussion About The Design And Working Principle Of Optical TransceiverIn the development process of optical transceiver, there are many different outline package. SFP (Miniaturization hot-swappable optical transceiver module) is currently one of the m

24、ost advanced package in 5Gbps rate, with a small, hot-swappable, low power consumption, high system integration and the ability to digitally Diagnostics and so on.This design uses laser driver circuit and optical receiver amplifier circuit ntegrated PHY1076 as a special chip , using ATMELs AVR ATMEG

25、A88 microcontroller to control and implement DDM functionality, coupled with the corresponding TOSA (transmitter optical components), ROSA (receiver optical components) and structural parts to designe a SFP optical transceiver which can work in 1.25Gbps 10km transmission distance. System block diagr

26、am shown in Figure 1:Figure 1 the internal structure of fiber optic transceivers map1) Transmitter works: Serial data signal from the TX + / - side of the system input to the PHY1706 laser drive section in the form of differential signal terminal. After amplificationd, drive circuit converted to dif

27、ferential modulation current signal loading to the TOSA (transmitter optical components) to control the laser TOSA to emit light pulses, and couple into the fiber to sent to the remote.2) Receive part work principle : Optical pulse signal inputs to the ROSA (receiver optical components), and ROSA co

28、nverts optical pulse signal into the differential voltage signal output to the PHY1076 the limiting amplifier section. After limiting amplified the signals ,it outputs differential voltage serial digital signals from the RX + / - side of PHY1076.3) Control and DDM parts: PHY1076 is a mixed analog-di

29、gital chip, its internal includes multiple analog-digital (A / D) and digital-analog converter (D / A) devices. Parameters on the transmit and receive paths are converted into digital stored in the State register for monitoring through ADC, and converts register value into analog for control by a DA

30、C. These registers can be read and set by an external controlle. DDM (Digital Diagnostic Monitor) means that the fiber-optical transceivers is capable of monitoring parameters such as ransmitting power (Tx_power), received power (Rx_power), laser bias current (Ibias), operating voltage (Vcc) and the

31、 module internal temperature (Temperature ) in real-time and set alarm flag when the parameters exceed the setted-value. The ADC integrated within PHY1076 can monitor the transmit power, receive power and bias current. However the operating voltage and temperature sensing is required for another ADC

32、 conversion. The realization of all these alarms relays on external controller.ATMEGA88 AVR microcontroller from ATMEL Corporation is an 8-bit microcontroller, with FLASH, RAM, EEPROM, internal clock and the ADC integrated inside. Without any external circuit to constitute a system ,and supporting o

33、n-line programming downloads and single-step debugging. System design and software debugging is very convenient. Integrated hardware I2C module can directly provide the external I2C interface in line with SFP-MSA specifications. And this is a single chip widely used in the field of home appliances a

34、nd industrial control with large use, stable and reliable performance, low prices. The design uses the chip PHY1076 to control the operating parameters and implement DDM functions.3 Control And Implementation Of Key ParametersIn optical fiber communication system, the average optical power of emitte

35、d light pulse and extinction ratio are two very important parameters. According to the different transmission distance, we need to set a different value. On one specific optical transceiver is hoped that the light emission power and the extinction ratio can be maintained within a certain range. To m

36、aintain a stable light power you need to use APC (automatic power control) circuit. At the same time, because of temperature characteristics and aging characteristics of the laser, the luminous efficiency will change, it is also the need for temperature compensation. The automatic control of extinct

37、ion rat requires adjustment the size of modulation current according to temperature changes in real time. Optical transceiver in the early, mainly uses a dedicated analog devices, so ia is difficultachieve the power of APC, temperature compensation and automatic extinction ratio control ,or it is di

38、fficult to obtain satisfactory results. PHY1076 is a modular mixing device, using the analog part of its high-speed channel design, while its power control and modulation current is carried out by the register. So long as the external controller can monitor the temperature, you can adjust the regist

39、er values based on the temperature in order to automatically change the output power and modulation current, with the power and extinction ratio maintained at a certain range of purposes.1) Control And Achieve Of The Average Optical Power: PHY1076 internal APC circuit is shown in Figure 2. TOSA is i

40、ntegrated with a laser diode and a photoelectric sensor diode. Laser light power is proportional to and the current, and the lasers cathode connected with the PHY1076s Laser_bias pin. PHY1076s data in internal power set register is input directly to the DAC, then DAC produces an analog voltage outpu

41、t to control output current in voltage-controlled current source.And the output current of current source supply the laser with DC bias current through the inductive coupling. Therefore, to modify the value of the power setting register is to modify the lasers output optical power. The reverse leaka

42、ge current of photoelectric sensor diode is proportional to the lasers emission power. The current accesses PHY1076 from the MPD pin, after amplified and converted into a voltage signal,it is introduced into the control side of voltage-controlled current source as a negative feedback signal in order

43、 to play the role of automatic power control. But the power range controled by APC is limited. When the temperature becomes larger, APC will not provide enough current to maintain power to be stable due to the reduce of lasers light-emitting efficient. At this moment we need to adjust the value of t

44、he power setting register to gain greater bias current to maintain power stable. This design is setting the value of register based on temperature by an external microcontroller to achieve temperature compensation purposes.Figure 2 Working Principle of APC2) The Realize of Extinction Ratio Control:

45、PHY1076 internal modulation current control circuit is shown in Figure 3. Extinction ratio is defined as the ratio of optical power when sending data to 1 and optical power when sending data 0 in optical fiber communication system. Its value will affect the bit error rate of communication systems,he

46、nce we need to control within a certain range. In AC coupled circuits of modulated lasers, the average transmit power is affected by the DC bias current with the extinction ratio affected by modulation current. Within the PHY1076, when lasers modulation current is set by a special register, then out

47、put control voltage after digital-to-analog conversion so as to control the size of the output modulation current. Therefore, set the value of the register properly can obtain the ideal extinction ratio. Since there is no way to detect the size of the extinction ratio during working,we cannt introdu

48、ce the feedback circuit to achieve the automatic extinction ratio control. It is more feasible to look for the statistical law in extinction ratio and temperature change, and conduct temperature compensation by an external controller accordance with law. Figure 3 Schematic modulation current control

49、3) ATMEGA88 Control Algorithm Analysis And DDM Implementation: From the above analysis we can see that the key parameters of optical transceivers like the average power and extinction ratio relay on settings PHY1076s internal register to control. While the PHY1076 provides I2C interface for accessing.We use ATMEGA88 microco

展开阅读全文
相关资源
猜你喜欢
相关搜索

当前位置:首页 > 生活休闲 > 在线阅读


备案号:宁ICP备20000045号-2

经营许可证:宁B2-20210002

宁公网安备 64010402000987号