由单片机构成的锁相环实验平台软件设计
摘要:锁相技术实验是通信工程本科专业的一门专业任选课程的配套实验,使学生可以系统地,全面地了解锁相环工作过程.对锁相环有感性认识掌握VCO压控振荡器的基本工作原理。它能加深学生对基本锁相环工作原理的理解,熟悉锁相式数字频率合成器的电路组成与工作原理。培养学生综合分析问题的能力,培养学生的实际动手能力,为学生今后从事通信相关的工作打下扎实基础。
本文介绍采用单片机最小系统来控制锁相环系统的分频比,要求能通过键盘和LED数码管来输入显示分频比。键盘和显示部分采用HD7279芯片来控制实现。锁相环部分则采用CD4046和4522芯片,本文对这部分有详细的介绍。程序设计使用汇编语言来实现,通过Keil C软件来编译,本文介绍了程序设计的思路及流程,着重介绍了程序的编写过程。
关键词:锁相环 分频比 HD7279 CD4046 汇编语言
The software design of the PLL experimental platform based on MCU
Abstract: Phase-locked technology experiment is a communication engineering undergraduate professional profession optional course of supporting experiment, so that the students can systematically and comprehensively understand the working process of phase-locked loop. Have the perceptual knowledge of the PLL(Phase Lock Loop) and understand the VCO(Voltage Contraller Oscillator) basic grase work .It can ehance the students understanding the basic principle of phase-locked loop,PLL familiar with digital frequency synthesizer circuit and working principle. This paper can train comprehensive analysis of students and develop students practical ability for students to engage in communications-related work in the future .
The artical introduces to use the MCU’s minimum system to control the PLL divider system, through the keyboard and asked to enter the LED digital display divider. The keyboard and display part adopts HD7279 chip to control realization.PLL part is constituted by CD4046 and 4522 chips and the paper describes in detail in this section. Programming in assembly language to achieve, through Keil C compiler software, this paper introduces the idea of program design and processes, focusing on the preparation of the program.
Keywords: PLL diver HD7279 CD4046 assembly language