SAR ADC
R2026bN-bit successive approximation register (SAR) based ADC
Libraries:
Mixed-Signal Blockset /
ADC /
Architectures
Description
Successive Approximation Register (SAR) based ADC consists of a sample and hold circuit (SHA), a comparator, an internal digital to analog converter (DAC), and a successive approximation register.

When the ADC receives the start command, SHA is placed in hold mode.
The most significant bit (MSB) of the SAR is set to logic 1, and all other
bits are set to logic 0.
The output of the SAR is fed back to a DAC, whose output is compared with the incoming input signal. If the DAC output is greater than the analog input, MSB is reset, otherwise it is left set. The next MSB is now set to 1, and the process is repeated until every bit the SAR is compared. The final value of the SAR at the end of this process corresponds to the analog input value. The end of the conversion process is indicated by the ready signal.
Ports
Input
Output
Parameters
Programmatic Use: Add Block
To add the block programmatically, use the add_block function with one of these library block paths as the source.
"msbAdcArchitectures/SAR ADC"
Example: add_block("msbAdcArchitectures/SAR ADC","myModel/myBlock",MakeNameUnique="on")
Version History
Introduced in R2019a
