检索规则说明:AND代表“并且”;OR代表“或者”;NOT代表“不包含”;(注意必须大写,运算符两边需空一格)
检 索 范 例 :范例一: (K=图书馆学 OR K=情报学) AND A=范并思 范例二:J=计算机应用与软件 AND (U=C++ OR U=Basic) NOT M=Visual
机构地区:[1]华中科技大学机械科学与工程学院,湖北武汉430074
出 处:《自动化仪表》2014年第1期84-87,共4页Process Automation Instrumentation
摘 要:针对普通采集卡程序的顺序执行法在复杂程序中存在的流程不清晰、维护困难的问题,运用单片机多任务操作模式,设计了一种多功能数据采集卡,给出了具体实现代码和硬件电路。通过时间片轮询方式,实现了串口通信、频率信号采集和A/D转换、D/A和开关量输出的多任务操作。该采集卡现已运用于HJD-DJ1型电机试验台。使用结果表明,该采集卡的使用使程序的可读性和可维护性都有所提高,在实现采集卡各种功能的前提下,减少了外围元件,降低了硬件开发难度。To solve the problems existing in sequential execution method of conventional acquisition module, e.g. , not clarity in process of complex program and hard to maintenance, etc. , the multi-functional data acquisition module has been designed by using the multi-tasking operating mode of single chip machine. The specific implementing code and hardware circuit are given. Through time slice polling mode, multiple tasks are operated, including serial port conanunication, frequency signal acquisition and A/D conversion, D/A and discrete signal output. This module is applied for the test bench of HJD-DJ1 motor, the result indicates that the readability and maintainability of the program are improved, under the premise of completely implement various functions of the acquisition module, the peripheral components and hardware development effort can be reduced.
关 键 词:多任务模式 任务细分 频率采集 PWM D A转换 多功能数据采集卡
分 类 号:TP399[自动化与计算机技术—计算机应用技术]
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在载入数据...
正在链接到云南高校图书馆文献保障联盟下载...
云南高校图书馆联盟文献共享服务平台 版权所有©
您的IP:216.73.216.30