节点文献
列车通信网中多功能车辆总线一类设备的FPGA实现
【作者】 魏宜军;
【导师】 彭军;
【作者基本信息】 中南大学 , 检测技术与自动化装置, 2007, 硕士
【摘要】 多功能车辆总线一类设备是一个在列车通信网(TCN,TrainCommunication Network)中普遍使用的网络接口单元。目前我国的新式列车大多采用列车通信网传输列车中大量的控制和服务信息。但使用的列车通信网产品主要为国外进口,因此迫切需要研制具有自主知识产权的列车通信网产品。论文以一类设备控制器的设计为核心,采取自顶向下的模块设计方法。将设备控制器分为同步层和数据处理层来分别实现对帧的发送与接收处理和对帧数据的提取与存储处理。同步层包含帧的识别模块、曼彻斯特译码模块、曼彻斯特编码与帧封装三个模块。帧识别模块检测帧的起始位并对帧类型进行判断。译码模块根据采集的样本值来判断曼彻斯特编码的值,采样的难点在于非理想信号带来的采样误差,论文使用结合位同步的多点采样法来提高采样质量。帧分界符中的非数据符不需要进行曼彻斯特编码,编码时在非数据符位关闭编码电路使非数据符保持原来的编码输出。数据处理层以主控单元(MCU,Main Control Unit)和通信存储器为设计核心。MCU是控制器的核心,对接收的主帧进行分析,判断是从通信存储器相应端口取出应答从帧并发送,还是准备接收从帧并存入通信存储器。通信存储器存储设备的通信数据,合适的地址分配能简化MCU的控制程序,论文固定了通信存储器端口大小使MCU可以根据一个固定的公式进行端口的遍历从而简化了MCU程序的复杂度。数据在传输中由于受到干扰和冲突等问题而出现错误,论文采用循环冗余检验码结合偶检验扩展来对传输数据进行差错控制。最后,使用FPGA和硬件描述语言Verilog HDL开发出了MVB一类设备。目前该一类设备已运用在SS4G电力机车的制动控制单元(BCU,Brake Control Unit)中并在铁道科学研究院通过了TCN通信测试。一类设备的成功研制为列车通信网中总线管理器等高类设备的开发奠定了坚实的基础。
【Abstract】 MVB (Multifunction Vehicle Bus) Class 1 device is a kind of network interface unit which is widely used in Train Communication Network (TCN). Nowadays, to transmit lots of control and service information, the new-style locomotive in our country uses TCN mostly. However, the network equipments are mostly imported from abroad. So it is urgent for our country to develop TCN products of independent intellectual property rights.This dissertation mainly focuses on the design of Class 1 devices controller, and adopts a top-down module design method, in which Class 1 device controller is divided into synchronization layer and data processing layer. In Each layer, some functions are realized to send and receive frame, and to extract and store of frame data, respectively.In the Synchronization layer, there are three modules consisted: frame recognition module, Manchester encoding module, and. Manchester coding and frame packaging module. Firstly, in the frame recognition module, the start bit of frame is examined while the type of frame is judged. Then the Manchester coding value is judged in the frame encoding module according to the sample. When sampling, the difficulty is that errors are brought by the non-ideal signals. To enhance the quality of sampling, a multi-spots sampling method combined with bit synchronization is introduced in this dissertation. As non-data symbols are not needed to be coded, the coding circuit is closed for the now-data symbols when coding, thus the non-data symbols can be outputted with its original format.In the data processing layer, the main control unit (MCU) and traffic memory data are designed as the core. The MCU is the core of the controller, in which the received main frame are analyzed then corresponding action is selected according to the commutation mode of the variable. Alternatively, to extract and send the slave frame from the corresponding ports of Traffic Memory, or to prepare to receive the slave frame and write it into Traffic Memory. While in traffic Memory, communication data is stored, appropriate address assignment will Simplify control program. To Simplified the complexity of MCU program, in this dissertation, the port size of Traffic Memory is invariable so that it can traversals the port by a fixed formula to predigest the complexity of MCU program. Besides, as a lot of errors may occur in the process of data transmission because of disturbance and conflict, Cyclic Redundancy Check combined with dual checkout extension is adopted in this dissertation to implement error control of the transmitted data in the design of MCU.Finally, MVB Class 1 device is developed using FPGA and Verilog HDL which is a kind of hardware description language. Recently the device has applied in the SS4G electric locomotive Brake Control Unit and passed the TCN communication test in Railway Academy of Science. The successful development of the Class 1 device establishes a stable foundation for the exploitation of the Bus Administrator and gateway of TCN.
- 【网络出版投稿人】 中南大学 【网络出版年期】2007年 06期
- 【分类号】U285.5;U270.382
- 【被引频次】7
- 【下载频次】172