差别
这里会显示出您选择的修订版和当前版本之间的差别。
两侧同时换到之前的修订记录 前一修订版 后一修订版 | 前一修订版 | ||
m2k_design [2022/11/03 15:47] gongyu |
m2k_design [2023/06/01 12:06] (当前版本) gongyu |
||
---|---|---|---|
行 1: | 行 1: | ||
## ADALM2000硬件设计要点 | ## ADALM2000硬件设计要点 | ||
+ | |||
+ | ### 1. 概述 | ||
[[m2000_instru|集11种常用功能于一体的口袋仪器ADALM2000(M2K)]] | [[m2000_instru|集11种常用功能于一体的口袋仪器ADALM2000(M2K)]] | ||
具有10种测试测量功能的M2K提供了桌面测量设备的完整功能 - 示波器、波形发生器、逻辑分析仪、协议分析仪、频谱仪、电压源等等,可以在任何地方构建一个电子实验室。 | 具有10种测试测量功能的M2K提供了桌面测量设备的完整功能 - 示波器、波形发生器、逻辑分析仪、协议分析仪、频谱仪、电压源等等,可以在任何地方构建一个电子实验室。 | ||
- | + | {{ :m2kboard.png |}} | |
- | {{ :m2kdac.png?1200 |}}<WRAP centeralign>ADALM2000的DAC部分</WRAP> | + | |
- | {{ :m2kzynq.png?1200 |}}<WRAP centeralign>ADALM2000的数字信号处理部分</WRAP> | + | |
- | {{ :m2kps.png?1200 |}}<WRAP centeralign>ADALM2000的电源部分</WRAP> | + | |
- | ### 1. 管脚图 | ||
作为参考,M2K的管脚图如下: | 作为参考,M2K的管脚图如下: | ||
- | {{ :m2k_pinout.png |ADALM2000的管脚图}}<WRAP centeralign> ADALM2000的管脚图</WRAP> | + | {{ :adalm2000_pinout.png |}}<WRAP centeralign> ADALM2000的管脚图</WRAP> |
+ | {{ :adalm2000-pin-wires.png |}}<WRAP centeralign> ADALM2000的连线图</WRAP> | ||
- | #### 1.1 系统架构及框图 | + | ### 2. 架构 |
- | {{drawio>M2k_block.png}}<WRAP centeralign>ADALM2000功能框图</WRAP> | + | #### 2.1 系统框图 |
+ | {{ :m2kblock.png |}} | ||
+ | {{drawio>M2k_block.png}}<WRAP centeralign>** ADALM2000功能框图** </WRAP> | ||
Analog Discovery 2's high-level block diagram is presented in [[analog_discovery_2:refmanual#figure_2|Fig. 2]] below. The core of the Analog Discovery 2 is the [[https://www.xilinx.com/|Xilinx®]] [[https://www.xilinx.com/products/silicon-devices/fpga/spartan-6.html|Spartan®-6]] FPGA (specifically, the XC6SLX16-1L device). The WaveForms application automatically programs the Discovery’s FPGA at start-up with a configuration file designed to implement a multi-function test and measurement instrument. Once programmed, the FPGA inside the Discovery communicates with the PC-based WaveForms application via a USB 2.0 connection. The WaveForms software works with the FPGA to control all the functional blocks of the Analog Discovery 2, including setting parameters, acquiring data, and transferring and storing data. | Analog Discovery 2's high-level block diagram is presented in [[analog_discovery_2:refmanual#figure_2|Fig. 2]] below. The core of the Analog Discovery 2 is the [[https://www.xilinx.com/|Xilinx®]] [[https://www.xilinx.com/products/silicon-devices/fpga/spartan-6.html|Spartan®-6]] FPGA (specifically, the XC6SLX16-1L device). The WaveForms application automatically programs the Discovery’s FPGA at start-up with a configuration file designed to implement a multi-function test and measurement instrument. Once programmed, the FPGA inside the Discovery communicates with the PC-based WaveForms application via a USB 2.0 connection. The WaveForms software works with the FPGA to control all the functional blocks of the Analog Discovery 2, including setting parameters, acquiring data, and transferring and storing data. | ||
- | |||
Signals in the **Analog Input** block, also called the **Scope**, use "SC" indexes to indicate they are related to the scope block. Signals in the **Analog Output** block, also called **AWG**, use “AWG” indexes, and signals in the **Digital** block use a **D** index – all of the instruments offered by the Discovery 2 and WaveForms use the circuits in these three blocks. Signal and equations also use certain naming conventions. Analog voltages are prefixed with a "V" (for voltage), and suffixes and indexes are used in various ways: to specify the location in the signal path (IN, MUX, BUF, ADC, etc.); to indicate the related instrument (SC, AWG, etc.); to indicate the channel (1 or 2); and to indicate the type of signal (P, N, or diff). Referring to the block diagram in [[analog_discovery_2:refmanual#figure_2|Fig. 2]] below: | Signals in the **Analog Input** block, also called the **Scope**, use "SC" indexes to indicate they are related to the scope block. Signals in the **Analog Output** block, also called **AWG**, use “AWG” indexes, and signals in the **Digital** block use a **D** index – all of the instruments offered by the Discovery 2 and WaveForms use the circuits in these three blocks. Signal and equations also use certain naming conventions. Analog voltages are prefixed with a "V" (for voltage), and suffixes and indexes are used in various ways: to specify the location in the signal path (IN, MUX, BUF, ADC, etc.); to indicate the related instrument (SC, AWG, etc.); to indicate the channel (1 or 2); and to indicate the type of signal (P, N, or diff). Referring to the block diagram in [[analog_discovery_2:refmanual#figure_2|Fig. 2]] below: | ||
行 41: | 行 41: | ||
In the sections that follow, schematics are not shown separately for identical blocks. For example, the Scope Input Divider and Gain Selection schematic is only shown for channel 1 since the schematic for channel 2 is identical. Indexes are omitted where not relevant. As examples, in equation \ref{4} below, $V_{in diff}$ does not contain the instrument index (which by context is understood to be the Scope), nor the channel index (because the equation applies to both channels 1 and 2). In equation \ref{3}, the type index is also missing because $V_{mux}$ and $V_{in}$ refer to any of //P// (positive), //N// (negative) or //diff// (differential) values. | In the sections that follow, schematics are not shown separately for identical blocks. For example, the Scope Input Divider and Gain Selection schematic is only shown for channel 1 since the schematic for channel 2 is identical. Indexes are omitted where not relevant. As examples, in equation \ref{4} below, $V_{in diff}$ does not contain the instrument index (which by context is understood to be the Scope), nor the channel index (because the equation applies to both channels 1 and 2). In equation \ref{3}, the type index is also missing because $V_{mux}$ and $V_{in}$ refer to any of //P// (positive), //N// (negative) or //diff// (differential) values. | ||
- | {{ :analog_discovery_2:figure_2.png |Figure 2. Analog Discovery 2 block diagram.}} | + | #### 2.2 ADC/DAC AD9963 |
+ | |||
+ | #### 2.3 模拟输入 | ||
+ | ##### 2.3.1 输入分压和增益控制 | ||
+ | ##### 2.3.2 缓冲 | ||
+ | ##### 2.3.3 ADC驱动 | ||
+ | ##### 2.3.4 参考和偏移 | ||
+ | |||
+ | #### 2.4 波形产生 | ||
+ | ##### 2.4.1 I/V | ||
+ | ##### 2.4.2 输出级 | ||
+ | |||
+ | #### 2.5 时钟和振荡 | ||
- | //{{anchor:figure_2:Figure 2. Analog Discovery 2 block diagram.}}// | + | #### 2.6 数字I/O |
+ | ### 2. 示波器部分 | ||
+ | {{ :m2kadc.png?1200 |}}<WRAP centeralign>** ADALM2000的ADC部分的器件构成 **</WRAP> | ||
- | ### 2. 示波器 | + | {{ :m2kadcsch.png |}}<WRAP centeralign>** ADC部分电路原理图 **</WRAP> |
- | {{ :m2kadc.png?1200 |}}<WRAP centeralign>ADALM2000的ADC部分</WRAP> | + | |
//**Important Note**: Unlike traditional inexpensive scopes, the Analog Discovery 2 inputs are fully differential. However, a GND connection to the circuit under test is needed to provide a stable common mode voltage. The Analog Discovery 2 GND reference is connected to the USB GND. Depending on the PC powering scheme, and other PC connections (Ethernet, audio, etc. – which might also be grounded) the Analog Discovery 2 GND reference might be connected to the whole GND system and ultimately to the power network protection (earth ground). The circuit under test might also be connected to earth or possibly floating. For safety reasons, it is the user’s responsibility to understand the powering and grounding scheme and make sure that there is a common GND reference between the Analog Discovery 2 and the circuit under test, and that the common mode and differential voltages do not exceed the limits shown in equation \ref{1}. Furthermore, for distortion-free measurements, the common mode and differential voltages need to fit into the linear range shown in Figs. [[analog_discovery_2:refmanual#figure_12|12]] and [[analog_discovery_2:refmanual#figure_13|13]]. | //**Important Note**: Unlike traditional inexpensive scopes, the Analog Discovery 2 inputs are fully differential. However, a GND connection to the circuit under test is needed to provide a stable common mode voltage. The Analog Discovery 2 GND reference is connected to the USB GND. Depending on the PC powering scheme, and other PC connections (Ethernet, audio, etc. – which might also be grounded) the Analog Discovery 2 GND reference might be connected to the whole GND system and ultimately to the power network protection (earth ground). The circuit under test might also be connected to earth or possibly floating. For safety reasons, it is the user’s responsibility to understand the powering and grounding scheme and make sure that there is a common GND reference between the Analog Discovery 2 and the circuit under test, and that the common mode and differential voltages do not exceed the limits shown in equation \ref{1}. Furthermore, for distortion-free measurements, the common mode and differential voltages need to fit into the linear range shown in Figs. [[analog_discovery_2:refmanual#figure_12|12]] and [[analog_discovery_2:refmanual#figure_13|13]]. | ||
行 274: | 行 287: | ||
The digital stage of the ADC and the corresponding FPGA bank are supplied at 1.8V. | The digital stage of the ADC and the corresponding FPGA bank are supplied at 1.8V. | ||
- | To minimize the number of used FPGA pins; a multiplexed mode is used, to combine the two channels on a single data bus. CLKOUT_SC is provided to the FPGA for synchronizing data (see [[analog_discovery_2:refmanual#figure_10|Fig. 10]]). | + | To minimize the number of used FPGA pins; a multiplexed mode is used, to combine the two channels on a single data bus. CLKOUT_SC is provided to the FPGA for synchronizing data |
{{ :analog_discovery_2:figure_10.png?500 |Figure 10. ADC - digital section.}} | {{ :analog_discovery_2:figure_10.png?500 |Figure 10. ADC - digital section.}} | ||
- | //{{anchor:figure_10:Figure 10. ADC - digital section.}} | + | |
+ | |||
+ | {{anchor:figure_10:Figure 10. ADC - digital section.}} | ||
行 349: | 行 364: | ||
#### 2.8 示波器频谱特性 | #### 2.8 示波器频谱特性 | ||
- | [[analog_discovery_2:refmanual#figure_14|Figure 14]] shows a typical spectral characteristic of the scope. An Agilent 3320A 20 MHz Function/Arbitrary Waveform Generator was used to generate the input signal of 1VRMS. The signal swept from 100 Hz to 30 MHz. A coax cable and a Digilent Discovery BNC adapter were used to connect the input signal to the Discovery inputs. | + | [[analog_discovery_2:refmanual#figure_14|Figure 14]] |
+ | |||
+ | shows a typical spectral characteristic of the scope. An Agilent 3320A 20 MHz Function/Arbitrary Waveform Generator was used to generate the input signal of 1VRMS. The signal swept from 100 Hz to 30 MHz. A coax cable and a Digilent Discovery BNC adapter were used to connect the input signal to the Discovery inputs. | ||
The Network Analyzer was used, the WaveGen was set to External, the Gain was set at x10 (high-gain) for the upper figure, and x0.1 (low-gain) for the lower one. For both scales, the 3dB bandwidth is 30 MHz+. The 0.5dB bandwidth is 10 MHz and the 0.1dB bandwidth is 5 MHz. | The Network Analyzer was used, the WaveGen was set to External, the Gain was set at x10 (high-gain) for the upper figure, and x0.1 (low-gain) for the lower one. For both scales, the 3dB bandwidth is 30 MHz+. The 0.5dB bandwidth is 10 MHz and the 0.1dB bandwidth is 5 MHz. | ||
行 370: | 行 387: | ||
* [[m2k_fpga_design|ADALM2000的FPGA设计]] | * [[m2k_fpga_design|ADALM2000的FPGA设计]] | ||
* [[m2k_features|ADALM2000的功能和特性]] | * [[m2k_features|ADALM2000的功能和特性]] | ||
+ | |||
+ | |||
+ | |||
+ | {{ :m2krefsch.png |}}<WRAP centeralign> 参考电压部分电路原理图 </WRAP> | ||
+ | |||
+ | |||
+ | |||
+ | {{ :m2kdac.png?1200 |}}<WRAP centeralign>ADALM2000的DAC部分</WRAP> | ||
+ | {{ :m2kzynq.png?1200 |}}<WRAP centeralign>ADALM2000的数字信号处理部分</WRAP> | ||
+ | {{ :m2kps.png?1200 |}}<WRAP centeralign>ADALM2000的电源部分</WRAP> | ||
+ | |||
+ | {{drawio>dac_block1.png}}<WRAP centeralign>ADALM2000 DAC部分的功能框图</WRAP> | ||
+ | |||
+ | |||
+ | ### 重画的原理图 | ||
+ | {{:adalm2000.pdf|使用KiCad重画的原理图}} | ||