为提高电缆测井数据传输的性能,提出一种基于HDB3码并利用Cyclone II系列FPGA的编、译码系统设计方案。详细分析了编译码的原理与实现方法,并在编译码实现过程中采用双相码来表示相应的码元,可以快速便捷地识别取代码,同时也解决了FPGA只能处理单极性电平的问题。在译码时特意先提取极性信息,故只需用一组移位寄存器来存放输入码流。最后给出了对应的仿真结果,并成功应用于石油测井领域的电缆测井数据通信系统研究装置中。
To improve the data transmission properties of wireline logging, the paper puts forwards the design proposal on HDB3 coding and decoding system by hardware description language,which is based on EP2C35 FPGA of Cyclone II family. Code element is indicated by digital diphase in the implementation, so as to identify the replacement code conveniently and fast and solve the restrictions of FPGA unipolarity level support only. For a special purpose, to extract polarity information first in the decoding process,so that only one set of shift register was needed to store input sequences,it simplify routines as well as retrench FPGA internal resource. The relevant simulation result was showed respectively at last and, this proposal was applied in data communication system of wireline logging successfully.