摘要本文是介绍用C8051F020单片机控制天线开关阵列。天线技术如今广泛运用于民用和军用通讯,而对其阵列开关的控制也是一项重要的技术,它利用开关通断完成天线的数据传输与接收。
在基于对天线以及射频有关开关的基本原理上,继续探讨了单刀四掷开关的设计方法,主要性能与开关的控制方法。本文选择了Silicon Laboratories公司的C8051F020单片机开关阵列进行控制。C8051F系列单片机是一种典型的高性能单片机,是完全集成的混合信号系统级芯片。具有与MCS-51完全兼容的指令内核。通过RS232电器接口标准与上位机进行硬件连接,通信协议采用UART。本文程序在KEIL uVision2上进行调试,调试通过后通过硬件连接并让GPIO传输给30组开关。最终实现上位机对天线开关阵列的分布控制。7872
本文对C8051f020单片机部分进行了硬件与软件的调试。实验证明,本文所设计的硬件软件方案切实可行,运行正常,稳定可靠。
关键词:开关阵列,单片机,串口协议,单刀四掷
毕业设计说明书(论文)外文摘要
Title The Distributed Control System of Switch Array on Single-Chip
Abstract
This article is to introduce the C8051F020 microcontroller to control the antenna switch array. Antenna technology is now widely used in civilian and military communications. Its array of switch control is an important technology. Data transmitting and receiving complete with antenna switch off and on.
On the basic principles of the basic principles of the antenna and radio frequency (RF) switch, Continue to explore the design method for single-pole four-position switch, the main performance and the method for control switch. This article select Silicon Laboratories' C8051F020 microcontroller to control switch array. C8051F MCU is a typical high-performance single-chip and a fully integrated mixed-signal system-on-chip. It is fully compatible with MCS-51 instruction kernel. Hardware to connect with the host computer via the RS232 electrical interface standard. Its communication protocol using the UART. This article debugs programs in KEIL uVision2. After debugging through the hardware connection and GPIO transfer to the 30 switches. The final host computer and distributed control of the antenna switch array.
This article has the C8051f020 microcontroller part of the hardware and software debugging. Experiments show that designed hardware and software scheme is feasible, Operating normally, stable and reliable.
Keywords: Switch Array,Single Chip, UART protocol, Single-pole four set
目 录
1绪论 1
1.1课题背景 1
1.2阵列天线 1
1.3天线开关 2
1.4课题研究的主要内容 3
2设计方法 3
2.1设计方法 3
2.2元器件选择 4
3串口通信协议RS232 4
3.1RS232简介 4
3.2max232电平转换电路 5
4微处理器C8051F020简介 5
4.1单片机的应用及发展趋势 5
4.2C805lF020的芯片资源 6
4.3定时/计数器 10
4.4UART0 12
5单刀多掷开关 14
5.1单刀多掷开关布局及原理 14
5.2单刀四掷开关功能模块hmc241lp3 16
6系统硬件设计 17
6.1系统总体框架 17 C8051F020单片机开关阵列分布控制系统设计:http://www.751com.cn/tongxin/lunwen_6004.html