交通灯状态及计时控制的算法变换  被引量:2

Algorithmic transformation of traffic indicator and timing control

在线阅读下载全文

作  者:张晓红 杨利彬[2] 郑志丹[3] 

机构地区:[1]汕头广播电视大学,汕头515041 [2]汕头大学网络与信息中心,汕头515063 [3]汕头大学智能制造技术教育部重点实验室,汕头515063

出  处:《信息技术》2009年第8期88-90,共3页Information Technology

摘  要:交通灯控制系统是微机控制技术和可编程控制技术课程中典型的教学实例,传统教案中一直采用在主程序中依照状态循环查询的方式实现各状态的切换,需要扩展部分功能如远程动态控制及智能调节功能时,程序段复杂冗长的缺点就比较明显。通过引入一个统一的循环指针进行算法变换,改善程序的模块化程度,并采用插值查找方式,既节省了存储空间,又使控制过程简洁明快且易于扩展。Traffic indicator system is typical teaching example in microcomputer control system and programmable control technology curriculums. Status switch is traditionally realized by program with loop status checker. When some extended functions, such as long-distance dynamic control and intelligent adjustment, are needed, the disadvantage of using excessively lengthy and complicated code lines is obvious. By introducing an uniform loop pointer into algorithm transformation, program modulization can be improved. Using such method and interpolation searching, one can save storage space, simplify controlling process and make controlling program easy to adjust for extended propose.

关 键 词:交通灯 循环指针 插值查找 状态切换 算法变换 

分 类 号:TM571[电气工程—电器]

 

参考文献:

正在载入数据...

 

二级参考文献:

正在载入数据...

 

耦合文献:

正在载入数据...

 

引证文献:

正在载入数据...

 

二级引证文献:

正在载入数据...

 

同被引文献:

正在载入数据...

 

相关期刊文献:

正在载入数据...

相关的主题
相关的作者对象
相关的机构对象