摘要
介绍了LPC2124在拖靶高度控制系统中的应用。硬件上充分利用了LPC2124处理器的UART串口、SPI总线和ADC接口以及JTAG接口,简化了设计,方便了软件调试和系统开发;软件上,编写了嵌入式实时操作系统μC/OS-Ⅱ下的应用程序,实现了多任务的有序调度和外围设备的管理,通过合理安排任务优先级,保证了高度控制律解算周期的精度。经实际使用验证,本系统运行稳定可靠,满足实时性要求。
The application of LPC2124 in height control system for towed target is introduced.On the hardware design,the system makes full use of SPI bus,UART serial,ADC and JTAG interface of the LPC2124 processor,so it simplifies the design and facilitates the development of software debugging and system.On the software design,the application programe is based on embedded real-time operating system μ C/OS-Ⅱ,to realize multitask orderly scheduling and peripheral devices management,and to assure the height of the control algorithm the accuracy of the period through the rational arrangement of task priority.It is proved by actual use,the system runs stably and reliably,meets the real-time requirement.
出处
《自动化技术与应用》
2014年第5期49-53,共5页
Techniques of Automation and Applications