摘要
在分析多路多段时间特点的基础上,设计了一种单片机实现检测的方法。利用光电耦合器设计了信号取样电路,结合键盘电路、显示电路和存储功能等对单片机系统进行了详细的设计,给出了具体的硬件电路。就软件设计的关键部分时间检测程序和时间计算程序进行了设计,并给出了具体的软件流程。从硬件和软件两方面考虑了抗干扰措施,给出了具体的抗干扰设计。对某种定时机构进行了测试,能够同时测试多路多段时间,测试结果证明该方法可行。
The character of multi-path and multi-segment time is analyzed. On the basis of the analysis a implement method with single chip is designed. The signal sampling circuit based on phototube is designed. Considered the keyboard and display the single chip system is designed. The circuit of hardware is given. The programs of time detecting and time calculating are designed. The flow chats of them are given. From both hands of hardware and software the measures of anti-jamming are considered. A timekeeper is tested. The method is feasible.
出处
《电子测量技术》
2008年第11期161-163,共3页
Electronic Measurement Technology
关键词
多路多段时间
单片机
检测
multi-path and multi-segment time
single chip
test