In order to realize the function of DTU,a design of mine-used DTU system based on UCOS-Ⅱ is given.The DTU uses the STM32F103VE as processor,and the real-time operating system (UCOS-Ⅱ) is transplanted to this CPU.The design scheme of the hardware and software of the system is introduced in this paper.The software is simplified,and the maintainability of the software is increased by using the real-time operating system.Through the debugging,the DTU system can meet the needs of the enterprises.%为了实现矿用数据采集单元(DTU)的相关功能,提出了采用基于UCOS-Ⅱ的DTU系统设计.该DTU的处理器选用STM32F103 VE,并把实时操作系统UCOS-Ⅱ移植到该CPU上.介绍了系统硬件和软件的设计方案.通过使用实时操作系统,简化了软件的编写过程,增加了软件的可维护性.通过调试,该DTU系统能够满足企业的需求.
展开▼