摘要
本文介绍一种单片机和CPLD联合实现的新型数字控制器。控制算法用VHDL语言写成,由CPLD硬件实现;单片机对CPLD芯片在线编程,可以切换数种不同的控制算法。这样就把原来由单片机软件实现的算法改由硬件完成,将硬件算法和单片机两者的优点结合起来,可以针对不同的控制对象和控制要求方便的改变CPLD算法,达到满意的控制效果。
The paper introduces a new digital controller realized by single-chip microcomputer and CPLD.Control arithmetic is designed with the VHDL language and realized on the CPLD hardware; single -chip microcomputer on-line programs the CPLD chip and several different control arithmetic on the CPLD can be switched. So now the arithmetic of the controller isn' t realized by the software of single -chip microcomputer but CPLD hardware,the advantage of hardware arithmetic and single-chip microcomputer is put together.CPLD controller arithmetic can be switched conveniently according to different control object and control request so as to gain satisfying control effect.
出处
《仪器仪表用户》
2007年第5期65-67,共3页
Instrumentation