Add files via upload

main
xiaoyunt 2023-04-30 07:10:27 +08:00 committed by GitHub
parent 2990ceda2a
commit b18ca033e8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 88 additions and 0 deletions

41
README CN.md Normal file
View File

@ -0,0 +1,41 @@
# 1.介绍
> 这个频谱仪是我专科的毕业设计。时间关系,实现的功能不多,也不是很理想,但为基于[Zynq-7000](https://china.xilinx.com/products/silicon-devices/soc/zynq-7000.html#productAdvantages)的简易频谱仪提供了设计原型。因此你可以在此基础上继续完善需要遵循GPL开源协议。
## 规格
* 软件: Vivado 2018.3 (或者更新的版本)、MATLAB 2022b (或者其他版本都可以,建议用新的哈)
* ADC: AD9481 (8bit, 250MSPS)
* Master: XC7Z035 (资源不要少于XC7Z020除非减小FFT长度)
* FFT长度: 16384
* 输入: 0 ~1Vpp 单端输入+ 0.7V 直流偏置频率0.6 ~125MHz
* 显示: 1920*1080@60Hz带HDMI接口的显示器
* 测量: 最大功率点自动追踪、手动光标测量,窗函数选择
* 控制: 按键、EC11编码器
## 结构
> 采用FPGA+ARM逻辑方案PL完成ADC采样和FFT计算然后将结果通过DMA传输到PS最终ARM处理器与PL共同完成频谱显示及人机交互。窗函数系数可以用MATLAB生成。
系统总框图如下:
![Architecture](images/Architecture.png)
## 平台
> 开发板的资料可以从这里下载 [MILIANKE-F7-CZ06-7030开发平台-原型号MZ7030FA(ZYNQ)](https://www.uisrc.com/t-3268.html)。不过这个米联客的板子画的很烂像刚会画PCB的新手直接去画这种复杂板举个例子下载器我每次都要降速才能连上芯片vivado默认的15M根本连不上所以啊极其不建议用。
![board](images/board.jpg)
## 视频
[视频](https://space.bilibili.com/1136023700)拍的不好凑合看看hhhh。
# 2.ADC动态性能
> 由MATLAB计算的ADC几个动态性能指标。
![evaluation](images/evaluation.png)
# 3.已知问题
> 首先开发板PCB画的太差了难以保证信号完整性、电源完整性等等。其次输入信号有特定要求例如要加0.7V的直流偏置这样实际应用价值就不大了。DMA传输也存在问题前面几个数据没有正确传输到PS所以大概0.6MHz以后才是对的。还有功率计算可能存在一些问题,显示窗口没有设计好,加窗后,噪底几乎看不到了。

47
README EN.md Normal file
View File

@ -0,0 +1,47 @@
Hi, everyone! I'm from China, and not adept at English, so some mistakes maybe appear in this paper. Please forgive me! As you see, two languages are provided on the README for the convenience of friends at home and abroad.
# 1.Introduction
> The spectrum analayzer is my graduation project of the college. Lacking of time, it has a few functions, and not ideal, while it offer a prototype for the design of a sample spectrometer based on [Zynq-7000](https://china.xilinx.com/products/silicon-devices/soc/zynq-7000.html#productAdvantages). Therefore, if you are not satisfied with this project, you can develop a new one on the basic of the current version, following the open source licence (GPL).
## Specifications
* Software: Vivado 2018.3 (or updated) and MATLAB 2022b (or other versions)
* ADC: AD9481 (8bit, 250MSPS)
* Master: XC7Z035 (not less than XC7Z020)
* Points of FFT: 16384
* Input: 0 ~1Vpp signle-ended with 0.7V DC offest, 0.6 ~125MHz
* Diplay: 1920*1080@60Hz monitor with HDMI port
* Measuring: automatically tracking maximum power, manual measurement by cursor, selecting window functions or no windows
* Control: tact switchs and a EC11 encoder
## Architecture
> Simply put, it is realized with FPGA+ARM standalone, where PL completes ADC sampling and FFT, then transforms the results to PS by DMA, and ARM processing unit cooperating with PL implements power spectrum display as well as man-machine interaction. Last, the window function coefficient is generated by MATLAB.
Here is the total block diagram of system.
![Architecture](images/Architecture.png)
## Platform
> As shown in the figure below, its resource can be download from [MILIANKE-F7-CZ06-7030开发平台-原型号MZ7030FA(ZYNQ)](https://www.uisrc.com/t-3268.html), which is producted by 米联客(uisrc). By the way, the layout of board is extremely poor, so I do advice that you use others or design one by youself.
![board](images/board.jpg)
## Video
For some reasons, the video hasn't been uploaded to YouTube yet, however, you can visit [a chinese website](https://space.bilibili.com/1136023700).
# 2.ADC dynamic performance
> ADC dynamic performance indexs have been calculated by MATLAB, as shown in the frigure.
![evaluation](images/evaluation.png)
# 3.Konwn Bugs
> First, as defective PCB design of the develop board, it is hard to assure the signal integrity (SI) or power integrity (PI) and so on. Secondly, input signal limited to the hardware is special, such as offest, in which case, the value of practical application dramatically decrecases. What's more, DMA transform has some problems, where the first few data is false, resulting that after about 0.6MHz, the power spectrum is ture. Finally, there maybe some mitstakes in the calculation of the spectrum, and display window is not designed well as the fact that the ground noise almost disappears, especially when interpolating window function.
# 4.Contact me
> If you have some problems or ideas, you can sen messages to my postbox: 3337194686@qq.com or ytingfeng263@gmail.com (I occasionally use gmail, so the first one is suggested).