针对无线电数据链地面测控终端应用要求,提出了一种基于ATmegal 280+FPGA结构设计方法;给出了测控终端设计技术指标要求,荠根据设计指标要求,给出了系统硬件结构组成和软件设计方法;详细论述了ATmegal280与FPGA问基于外部中断的数据交换方法,给出了单片机的外部RAM访问、外部中断、串口中断的程序设计,FPGA外部中断管理、FPGA与单片机接口程序设计,基于FPGA的距离测量设计;基于该方法设计出的地面测控终端机,硬件结构简单、性能稳定且可靠性高;大量的搭载实验证明:基于文中提出的方法设计的测控终端,既简化了系统的硬件设计,又提高了系统的可靠性和电磁兼容性;它不仅解决了测控终端与发射机、接收机数据交换问题,而且提高了系统的集成度;它可以应用于同类系统,也可进行扩展.应用在更为复杂的系统中。
A new method for a ground telecontol/telemetry terminal design is proposed. The design is based on ATmega1280 + FPGA structure. It gives the terminal' s system technical specifications, and provides the system hardware and software design method based on the technical specification. It elaborately describes the data exchange between ATmega1280 and FPGA based on multiple external interrup tions, and gives external RAM R/W, external interrupt, and serial interrupt routine design in ATmega1280. Distance measurement in FPGA and FPGA external interrupt management and interface program design with ATmega1280 are also described in detail. Many Experiments have proved that the proposed terminal design is not only hardware high performance, but also high reliability and EMC. It not only well solves the data exchange between the telemetry/telecontrol terminal and transmitter, receiver, but also improves the system integration. It can be applied in the same kind system, and can also be used for more complicated circumstance for its expandable ability.