DAC AC测量
测量DAC输出的交流性能指标
- 图书馆:
混合信号 / DAC /测量和测试板
描述
这DAC AC测量块测量DAC AC性能指标,例如信噪比(SNR),信号与噪声和失真无线电(SINAD),无潮流动态范围(SFDR),有效数量的位(ENOB)和噪声底。您可以使用DAC AC测量验证混合信号模块™提供的DAC体系结构模型,或者您可以使用自己的实现的DAC
Ports
Input
数字的
- DAC的数字输入信号
标量
来自A的数字输入信号DAC,指定为标量。
数据类型:fixed point
|单身的
|双倍的
|int8
|int16
|int32
|UINT8
|uint16
|UINT32
类似物
- 从DAC转换的模拟信号
标量
从一个转换的模拟信号DAC,指定为标量。
数据类型:双倍的
开始
- 外时钟开始转换
标量
External clock to start conversion, specified as a scalar. This port determines when digital-to-analog conversion process starts.
数据类型:双倍的
参数
数字信号频率(HZ)
— Frequency of digital input signal to DAC
1E3
(默认)|积极的真实标量
数字输入信号的频率DACblock, specified as a positive real scalar in hertz.数字信号频率(HZ)必须匹配的输入频率DAC正在测试的设备。
数字输入频率(HZ)needs to satisfy two requirements:
必须激活DAC的所有输出代码。
这数字信号频率(HZ)must not share any common multiples other than 1 with the转换起始频率(Hz)。
程序化使用
块参数:InputFrequency |
类型:角色向量 |
值:积极的真实标量 |
默认:1E3 |
数据类型:双倍的
开始转换频率(Hz)
- 内部开始转换时钟的频率
1E6
(默认)|积极的真实标量
内部启动转换时钟的频率,在Hz中指定为真实标量。这开始转换频率参数确定转换开始时的转换率。
程序化使用
块参数:Startfreq |
类型:角色向量 |
值:积极的真实标量 |
默认:1E6 |
数据类型:双倍的
Settling time tolerance (LSB)
- 计算定居时间的容忍度
0。5
(默认)|积极的真实标量
允许计算结算时间的公差,该定居时间指定为LSB中的正真实标量。DAC的输出必须在Settling time tolerance (LSB)经过安顿时间。
程序化使用
块参数:SettlingTimeTolerance |
类型:角色向量 |
值:积极的真实标量 |
默认:0。5 |
数据类型:双倍的
停留时间
- 在测量分析之前延迟以避免瞬变腐败
0
(默认)|非负实际标量
测量分析前的延迟以避免瞬态损坏,该瞬变在几秒钟内指定为非负实际标量。
程序化使用
块参数:holdofftime |
类型:角色向量 |
值:非负实际标量 |
默认:0 |
推荐的模拟停止时间
- 最少的时间模拟必须为有意义的结果运行
0.09
(默认)|积极的真实标量
模拟必须运行的最短时间以获得有意义的结果,该结果在几秒钟内指定为正真实标量。
to measure AC performance, the simulation must run so that the DAC can generate six spectral updates of the DAC output. So, the推荐的模拟停止时间t是(谁)给的[[1]:
,,,,
在哪里RBW是频谱估计器内部的分辨率带宽DAC Testbench块,由等式给出: 。
this parameter is only reported by the block and is not editable.
数据类型:双倍的
输出结果到基础工作区
— Store detailed test results to base workspace
OFF(默认)|上
将详细的测试结果存储到基础工作空间中的一个结构,以在模拟结束时进行进一步处理。默认情况下,该参数是取消选择的。
工作区变量名称
— Name of the variable that stores detailed test results
dac_ac_out
(默认)|字符串
Name of the variable that stores detailed test results, specified as a character string.
依赖性
要启用此参数,请选择输出结果到基础工作区范围。
程序化使用
块参数:变量的名称 |
类型:角色向量 |
值:字符串 |
默认:dac_ac_out |
在模拟过程中显示频谱分析仪
— Displays Spectrum Analyzer during simulation
在(默认)|离开
在模拟过程中选择此参数以显示频谱分析仪窗口。默认情况下,选择此参数。
模型示例
更多关于
snr
Signal-to-noise ratio or SNR is the ratio of the RMS (root-mean-square) signal amplitude to the mean value of the root-sum-squares (RSS) of all other spectral components, excluding the DC and first five harmonics.
辛德
Signal to noise and distortion ratio or SINAD is the ratio of the RMS signal amplitude to the mean value of the root-sum-squares of all other spectral components and harmonics, excluding DC.
sfdr
Spurious free dynamic range or SFDR is the ratio of the RMS signal amplitude to the RMS value of the peak spurious content, measured over the entire first Nyquist zone (DC to half of sampling frequency).
恩诺
有效数量的位或粘合物代表考虑内部噪声和错误后,DAC的实际分辨率。它由 。
版本历史记录
matlab命令
您单击了与此MATLAB命令相对应的链接:
通过在MATLAB命令窗口中输入该命令。Web浏览器不支持MATLAB命令。万博1manbetx
You can also select a web site from the following list:
如何获得最佳网站性能
选择中国网站(中文或英语)以获得最佳场地性能。其他Mathworks乡村网站未针对您所在的访问进行优化。
美洲
- América Latina((Español)
- 加拿大(英语)
- 美国(英语)