论文部分内容阅读
利用AT89C2 0 51单片机丰富的内部资源实现的曼彻斯特编码译码器 ,应用于井下仪器数据传输系统 ,可以有效简化系统硬件结构 ,提高仪器的性能价格比。该设计采用软件实现曼彻斯特编码、译码 ,编码结果通过I/O口以差分方式输出 ,接收信号的脉冲整形由AT89C2 0 51内部比较器完成。作为井下多机系统的前端通信接口 ,与系统内主机的数据交换通过内部的异步串行口实现。实际应用表明 ,在传输速率不超过 1 0 0kb/s情况下 ,该方案实现的传输系统工作稳定可靠 ,智能化程度高 ,数据传输速率易于通过修改软件来调整 ,无须改动硬件结构 ,调试方便 ,具有一定的推广应用价值。
Manchester codec, which is realized by rich internal resources of AT89C2 0 51 MCU, is used in downhole instrument data transmission system, which can effectively simplify the system hardware structure and improve the cost performance of the instrument. The design uses Manchester encoding and decoding software, encoding results through the I / O port differential output, the received signal pulse shaping by the AT89C2 0 51 internal comparator to complete. As a front-end communication interface of the downhole multi-machine system, data exchange with the host in the system is realized through an internal asynchronous serial port. The practical application shows that the transmission system realized by the solution is stable and reliable, the intelligence is high, the data transmission rate can be easily adjusted by modifying the software without changing the hardware structure and the debugging is convenient under the condition that the transmission rate does not exceed 100 kbps, Has some promotion and application value.