基于stm32的低频数字相位测量仪大学论文.docVIP

  • 3
  • 0
  • 约1.15万字
  • 约 29页
  • 2017-11-20 发布于江苏
  • 举报

基于stm32的低频数字相位测量仪大学论文.doc

基于stm32的低频数字相位测量仪大学论文

授课学期 2014 学年至 2015 学年 第 一 学期 学院 电子工程学院 专 业 电子信息工程 学号 201112701058 201112701042 201112701027 201112701044 201112701074 姓名 罗春华 何振华 李智灵 吴诗凤 凌琼娜 任课教师 秦兴盛 交稿日期 2014/11/7 成绩 阅读教师签名 日 期 广西师范大学学工部(处)制 基于stm32的低频相位测量仪设计 摘要:本设计提出了一种基于stm32f103rbt6单片机开发的低频数字相位测量仪的方案。主要包括相位测量模块、单片机最小系统、显示模块的设计。可以对低频率范围的信号进行相位等参数的精确测量,测相绝对误差不大于4°。相位测量模块采用对输入的两路信号(同频率、不同相位)通过比较器整形、鉴相器异或之后得到的相位差,输入到单片机的中断口进行数据采集处理;采用LCD1602显示被测信号的相位差。硬件结构简单,软件采用汇编语言实现,程序简单可读写性强、效率高。与传统的电路系统相比,其有处理速度快、稳定性高、性价比高的优点。 关键词 相位差 单片机 低频 误差 THE DESIGN OF LOW-FREQUENCY PHASE-MEASURING INSTRUMENT HARDWARE CIRCUIT ABSTRACT The design of this low-frequency digital phase measurement program based on stm32f103rbt6.It include phase measurement modules, the smallest single-chip systems, display module, power module design. It can make precision measurement of low-frequency range phase of the signal parameters, measurement of absolute error no greater than 1.Phase measurement modules use two input signals(The same frequency and different phase)Through the comparator shaping XOR phase detector of the phase, To the microcontroller interrupt input port for data acquisition and processing. We choose LCD to display the measured phase difference signal. The hardware structure is simple, software realization is shown by assembly language. The program can be read and written simply and strongly and high efficiency. Compared with the traditional circuit system, it has the advantages of faster processing speed, high stability, cost-effective. KEY WORDS Phase MCU Low-frequency Erroneous 目  录 1 绪论 1 1.1 选题意义 1 1.2 课题研究内容 2 2 方案选择 2 2.1 设计方案论证 2 2.2 相位差测量方案选择 3 3 系统原理 4 3.1 原理框图 4 3.2 相位差的测量 5 3.3 MCU测量时间差及周期 5 4 系统硬件电路设计 6 4.1 相位测量模块设计 7 4.1.1 输入电路设计 7 4.1.2 鉴相器 9 4.1.3 相位测量电路设计 10 4.2 STM32最小系统设计 14 4.2.1 AT89C51的特性分析 16 4.2.2 时钟和启动 17 4.2.3 复位电路 18 4

文档评论(0)

1亿VIP精品文档

相关文档