how to design successive approximation register in simulink

i am tryin g to design sar adc in simulink.please tell me how to design successive approximation register in simulink.

Answers (1)

Designing a successive approximation register (SAR) in Simulink from scratch is possible, but it typically requires building several interacting components such as a comparator, DAC, and control logic (often implemented as a state machine).
A more efficient approach is to use Mixed-Signal Blockset, which provides built-in support for SAR ADC architectures.
  • The SAR ADC block already includes the successive approximation register, comparator, and DAC feedback loop, allowing you to directly simulate the conversion process
  • You can configure parameters such as resolution (number of bits), input range, and sampling rate
  • The conversion internally follows the standard binary search process, where each bit is decided sequentially from MSB to LSB
If you want to understand or customize the SAR logic, you can refer to this example:
This example demonstrates:
  • How the SAR control logic is implemented using Stateflow
  • How each bit decision is made using comparator outputs
  • How the overall ADC architecture is assembled and tested

Categories

Products

Tags

Asked:

on 9 Feb 2012

Answered:

on 4 Jun 2026

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!