ADC AC Measurement

Measure AC performance metrics of ADC output

  • Library:
  • Mixed-Signal Blockset / ADC / Measurements & Testbenches

Description

The ADC AC Measurement block measures ADC AC performance metrics such as signal to noise ratio (SNR), signal to noise and distortion radio (SINAD), spurious free dynamic range (SFDR), effective number of bits (ENOB), noise floor, and conversion delay. You can use ADC AC Measurement block to validate the ADC architectural models provided in Mixed-Signal Blockset™, or you can use an ADC of your own implementation

Ports

Input

expand all

Converted digital signal from an ADC, specified as a scalar or a vector. The digital signal can be BinaryVector, single, double, uint16uint8, uint32, or fixdt(0,Nbits).

Data Types: fixed point | single | double | uint8 | uint16 | uint32

Indicates whether ADC conversion is complete, specified as a scalar or a vector.

Data Types: double

External conversion start clock, indicates when the analog to digital conversion process starts, specified as a scalar or vector.

Data Types: double

Parameters

expand all

Number of physical bits in ADC, specified as a unitless real positive scalar. Number of bits must match the resolution specified in the ADC block.

Programmatic Use

  • Use get_param(gcb,'NumBits') to view the current Number of bits.

  • Use set_param(gcb,'NumBits',value) to set Number of bits to a specific value.

Frequency of the analog input signal to an ADC block, specified as a real positive scalar in Hz. Analog signal frequency must match the frequency of the ADC analog signal.

Programmatic Use

  • Use get_param(gcb,'InputFrequency') to view the current value of Input signal frequency.

  • Use set_param(gcb,'InputFrequency',value) to set Input signal frequency to a specific value.

Frequency of the start conversion clock of the ADC, specified as a real positive scalar in Hz. Start conversion frequency must match the frequency of the start conversion clock of the ADC block.

Programmatic Use

  • Use get_param(gcb,'Frequency') to view the current value of Start conversion frequency.

  • Use set_param(gcb,'Frequency',value) to set Start conversion frequency to a specific value.

Delays measurement analysis to avoid corruption by transients, specified as a real nonnegative scalar in s.

Programmatic Use

  • Use get_param(gcb,'HoldOffTime') to view the current value of Hold off time.

  • Use set_param(gcb,'HoldOffTime',value) to set Hold off time to a specific value.

Store detailed test results in the base workspace for further processing. By default, this option is not selected.

Name of the variable that stores detailed test results, specified as a character string.

Dependencies

This parameter is only available when Output result to base workspace is selected

Programmatic Use

  • Use get_param(gcb,'VariableName') to view the current value of Workspace variable name.

  • Use set_param(gcb,'VariableName',value) to set Workspace variable name to a specific value.

Displays spectrum analyzer during simulation. By default, this option is selected.

More About

expand all

Introduced in R2019a