为了快速诊断国产声波测井仪或其短节的工作状态是否正常,设计了可与仪器或短节相匹配的总线测试接口电路。针对国产声波类测井仪器的所用总线,设计了Tool control bus(TCB)、High local bus(HLB)、Tool model bus(TMB)、Controller area network(CAN)等总线测试接口。其中TCB、HLB、TMB总线接口在FPGA芯片EP2C20Q240C8控制下实现,软件采用模块化的结构设计;CAN总线接口由单片机C8051F500控制实现。利用了设计的接口电路板,仿真实现了TMB总线的从节点功能,可测试仪器主控短节的工作状态。
In order to achieve working condition monitoring and quick fault diagnosis of domestic acoustic logging tools or subs, several bus interface circuits are proposed and developed in this paper which provide test interfaces for matching tools or subs. Considering the types of buses which are commonly used in domestic logging tools, there are mainly 4 kinds of bus interface circuits been designed. They are the tool control bus (TCB), the high local bus (HLB), the tool module bus (TMB), and the controller area network (CAN), etc. Among them, the TCB, HLB, and TMB are designed based on the field programmable gate array (FPGA) chip of the EP2C20Q240CS, with the software system developed on the basis of philosophy of modularization design. The CAN interface circuit is designed based on the single chip microcomputer (SCM) of C8051F500. By employing the designed interface circuit, the slave node operations of TMB are simulated according to the research, demonstrating the applicability of the circuit in testing of the master electronic sub.